Closed loop steppers - LinuxCNC stop on error driver
- timmert
- Offline
- Elite Member
-
Less
More
- Posts: 165
- Thank you received: 0
30 Jan 2018 12:48 #105193
by timmert
Closed loop steppers - LinuxCNC stop on error driver was created 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?
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.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18594
- Thank you received: 5114
30 Jan 2018 15:12 #105194
by PCW
Replied by PCW on topic Closed loop steppers - LinuxCNC stop on error driver
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
( 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.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 4998
- Thank you received: 1459
30 Jan 2018 16:13 - 30 Jan 2018 16:14 #105196
by Todd Zuercher
Replied by Todd Zuercher on topic Closed loop steppers - LinuxCNC stop on error driver
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.
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.
- timmert
- Offline
- Elite Member
-
Less
More
- Posts: 165
- Thank you received: 0
30 Jan 2018 16:35 #105197
by timmert
Replied by timmert on topic Closed loop steppers - LinuxCNC stop on error driver
Thanks, I will try it tomorrow.
Please Log in or Create an account to join the conversation.
Time to create page: 0.058 seconds