1st probe failed
-
A new step in calibration after finally updating the Duet Firmware from 1.21 to 3.3.
For the Rostockmax v3.2 delta printer, it's recommended to run the first probe macro. But the macro seems to have a few issues. Since I can't seem to upload the image these are the two as I see them in DWC
M292
Error: Invalid tool number
Error: Missing Z probe pin name(s)
Warning: Obsolete use of S parameter on G1 command. Use H parameter instead.
Error: Failed to enable endstopsM98 P"0:/macros/MoreMacros/_First Probe"
Error: Invalid tool number
Error: Missing Z probe pin name(s)
Warning: Obsolete use of S parameter on G1 Command. Use H parameter instead.
Error: Failed to enable endstops -
@xhota I posted an answer in the Facebook page.
Use the config.json file I uploaded and hand it to the reprap configurator as "Use and existing configuration" and it will fill in all the values I used.
Click your way to the end and upload the resulting file to the Duet2 and it should have a good configuration.
-
You can also share the macros you have for the Rostock and we can see what needs to be changed for RRF3 as they may also be out of date.
For the main config files, alan has good advice if you already have a config.json file.
If not, you can create a new config file fresh for a delta and go from there.
-
@alankilian @Phaedrux Thanks Alan. I did manage to upload the config files to the printer and it all seems to have worked out with the settings..
However, now the problem becomes that while I can run the first probe macro.. The printer will lower the arms down to the bed and try to push further.
Luckily I did the probe while near. While pushing, it began to drag across the glass of the bed and off of it completely, shaking the whole printer till I emergency stopped it to avoid damaging the glass and/or printer itself.
The error in the Console said that the there are insufficient axes homed. If I try to home the axes via the command button in the dashboard, the same thing happens. So I'll hold at this point till we can figure out what to go for next. I'd share the macros but i'm not sure how.
-
@xhota OK, let's get homing working next.
Post your config.g and homedelta.g here using the </> (Code) macro.
Here's mine:
config.g; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Tue Mar 09 2021 13:21:24 GMT-0500 (Eastern Standard Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"alan" ; set printer name M665 R132.5 L291.06 B132.5 H400 ; Set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them ; Network M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards ; Testing external driver ;M569 P5 S1 T4:4:4:4 ; physical drive 5 goes forwards ;M584 X0 Y1 Z2 E3 U5 ; set drive mapping ;M350 X16 Y16 Z16 E16 U16 I1 ; configure microstepping with interpolation ;M92 X100.00 Y100.00 Z100.00 U100.00 E91.00 ; set steps per mm ;M566 X1200.00 Y1200.00 Z1200.00 U1200 E1200.00 ; set maximum instantaneous speed changes (mm/min) ;M203 X18000.00 Y18000.00 Z18000.00 U18000E1200.00 ; set maximum speeds (mm/min) ;M201 X1000.00 Y1000.00 Z1000.00 U1000E1000.00 ; set accelerations (mm/s^2) ;M906 X1000 Y1000 Z1000 E800 U1000I30 ; set motor currents (mA) and motor idle factor in per cent M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X100.00 Y100.00 Z100.00 E91.00 ; set steps per mm M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min) M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min) M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 Z0 S1 ; set minimum Z ; Endstops M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop M574 Z2 S1 P"zstop" ; configure active-high endstop for high end on Z via pin zstop ; Z-Probe M558 P1 C"zprobe.in" H5 F60000 T6000 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 X0 Y0 Z0.1 ; set Z probe trigger value, offset and trigger height M557 R132 S20 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4388 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"e0temp" Y"thermistor" T100000 B4385 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T45 ; 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 ; Custom settings M501 ; Load config-overrides.g T0 ; Select tool zero ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue
homedelta.g
; homedelta.g ; called to home all towers on a delta printer ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Tue Mar 09 2021 13:21:24 GMT-0500 (Eastern Standard Time) G91 ; relative positioning G1 H1 X505 Y505 Z505 F1800 ; move all towers to the high end stopping at the endstops (first pass) G1 H2 X-5 Y-5 Z-5 F1800 ; go down a few mm G1 H1 X10 Y10 Z10 F360 ; move all towers up once more (second pass) G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred G90 ; absolute positioning G1 X0 Y0 F300 ; move X+Y to the centre
We might have to start with some individual motor movelemts to make sure they are wired the same as my original Rostock Max V3.
-
Took me a second to figure the macro out but here are the 2 files.
config.g
; Configuration file for Duet WiFi (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Jun 23 2021 21:19:13 GMT-0600 (Mountain Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"RMAXV32" ; set printer name M665 R132.5 L291.06 B132.5 H400 ; Set delta radius, diagonal rod length, printable radius and homed height M666 X0 Y0 Z0 ; put your endstop adjustments here, or let auto calibration find them ; Network M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards M569 P3 S1 ; physical drive 3 goes forwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X100.00 Y100.00 Z100.00 E91.00 ; set steps per mm M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min) M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min) M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; set accelerations (mm/s^2) M906 X1000 Y1000 Z1000 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 Z0 S1 ; set minimum Z ; Endstops M574 X2 S1 P"xstop" ; configure active-high endstop for high end on X via pin xstop M574 Y2 S1 P"ystop" ; configure active-high endstop for high end on Y via pin ystop M574 Z2 S1 P"zstop" ; configure active-high endstop for high end on Z via pin zstop ; Z-Probe M558 P1 C"zprobe.in" H5 F60000 T6000 ; set Z probe type to unmodulated and the dive height + speeds G31 P500 X0 Y0 Z0.1 ; set Z probe trigger value, offset and trigger height M557 R132 S20 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4388 C7.06e-8 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"e0temp" Y"thermistor" T100000 B4385 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 ; set temperature limit for heater 1 to 280C ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S1 H1 T45 ; 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 ; Custom settings M501 ; Load config-overrides.g T0 ; Select tool zero ; Miscellaneous M575 P1 S1 B57600 ; enable support for PanelDue
Homedelta.g
; homedelta.g ; called to home all towers on a delta printer ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Wed Jun 23 2021 21:19:13 GMT-0600 (Mountain Daylight Time) G91 ; relative positioning G1 H1 X505 Y505 Z505 F1800 ; move all towers to the high end stopping at the endstops (first pass) G1 H2 X-5 Y-5 Z-5 F1800 ; go down a few mm G1 H1 X10 Y10 Z10 F360 ; move all towers up once more (second pass) G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred G90 ; absolute positioning G1 X0 Y0 F6000 ; move X+Y to the centre
-
If you send M119 it will give you the status of the endstops. They should say not triggered or not at endstop when the switches aren't depressed. Hold down each switch in turn and send M119 again to verify that the endstop matches the tower/axis assigned to it.
If you send G28 it should execute homedelta, which should move all towers up to the endstops.
These guides should also be helpful
https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareDeltaPrinter
https://duet3d.dozuki.com/Wiki/Calibrating_a_delta_printer -
The endstops are present and react when I move the towers up to activate them. They all match the axis they're assigned to, so that's all good. But if I try to execute G28 the printer Lowers the towers, not raises them. Which seems to be the problem with the home and probe macros. There's nothing I can see but the bed to stop them on the bottom end.
-
Ok, so if your motors are moving down when they should be moving up you can change the direction of rotation in config.g
M569 P0 S1 ; physical drive 0 goes forwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S1 ; physical drive 2 goes forwards
Change S1 to S0
-
Nice.
After changing the rotation on those 3, the g28 was able to execute successfully. Should I try the home command now or run the first probe? -
You should home first, but that's the same as G28.
The delta calibration guide should be your next stop.
-
Sure thing. I'll read it over and give it a go now. See if anything else pops up.
-
@xhota said in 1st probe failed:
But if I try to execute G28 the printer Lowers the towers, not raises them.
I wonder if I either wired up the steppers backwards when I first built the printer or did so when I updated to the Duet2.
Here's what my stepper connectors look like:
Are yours wired differently?
-
@alankilian HEY! Look at that!!!
I've got mine wired opposite!
From the RMax V3.2 upgrade guide:
I wonder how in the heck I did that?
-
Go figure.
Goes to show how the right coding can, within reason, overcome minor issues. But hey, you still got it up and running. Also, I noticed in my homedelta.g file, the 11th line has 'F6000' vs yours showing 'F300' Is this a result of changes made by your calibrations where mine still need to be completed? And should I reverse the rotation on my "M569 P3 S1" line? Since it seems my printer was assembled according to the guide? -
@xhota said in 1st probe failed:
Also, I noticed in my homedelta.g file, the 11th line has 'F6000' vs yours showing 'F300' Is this a result of changes made by your calibrations where mine still need to be completed?
It's the speed of the move down to the center. You'll have to see if it moves too fast or not.
@xhota said in 1st probe failed:
And should I reverse the rotation on my "M569 P3 S1" line? Since it seems my printer was assembled according to the guide?
Maybe. You'll have to test a short move on the extruder to see which direction it's going.
-
@xhota said in 1st probe failed:
Also, I noticed in my homedelta.g file, the 11th line has 'F6000' vs yours showing 'F300'
I was fooling around trying to figure out how to set the speed of motion AFTER homing, so that's a temporary experiment on my part.
F6000 is a better value for both of us.
-
Took a break, came back and finished the calibration process from the link. All seems good and the auto calibration was successful! So Most of it seems right, However.. There's a heater fault in the bed where the wasn't one before.
The bed used to heat just fine when I was test printing before all this.. or maybe it wasn't? Hard to tell but It's possible the update of the firmware allowed the fault to be properly detected. Is there a way to be sure? YAT shows "Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 36"
-
The heater warning is just a warning. It can't be disabled.
-
Also there's this:
Executing config.g... Error: in file macro line 14 column 7: M552: expected string expressionI'm familiar enough to know that the M552 is a line for the Wifi, which makes sense to me as the printer doesn't automatically connect when booted.