I don't understand why this is happening
-
Hi:
I am trying to set up my first delta printer, and I'd appreciate a nudge in the right direction to address an issue.
I can use G91, and then G1 (xyz)number to move each pair of arms up and down properly, and confirm that each one moves in the correct direction.
I can then run G28 and the printer will home and change the status of the end stop switch while stopping the arms.If I try to run the bed level script from the main screen, or if I issue a G29, the carriage starts moving up and making a horrible noise as arm holder hammers against the end stop (Z first)
If all the movements are correct in the manual mode, why does it move the opposite way with G29?
Thanks
Tim -
Hi:
Upgraded firmware to 1.20 with no problems. Issue reported above unchanged. -
What is written in your homeall.g file? Can you home without issues?
-
1. Check whether you have any default deployprobe.g and retractprobe.g files in /sys on the SD card. If you have and you didn't write them yourself, delete them. You can do this in the Settings/System Editor page of DWC.
2. If that doesn't fix it, please share your config.g file.
-
Hi:
Thanks so much for getting back to me. I do not have either deploy or retract probe files on the SD card.
My Config.g file is```
; Configuration file for Duet WiFi (firmware version 1.17 to 1.19)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool on Sun Jan 07 2018 13:38:34 GMT-0500 (Eastern Standard Time); General preferences
M111 S0 ; Debugging off
G21 ; Work in millimetres
G90 ; Send absolute coordinates...
M83 ; ...but relative extruder moves
M555 P2 ; Set firmware compatibility to look like Marlin;*** The homed height is deliberately set too high in the following - you will adjust it during calibration.
M665 R85 L218 B85 H300 ; 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
M208 Z-0.7 S1 ; Set minimum Z; Endstops
M574 X2 Y2 Z2 S0 ; Set active low endstops
M558 P4 X0 Y0 Z0 H10 F120 T2400 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds
G31 P600 X11 Y0 Z2.5 ; Set Z probe trigger value, offset and trigger height
M557 R85 S20 ; Define mesh grid; Drives
M569 P0 S1 ; Drive 0 goes forwards
M569 P1 S1 ; Drive 1 goes forwards
M569 P2 S1 ; Drive 2 goes forwards
M569 P3 S1 ; Drive 3 goes forwards
M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation
M92 X80 Y80 Z80 E663 ; Set steps per mm
M566 X1200 Y1200 Z1200 E1200 ; Set maximum instantaneous speed changes (mm/min)
M203 X18000 Y18000 Z18000 E1200 ; Set maximum speeds (mm/min)
M201 X1000 Y1000 Z1000 E1000 ; 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; Heaters
M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0
M143 H0 S120 ; Set temperature limit for heater 0 to 120C
M305 P1 T100000 B4388 C0 R4700 ; Set thermistor + ADC parameters for heater 1
M143 H1 S280 ; Set temperature limit for heater 1 to 280C; Tools
M563 P0 D0 H1 ; 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; Network
M550 PFLSUN ; Set machine name
M552 S1 ; Enable network
M587 S"BELL137" P"xxxxxxxx" I192.168.1.21 J192.168.1.254 K255.255.255.0 ; Configure access point and IP addresses. You can delete this line once connected
M586 P0 S1 ; Enable HTTP
M586 P1 S0 ; Disable FTP
M586 P2 S0 ; Disable Telnet; Fans
M106 P0 S0 I0 F500 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off
M106 P2 S1 I0 F500 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on; Custom settings are not configured
; Miscellaneous
T0 ; Select first tooland my homedelta.g file is
[[language]]
; homedelta.g
; called to home all towers on a delta printer
;
; generated by RepRapFirmware Configuration Tool on Sun Jan 07 2018 13:38:34 GMT-0500 (Eastern Standard Time)
G91 ; relative positioning
;*** Slow homing has been configured. Change F240 to F2400 below when your configuration is working
G1 S1 X311.5 Y311.5 Z311.5 F240 ; move all towers to the high end stopping at the endstops (first pass)
G1 X-5 Y-5 Z-5 F2400 S2 ; go down a few mm
G1 S1 X10 Y10 Z10 F240 ; move all towers up once more (second pass)
G1 Z-5 F2400 ; move down a few mm so that the nozzle can be centred
G90 ; absolute positioning
G1 X0 Y0 F2400 ; move X+Y to the centreThanks, Tim
-
Home (G28) works just fine. If I try to move any axis with the duet control software or pronterface, if I input a - number, my carriages go UP. They will go down if I enter a positive number, but only until the number matches what has been entered as the max height for the machine. I is actually 306.5.
I would have thought that Z should go to 0 when I home the machine (like my cartesian)
I am using the Duet from my Cartesian at the moment in this delta. I have another DuetWifi on it's way, but I am not sure when it will arrive.
I like the DuetWifi so much that it will be used in both my printers and maybe a laser cnc if I get one built.
-
Post your bed.g please
-
Delta printers home to the top.
What happens if you use the Z jog buttons in DWC to jog the Z axis in the negative direction? It should move the effector toward the bed. After you have moved the effector down sufficiently, you can jog X and Y. You can't jog X and Y when the effector is right at the top.
-
Jogging Z by -10 won't execute because it wants to go up and it is homed so there is nowhere to go.
Bed.g
[[language]] ; bed.g ; called to perform automatic delta calibration via G32 ; ; generated by RepRapFirmware Configuration Tool on Sun Jan 07 2018 13:38:34 GMT-0500 (Eastern Standard Time) M561 ; clear any bed transform ; Probe the bed at 6 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 Y84.2 H0 Z-99999 G30 P1 X66.01 Y38.11 H0 Z-99999 G30 P2 X66.01 Y-38.11 H0 Z-99999 G30 P3 X0 Y-84.2 H0 Z-99999 G30 P4 X-73.61 Y-42.5 H0 Z-99999 G30 P5 X-73.61 Y42.5 H0 Z-99999 G30 P6 X0 Y41.05 H0 Z-99999 G30 P7 X29.84 Y-17.23 H0 Z-99999 G30 P8 X-36.81 Y-21.25 H0 Z-99999 G30 P9 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)
-
Jogging Z by -10 should move the effector down, not up. Are you sure that you have the carriages moving in the right direction? After sending G91, sending G1 S2 X10 should move the X carriage up 10mm, and G1 S2 Y-10 should move the X carriage down 10mm. Similarly for the Y and Z carriages.
-
Hi and thanks for staying on this with me.
From Pronterface
I have issued a G28 and the carriages are all up at the top with the limit switches tripped.
M114 returns X:0.00 Y:0.00 Z:295.004
M119 returns Endstops -X: not stopped Y: not stopped, Z: not stopped, Z probe: at min stopFrom DWC
G1 S2 Y-10 moves Y up
G1 S2 Y+10 moves Y down 10
G1 S2 X-10 moves X up 10
G1 S2 X+10 moves X down 10
G1 S2 Z-10 moves Z up 10
G1 S2 Z+10 moves Z down 10Wiring between Wifi port and Stepper Motor is verified that what I think is X is what is connected to X port
Right Front Vertical Extruded Axis is X
Left Front Vertical Extruded Axis is Y (1 Step Clockwise around Axis from X)
Read Extruded Axis is Z (2 Steps Clockwise around Axis from X). (1 Step CounterClockwise)Homeall from DWC moved X and Z up to engage limit switches (were only 10 or so away)
Homeall did not move Y all the way to limit switch. Moved up what looks like 10Limit Switches match Axis designations.
All switches Black wire on GND on Board - Outside pin on actual switch
All switches Red wire on STP on Board - Opposite Outside pin on actual switchTim
-
1. Your motors are all moving in reverse. Correct them by changing S0 to S1 or vice versa in your M569 P0, P1 and P2 commands.
2. It sounds that you are using the NC endstop switch contacts. The endstop LEDs on the Duet will be lit when the switches are not triggered, and off when they are triggered. This means that in your M574 command you need S1 not S0.
-
Hi
Well, that would explain why I was having so much trouble setting it up.I switched all the motors and M574
Homeall worked, but all carriages bounced out of closed
I tried to do the auto bed leveling and the hotend stopped about 50mm above the heat bed. There is a limit switch in the hot end that opens when the nozzle touches the bed. Should that one be S1?
-
M574 has only three endstops listed. Should I add another for the hot end endstop? It is wired to the E0 port beside X limit switch
-
There is no hot end endstop, but you may have a Z probe. It is configured using M558, not M574.
If the hot end stops above the bed when you try to run auto calibration, that suggests that that least the H parameter in your M665 command is a long way out. See https://duet3d.com/wiki/Calibrating_a_delta_printer#Setting_up_your_initial_delta_parameters.
-
Ok Z Probe certainly covers the way it operates and the function it carries.
Thanks. I should be able to move on with the Calibration link
Tim -
Hi:
When I click the auto bed level, the effecter will drop to about 40mm away from the bed and go through the motions.
I get a message saying that the Z probe has already been triggered which it will be since it is closed on the print head.Does it stop at that height because it is already closed?
Do I have to rewire the probe? It is set to open when the probe touches the bed.
-
Sorry
My Bad.
Missed the M564 S0 in configuring the Z Probe -
Ok
I was able to get down to the bed and determine the trigger height on the Z probe which is 0.2 It is repeatable.
I did an M500 to save this information.If I home from the bed, the effector will stop before the endstops are reached. If I home again, it will home properly
If I initiate the autobed level, the effector will stop and complete it's various points around the bed while it is still 72mm above the bed. At each probe point, it will report that the Z Probe is already triggered.
I am obviously still missing (not grasping) something in this process.
Thanks
TimConfig.g
[[language]] ; Configuration file for Duet WiFi (firmware version 1.17 to 1.19) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool on Sun Jan 07 2018 13:38:34 GMT-0500 (Eastern Standard Time) ; General preferences M111 S0 ; Debugging off G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P2 ; Set firmware compatibility to look like Marlin ;*** The homed height is deliberately set too high in the following - you will adjust it during calibration. M665 R85 L218 B85 H306.5 ; 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 M208 Z-0.7 S0 ; Set minimum Z ; Endstops M574 X2 Y2 Z2 S1 ; Set active low endstops M558 P4 X0 Y0 Z0 H10 F120 T2400 ; Set Z probe type to switch, the axes for which it is used and the dive height + speeds G31 P600 X11 Y0 Z0.2 ; Set Z probe trigger value, offset and trigger height M557 R85 S20 ; Define mesh grid ; Drives M569 P0 S0 ; Drive 0 goes forwards M569 P1 S0 ; Drive 1 goes forwards M569 P2 S0 ; Drive 2 goes forwards M569 P3 S1 ; Drive 3 goes forwards M350 X16 Y16 Z16 E16 I0 ; Configure microstepping without interpolation M92 X80 Y80 Z80 E663 ; Set steps per mm M566 X1200 Y1200 Z1200 E1200 ; Set maximum instantaneous speed changes (mm/min) M203 X18000 Y18000 Z18000 E1200 ; Set maximum speeds (mm/min) M201 X1000 Y1000 Z1000 E1000 ; 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 ; Heaters M305 P0 T100000 B3950 C0 R4700 ; Set thermistor + ADC parameters for heater 0
Bed.g
[[language]] ; bed.g ; called to perform automatic delta calibration via G32 ; ; generated by RepRapFirmware Configuration Tool on Sun Jan 07 2018 13:38:34 GMT-0500 (Eastern Standard Time) M561 ; clear any bed transform ; Probe the bed at 6 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 Y84.2 H0 Z-99999 G30 P1 X66.01 Y38.11 H0 Z-99999 G30 P2 X66.01 Y-38.11 H0 Z-99999 G30 P3 X0 Y-84.2 H0 Z-99999 G30 P4 X-73.61 Y-42.5 H0 Z-99999 G30 P5 X-73.61 Y42.5 H0 Z-99999 G30 P6 X0 Y41.05 H0 Z-99999 G30 P7 X29.84 Y-17.23 H0 Z-99999 G30 P8 X-36.81 Y-21.25 H0 Z-99999 G30 P9 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)
-
If I home from the bed, the effector will stop before the endstops are reached. If I home again, it will home properly
#5 at https://duet3d.com/wiki/Common_problems_and_their_solutions.
If I initiate the autobed level, the effector will stop and complete it's various points around the bed while it is still 72mm above the bed. At each probe point, it will report that the Z Probe is already triggered.
Test your Z probe. For a switch type Z probe, the Z probe reading in DWC should be 1000 when the probe is triggered, and 0 when it is not. If yours is the other way round, then if possible use the NC switch contacts instead of the NO contacts. If you can't do that, add I1 to your M558 command.