Quote Originally Posted by regpye View Post
I am trying to work out how to setup mine.
But still waiting for stuff to arrive, and wanted to get on top of things before arrival.

I am going to use a stand alone THC and wont need Mach3 to control the Z as it wont be there (as far as Mach3 is concerned)
I also want to slave A to Y and have auto squaring of the axis while homing, so I need to be able to work out how to program Mach3 to home just the X, Y and A
The control board will be a USB Mach3 5 axis with separate stepper drivers. The THC lifter has it's own DC motor and is self controlling.

If I leave out DoButton( 24 ) ' this homes the Z

DoButton( 22) ' this homes the X
RefCombination( 10 ) ' this will home the Y and A at the same time.

Not sure if this is right, someone please put me straight. Thanks.
Because you are going to use an external motion controller then HOMING could work slightly differently from how Mach3 usually does it. This is because often the Homing duties are passed over to the external device and dealt with by the plug-in the controller uses.

However, most external controllers tend to follow Mach3's standard way of HOMING in which case you don't need to use RefCombination (10) because when slaving Mach3 treats the slave as the same Axis as the master so in your case you just home Y with DoButton (23) and Mach3 will decouple the motors when Homing and recouple them after the switches get tripped.

Also, as DaZp says USB is terrible with noise, and for a plasma, I can't think of anything worse to use so get ready for random trips, etc. Your grounding and wiring will need to be top-notch to avoid USB from dropping out.