7i96S card arrived what setup is recomended

More
10 months 2 days ago #340748 by PCW
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.

More
9 months 3 weeks ago #341014 by kello711
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.

More
9 months 3 weeks ago #341018 by PCW
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)

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

More
9 months 3 weeks ago - 9 months 3 weeks ago #341031 by kello711
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.
Code:
net x-fault => joint.0.amp-fault-in <= hm2_7i96s.0.inm.00.input-06

To clear the alarm, I have two options:
  1. Power off the drives
  2. 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.

More
9 months 3 weeks ago #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
9 months 3 weeks ago #341034 by kello711

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.

Moderators: PCW, jmelson
Time to create page: 0.456 seconds
Powered by Kunena Forum