G33 works in UCCNC, it is spindle syncronised motion and it works in the XZ plane.
How it works is documented in the UCCNC manual like other g-codes aswell.
And what works with Mach3 is documented in the mach3 manual. Especially there is no G33 code in Mach3, but there is G32 which is very similar to the G33 in the UCCNC.
The copy of the G33 documetation from the UCCNC manual:
Spindle Syncronised motion : G33
Program G33 X... Z... K... Q... to perform a spindle syncronised motion, where the X parameter is the final position of the X-axis, the Z parameter is the final position of the Z-axis. The K parameter is the pitch per revolution and the Q parameter is the start angle in degrees.
For the spindle syncronised motion an incremental encoder with A, B and Index channels has to be installed onto the spindle and the spindle encoder has to be setup in the software.
When executing a G33 command, the motion controller will first waiting for the index channel signal from the spindle encoder and will syncronise the feedrate to the rotational speed.
The start angle (Q parameter) defines the angle between the encoder index signal and the motion controller measures the set angle after the index signal and starts the motion at this angle.
The G33 motion is always on a straight line just like with G1, but it is always on the XZ plane and the feedrate is continously syncronised to the spindle speed and taking the pitch (K) parameter into account. The syncronised motion always ends at the programmed X and Z coordinates.
If both the X and Z coordinates are programmed for the G33 command and if both coordinates differs from the starting coordinates then the thread will be cut on a cone on the XZ plane and the thread will then not be parallel to the Z not the X axis. The pitch is then calculated on axis which makes the longer movement.
If more G33 commands follows eachother and if the start angle is not programmed or only programmed for the first G33 command then the rest G33 commands will be syncronised with the previous G33 command which makes it possible to cut a continous thread even with changing pitch.
The G33 always works on the XZ plane.
The UCCNC also has Swapaxis function with which you could swap the axis pins.