Closed loop steppers - LinuxCNC stop on error driver

More
30 Jan 2018 12:48 #105193 by timmert
Hello
I'm using two closed loop steppermotors for my axis. It works fine. but if for some reason one driver goes into error mode the machine keeps running instead of stopping.
How can I tell LinuxCNC it should stop once a driver goes into error mode? The drivers have a alarm connection is this being used? Or should I configure something in my HAL file?

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

More
30 Jan 2018 15:12 #105194 by PCW
You would have to set this up in hal
( and externally wire the drives alarm outputs to a input pin or pins that LinuxCNC can read )

Motion has fault input pins for each axis but you can likely combine the external fault outputs
to a single pin if you are short of inputs

man motion

for the pin names
The following user(s) said Thank You: PhilipME

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

More
30 Jan 2018 16:13 - 30 Jan 2018 16:14 #105196 by Todd Zuercher
First you need to find a digital fault output from your drive, and connect that to an input on your Linuxcnc computer.
Then in your hal file connect the output from that input to the pin axis.N.amp-fault-in (or joint.N.amp-fault-in if you are using Master) where N is the joint number for that drive.
Last edit: 30 Jan 2018 16:14 by Todd Zuercher.

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

More
30 Jan 2018 16:35 #105197 by timmert
Thanks, I will try it tomorrow.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum