Mapping - Beckhoff KL5151-0000 Documentation

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

Advertisement

No valid process data during the register communication!
It is not possible to access the data registers during register communication! Process data
that may still be displayed is not valid!
CAUTION
Status byte 1 in register communication
The status byte 1 (SB1) is located in the input image, and is transmitted from terminal to the controller.
Bit
SB1.7
SB1.6
Name
RegAccess R
Legend
Bit
Name
SB1.7
RegAccess
SB1.6
R
SB1.5 to
Reg. no.
SB1.0
Channel 2 (KL5152-0000 and KL5151-0050 only)
The control and status bytes of channel 2 (CB2 and SB2) have the same structure as the control and status
bytes of channel 1 [} 29].
6.1.3

Mapping

The Bus Terminals occupy addresses within the process image of the controller. The assignment of process
data (input and output data) and parameterization data (control and status bytes) to the control addresses is
called mapping. The type of mapping depends on:
• the fieldbus system used
• the terminal type
• the parameterization of the Bus Coupler such as
- Intel or Motorola format
- word alignment switched on or off
The Bus Couplers (BKxxxx, LCxxxx) and Bus Terminal Controllers (BCxxxx, BXxxxx) are supplied with
certain default settings. The default setting can be changed with the KS2000 configuration software or with a
master configuration software (e.g. TwinCAT System Manager or ComProfibus).
The following tables show the mapping depending on different conditions. For information about the contents
of the individual bytes please refer to the pages Process image [} 28] and Control and status byte [} 29].
Complete evaluation
Control and status bytes can be accessed.
Complete evaluation in Intel format
Default mapping for CANopen, CANCAL, DeviceNet, ControlNet, Modbus, RS232 and RS485 coupler.
Parameterization
of the Bus Coupler
Complete evaluation: n/a
Motorola format: no
Word alignment: no
KL5151/KS5151, KL5152/KS5152
SB1.5
SB1.4
Reg. no.
Description
1
Acknowledgement for register access
bin
0
Read access
bin
Number of the register that was read or written.
Address
Input data
Word offset High byte
0
DataIN D0
1
DataIN D2
2
reserved
Version: 2.0.0
Access from the user program
SB1.3
SB1.2
SB1.1
Output data
Low byte
High byte
SB
DataOUT D0
DataIN D1
DataOUT D2
DataIN D3
reserved
SB1.0
Low byte
CB
DataOUT D1
DataOUT D3
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ks5151Kl5151-0021Kl5151-0050Ks5152Kl5152-0000

Table of Contents