Mapping - Beckhoff KL5151-0000 Documentation

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

Advertisement

Access from the user program
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 SB1.0 Reg. no.
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 [} 38].
6.3.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
- compact or full evaluation
- Intel or Motorola format
- word alignment switched on or off
• the parameterization of the KL5152-0000 (KL5151-0050) to compact or complete evaluation (bit R32.6
[} 46] of the feature register)
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 [} 35] and Control and status byte [} 29].
Compact evaluation
For operation with compact process image, you must configure your Bus Coupler to compact mapping and
bit R32.6 [} 46] of the feature register of the KL5152-0000 (KL5151-0050) must be 1
In this configuration the control bytes are suitable only for process data operation. Register communication is
not possible!
Compact evaluation in Intel format
Default mapping for CANopen, CANCAL, DeviceNet, ControlNet, Modbus, RS232 and RS485 coupler
40
SB1.5
SB1.4
SB1.3
Reg. no.
Description
1
Acknowledgement for register access
bin
0
Read access
bin
Number of the register that was read or written.
Version: 2.0.0
SB1.2
SB1.1
.
bin
KL5151/KS5151, KL5152/KS5152
SB1.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ks5151Kl5151-0021Kl5151-0050Ks5152Kl5152-0000

Table of Contents