delta auto calibration rams into roof of printer
-
Hello, I am new here but have read the "Guide for posting requests for help", please tell me if i make any mistakes.
after going through the guides by Filastruder as well as the "Configuring RepRapFirmware for a Linear Delta printer" article (including links), i have gotten my printer to the point where i should try delta calibration.
upon pressing the DWC buttoon, it went full speed (faster than anything before, even with the old board) straight up, past the endstops and started crashing into the roof of the printer.
i willl include the config.g and bed.g, please inform me if i should add anything else or if i should check something with the printer.
Anycubic predator
duet2wifi 1.04C
smarteffector 2.0
bondtech clone
(didnt know bondtech existed when i bought it)
E3D V6
RRF 3.2.2
(the wifi came with 2.5.1 and i updated 2.5.1.>3.0>3.2.2 according to a post by DC42, no other changes to firmware)
config.g
bed.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 Mon Mar 01 2021 17:15:59 GMT+0100 (Central European Standard Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"My Printer" ; set printer name M665 R227 L440 B185 H437 ; 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 S1 ; enable network M586 P0 S1 ; enable HTTP M586 P1 S1 ; enable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S0 ; physical drive 1 goes backwards M569 P2 S0 ; physical drive 2 goes backwards 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 X80.00 Y80.00 Z80.00 E415.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 I60 ; 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 P5 R0.4 C"zprobe.in+zprobe.mod" H30 F1200 T6000 I1 ; set Z probe type to effector and the dive height + speeds M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved G31 P500 X0 Y0 Z-0.1 ; set Z probe trigger value, offset and trigger height M557 R85 S20 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B4092 ; 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 B0 S1.00 ; disable 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 B4725 C7.06e-8 ; 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:0 T45 ; set fan 1 value. Thermostatic control is turned on ; Tools M563 P0 S"V6" 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 are not defined ; Miscellaneous T0 ; select first tool
; homedelta.g ; called to home all towers on a delta printer ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 01 2021 17:15:59 GMT+0100 (Central European Standard Time) G91 ; relative positioning ;*** Slow homing has been configured. Change F180 to F1800 below when your configuration is working G1 H1 X461 Y461 Z461 F180 ; 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 ;*** Slow homing has been configured. Change F180 to F360 below when your configuration is working G1 H1 X10 Y10 Z10 F180 ; 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
; bed.g ; called to perform automatic delta calibration via G32 ; ; generated by RepRapFirmware Configuration Tool v3.2.3 on Mon Mar 01 2021 17:15:59 GMT+0100 (Central European Standard Time) M561 ; clear any bed transform ; Probe the bed at 12 peripheral and 3 halfway points, and perform 6-factor auto compensation ; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g. G30 P0 X0 Y184.9 H0 Z-99999 G30 P1 X92.45 Y160.13 H0 Z-99999 G30 P2 X160.13 Y92.45 H0 Z-99999 G30 P3 X184.9 Y0 H0 Z-99999 G30 P4 X160.13 Y-92.45 H0 Z-99999 G30 P5 X92.45 Y-160.13 H0 Z-99999 G30 P6 X0 Y-184.9 H0 Z-99999 G30 P7 X-92.45 Y-160.13 H0 Z-99999 G30 P8 X-160.13 Y-92.45 H0 Z-99999 G30 P9 X-184.9 Y0 H0 Z-99999 G30 P10 X-160.13 Y92.45 H0 Z-99999 G30 P11 X-92.45 Y160.13 H0 Z-99999 G30 P12 X0 Y92.4 H0 Z-99999 G30 P13 X80.02 Y-46.2 H0 Z-99999 G30 P14 X-80.02 Y-46.2 H0 Z-99999 G30 P15 X0 Y0 H0 Z-99999 S6 ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors ; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)
-
What buttoon did you press in DWC?
Also post your homedelta.g
Can you provide the results of sending M122 and M98 P"config.g" please?
-
here's the buttton
homedelta.g homedelta.g
and the M122M122.txtM98 P"config.g"
HTTP is enabled on port 80
FTP is enabled on port 21
TELNET is disabled -
Did you homeall first? Does it behave normally?
I'm thinking the upward movement you're seeing is the dive height of 30mm and the high probing and travel speed set.
; Z-Probe M558 P5 R0.4 C"zprobe.in+zprobe.mod" H30 F1200 T6000 I1 ; set Z probe type to effector and the dive height + speeds M558 H30 ;*** Remove this line after delta calibration has been done and new delta parameters have been saved
-
@Phaedrux yes i did, it was homed and in the position 5mm below the endstops and due to a few problems with confusing M665 values, i know it is reliable.
as for probing and travel speed, they are the ones i was given by the RepRapFirmware Configuration Tool.
For the H30 there, it looks weird given the second H30 below it, i may have accidently changed it. I will check if changing it to something lower helps when i have direct access to the printer if you believe that will help(remoting in from moms place, printer is at dads place, yay for covid kicking me out of my apartment).
sidenote: the crash was yesterday, i did not have time to post a thread after it happened as i needed to go to my second job, that may have some relevance.
-
clarification on that first paragraph: i know the homing is reliable.
-
Try removing the second M558 H30 entirely and change the first H30 to H5.
-
I will, thank you for the advice.
-
Also, after homeall, can you send a single G30 and see if it will probe the bed correctly?
-
@Phaedrux said in delta auto calibration rams into roof of printer:
Try removing the second M558 H30 entirely and change the first H30 to H5.
er.. no. That's a safety thing to prevent the nozzle from crashing into the build plate when the H parameter of M665 isn't set properly. Instead of having the nozzle move down at the travel speed to z0 + 5mm (and potentially smashing into the build plate), it leaves a larger 30mm gap before running the G30's.
-
@Phaedrux i have used G30 a few times and it probes the bed properly
-
@garyd9 said in delta auto calibration rams into roof of printer:
@Phaedrux said in delta auto calibration rams into roof of printer:
Try removing the second M558 H30 entirely and change the first H30 to H5.
er.. no. That's a safety thing to prevent the nozzle from crashing into the build plate when the H parameter of M665 isn't set properly. Instead of having the nozzle move down at the travel speed to z0 + 5mm (and potentially smashing into the build plate), it leaves a larger 30mm gap before running the G30's.
Thanks.
-
If you know your printer homes properly, then the endstops are working.
After homing (G28), try the following commands to ensure all the movement stuff is going in the proper direction. What all this should do is home, set relative positioning, move the nozzle down 1cm, toward the back of the printer 1cm, toward the left 1cm
G28
G91
G1 Z-10
G1 Y10
G1 X-10Then edit your bed.g and put a G28 as the second command (after the M561.)
I don't think any of this will solve your problem, but it may point to an issue. I'm still trying to figure out why G32 would cause your nozzle to move UP from a home position.
-
Also, please go into the console for DWC and type the following two commands and copy the results here into the forum. This will tell us if there might be some initial config issue that would be messing up the initial calibration:
M665
M666
(Why use the console and copy the results instead of using values from config files? I have found that getting the "live" data from M665/M666 is more reliable than copying values from config.g and/or config-override.g. The console commands return the values that are actually being used instead of values that are configured to be used.)
-
@garyd9 said in delta auto calibration rams into roof of printer:
M665
M666M665
Diagonals 440.000:440.000:440.000, delta radius 227.000, homed height 437.000, bed radius 185.0, X 0.000°, Y 0.000°, Z 0.000°
(seems my z height from the previous step wasnt saved?)M666
Endstop adjustments X0.00 Y0.00 Z0.00, tilt X0.00% Y0.00%
(i assume these values will change only after delta calibration?)i apologise for the late reply, i have to go to my dads place physically now due to a forced windows update changing some settings i was relying on to remote in.
-
Also, i tried the commands you suggested, it moved in the expected directions but i can't measure how accurate the movement was.
-
@dinlo said in delta auto calibration rams into roof of printer:
@garyd9 said in delta auto calibration rams into roof of printer:
M665
M666M665
Diagonals 440.000:440.000:440.000, delta radius 227.000, homed height 437.000, bed radius 185.0, X 0.000°, Y 0.000°, Z 0.000°
(seems my z height from the previous step wasnt saved?)To get settings to save, typically you'd add "M501" to the last comment in your config.g. That tells the duet to load information from a file called "config-override.g". Then, certain settings (heater tuning, delta calibration, etc) are written to that config-override.g file when you send the command "M500."
So, once you get your printer calibration working, you'd probably do a "M500" command afterwards to save the settings (which are then loaded via "M501" every time the machine resets.)
(i assume these values will change only after delta calibration?)
Yes.
Can you confirm that your delta arms are really 440mm long? When you home the printer, is the nozzle really approx 437mm from the bed? (The homed height can be approximate - that will get cleaned up after a calibration.)
Did you make the one change I suggested to your bed.g? (adding G28 to the top of it, after the M561) I doubt it would have made a difference to your problem, but I have to ask: did it help?
-
@garyd9 i measured the arms as best i could with what i have available, i don't have an exact tool to measure them (my longest calipers are 300mm) but believe that's accurate to at least 2 mm, i should be able to make a jig and reglue them if needed.
the 437 comes from me jogging it from homed height to within a millimeter of the bed.
regarding the G28, i made the change and it homed properly before hitting the roof again (now at a lower speed and with M913 on)
-
Can you please describe "hitting the roof" in detail? You have a different machine than I do, so I'm having a hard time understanding concepts such as "going past the endstops" and "hitting the roof"
(On my delta machine, it's physically impossible for the carriages to move up beyond the endstops. Not only is there no more rail for the carriages to ride on, there are physical things in the way.)
Can you describe in detail everything that happens when you send the "G32" command to home and calibrate the printer? My expectation based on your config files (and the modification made to bed.g I suggested) would be:
-
The 3 carriages ride up to the top of the printer, hit the endstops, move down slightly, move back up again, and then again drop down a bit. (This is the "g28" command in action.)
-
Then the carriages move down to bring the nozzle somewhat near the bed.
-
Then the carriages move in such a way to move the nozzle towards the back of the printer, then the nozzle dips down to the bed, and comes back up
-
Repeat step 3 for each of the 16 points specified in your bed.g.
-
After all 16 points are probed, the printer stops.
Would it be possible to record a short video showing the printer in action when you send a G32 command and put a link to it here?
(I've never heard of what your describing on a delta printer unless the motors were set up in reverse, but you confirmed that they are moving in the correct direction in an earlier reply.)
Did you ever have the printer running properly with an earlier version of RRF? (You mentioned it came with 2.5.1. Did you get it working properly with that version? If so, do you still have a copy of the config files you used then?)
-
-
- G28 (as stated)
- the axes goes up to the endstops (these are optical and are triggered by a shim on top of the carriages, hard to take a photo due to them being black)
- they dont stop at the endstops or wait for any other axis (i.e. if x reaches it first, it hits the roof first)
- i shut it down
2 included images showing (well, trying anyway) the shim and a carriage hitting the roof
dunno if you can even see it but that black shim on top of the carriage reaches up and hits an optical switch above the roof
when it reaches this point the steppers just grind away until i shut it downas for earlier versions, no. I immediately upgraded to 3.2.2 since that's what the instructions said
i have the generic config files that came with the board but they were set up for a cartesian.