Access from the user programm
KL2819
31
Version: 1.1.0
6
Access from the user programm
6.1
Control and status bytes
6.1.1
Process data mode
Control byte (for process data mode)
The control byte (CB) is located in the output image, and is transmitted from the controller to the terminal.
Bit
Name
Description
CB.7
RegAccess
0
bin
: Register communication off (process data mode)
CB.6
-
reserved
CB.5
-
reserved
CB.4
-
reserved
CB.3
-
reserved
CB.2
-
reserved
CB.1
-
reserved
CB.0
-
reserved
Status byte (in process data mode)
The status byte (SB) is located in the input image and is transmitted from terminal to the controller.
Bit
Name
Beschreibung
SB.7
RA
R
eg
A
ccess
Register access (0 = process data mode enabled)
SB.6
DCF
D
iagnostic
C
ommon
F
ault A diagnostic common fault (OR Combination of all Faults)
SB.5
MV
M
issing
V
oltage
No Voltage for the Outputs (Up < 10 V)
SB.4
UV
U
nder
V
oltage
Low Voltage for the Outputs (Up < 17 V)
SB.3
OTD
O
ver
t
emperature
D
evice
Temperature of the terminal too high
SB.2
r
-
reserved
SB.1
r
-
reserved
SB.0
r
-
reserved
6.1.2
Register communication
Control byte (for register communication)
The control byte (CB) is located in the output image, and is transmitted from the controller to the terminal.
Bit
Name
Description
CB.7
RegAccess
1
bin
: Register communication switched on
CB.6
R/W
0
bin
: Read access
1
bin
: Write access
CB.5 to
CB.0
Reg. no.
Register number:
Enter here the number of the register that you wish
- to read with input data word DataIN, or
- to write with output data word DataOUT.
Summary of Contents for KL2819
Page 2: ......
Page 4: ...Table of contents KL2819 4 Version 1 1 0...
Page 12: ...Product overview KL2819 12 Version 1 1 0 Fig 4 Switch off of inductive loads...
Page 41: ......