dezsoe wrote:It took me a long time, but finally I understand your problem. We have to discuss it, because both you and UCCNC are right. You're right: when you disable the axis then you need the inverted output to turn off the driver. UCCNC is right: when an axis is disabled then the outputs and inputs for that axis are ignored.
Working backward from the troubleshooting, everything is working as designed, just not necessarily as desired or in cooperation witch each other.
- With no control input input, the default output pin states on the UC400ETH is low.
- The stepper drivers need a relative high on the ENA+ pin to *disable* the outputs
- With the C11G *not* in charge pump mode, its outputs follow the UC400ETH state; default low
- When the C11G *is* in charge pump mode, and not receiving a 12Khz signal the output pins are disabled and float high.
With all of the above, I originally connected ENA+ to 5V and ENA- to the output pin. With the default low, until commanded high by UCCNC (enable pin active high), that kept the steppers disabled. There is still, however, a brief period when UCCNC starts up that the output pin blips high and the steppers thunk.
With the C11G charge pump mode turned on, the behavior of the output pins changed, but still as spec'd. Without the 12Khz signal coming from UCCNC, the C11G disabled the outputs. The disabled outputs are high. That meant that my previous stepper connection enabled the driver (high from the disabled output and high from the +5V) which, because there was no relative difference, enabled the driver.
To "fix" the problem, I moved ENA- to ground and ENA+ to the output pin (the pullup resistor was part of troubleshooting and, ultimately, a red herring). Without a charge pump signal, the stepper drivers were disabled because of ground on ENA- and the floating/high on ENA+. I changed UCCNC axis to enable pin active low. Until UCCNC is in control, sending the charge pump signal, and pulling the axis enable low, the stepper drivers are disabled.
This finally led to current state where I disable the axis enable checkbox and UCCNC does the right thing and doesn't touch the output. The UC400ETH does it's normal thing and an idle pin is low. C11G does the right thing and follows the UC400ETH state. Stepper drivers do the right thing because they are receiving a low/low and enabling the stepper. Which isn't what's wanted.

I would like to see an additional option in UCCNC to allow ignoring the enable pin or forcing it to the inverse of the enable pin active level. Keep the existing behavior as default to not break any existing installs.
Now that I better understand what is happening, I'm going reconnect ENA+ to 5V and ENA- to the output pin and pull the output pin low with a resistor. With no inputs this should disable the drivers (ENA+ at 5V, ENA- pulled to ground). Change UCCNC back to enable active high. See if the C11G will overcome the pulldown and activate the steppers. That's an exercise for tomorrow, though.
This is