CL75T Closed Loop Stepper Driver Alarm Reset Signal

More
2 years 5 months ago #299859 by Trevy3
I have a CL57T closed loop stepper driver with alarm output. I have the alarm wired to input 4 and 5 on my 7i96s and it works fine.

Lines 257-267 in HAL:
#  ---estop signals---

net estop-ext     =>  iocontrol.0.emc-enable-in
net estop-out => hm2_7i96s.0.gpio.045.in_not

# --- drive ALM ---
net x-fault => joint.0.amp-fault-in <= hm2_7i96s.0.inm.00.input-05
net z-fault => joint.1.amp-fault-in <= hm2_7i96s.0.inm.00.input-04

net x-fault => joint.0.amp-fault-in halui.joint.0.unhome
net z-fault => joint.1.amp-fault-in halui.joint.1.unhome



My issue is resetting the alarm after it triggers. At the moment, I need to close Lcnc and reopen it to get it to send a new "net x-enable     <= joint.0.amp-enable-out" signal. I attempted to follow This Post but couldn't get it to work. Could I get some direction with this?

Please Log in to join the conversation.

More
2 years 5 months ago #299865 by tommylight

net estop-out => hm2_7i96s.0.gpio.045.in_not

net x-fault => joint.0.amp-fault-in halui.joint.0.unhome
net z-fault => joint.1.amp-fault-in halui.joint.1.unhome
First line should be output, not input pin
Last two lines ... why? And again, why?
Drive enable should be controlled by amplifier-enable or machine-is-enabled or x-enable or y-enable or..., not by e-stop
Drives should reset when disabled and enabled again, so there is nothing except the lines i did not quote and one of the above pins to enable the drives.

Please Log in to join the conversation.

More
2 years 5 months ago #299866 by PCW
How do you reset the drives?
I would think this needs a spare 7I96S output

Please Log in to join the conversation.

More
2 years 5 months ago #299870 by tommylight
Gecko drives require an input and an output to reset/fault, the use the same pin for both.
LAM Technologies need just the enable pin, fault disables drives, enabling them resets them.
Literally, just pressing F2.

Please Log in to join the conversation.

More
2 years 5 months ago #299872 by spumco
Those stepper drives have no reset function.

You done necessarily need to restart LCNC, but you must power cycle them to reset the alarm state.

Note that the motors are very likely to 'jump' a little bit when the bus power is turned off/on.  Unless you have linear scales on the axes, I'd strongly suggest configuring your LCNC arrangement to require a re-home if an axis faults.

 

Please Log in to join the conversation.

Time to create page: 0.117 seconds
Powered by Kunena Forum