beckhoff — 5.4.6 Encoder - dialog: NC encoder

NC Configuration | Settings dialogs The input/output variables of the encoder have the following meaning: nInData1 - (16 or 32 bit) position value of the axis in increments nInData2 - (16 or 32 bit) optional latch value for measuring probe function or referencing with zero pulse (reference mode: HARDWARE SYNC) nStatus1 - status byte of the encoder nStatus2..4 - further optional status bytes of the encoder nCtrl1 - control byte of the encoder nCtrl2...4 - further optional control bytes of the encoder After linking the position count value with nInData1 the maximum count value until overflow is still defined in the global encoder settings ( Encoder mask ).

In some cases, the word or double word of the counter still contains status information that can be hidden. For this purpose, the corresponding bits in the Encoder Bit Rejection Filter Mask are activated. In most cases, this mask remains zero. TwinCAT 2 83 Version: 1.7