7i96S card arrived what setup is recomended

More
06 Jan 2026 01:10 #341032 by PCW
So the fault pin is only cleared when the drive is re-enabled?

If so, you might need some hal logic (and + ones-shot perhaps) to mask the error until a bit after
the change to machine-on state

Please Log in or Create an account to join the conversation.

More
06 Jan 2026 01:18 #341034 by kello711
Replied by kello711 on topic 7i96S card arrived what setup is recomended

So the fault pin is only cleared when the drive is re-enabled?

That sounds about right and the fault is preventing me from clicking the machine on in the ui.

Please Log in or Create an account to join the conversation.

More
06 Jan 2026 01:39 - 06 Jan 2026 01:41 #341035 by kello711
Replied by kello711 on topic 7i96S card arrived what setup is recomended
So should something like this work:
loadrt oneshot count=1
addf oneshot.0 servo-thread
setp oneshot.0.width 0.5

net drive-alarm-in oneshot.0.in <= hm2_7i96s.0.inm.00.input-06
net oneshot-alarm-out oneshot.0.out => joint.0.amp-fault-in

Expected result would be, the alarm triggers the oneshot, which then triggers the amp-fault-in and in turn turns off the machine. The fault is also cleared 0.5s after the oneshot fires thus allowing me to turn the machine back on an clearing the ALM signal.
Last edit: 06 Jan 2026 01:41 by kello711. Reason: Code formatting

Please Log in or Create an account to join the conversation.

More
06 Jan 2026 02:31 #341039 by rodw
I'm not sure if auto resetting makes sense. Often the alarm is raised when a motor overheats and it will need time to cool before engaging. An alternative would be to incorporate the enable signal into your estop circuit so the drives are only enabled when estop is off.
Cycling the estop will clear the error.

Please Log in or Create an account to join the conversation.

More
06 Jan 2026 03:18 - 06 Jan 2026 03:20 #341042 by kello711
Replied by kello711 on topic 7i96S card arrived what setup is recomended

I'm not sure if auto resetting makes sense.

I don't think this would auto reset since I would still have to power the machine on in the ui to reset the drives. Also, the CL57T only allows resetting in this way for following errors and not overheating.

Currently my external estop is wired into the contactor latch for the drives/spindle power. Should I consider changing this?
Last edit: 06 Jan 2026 03:20 by kello711. Reason: Added answer to statement.

Please Log in or Create an account to join the conversation.

More
06 Jan 2026 08:19 #341048 by rodw
I would use a new output pin that follows the state of estop. 

Please Log in or Create an account to join the conversation.

More
06 Jan 2026 19:15 #341085 by kello711
Replied by kello711 on topic 7i96S card arrived what setup is recomended
Yeah, I was already doing that with the other NC contact from the estop to the Mesa input and tied into the estop-latch logic in hal.

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.112 seconds
Powered by Kunena Forum