6XD Closed Loop Errors
-
Greetings,
I am totally new to Duet, trying to get my first build up and running. I am using the 6XD and 1XD drives to run closed loop steppers. I have 4 Z, 2 Y, and 1 X Stepper.
CL57T-V41 from Steppers online.
I am struggling to understand the alarm message wiring:
Its the "Com" port that is throwing me off. Is it as simple as wiring +5V to "Com", and then the "ALM" to the "D0_ERR" pin?
Is three any further setup that has to be done to monitor these pins?
Also curious of the printer behavior, when an error hits, what will the machine do? Is it possible clear the drive problem and continue printing?
Would really appreciate any help!
Scott
-
@Snyggis-0 See the 'Alarm' tab here https://docs.duet3d.com/Duet3D_hardware/Duet_3_family/Duet_3_Expansion_1XD#configuration-examples which has an example for connecting the alarm to a 1XD board (I need to copy and update these examples to the 6XD page, thanks for the reminder!).
- You set up the Duet pin you connected the alarm wire to with M950 (see https://docs.duet3d.com/User_manual/Reference/Gcodes#m950-create-heater-fan-spindle-led-strip-or-gpioservo-pin)
- You define a trigger (see https://docs.duet3d.com/User_manual/Reference/Gcodes#m581-configure-external-trigger) that checks that input for a signal.
- You define a macro (see https://docs.duet3d.com/en/User_manual/Tuning/Macros#triggers) that runs when the trigger detects the signal. This can do whatever you want, but usually in the event of an external driver error, you want the machine to pause to see if it recovers position. You may want the motion to stop (rather than pause, which may move the axes to a 'safe' position), in which case you could raise a driver error event with M957 (see https://docs.duet3d.com/User_manual/Reference/Gcodes#m957-raise-event, and for the effect of this see https://docs.duet3d.com/en/User_manual/RepRapFirmware/Events)
It doesn't look like the driver has an alarm reset, so I'm not sure what action needs to be taken to clear the alarm.
Ian