TwinCAT NC Axis components Numerical Control (NC) Basics 48 Version: 1.2 No. Data type Byte Bit Def.- Range Variable name Variable name (from 2.11 or TcMc2) Description 20 0/1 ControlLoopClos ed ControlLoopClosed Axis ready to operate and axis control loop closed (e.g.
position control) 21 0/1 CamTableQueue d CamTableQueued New table ready for "Online Change" and waiting for activation 22 0/1 CamDataQueued CamDataQueued Table data (MF) ready for "Online Change" and waiting for activation 23 0/1 CamScalingPendi ng CamScalingPendin g Table scalings ready for "Online Change" and waiting for activation 24 0/1 CmdBuffered CmdBuffered Follow-up command is available in the command buffer (see BufferMode) (from TwinCAT V2.10 Build 1311) 25 0/1 PTPmode PTPmode Axis in PTP operating mode (no slave, no NCI axis, no FIFO axis) (from TC 2.10 Build 1326) 26 0/1 SoftLimitMinExce eded SoftLimitMinExcee ded Software minimum end position is active/occupied (from TC 2.10 Build 1327) 27 0/1 SoftLimitMaxExc eeded SoftLimitMaxExcee ded Software maximum end position is active/occupied (from TC 2.10 Build 1327) 28 0/1 DriveDeviceError DriveDeviceError Drive hardware has an error (no warning); interpretation possible only if drive is in I/O data exchange.
e.g. EtherCAT "OP" state (from TC 2.10 Build 1326) 29 0/1 MotionCommand sLocked MotionCommandsL ocked Axis is blocked for motion commands (TcMc2) 30 0/1 IoDataInvalid IoDataInvalid I/O data invalid (e.g.
"WcState" or "CdlState" of the fieldbus) 31 0/1 Error Error Axis is in an error state 2 UINT32 4-7 - ≥0 nErrorCode ErrorCode Axis error code 3 UINT32 8-11 - ENUM nAxisState AxisState Present state of the axis movement 4 UINT32 12-15 - ENUM nAxisModeCon AxisModeConfirmat ion Axis operating mode (feedback from the NC) 5 UINT32 16-19 - ENUM nCalibrationState HomingState Reference status of the axis ("calibration status") 6 UINT32 20-23 - ENUM nCoupleState CoupleState Axis coupling state 7 UINT32 24-27 - ≥0 nSvbEntries SvbEntries SPP entries/tasks 8 UINT32 28-31 - ≥0 nSafEntries SafEntries SEC entries/tasks (NC interpreter, FIFO group) 9 UINT32 32-35 - >0 nAxisId AxisId Axis ID 10 UINT32 36-39 - - nOpModeDWord, bOpMode OpModeDWord, OpMode...
Axis operation mode double word 0 0/1 PosAreaMonitorin g ...PosAreaMonitori ng Position range monitoring