I'm looking to write some G-code for the 4th axis rotary. The 4th axis will be doing a lot of unidirectional rotation.
Looking at Mach3, if I jog in a circle, the A-axis value just gets bigger and bigger as it completes rotations. But of course 20deg=380deg=740deg. Then again, I see where the machine wouldn't otherwise understand whether a command to go from 20 deg to 340 deg meant go -40 deg or +320 deg. Actually General Logic Config does have the A-axis marked as rotational, but the Motor Tuning still says "inches" not "degrees" too.
Is this simply going to mean constantly increasing the A-axis coordinates in the G-code without limit? This could mean extremely large values in the G-code. Is there a G-code/Mach3 limit on number size? In fact if I run one part and it increments the axis by 10 jillion units and need to run the same part again, I only need need to return that stepper to zero deg, not back up 10 jillion units to zero which would be a bunch of pointless rotations.
Or am I doing it wrong?