Hi,
yes, it's correct as you say. if I disable input, Mach4 executes, and engines are stopped.
When enabling drives, Mach4 and lathe axes are in two different positions.
I hypothesize solution:
it is possible to create a button in Mach4, which when pressed, memorizes DRO axes, and at the same time activates pin output (to which I connect relay).
and at the release of this button, it will change the current DROs, with those stored previously, also deactivating output???.
if it were possible to create this button with these two functions, the problem would be solved!