CL75T Closed Loop Stepper Driver Alarm Reset Signal
05 May 2024 23:20 - 05 May 2024 23:22 #299859
by Trevy3
CL75T Closed Loop Stepper Driver Alarm Reset Signal was created 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?
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?
Last edit: 05 May 2024 23:22 by Trevy3.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
06 May 2024 00:53 #299865
by tommylight
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.
Replied by tommylight on topic CL75T Closed Loop Stepper Driver Alarm Reset Signal
First line should be output, not input pinnet 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
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 or Create an account to join the conversation.
06 May 2024 01:10 #299866
by PCW
Replied by PCW on topic CL75T Closed Loop Stepper Driver Alarm Reset Signal
How do you reset the drives?
I would think this needs a spare 7I96S output
I would think this needs a spare 7I96S output
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
06 May 2024 01:31 #299870
by tommylight
Replied by tommylight on topic CL75T Closed Loop Stepper Driver Alarm Reset Signal
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.
LAM Technologies need just the enable pin, fault disables drives, enabling them resets them.
Literally, just pressing F2.
Please Log in or Create an account to join the conversation.
06 May 2024 01:56 #299872
by spumco
Replied by spumco on topic CL75T Closed Loop Stepper Driver Alarm Reset Signal
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.
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.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds