Access from the user program
KL2692
27
Version: 2.0.0
Key
Bit
Name
Description
SB.7
RegAccess 0
bin
Acknowledgment for process data mode
SB.6 to SB.4
-
0
bin
reserved
SB.3
IN_2
Status input 2
SB.2
IN_1
Status input 1
SB.1
WDT_Run
0
bin
Watchdog timer is not triggered. The outputs are not set.
1
bin
Watchdog timer is active and locked. The outputs are set.
SB.0
Toggle_St
This bit follows the toggle bit in the control byte
Register communication
Control byte (for register communication)
The control byte (CB) is located in the
, and is transmitted from the controller to the
terminal.
Bit
CB.7
CB.6
CB.5
CB.4
CB.3
CB.2
CB.1
CB.0
Name
RegAccess
R/W
Reg. no.
Key
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
- to read with input data word
- to write with output data word
Status byte (for register communication)
The status byte (SB) is located in the
, and is transmitted from terminal to the controller.
Bit
SB.7
SB.6
SB.5
SB.4
SB.3
SB.2
SB.1
SB.0
Name
RegAccess
R/W
Reg. no.
Key
Bit
Name
Description
SB.7
RegAccess 1
bin
Acknowledgment for register access
SB.6
R
0
bin
Read access
SB.5 to SB.0
Reg. no.
Number of the register that was read or written.