beckhoff TwinCAT 2 — 5.6 Process image of an NC axis

TwinCAT NC Axis components Output data from the encoder process image of an axis Drive process image of an axis Various drive hardware or the corresponding Bus Terminals (+/- 10V, PWM etc.) are connected via the drive process image. Insofar as this hardware is directly supported by the system, no manual configuration is necessary. Input data to the drive process image of an axis Output data from the drive process image of an axis Numerical Control (NC) Basics 44 Version: 1.2 I/O variable Description Remark nOutData1 Current actual position of the encoder or drive in increments, which the NC copies directly from the input variable nInData1 to the output variable nOutData1. Unit:

increments [INC] Data type: DINT nOutData2 reserved nCtrl1 Optional control information e.g.: Communication to Position Latch, communication Encoder Reset, Register Communication This information depends on the type of encoder or drive. nCtrl2 Additional optional control information e.g.: Communication to Position Latch, communication Encoder Reset, communication to Read an Absolute Position This information depends on the type of encoder or drive. nCtrl3 reserved nCtrl4 reserved I/O variable Description Remark nInData1 reserved nInData2 reserved nStatus1 Optional status information e.g.: Drive Error, Drive Enable/Disable, Communication Drive State Machine (e.g.

EtherCAT, SERCOS, CANopen, Profibus), Register Communication. This information depends on the type of drive. nStatus2 Additional optional status information e.g.: Drive Error, Drive Enable/Disable, Communication Drive State Machine (e.g. EtherCAT, SERCOS, CANopen, Profibus), Register Communication. This information depends on the type of drive. nStatus3 reserved nStatus4 Optional field bus-dependent IO status such as WcState (Working Counter) in the case of EtherCAT or CdIState in the case of Beckhoff Lightbus. Meaning: 0 = I/O data valid 1 = I/O data invalid I/O variable Description Remark nOutData1 Current set velocity or current set position in increments.

This information depends on the type of drive.