Disabling Axis
Posted: Wed Jan 11, 2023 2:42 am
My stepper drivers are setup to require a high on ENA+ relative to ENA- to *disable* the drive (intuitive, eh?).
I've been intending to disable all motors (axis and spindle) unless UCCNC is in control and have done so by adding a C11G as a breakout board and using the charge pump/SCHP. This is working fine. If the computer is off, UCCNC isn't running, or the RESET button in UCCNC is active, the steppers can spin freely.
To support disabling the stepper, I have the enable output pins pulled high with a 1Kohm resistor. XYZ is on one enable pin and A is on the other. ENA- goes to ground. My intent is to be able to disable the A/rotary axis and physically disconnect it when not in use and avoid any remotely possible damage to the drivers when enabled but the stepper removed. What I have found is that enable/disable on the A Axis (XYZ as well) does not actually follow the configuration of the enable pin active high/low. If the RESET button is not active (not reset) the stepper remains enabled even if the axis is disabled regardless of the configuration of the high/low configuration of the enable pin.
Computer power off, motion controller (UC400ETH) disconnected from network, UCCNC not running, or UCCNC in a reset state: Stepper drivers are disabled and steppers spin freely.
UCCNC not in reset, regardless of axis disabled and high/low configuration of the enable pin: Steppers are locked.
It looks like the axis disable button only prevents UCCNC from sending step/direction to the stepper and doesn't touch the status of the enable pin. Is this by design/intent or is it a bug?
If it's by intent, how do I submit a feature request to add this functionality?
Thanks,
I've been intending to disable all motors (axis and spindle) unless UCCNC is in control and have done so by adding a C11G as a breakout board and using the charge pump/SCHP. This is working fine. If the computer is off, UCCNC isn't running, or the RESET button in UCCNC is active, the steppers can spin freely.
To support disabling the stepper, I have the enable output pins pulled high with a 1Kohm resistor. XYZ is on one enable pin and A is on the other. ENA- goes to ground. My intent is to be able to disable the A/rotary axis and physically disconnect it when not in use and avoid any remotely possible damage to the drivers when enabled but the stepper removed. What I have found is that enable/disable on the A Axis (XYZ as well) does not actually follow the configuration of the enable pin active high/low. If the RESET button is not active (not reset) the stepper remains enabled even if the axis is disabled regardless of the configuration of the high/low configuration of the enable pin.
Computer power off, motion controller (UC400ETH) disconnected from network, UCCNC not running, or UCCNC in a reset state: Stepper drivers are disabled and steppers spin freely.
UCCNC not in reset, regardless of axis disabled and high/low configuration of the enable pin: Steppers are locked.
It looks like the axis disable button only prevents UCCNC from sending step/direction to the stepper and doesn't touch the status of the enable pin. Is this by design/intent or is it a bug?
If it's by intent, how do I submit a feature request to add this functionality?
Thanks,