Amp fault setup... joint.X.amp-fault-in

More
3 years 5 months ago #270731 by Geosec
Hi,
I'm trying to set up the amp faults and have one little issue.
My custom.HAL has this:

# --- X drive ALM ---
net x-fault => joint.0.amp-fault-in <= hm2_7i76e.0.7i76.0.0.input-16-not

# --- Y drive ALM ---
net y-fault => joint.1.amp-fault-in <= hm2_7i76e.0.7i76.0.0.input-17-not

# --- Z drive ALM ---
net z-fault => joint.2.amp-fault-in <= hm2_7i76e.0.7i76.0.0.input-18-not

...and it works fine to stop the machine and produce an error message. What I'd like to change is the reset. After rebooting the amp(s) and clearing the fault, Linuxcnc holds onto the fault condition (gmoccapy), and the machine won't turn on. I need to close and restart lcnc.

Thanks in advance.

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

More
3 years 5 months ago #270739 by Geosec
It just occurred to me, would this just be normal operation since the amp(s) have to be reset there's no way to know if the HOME and ZERO positions are still accurate?

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

More
3 years 5 months ago #270742 by spumco
I've had problems in the past with stepper drives 'jumping' when re-enabled or re-energized.  I've not seen a servo jump when re-enabled, but my philosophy is that without absolute encoders any amp/drive fault requires rehoming.

So if something on my machine triggers a fault (VFD, axis drives) I disable everything with the estop (bus power off) and then reset and re-home.
The following user(s) said Thank You: Geosec

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

More
3 years 5 months ago #270750 by rodw
I think that is normal behaviour. I had to close and restart.
I think it's considered a catastrophic error.
The following user(s) said Thank You: Geosec

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

More
3 years 5 months ago #270754 by tommylight
I use Axis GUI/PlasmaC, i never had to close, just enable and move on.
This is a stepper system with LAM Technologies drives, they have no "reset" input, just disable (taken care by LinuxCNC on fault), enable.

ASUS ROG Crosshair VIII Impact - AMD X570
The following user(s) said Thank You: Geosec

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

More
3 years 5 months ago #270756 by Geosec
I'm using stepperonline CL57Y & CL867Y stepper drivers. On fault an opto-isolated NPN transistor is enabled (or disabled depending on setup) which toggles a GPIO pin on the 7i76e. Upon reset the signal to the Mesa card goes away, but lcnc (gmoccapy?) doesn't seem to recheck the GPIO to see if the input is still active. Maybe this is by design, I don't know. It seems a no-brainer that the axis should be re-homed after the amp fault anyway. It would just be handy to do it without closing and restarting. It's no big deal to me. I was just wondering of I was missing something.

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

Time to create page: 0.306 seconds
Powered by Kunena Forum