- Posts: 17533
- Thank you received: 5334
7i96S card arrived what setup is recomended
10 months 2 days ago #340748
by PCW
Replied by PCW on topic 7i96S card arrived what setup is recomended
Yes, just use whatever powers the 7I96S +5V
The following user(s) said Thank You: kello711
Please Log in or Create an account to join the conversation.
9 months 3 weeks ago #341014
by kello711
Replied by kello711 on topic 7i96S card arrived what setup is recomended
I got the ENA setup and working properly. Enabling the machine turns on the drives as expected. Now I just have to work on handling the ALM signal when there is a problem reported. What is the current way of handling this? I think I need to tie in fault-in from the motion module.
Please Log in or Create an account to join the conversation.
9 months 3 weeks ago #341018
by PCW
Replied by PCW on topic 7i96S card arrived what setup is recomended
Typically you would wire it (in hal) to joint.0.amp-fault-in
(a true on any joint.x.amp-fault-in will cause LinuxCNC to halt motion)
(a true on any joint.x.amp-fault-in will cause LinuxCNC to halt motion)
Please Log in or Create an account to join the conversation.
9 months 3 weeks ago - 9 months 3 weeks ago #341031
by kello711
Replied by kello711 on topic 7i96S card arrived what setup is recomended
I did this but now run into a different issue. The driver alarm is setup to signal high for ALM. When I have put the following in my custom.hal to use the alarm signal to disable the drives. This works fine for disabling but I can seem to reset.
To clear the alarm, I have two options:
I'd prefer option 2. The first part of the reset is actually completed by the ALM signal in (disabling the drives). However, when I try to turn the machine back on via the axis gui, it won't let me since the amp-fault-in pin is set high.
Code:
net x-fault => joint.0.amp-fault-in <= hm2_7i96s.0.inm.00.input-06
To clear the alarm, I have two options:
- Power off the drives
- Set the drives to disable and then back to enable. This is a "soft" reset and works when I comment out the line above.
I'd prefer option 2. The first part of the reset is actually completed by the ALM signal in (disabling the drives). However, when I try to turn the machine back on via the axis gui, it won't let me since the amp-fault-in pin is set high.
Last edit: 9 months 3 weeks ago by kello711. Reason: Formatting
Please Log in or Create an account to join the conversation.
9 months 3 weeks ago #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.
9 months 3 weeks ago #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.
Time to create page: 0.186 seconds