Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: brebisson on September 24, 2019, 07:23:00 AM
-
Hello,
I have a 4 axis machine with axis 4 (A) on a turn chuck.
I wanted to understand better how mach4 handled requests to turn?
1) on a rotation table, there is 2 ways to get to a given angle, clock wise and counter clock wise. How does mach4 determine which way to go?
2) let us say that A=0°, how do I tell mach4 to do a full turn (+360°)? doing a G01 A360 does nothing as mach4 seems to just stay in place.
Thanks
-
By giving it a + or - move in your Gcode.
Do an incremental move of 360 + or - depending on which way you want it to go to get there.
There are a few things you might want to play with/study up on to better understand how rotational axis work.
1) G90 and G91 (absolute/incremental) position modes
2) In Config/Control/General the rotary axis rollover can be enabled or disabled (close Mach and restart if you change it). This makes the work coordinates 360 and 0 equal (since it is physically the exact same position).
3) Moving in work coordinates (G54, G55, etc) and moving in machine coords (G53).