GENERAL COMMENTS AND RELATIVE TO THE POSTED XML
------------------------------------------------------------------------------------------------------
- Mach3 version R3.043.066 is known to be buggy and there are no changes listed as to what was done from the previous versions. Use version .062 here thus no experience with .066 other than what some folks said about it and I took their advice and don't use it!
- With a kernal speed of 25000 HZ, possible ( I didn't say reliable ) pulses would be 25000 pulses / sec and a stepper requiring
200 steps / revolution you would get 125 rotations / sec which happens to be 7500 rpm. FWIW, in theory anyway!
- Since B is slaved to Y and both motors used to drive the Y axis, B should be configured as linear and not angular. See Using
Mach3 Manual ( page 4-11, 4.6.6 )
- Motor tuning for A doesn't look right......ie; 36000 for velocity using a stepper motor.
From traditional axis planes and orientations A rotates about X and C rotates about Z.
So assume that you will be using A as the 4th axis and it is stepper driven.
Now let me say some things about using a stepper to drive a spindle , 4th axis or as you call it Rotary lathe.
- Steppers are not a good choice to drive a rotary since as rpm increases the torque decreases and you will see that the rpm is not
linear with an increase in speed. Fine for indexing and with active mounted tooling while A rotates at a reasonable rate.
- Mach3 does not provide for two spindle operation directly.
- Stepper controlled 4th axis cannot run continously, it can index, do rotary but not act as a true spindle. Actually Mach3 can't
run any axis continuosly.
A can be defined as either angular or linear, thus, gcode commands can make it rotate a number of revolutions, or, as linear it
will rotate but in terms of a linear move which relates to the work diameters circumference. Yes, one can command to make a
" lot " of rotations or a long distance, BUT, as said it does not act like a true spindle.
- You can only have one "spindle" configured and running in Mach3.
As you stated you are manually controlling the spindle. So you can consider the
your spindle as live tooling mounted on the Z axis. Will expand on the thought, later
in another reply to this thread.
- For awareness, there is a VB command called Swap Axis, but it only changes the pin #s assigned to an axis. So you can only swap
similar motors ie; can't swap servo with a stepper. You can swap axes around and can be used to make an axis into a spindle
via macro's.
The spindle is not configured so assume that you are manually controlling the router.
If the router machines spindle is manualy controlled you can still define spindle in motor tuning. So you can swap, say A and
Spindle, calling the correctly scripted macro at the proper place in the Gcode.
- C axis is inhibited ( settings alt 6 screen). C is defined angular. Also C is not enabled.
- Jog keys defined for XYZ but not for ABC axis. Should define keys for A . No reason to define B since
it is used along with Y for the gantry ( Jog Y and the B gets the same number of pulses...? ).
- switch pins defined for XYZ and partialy for A . B should also have a switch
same as Y? One of the router table users should confirm......... I don't use switches!

- No tools defined. You will need to define tools if you start using CAM programs which generate gcode. Also you will need to use
a system to touch the tools when changed.
FWIW,
RICH