Access From The User Program - Beckhoff KL5151-0000 Documentation

Incremental encoder terminal. kl5151 series; kl5152 series
Table of Contents

Advertisement

Access from the user program

6
Access from the user program
6.1
KL5151-0000
6.1.1
Process image
In the process image, the KL5151 is represented with 5 bytes of input and output data. These are organized
as follows:
Format
Byte
Double
word
Legend
SB: Status byte
CB: Control byte
DataIN: The current value of the 32-bit counter, or the one stored in the latch (the selection is made with bit
CB1.1 [} 29] of the control byte)
DataOUT: Value specified for the 32 bit counter
• Please refer to the Mapping [} 31] page for the allocation of the bytes and words to the addresses of
the controller.
• The meaning of the control and status bytes is explained on the Control and Status bytes [} 29] page.
No compact process image
Operation of the KL5151-0000 with compact process image (without control and status
bytes) is not possible, since the control and status bytes are required for useful process
Note
data operation of the terminal. Even if you adjust your Bus Coupler to the compact process
image, the KL5151-0000 will still be represented with its complete process image!
28
Input data
SB [} 30]
DataIN
Version: 2.0.0
Output data
CB [} 29]
DataOUT
KL5151/KS5151, KL5152/KS5152

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ks5151Kl5151-0021Kl5151-0050Ks5152Kl5152-0000

Table of Contents