ClearPath Servo Fault Detection
06 Oct 2020 03:16 #185026
by wbac054
ClearPath Servo Fault Detection was created by wbac054
This is for trapping errors from ClearPath Servo Motors and halting the machine
I replaced my encoder backed stepper controller/motor with these motors, much better motors, but I/O was trickier to set up.
I ran without this code on the motors for a few months, but 3 days into 6 day profiling run one motor had a
timing error that caused x-axis to quit. My job finished with only Y and Z, not a good result.
There may be a smarter way to do this, but this works. Modify I/O to suit your machines wiring.
If the motor has a fault that shuts down the motor (there are many possibilities) this will disable motion of the machine
You could also possibly configure for in-position output of motor
I replaced my encoder backed stepper controller/motor with these motors, much better motors, but I/O was trickier to set up.
I ran without this code on the motors for a few months, but 3 days into 6 day profiling run one motor had a
timing error that caused x-axis to quit. My job finished with only Y and Z, not a good result.
There may be a smarter way to do this, but this works. Modify I/O to suit your machines wiring.
If the motor has a fault that shuts down the motor (there are many possibilities) this will disable motion of the machine
You could also possibly configure for in-position output of motor
The following user(s) said Thank You: rootboy
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5008
- Thank you received: 1441
06 Oct 2020 17:28 #185101
by Todd Zuercher
Replied by Todd Zuercher on topic ClearPath Servo Fault Detection
Did you know there are already dedicated pins in Linuxcnc for a drive fault.
joint.N.amp-fault-in (axis.N.amp-fault-in for versions before 2.8)
Using those pins has the added advantage of issuing a warning in the gui when activated.
If your drive as a ready signal instead of a fault signal, simply invert it.
joint.N.amp-fault-in (axis.N.amp-fault-in for versions before 2.8)
Using those pins has the added advantage of issuing a warning in the gui when activated.
If your drive as a ready signal instead of a fault signal, simply invert it.
Please Log in or Create an account to join the conversation.
05 Nov 2020 04:27 #188370
by rootboy
Replied by rootboy on topic ClearPath Servo Fault Detection
Thanks for the file! I have a couple of Clearpath servos and I would like to use them with LinuxCNC as well. Nice to have a starting off point.
John
John
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds