Access from the user program
KL3208, KL3228/KS3228
38
Version: 3.3.0
5
Access from the user program
5.1
Process image
The terminal is represented in the complex process image with 24 bytes of input data and 24 bytes of output
data. These are organized as follows:
byte offset
(without word alignment)
byte offset
(with word alignment*)
format
input data
output data
0
0
Byte
1
2
Word
DataIN1
DataOUT1
3
4
Byte
4
6
Word
DataIN2
DataOUT2
6
8
Byte
7
10
Word
DataIN3
DataOUT3
9
12
Byte
10
14
Word
DataIN4
DataOUT4
12
16
Byte
13
18
Word
DataIN5
DataOUT5
15
20
Byte
16
22
Word
DataIN6
DataOUT6
18
24
Byte
19
26
Word
DataIN7
DataOUT7
21
28
Byte
22
30
Word
DataIN8
DataOUT8
The terminal is represented in the compact process image with 16 bytes of input data and no output data.
These are organized as follows:
byte offset
(without word alignment)
byte offset
(with word alignment*)
format
input data
output data
0
0
Word
DataIN1
-
1
1
Word
DataIN2
-
2
2
Word
DataIN3
-
3
3
Word
DataIN4
-
4
4
Word
DataIN5
-
5
5
Word
DataIN6
-
6
6
Word
DataIN7
-
6
6
Word
DataIN8
-
*) Word alignment: The Bus Coupler places values on even byte addresses
Key
SB1 ... SB8:
status bytes of channels 1 to 8
CB1 ... CB8:
control bytes of channels 1 to 8
DataIN1 ... DataIN8:
input words of channels 1 to 8
DataOUT1 ... DataOUT8: output data words of channels 1 to 8 (are used for register communication)