Sorry this is probably as clear as mud.
I appreciate Mach3 has been superseded but would still appreciate getting the most out of my simple plasma system.
I have just fitted Home switches to X and Y and they work fine, Z home not connected in ports and pins inputs.
Ref all Home X and Y do as I would expect move to activate the home switches and then back off until the switch goes to normal State (NC) and with the home off setting I can make the displayed machine coords display what I enter.
I wanted to use Z probe to do similar for the Z axis by making the Z home the same input as the probe input and it does work exactly the same, only I realised it did Z first then Y then X and being a plasma table means Z could probe to an empty void hit limit then try and move Y and X jamming the head. So I looked for a way to change the order of referencing to Y then X then Z, as I could always leave a block of steel for Z to touch off on at the home position.
But finding no way to change the order of homing I began to look for another way.
As I use an M800 macro to probe the top of work prior to cutting, I thought it could be possible to also set the Z axis machine coord as well as setting the work z axis coord.
But I can not discover what parameter I need to set, OEMDRO, DRO etc? either my brain is fuddled or I have missed something basic.
At the moment I can not remember where I got the 2002 to use in the line GetprobePos = GetVar(2002), 2002 must be the position when the probe activated. So I may have lost some docs or wiki link.
Later in the makro I use Call SetOEMDRO(802, AH) where AH is the adjustment value before moving to pierce height but that is only working coords, I have tried a few of the DRO's without success but basically want to make the Z axis machine coord the same as the work coord so I can have some sensible soft limits working on Z.
Can anyone help please?
Adrian