Zeroing a Rotary Axis
Posted: Fri Nov 08, 2024 5:01 am
Hi Tom,
I've been using my rotary axis and it's working pretty well. However, it's very manual to zero the Z Axis so I tried to write a couple of C programs. One to move to the X,Y,Z location of the rotary axis at the start and one to move to a tool change location, then to the touch plate to rezero the Z (bed level) and then back to the rotary axis Z zero. Most of the code works fine except when I zero the Z with the touch plate (bed level) and then try to move to the rotary Z zero. I can't simply move to a location (axis destination) because the length of the tool varies.
After i go through the touch plate routine I zero the Z DRO. How can I simply move up 2.5" to the rotary Z zero location and then reset the DRO to the new Z zero location? Seems like this should be pretty simple but I haven't had any luck.
Jack
I've been using my rotary axis and it's working pretty well. However, it's very manual to zero the Z Axis so I tried to write a couple of C programs. One to move to the X,Y,Z location of the rotary axis at the start and one to move to a tool change location, then to the touch plate to rezero the Z (bed level) and then back to the rotary axis Z zero. Most of the code works fine except when I zero the Z with the touch plate (bed level) and then try to move to the rotary Z zero. I can't simply move to a location (axis destination) because the length of the tool varies.
After i go through the touch plate routine I zero the Z DRO. How can I simply move up 2.5" to the rotary Z zero location and then reset the DRO to the new Z zero location? Seems like this should be pretty simple but I haven't had any luck.
Jack