Enable/Disable
Each axis can be independently enabled or disabled using both hardware and software methods.
Hardware Enable
AXIS#.HWEN.SOURCE selects the digital input, DIN, used as the hardware enable input. If this input is high the drive can be enabled. By default, DIN 3 is used as the input for axis 1 and DIN 4 is used as the input for axis 2. Selecting 0 will not use any digital input as a as a hardware enable. AXIS#.HWEN.STATE allows you to see the state of the hardware enable.
AXIS#.HWEN.MODE is used to select whether faults are cleared on the rising edgeA rising edge is the transition of a digital signal from low to high. It is also called positive edge of the hardware enable input. Selecting 0 will issue AXIS#.CLRFAULTS on the rising edge of the hardware enable input and selecting 1 will not attempt to clear any faults, allowing for review of any that have occurred.
If you wish to have both axes use the same input to enable both axes then set AXIS#.HWEN.SOURCE on both axes to the same input.
You can use the corresponding DIN#.FILTER to modify the filtering of the input and DIN#.INV to change the polarity of the hardware enable.
Software Enable
AXIS#.EN enables the axis and AXIS#.DIS will disable the axis.
AXIS#.ENDEFAULT allows you to select what state the software enable is when the drive powers up.
Bit 0 of AXIS#.DISSOURCES allows you to see the current state of the software enable. Other bits indicate the reason an axis is disabled.
Disable Modes
AXIS#.DISMODE allows you to select what happens when the axis disables. This setting applies to the axis if it is disabled by the hardware or the software enable.
Mode 0: Immediately disable axis.
The axis will immediately disable the power stage and the motor will either coast to a stop, or in the case of a vertical or overhung load, will fall abruptly. If a brake is present, the brake will be applied according to AXIS#.MOTOR.BRAKEIMM and AXIS#.MOTOR.TBRAKEAPP .
Mode 1: Dynamic Brake to a stop.
The axis will use the Dynamic Braking to stop the motion and then the power stage will be disabled. In most cases, the driven motor will stop quickly (pending the joules available and load circumstances). In the case of an overhung or vertical load, the driven motor will attempt to stop, but then will continue to allow the load to fall if no measures have been taken to secure the load.
Mode 2: Controlled stop, then disable.
The axis will be brought to a stop using the Controlled Stop values. Once the axis is stationary the axis will then disable.
A controlled stop will decelerate the axis with the AXIS#.CS.DEC deceleration rate to a zero commanded speed. The drive stays enabled until either of the following happens.
a) The measured motor velocity limit is below AXIS#.CS.VTHRESH for the AXIS#.CS.TO period.
b) Or the axis disable time out AXIS#.DISTO is exceeded.
Once one of these conditions is reached, the power stage will be disabled and brake applied (if present).
Mode 3: Controlled stop, then dynamic brake.
Similar to mode 2, the axis will decelerate with the AXIS#.CS.DEC deceleration until AXIS#.CS.VTHRESH is reached for the AXIS#.CS.TO period. The axis will then hold the axis with the dynamic brake.
The disable timeout AXIS#.DISTO is used in modes 1, 2 and 3. It is the amount of time the axis will follow the disable mode before it deactivates the axis regardless of method chosen, and alerts with an Emergency Timeout Fault, F6005 .
All disable modes operate based on the type of disable command received. Any critical faults, hardware disable, or STO disable immediately turn off the power stage, and the motor will coast or free fall, depending on how the motor is secured.
For many applications that involve a constant force at the load, particularly vertical load applications, minimizing load movement when the power stage disables is a critical concern. See Vertical Loads for direction on setting up this class of applications to operate safely.