beckhoff TwinCAT 2 — 5.6 Process image of an NC axis

TwinCAT NC Axis components Numerical Control (NC) Basics 45 Version: 1.2 I/O variable Description Remark The set velocity or set position of the NC in physical units, e.g. mm or degrees, is mathematically converted back to an incremental value by the NC and transferred to the drive. Overflows of the incremental value are hereby taken into account by the NC in the set position. Depending on the type of drive, a standardization of the set velocity or set position is carried out in increments. If the drive type Universal Drive has been selected, nOutData1 contains the overall velocity (incl. position control part) with sign. nOutData2 Current set velocity or current set position in increments.

The set velocity or set position of the NC in physical units, e.g. mm or degrees, is mathematically converted back to an incremental value by the NC and transferred to the drive. Overflows of the incremental value are hereby taken into account by the NC in the set position. Depending on the type of drive, a standardization of the set velocity or set position is carried out in increments. If the drive type Universal Drive has been selected, nOutData2 contains the value of the overall velocity (incl. position control part, without sign). This information depends on the type of drive. nCtrl1 Optional control information: e.g.:

Drive Reset, Drive Enable/Disable, Communication Drive State Machine (e.g. EtherCAT, SERCOS, CANopen, Profibus), Register Communication. This information depends on the type of drive. nCtrl2 Additional optional control information: Digital direction output of the setpoint generator (corresponds to the sign of the set velocity, hence without position controller) Digital Outputs Setpoint Generator: 0x41 (0100 0001) = Minus 0x42 (0100 0010) = Plus 0x80 (1000 0000) = Stop The only exception to this is the AX2xxx-B200/B900 drive. In this case, communication takes place with the Drive State Machine.

This information depends on the type of drive (except for AX2xxx B200 and B900) nCtrl3 Additional optional control information: