3.4.1 rc2 G30 turns off Z motors
-
Board: Duet 3 Mini 5+ (Mini5plus)
Firmware: RepRapFirmware for Duet 3 Mini 5+ 3.4.1rc2 (2022-05-25)when doing a 3 point level with with 3.4.1 RC2
G30 P0 X10 Y0 Z-99999 when 3 point leveling turns off Z motors,
;3PL echo "3PL" ;M401 ; deploy Z probe (omit if using bltouch) G28 G30 P0 X10 Y0 Z-99999 ; probe near a leadscrew G30 P1 X290 Y0 Z-99999 ; probe near a leadscrew G30 P2 X150 Y280 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors ;M402 ; retract probe (omit if using bltouch) G1 X0 Y0 F10000
-
People are going to ask for:
- A copy of config.g
- The results of running M98 P"config.g"
- The results of running M122 before and after the G30 command that causes the Z motors to "turn off"
-
; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Valkyrie 3030 V002" ; set printer name M669 K1 ; core xy ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 D2 ; physical drive 0 goes forwards M569 P0.1 S1 D2 ; physical drive 1 goes forwards M569 P0.2 S1 ; physical drive 2 goes forwards ( blown needs replacing) M569 P0.3 S0 ; physical drive 3 extruder M569 P0.4 S1 D3 ; physical drive 4 goes forwards D3=stealthchop M569 P0.5 S0 D3 ; physical drive 5 goes backwards M569 P0.6 S1 D3 ; physical drive 6 goes forwards M584 X1 Y0 Z0.4:0.5:0.6 E3 ; set drive mapping FL,FR,RC M350 X16 Y16 I1 ; configure microstepping with interpolation M350 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z320.00 E562.00 ; set steps per m M566 X800.00 Y800.00 Z100.00 E100.00 P1 ; set maximum instantaneous speed changes (mm/min) jerk M203 X24000.00 Y24000.00 Z4000.00 E400.00 ; set maximum speeds (mm/min) M201 X2200.00 Y2200.00 Z300.00 E250.00 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent ;M917 Z30 M84 X Y Z S20 ; Set idle timeout sec ; Axis Limits M208 X-20 Y-11 Z0 S1 ; set axis minima "Travel Area" M208 X300 Y300 Z405 S0 ; set axis maxima "Travel area" ; Endstops M574 X1 S4 ; configure sensorless endstop, 1 = low end, 2 = high end. S4 multipule motors M574 Y2 S4 ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in M574 Z2 S4 ; configure sensorless endstop for high end on Z, 1 = low end, 2 = high end. S4 multipule motors M671 X-20:300:150 Y0:0:280 S25 ; leadscrews at front left,front right, rear Center s= max correction factor must be in same order as M584 M558 P8 C"!io3.in" H10 F1000 T12000 R0 A4 S0.03 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 Z0.3 ; set Z probe trigger value, offset and trigger height bigger the posative number the closer to the bed G31 P500 X27 Y-11 ; set x,y trigger value, offset and trigger height M557 X10:290 Y10:290 S90 ; define mesh grid ; Heaters ;Bed M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed T °C" ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"out0" T0 Q10 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 R0.838 K0.331:0.000 D3.08 E1.35 S0.90 B0 ; PDI info for 8mm aluminium bed 700w Heater NTC 100K 3950 M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C ;extruder M308 S1 P"temp1" Y"pt1000" A"Extruder T °C" ; configure sensor 1 as thermistor on pin e0temp (104gt2) M950 H1 C"out1" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 R3.558 K0.357:0.000 D9.14 E1.35 S1.00 B0 V23.8 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ;Chamber M308 S2 P"temp2" Y"thermistor" T100000 B4267 A"Chamber T °C" ; configure sensor 2 as thermistor on pin temp2 M950 H2 C"out5" T2 ; create chamber heater output on 1.out0 and map it to sensor 2 M307 H2 B0 S1.00 ; disable bang-bang mode for the chamber heater and set PWM limit M141 H2 ; map chamber to heater 2 M143 H2 S100 ; set temperature limit for heater 2 to 280C M308 S10 Y"mcu-temp" A"MCU" ; defines sensor 10 as MCU temperature sensor M308 S11 Y"drivers" A"Duet stepper drivers" ; defines sensor 11 as stepper driver temperature sensor ; Fans M950 F0 C"out4" Q250 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 C"Part Fan" ; set fan 0 value. Thermostatic control is turned off M950 F1 C"out3" Q250 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T45 C"Extruder Fan" ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C T0 ; Custom settings are not defined M98 P"/macros/home_max_Z" ;External Buttons M950 J1 C"!io2.in" ;config input pin switch NO connected to io2 and Gnd M581 P1 T0 C0 ;T0 = emergency stop on trigger; T1 = pause print; T{N} = runs the macro "sys/trigger{N}.g", rising edge S1 falling edge S0 ;M581 P1 T4 c0 ;run a macro trigger4.g M582 T0 ; Check External Trigger
M98 P"config.g" HTTP is enabled on port 80 FTP is disabled TELNET is disabled
before G30
M122 === Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.4.1rc2 (2022-05-25 11:42:50) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: 3R9YY-6T9RL-D65J0-40KMN-2UW2Z-RHYT0 Used output buffers: 2 of 40 (15 max) === RTOS === Static ram: 103684 Dynamic ram: 110856 of which 24 recycled Never used RAM 24220, free system stack 154 words Tasks: NETWORK(ready,12.1%,216) HEAT(notifyWait,0.0%,346) Move(notifyWait,0.0%,286) CanReceiv(notifyWait,0.0%,942) CanSender(notifyWait,0.0%,356) CanClock(delaying,0.0%,339) TMC(notifyWait,1.1%,114) MAIN(running,84.7%,426) IDLE(ready,1.3%,29) AIN(delaying,0.8%,264), total 100.0% Owned mutexes: HTTP(MAIN) === Platform === Last reset 00:00:17 ago, cause: software Last software reset at 2022-05-28 11:51, reason: User, GCodes spinning, available RAM 24004, slot 1 Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00000000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a Error status: 0x00 MCU revision 3, ADC conversions started 17600, completed 17599, timed out 0, errs 0 Step timer max interval 752 MCU temperature: min 23.6, current 24.5, max 25.6 Supply voltage: min 23.9, current 23.9, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/54/54, gc cycles 0 Events: 0 queued, 0 completed Driver 0: standstill, SG min 2, read errors 0, write errors 1, ifcnt 15, reads 1569, writes 9, timeouts 0, DMA errors 0, CC errors 0 Driver 1: standstill, SG min 2, read errors 0, write errors 1, ifcnt 14, reads 1569, writes 9, timeouts 0, DMA errors 0, CC errors 0 Driver 2: standstill, SG min 0, read errors 0, write errors 1, ifcnt 53, reads 1568, writes 9, timeouts 0, DMA errors 0, CC errors 0 Driver 3: standstill, SG min 0, read errors 0, write errors 1, ifcnt 55, reads 1568, writes 9, timeouts 0, DMA errors 0, CC errors 0 Driver 4: standstill, SG min 116, read errors 0, write errors 1, ifcnt 255, reads 1564, writes 14, timeouts 0, DMA errors 0, CC errors 0 Driver 5: standstill, SG min 242, read errors 0, write errors 1, ifcnt 255, reads 1563, writes 14, timeouts 0, DMA errors 0, CC errors 0 Driver 6: standstill, SG min 20, read errors 0, write errors 1, ifcnt 255, reads 1563, writes 14, timeouts 0, DMA errors 0, CC errors 0 Date/time: 2022-05-28 11:52:05 Cache data hit count 32596166 Slowest loop: 1.75ms; fastest: 0.13ms === Storage === Free file entries: 9 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 1.0ms, write time 0.0ms, max retries 0 === Move === DMs created 83, segments created 3, maxWait 198ms, bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves 2, completed 2, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === AuxDDARing === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters 0 -1 -1 -1, chamber heaters 2 -1 -1 -1, ordering errs 0 Heater 1 is on, I-accum = 0.0 === GCodes === Segments left: 0 Movement lock held by null HTTP is ready with "M122 " in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 SBC is idle in state(s) 0 Daemon is doing "G4 S50 " in state(s) 0 0, running macro Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty === CAN === Messages queued 157, received 0, lost 0, boc 0 Longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 18 (min 18), ts 88/0/0 Tx timeouts 0,0,87,0,0,68 last cancelled message type 4514 dest 127 === Network === Slowest loop: 17.17ms; fastest: 0.00ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions HTTP sessions: 1 of 8 - WiFi - Network state is active WiFi module is connected to access point Failed messages: pending 0, notready 0, noresp 0 WiFi firmware version 1.25 WiFi MAC address f0:08:d1:02:a1:0b WiFi Vcc 3.34, reset reason Power up WiFi flash size 2097152, free heap 27088 WiFi IP address 192.168.0.19 WiFi signal strength -56dBm, mode 802.11n, reconnections 0, sleep mode modem Clock register 00002002 Socket states: 0 0 0 0 0 0 0 0
after G30
G30 Error: Probe was not triggered during probing move because the Z motors have turned off
-
I'm not seeing that behaviour with 3.4RC2 on a Duet2
What makes you think the Z motors are being turned off?
Is G30 being called in a macro?
If so, post it. -
; bed.g echo "Bed.g " ; called to perform automatic bed compensation via G32 ;M561 ; clear any bed transform ;G29 ; probe the bed and enable compensation G28 ; home G1 H2 Z25 F6000 ; lower Z again echo "start 3 point.g " G30 P0 X10 Y0 Z-99999 ; probe near a leadscrew G1 H2 Z25 F6000 G30 P1 X290 Y0 Z-99999 ; probe near a leadscrew G1 H2 Z25 F6000 G30 P2 X150 Y290 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors G1 H2 Z25 F6000 ;The value of the S parameter on the final G30 command in bed.g must equal the number of Z motors.
-
-
I don't see any major issues in your config, but again I would ask how you are determining that the Z motor is being turned off?
The only error you've shown is the Z probe not activating.
There could be many reasons for that. -
@owend
Hi the Z motors are turning off as the bed falls down ( belt driven) -
@moth4017
Do you have a cancel.g file?
If the print was cancelled because of the failed probing then perhaps you should look at cancel.g and/or stop.g for an M84 command. -
@owend
i dind see the "cancel.g" in the console;cancel.g echo "Cancel.g " M98 P"/macros/home_max_Z"
and it didnt run the Home max.g file
; home_max_Z M400 ; make sure everything has stopped before we make changes G91 ; relative positioning M569 P0.4 S1 D3 V10 ; set to stelth chop M569 P0.5 S0 D3 V10 ; set to stelth chop M569 P0.6 S1 D3 V10 ; set to stelth chop M915 P0.4:0.5:0.6 S0 F0 R1 H200 ; Configure Z-Axis Stall Detection M574 Z2 S4 ; Configure Z-Axis stall detection homing M400 ; make sure everything has stopped before we make changes G1 H1 Z-0.2 F3000 ; move a little for cal of sensorless homing / not stalled M400 ; make sure everything has stopped before we make changes M913 Z70 ; Lower motor current by 50% G1 H1 Z350 ; Home Z-Axis actuators independently M400 ; make sure everything has stopped before we make changes G92 Z290 ; set a Z height G90 ; absolute positioning ;revert back M913 Z100 ; Reset motor current M569 P0.4 S1 D2 ; reset motors back to spread cycle, M569 P0.5 S0 D2 ; reset motors back to spread cycle, M569 P0.6 S1 D2 ; reset motors back to spread cycle, M84 ; turn off motors
-
@moth4017 To throw my two pence in: Can the faulty behaviour correlate with sensorless homing, I.e. stall detection? That’s activated for the Z axis, as well as stealth chop mode. - Just an idea, I’m far from being an expert with this …
-
@moth4017 the only reasons I can think of why the Z motors would turn off are:
- They are being commanded to turn off by a M18 or M84 command
- The motor current is being set very low by a M906 or M913 command. For example, if M913 has been used to reduce motor current during homing or probing, and the M913 command to restore motor current to 100% afterwards is incorrect.
- The drivers have detected a short circuit condition. Incorrect use of stealthChop mode can trigger this according to the TMC22009 datasheet.
- The board has reset. On this case, all motors driven directly by the Duet will turn off and the reset reason will be reported if you run M122.
-
homeall.g may be different to homez.g. Can we see that as well, please?
-
@dc42, @infiniteloop ,@OwenD and all the others that have come up with ideas for this and my other issues re sensorless homing , i decided to go back to square one and rewrite all the macros and configs, i now have a machine that seems to be doing everything it should . so im posting all the files that i have working.
thes files are for a core XY , belt driven Z with a gearbox ratio 4:1
; Config.g G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"Valkyrie 3030 V003" ; set printer name M669 K1 ; core xy ; Network M552 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0.0 S1 D2 ; physical drive 0 goes forwards M569 P0.1 S1 D2 ; physical drive 1 goes forwards M569 P0.2 S1 ; physical drive 2 goes forwards ( blown needs replacing) M569 P0.3 S0 ; physical drive 3 extruder M569 P0.4 S1 D3 ; physical drive 4 goes forwards D3=stealthchop M569 P0.5 S0 D3 ; physical drive 5 goes backwards M569 P0.6 S1 D3 ; physical drive 6 goes forwards M584 X1 Y0 Z0.4:0.5:0.6 E3 ; set drive mapping FL,FR,RC M350 X16 Y16 I1 ; configure microstepping with interpolation M350 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z320.00 E562.00 ; set steps per m M566 X800.00 Y800.00 Z20.00 E100.00 P1 ; set maximum instantaneous speed changes (mm/min) jerk M203 X24000.00 Y24000.00 Z4000.00 E400.00 ; set maximum speeds (mm/min) M201 X2200.00 Y2200.00 Z50.00 E250.00 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z1000 E800 I50 ; set motor currents (mA) and motor idle factor in per cent M84 X Y S20 ; Set idle timeout sec ; Axis Limits M208 S1 X-28 Y5 Z0 ; set axis minima "Travel Area" M208 S0 X290 Y295 Z405 ; set axis maxima "Travel area" ; Endstops M574 X1 S4 ; configure sensorless endstop, 1 = low end, 2 = high end. S4 multipule motors M574 Y2 S4 ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin io1.in M574 Z2 S4 ; configure sensorless endstop for high end on Z, 1 = low end, 2 = high end. S4 multipule motors M671 X-20:300:150 Y0:0:280 S25 ; leadscrews at front left,front right, rear Center s= max correction factor must be in same order as M584 M558 P8 C"!io3.in" H10 F2000 T6000 R0 A2 S0.05 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 Z0.5 ; set Z probe trigger value, offset and trigger height bigger the posative number the closer to the bed G31 P500 X27 Y-15 ; set x,y trigger value, offset and trigger height M557 X10:290 Y10:285 S100 ; define mesh grid ; Heaters ;Bed M308 S0 P"temp0" Y"thermistor" T100000 B3950 A"Bed T °C" ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"out0" T0 Q10 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 R0.838 K0.331:0.000 D3.08 E1.35 S0.90 B0 ; PDI info for 8mm aluminium bed 700w Heater NTC 100K 3950 M140 H0 ; map heated bed to heater 0 M143 H0 S130 ; set temperature limit for heater 0 to max C ;extruder M308 S1 P"temp1" Y"pt1000" A"Extruder T °C" ; configure sensor 1 as thermistor on pin e0temp (104gt2) M950 H1 C"out1" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 R3.558 K0.357:0.000 D9.14 E1.35 S1.00 B0 V23.8 ; disable bang-bang mode for heater and set PWM limit M143 H1 S320 ; set temperature limit for heater 1 to max C ;Chamber M308 S2 P"temp2" Y"thermistor" T100000 B4267 A"Chamber T °C" ; configure sensor 2 as thermistor on pin temp2 M950 H2 C"out5" T2 ; create chamber heater output on 1.out0 and map it to sensor 2 M307 H2 B0 S1.00 ; disable bang-bang mode for the chamber heater and set PWM limit M141 H2 ; map chamber to heater 2 M143 H2 S100 ; set temperature limit for heater 2 to 280C M308 S10 Y"mcu-temp" A"MCU" ; defines sensor 10 as MCU temperature sensor M308 S11 Y"drivers" A"Duet stepper drivers" ; defines sensor 11 as stepper driver temperature sensor ; Fans M950 F0 C"out4" Q250 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 C"Part Fan" ; set fan 0 value. Thermostatic control is turned off M950 F1 C"out3" Q250 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T45 C"Extruder Fan" ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C T0 ; Custom settings are not defined M98 P"/macros/home_max_Z" ;External Buttons M950 J1 C"!io2.in" ;config input pin switch NO connected to io2 and Gnd M581 P1 T0 C0 ;T0 = emergency stop on trigger; T1 = pause print; T{N} = runs the macro "sys/trigger{N}.g", rising edge S1 falling edge S0 ;M581 P1 T4 c0 ;run a macro trigger4.g M582 T0 ; Check External Trigger
; homex.g echo "start" M569 P0.0 ; Check status in console M569 P0.1 ; Check status in console G91 ; relative positioning M569 P0.0 S1 D3 V10 ; set to stealth chop M569 P0.1 S1 D3 V10 ; set to stealth chop M915 P0.0:0.1 S10 F0 R1 H200 ; Configure Z-Axis Stall Detection echo "stall detection setup" M17 X Y ; Check status in console G1 P140 ;pause to allow the drivers to characterise the motor G1 H1 X-0.2 F3000 ; move a little for cal of sensorless homing / not stalled G1 H1 Y-0.2 F3000 ; move a little for cal of sensorless homing / not stalle echo "lower motor current" M913 X70 Y70 ; Lower motor current % G4 P150 ; wait 150ms M574 X1 Y2 S4 ; Configure Z-Axis stall detection homing M569 P0.0 ; Check status in console M569 P0.1 ; Check status in console echo "home x" G1 H1 X-350 F6000 G1 H2 X10 Y10 G1 H1 X-350 F6000 ; Home Z-Axis actuators independently M569 P0.0 ; Check status in console M569 P0.1 ; Check status in console G90 ; absolute positioning G1 X150 F6000 ; move to center of bed ;revert back echo "after revert back" M913 X100 Y100 ; Reset motor current % M569 P0.0 S1 D2 ; reset motors back to spread cycle, M569 P0.1 S1 D2 ; reset motors back to spread cycle, M569 P0.0 ; Check status in console M569 P0.1 ; Check status in console
;homey.g ; Relative positioning echo "Home Y" M569 P0.0 ; check status in console M569 P0.1 ; check status in console; relative positioning G91 M569 P0.0 S1 D3 V10 ; set to stelth chop M569 P0.1 S1 D3 V10 ; set to stelth chop M915 P0.0:0.1 S10 F0 R1 H200 ; Configure Z-Axis Stall Detection echo "stall detection setup" M17 X Y G1 P140 G1 H1 X-0.5 F3000 ; move a little for cal of sensorless homing / not stalled G1 H1 Y-0.5 F3000 ; move a little for cal of sensorless homing / not stalled echo "lower motor current" M913 X70 Y70 ; Lower motor current % G4 P150 M574 X1 Y2 S4 ; Configure Z-Axis stall detection homing M569 P0.0 ; check status in console M569 P0.1 ; check status in console ; make sure everything has stopped before we make changes echo "Home Y" G1 H1 Y350 F6000 G1 H2 X-10 Y10 G1 H1 Y350 F6000 ; Home Z-Axis actuators independently M569 P0.0 ; check status in console M569 P0.1 ; check status in console G90 ; absolute positioning G1 Y150 F6000 ; move to center of bed ;revert back echo "after revert back" M913 X100 Y100 ; Reset motor current M569 P0.0 S1 D2 ; reset motors back to spread cycle, M569 P0.1 S1 D2 ; reset motors back to spread cycle, M569 P0.0 ; check status in console M569 P0.1 ; check status in console
; homez.g echo "home Z.g " G90 ; absolute positioning G1 F6000 X150 Y150 ; make sure X Y centreed G91 ; Relative positioning echo "Homing Z" G30 ; Home Z-Axis actuators independently G90 ; absolute positioning G1 Z25 F4000 ;move away a little
; home_max_Z M400 ; make sure everything has stopped before we make changes G91 ; relative positioning M569 P0.4 S1 D3 V10 ; set to stelth chop M569 P0.5 S0 D3 V10 ; set to stelth chop M569 P0.6 S1 D3 V10 ; set to stelth chop M915 P0.4:0.5:0.6 S0 F0 R1 H200 ; Configure Z-Axis Stall Detection M574 Z2 S4 ; Configure Z-Axis stall detection homing M400 ; make sure everything has stopped before we make changes G1 H1 Z-0.2 F3000 ; move a little for cal of sensorless homing / not stalled M400 ; make sure everything has stopped before we make changes M913 Z70 ; Lower motor current by 50% G1 H1 Z350 F3000 ; Home Z-Axis actuators independently M400 ; make sure everything has stopped before we make changes G92 Z290 ; set a Z height G90 ; absolute positioning ;revert back M913 Z100 ; Reset motor current M569 P0.4 S1 D2 ; reset motors back to spread cycle, M569 P0.5 S0 D2 ; reset motors back to spread cycle, M569 P0.6 S1 D2 ; reset motors back to spread cycle, M84 ; turn off motors
;3PL echo "3PL" G30 P0 X10 Y0 Z-99999 ; probe near a leadscrew G30 P1 X290 Y0 Z-99999 ; probe near a leadscrew G30 P2 X150 Y270 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors G1 X0 Y0 F6000
-