Hi,
what is happening is that one or more of your limit switches or perhaps one of your stepper/servo drivers is signaling a fault, and as soon as you enable the machine Mach
detects the fault and goes straight back into Estop.
You might trying reversing the sense of the Estop, that is try ActiveLow instead of ActiveHigh or vice versa. You need to be able to have the machine enabled for long enough that you can
diagnose which circuit has the continuing fault or alarm condition.
Craig