Access From The User Program; Process Image - Beckhoff KS2542 Manual

Two channel output stage terminals for dc motors
Table of Contents

Advertisement

5

Access from the user program

5.1

Process image

Complex mapping
In the complex process image the KL2542 is represented with at least 6 bytes of input data and 6 bytes of
output data. These are organized as follows:
Byte offset (without word
alignment)
0
1
3
4
Compact mapping
The KL2542 devices are represented in the compact process image with a minimum of 6 bytes of output
data. These are organized as follows:
Byte offset (without word
alignment)
0
1
3
4
*) Word alignment: The Bus Coupler places values on even byte addresses
Key
SB n: Status byte of channel n
CB n: Control byte of channel n
DataIN n: Input word of channel n
DataOUT n: Output word of channel n
Control-Bytes
The KL2542 cannot be operated without control bytes, since the control bytes are required for en-
abling the channels. Even if your Bus Coupler is set to compact process image, the KL2542 is rep-
resented with its control bytes.
KL2542/KS2542
Byte offset (with word align-
ment*)
0
2
4
6
Byte offset (with word align-
ment*)
0
2
4
6
Version: 2.1.0
Access from the user program
Format Input data
Byte
SB1 [} 30]:
Word
DataIN1
Byte
SB2 [} 32]
Word
DataIN2
Format Input data
Byte
-
Word
-
Byte
-
Word
-
Output data
CB1 [} 30]
DataOUT1
CB2 [} 32]
DataOUT2
Output data
CB1 [} 30]
DataOUT1
CB2 [} 32]
DataOUT2
29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Kl2542

Table of Contents