Budowa od podstaw COREXY na duet 2 wifi

Dla zupełnie zielonych w temacie druku 3D
AdrianWicik
Postów w temacie: 112
Posty: 112
Rejestracja: 22 gru 2024, 12:35
Lokalizacja: Kielce
x 3

Re: Budowa od podstaw COREXY na duet 2 wifi

Post autor: AdrianWicik »

Witam po świętach i w nowym roku
Doszły do mnie konektorki i parę drobiazgów jak czujnik końca filamentu.
Mam też extruder.
Czekam jeszcze na głowice osprzętem i czujnik 3d touch .
Jak wszystko dojdzie to będę kontynuował składania.
W międzyczasie poskładałem stół
Awatar użytkownika
majek
Drukarz
Postów w temacie: 14
Posty: 1122
Rejestracja: 28 gru 2020, 18:17
Drukarka: vn-corexy, EZT-3D T1
x 612

Re: Budowa od podstaw COREXY na duet 2 wifi

Post autor: majek »

Bez zdjęć się nie liczy ;)
AdrianWicik
Postów w temacie: 112
Posty: 112
Rejestracja: 22 gru 2024, 12:35
Lokalizacja: Kielce
x 3

Re: Budowa od podstaw COREXY na duet 2 wifi

Post autor: AdrianWicik »

majek pisze: 01 sty 2025, 20:01 Bez zdjęć się nie liczy ;)
Na razie ogarnąłem kabelki zamontowałem szklany blat 400/400
Załączniki
20250104_182726.jpg
20250104_182730.jpg
20250104_182740.jpg
AdrianWicik
Postów w temacie: 112
Posty: 112
Rejestracja: 22 gru 2024, 12:35
Lokalizacja: Kielce
x 3

Re: Budowa od podstaw COREXY na duet 2 wifi

Post autor: AdrianWicik »

Powiedzcie mi jak napisać makro do manualnego poziomowania stołu bez automatycznej sondy
Chodzi mi o poziomowanie na kartkę papieru
Mam stół 400/400 i z g-code jestem zielony
Potrzebuje macro, które przesunie mi dysze w 4 lub 6 punktów na stole i w tych punktach ustawie sobie stół manualne.
AdrianWicik
Postów w temacie: 112
Posty: 112
Rejestracja: 22 gru 2024, 12:35
Lokalizacja: Kielce
x 3

Re: Budowa od podstaw COREXY na duet 2 wifi

Post autor: AdrianWicik »

udało mi się napisać coś takiego ale komenda M1 nie zatrzymuje procesu na 30 sekund
G28
M1 S30 ; wait 30 seconds

G1 Z5 F5000 ; lift nozzle 5 mm
G1 X350 Y350 F15000 ; move nozzle to [350:350]
G1 Z0 F5000 ; lower nozzle
M1 S30 ; wait 30 seconds

G1 Z5 F5000
G1 X350 Y50 F15000
G1 Z0 F5000
M1 S30

G1 Z5 F5000
G1 X50 Y50 F15000
G1 Z0 F5000
M1 S30

G1 Z5 F5000
G1 X50 Y3500 F15000
M1 S30
G28
Awatar użytkownika
kaluza
Postów w temacie: 4
Posty: 146
Rejestracja: 17 sty 2021, 18:45
x 43

Re: Budowa od podstaw COREXY na duet 2 wifi

Post autor: kaluza »

Na końcu wątku https://forum.duet3d.com/topic/4196/imp ... leveling/9

Dostosuj do siebie wszystko ładnie opisane ;p

Kod: Zaznacz cały

 Helps guide leveling the bed mechanically, and calibrate the ZProbe trigger height before running a grid bed compensation routine..
;

; Preamble to tell the user to prepare the printer before continuing
;
;M291 P"Before proceeding make sure the printer is mechanically sound and properly functioning." R"Prepare printer for leveling routine" S3 ; User must click OK
;M291 P"ZProbe should be configured and working. Clear the print bed of any obstacles or debris." R"Prepare printer for leveling routine" S3 ; User must click OK
;M291 P"This routine will take about 10-20 minutes and heat both the bed and nozzle." R"Prepare printer for leveling routine" S3 ; User must click OK
;M291 P"You will need a screwdriver and piece of paper. Filament will be unloaded." R"Prepare printer for leveling routine" S3 ; User must click OK
;M291 P"Make sure you have successful Gcodes logged to the console before proceeding." R"WARNING" S3 ; User must click OK or cancel
;M291 P"Make a note of your M558 Z value and backup current heightmap before proceeding." R"WARNING" S3 ; User must click OK or cancel

; Clear compensation map and Zprobe trigger height
;
M291 P"Grid bed compensation map and ZProbe trigger height will be cleared. Ok or Cancel?" R"WARNING" S3 ; User must click OK or cancel.
M561 ; Disable any current bed compensation
G31 Z0 ; Reset zprobe trigger height

; Heat up bed and nozzle to PLA temps in prep for filament removal and probing
;
M291 P"Bed and nozzle will preheat and home all axis." R"Preheat and Home" S3 ; User must click OK or cancel
M104 S130 ; Set nozzle to 130 and release
M140 S55 ; Set bed to 55 and release

; home all axis
;
G28 ; Home all axis
G90 ; Absolute positioning
T0 ; Activate first tool

; Set lower speeds for Z homing and lower Z motor current
;
M566 Z10 ; Set maximum instantaneous speed changes (mm/min) (Jerk)
M203 Z400 ; Set maximum speeds (mm/min)
M201 Z100 ; Set maximum accelerations (mm/s^2)
M906 Z900 ; Drop motor current to prevent damage in case of head crash

; Move nozzle forward for filament removal
;
M291 P"Moving nozzle to the front for filament removal and cleaning."
G1 X50 Y5 Z100 ; Moves print head to front left and drops the bed down for easy access
M109 S130 ; Set nozzle to 130 and wait

; Tone to get user attention
;
M400 ; Clear movement buffer so tones play reliably
M300 S666 P500
G4 P501
M300 S1111 P300
G4 P301

; Unload filament and clean nozzle
;
M291 P"Unload filament if loaded and clean nozzle, then press OK to continue" R"Unload Filament" S3 ; User must click OK or cancel

; Preheat to probing temps
;
M291 P"Preheating to bed to 60 and nozzle to 210 for accurate probing"
M104 S210 ; Set nozzle to 210 and release
M190 S60 ; Set bed to 60 and wait
M109 S210 ; Set nozzle to 210 and wait

; Tone to get user attention
;
M400 ; Clear movement buffer so tones play reliably
M300 S666 P500
G4 P501
M300 S1111 P300
G4 P301

; Move nozzle to center of bed at Z10 and drop to Z1
;
M291 P"Nozzle will now move to center of bed and move close to the bed"
G1 X155 Y140 Z3 F4000 ; move to bed center

; Reset z to 5 to allow jogging up to touch bed to nozzle
;
G92 Z5

; Dialog to allow user to job z to touch nozzle to bed gently and then move Z down 10
;
M291 P"Carefully Jog the Z Axis until the bed and nozzle are touching and click OK" R"Setting Z=0" Z1 S3
G92 Z0 ; set z = 0

; Move nozzle to leveling points and prompt user to level bed at each
;
M291 P"Nozzle will now move to the 3 leveling points twice." S2

; Move to leveling point 1
G1 Z1 ; move to z1 for travel
G1 X60 Y285 F6000 ; Move to rear left corner
G1 Z0 ; Move to Z0 for adjustment
M400
M291 P"Adjust point 1 using a piece of paper and screw driver. Use the jog buttons if needed." R"Adjustment Point 1" S2 Z1

; Move to leveling point 2
G1 Z1 ; Move to Z1 for clearance
G1 X275 Y285 F6000 ; Move to rear right corner
G1 Z0 ; Move to Z0 for adjustment
M400
M291 P"Adjust point 2 using a piece of paper and screw driver. Use the jog buttons if needed." R"Adjustment Point 2" S2 Z1

; Move to leveling point 3
G1 Z1 ; Move to Z1 for clearance
G1 X158 Y15 F6000 ; Move to front middle
G1 Z0 ; Move to Z0 for adjustment
M400
M291 P"Adjust point 3 using a piece of paper and screw driver. Use the jog buttons if needed." R"Adjustment Point 3" S2 Z1

; Repeat to verify
;
M291 P"The adjustment sequence will now repeat for fine adjustment." S2

; Move to leveling point 1
G1 Z1 ; move to z1 for travel
G1 X60 Y285 F6000 ; Move to rear left corner
G1 Z0 ; Move to Z0 for adjustment
M400
M291 P"Adjust point 1 using a piece of paper and screw driver. Use the jog buttons if needed." R"Adjustment Point 1" S2 Z1

; Move to leveling point 2
G1 Z1 ; Move to Z1 for clearance
G1 X275 Y285 F6000 ; Move to rear right corner
G1 Z0 ; Move to Z0 for adjustment
M400
M291 P"Adjust point 2 using a piece of paper and screw driver. Use the jog buttons if needed." R"Adjustment Point 2" S2 Z1

; Move to leveling point 3
G1 Z1 ; Move to Z1 for clearance
G1 X158 Y15 F6000 ; Move to front middle
G1 Z0 ; Move to Z0 for adjustment
M400
M291 P"Adjust point 3 using a piece of paper and screw driver. Use the jog buttons if needed." R"Adjustment Point 3" S2 Z1

; Move nozzle to center of bed at z10
;
M291 P"Nozzle will now move to center of bed to reset Z0 and calibrate probe" S3
G1 Z1 ; Drop bed for nozzle clearance
G1 X155 Y140 Z2 F4000 ; Move to bed center

; Reset z to 5 to allow jogging up to touch bed to nozzle
;
G92 Z5

; Dialog to allow user to jog z to touch nozzle to bed gently and then move Z down 10
;
M291 P"Jog the Z Axis until the bed and nozzle are touching and click OK" R"Setting Z=0" Z1 S3
G92 Z0 ; Set z = 0

; Move probe to center of bed and get probe trigger heights
;
M291 P"Probe will now move to center of bed and measure trigger height 10 times" R"ZProbe Trigger Height Calibration" S3
G1 Z1 ; Drop bed for nozzle clearance
G1 X200 Y140 F4000 ; Move to bed center

M291 P"Heights will be found in gcode console if logging successful gcode is enabled" R"Did you remember to enabled gcode logging?" S3

; G30 S-1 10 times
;
; 1
G1 Z10
G30 S-1

; 2
G1 Z10
G30 S-1

; 3
G1 Z10
G30 S-1

; 4
G1 Z10
G30 S-1

; 5
G1 Z10
G30 S-1

; 6
G1 Z10
G30 S-1

; 7
G1 Z10
G30 S-1

; 8
G1 Z10
G30 S-1

; 9
G1 Z10
G30 S-1

; 10
G1 Z10
G30 S-1

M291 P"Probing complete. Turning off heaters and homing axis. Check log for trigger heights and enter into config.g" S2

; Turn off heaters
;
M104 S0 ; Set nozzle to 0 and release
M140 S0 ; Set bed to 0 and release
M906 Z1500 ; Return Z motor current to normal
G28 ; Home all

; Tone to get user attention
;
M400 ; Clear movement buffer so tones play reliably
M300 S666 P500
G4 P501
M300 S1111 P300
G4 P301

; Tell user to take values from gcode console log and average the Z height and use that as the new Z probe trigger height
;
;M291 P"Average the 10 Z height values in the console and round to 2 decimal places" S2
;M291 P"The resulting value is the ZProbe trigger height value (M558 Zn)" S2
;M291 P"Either set the value in config.g and reboot, or send M558 Zn in the console before running G29." S2
;M291 P"The bed is now mechanically leveled and probe height calibrated." R"Congratulations!" S2
;M291 P"You may now run a Grid Bed Compensation Detailed Probe. (G92)." S2
;
; Run bed grid compensation routine 
AdrianWicik
AdrianWicik
Postów w temacie: 112
Posty: 112
Rejestracja: 22 gru 2024, 12:35
Lokalizacja: Kielce
x 3

Re: Budowa od podstaw COREXY na duet 2 wifi

Post autor: AdrianWicik »

Działa !!!
M291 P"Rozpoczynamy Kalibrację Stołu. Ok or Cancel?" R"UWAGA" S3 ; User must click OK or cancel.
M561 ; Disable any current bed compensation

G28
M01 S40

M291 P"Ustaw Stół i idź do następnego punktu. Ok or Cancel?" R"UWAGA" S3 ; User must click OK or cancel.
M561 ; Disable any current bed compensation

G1 Z5 F5000 ; lift nozzle 5 mm
G1 X350 Y350 F15000 ; move nozzle to [350:350]
G1 Z0 F5000 ; lower nozzle
M01 S40

M291 P"Ustaw Stół i idź do następnego punktu. Ok or Cancel?" R"UWAGA" S3 ; User must click OK or cancel.
M561 ; Disable any current bed compensation
G1 Z5 F5000
G1 X350 Y50 F15000
G1 Z0 F5000
M01 S40

M291 P"Ustaw Stół i idź do następnego punktu. Ok or Cancel?" R"UWAGA" S3 ; User must click OK or cancel.
M561 ; Disable any current bed compensation
G1 Z5 F5000
G1 X50 Y50 F15000
G1 Z0 F5000
M01 S40

M291 P"Ustaw Stół i idź do następnego punktu. Ok or Cancel?" R"UWAGA" S3 ; User must click OK or cancel.
M561 ; Disable any current bed compensation
G1 Z5 F5000
G1 X50 Y350 F15000
G1 Z0 F5000
M01 S40

M291 P"Kończymy Kalibrację . Ok or Cancel?" R"UWAGA" S3 ; User must click OK or cancel.
M561 ; Disable any current bed compensation
G28
kaluza
AdrianWicik
Postów w temacie: 112
Posty: 112
Rejestracja: 22 gru 2024, 12:35
Lokalizacja: Kielce
x 3

Re: Budowa od podstaw COREXY na duet 2 wifi

Post autor: AdrianWicik »

teraz po kinięciu makra ukazują się komunikaty i trzeba kliknąć OK aby proces szedł dalej
Załączniki
20250104_210914.jpg
20250104_210935.jpg
20250104_210925.jpg
20250104_211214.jpg
20250104_211233.jpg
Awatar użytkownika
kaluza
Postów w temacie: 4
Posty: 146
Rejestracja: 17 sty 2021, 18:45
x 43

Re: Budowa od podstaw COREXY na duet 2 wifi

Post autor: kaluza »

Czyli tak jak powinno być bo te 30 sekund to tak trochę lipa bo czasem wystarczy sekunda a raz minuta. Zrób sobie 2x cały proces poziomowania bo zawsze jeden to za mało przy manualnym ustawianiu. Ruch jednej śruby ugina cały stół po przeciwnej stronie :p
AdrianWicik
AdrianWicik
Postów w temacie: 112
Posty: 112
Rejestracja: 22 gru 2024, 12:35
Lokalizacja: Kielce
x 3

Re: Budowa od podstaw COREXY na duet 2 wifi

Post autor: AdrianWicik »

kaluza pisze: 04 sty 2025, 21:27 Czyli tak jak powinno być bo te 30 sekund to tak trochę lipa bo czasem wystarczy sekunda a raz minuta. Zrób sobie 2x cały proces poziomowania bo zawsze jeden to za mało przy manualnym ustawianiu. Ruch jednej śruby ugina cały stół po przeciwnej stronie :p
Tak też zrobię :-)
Docelowo zamówiłem też czujnik ale z tym to dla mnie wyższa szkoła więc może kiedyś go zamontuję. Narazie będę ustawiał stół manualnie.
W przyszłym tygodniu dojdzie głowica z wentylatorami zamontuje też extruder i czujnik . Pewnie też będę się męczył z zaprogramowaniem tego wszystkiego. Ale krok po kroku i pierwsza moja drukarka może coś wydrukuje :-)
ODPOWIEDZ

Wróć do „Pytania o sprawy podstawowe”