7i96S card arrived what setup is recomended
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17710
- Thank you received: 5182
06 Jan 2026 01:10 #341032
by PCW
Replied by PCW on topic 7i96S card arrived what setup is recomended
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
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.
- kello711
-
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
06 Jan 2026 01:18 #341034
by kello711
Replied by kello711 on topic 7i96S card arrived what setup is recomended
That sounds about right and the fault is preventing me from clicking the machine on in the ui.So the fault pin is only cleared when the drive is re-enabled?
Please Log in or Create an account to join the conversation.
- kello711
-
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
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:
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.
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-inExpected 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.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11720
- Thank you received: 3968
06 Jan 2026 02:31 #341039
by rodw
Replied by rodw on topic 7i96S card arrived what setup is recomended
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.
Cycling the estop will clear the error.
Please Log in or Create an account to join the conversation.
- kello711
-
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
06 Jan 2026 03:18 - 06 Jan 2026 03:20 #341042
by kello711
Currently my external estop is wired into the contactor latch for the drives/spindle power. Should I consider changing this?
Replied by kello711 on topic 7i96S card arrived what setup is recomended
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.I'm not sure if auto resetting makes sense.
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.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11720
- Thank you received: 3968
06 Jan 2026 08:19 #341048
by rodw
Replied by rodw on topic 7i96S card arrived what setup is recomended
I would use a new output pin that follows the state of estop.
Please Log in or Create an account to join the conversation.
- kello711
-
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 0
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: PCW, jmelson
Time to create page: 0.112 seconds