E_AxisStates
This enumeration represents the state of an axis according to the PLCopen state diagram. See also State diagram.
Name | Value | Description |
|---|---|---|
Undefined | -1 | State not defined |
Disabled | 0 | Axis is in the Disabled state |
Errorstop | 1 | Axis has an error |
Stopping | 2 | Axis is currently being stopped. As long as MC_Stop.Execute is TRUE, the axis remains in the "Stopping" state, even if the axis has already stopped. |
Standstill | 3 | Axis is stationary |
DiscreteMotion | 4 | Axis moves towards a specific target, e.g. because an MC_MoveAbsolute is currently active. |
ContinuousMotion | 5 | Axis moves continuously, e.g. because an MC_MoveVelocity is currently active. |
SynchronizedMotion | 6 | Axis moves synchronously to a master, e.g. because an MC_GearIn or MC_CamIn is currently active. |
Homing | 7 | Axis is currently being referenced. |
UserMode | 8 | Axis was set to "UserMode" via the MC_SEW_SelectUserMode block. "UserMode" is a special operating mode in which the axis can be controlled via manufacturer-specific interfaces. PLCopen function blocks that change the PLCopen state cannot be used in this operating mode. |