Access from the user programm
KM3701, KM3702 and KM3712
29
Version: 2.0.0
Bit
Name
Description
SB1.7
RegAccess
0
bin
Acknowledgment for process data mode
SB1.6
Error
1
bin
an internal error has occurred (current process data is no longer
valid)
SB1.5 / SB1.4
StateThreshold2
0
bin
feature register
01
bin
Process data is greater than threshold 2
10
bin
Process data is less than threshold 2
11
bin
Process data equals threshold 2
SB1.3 / SB1.2
StateThreshold1
0
bin
feature register
01
bin
Process data is greater than threshold 1
10
bin
Process data is less than threshold 1
11
bin
Process data equals threshold 1
SB1.1
Overload
1
bin
Process data is greater than specified in register
. The
red error LED of this channel is lit.
SB1.0
Underload
1
bin
Process data are less than specified in register
. The
red error LED of this channel is lit. (The calibration is active if
SB1.0 and SB1.1 are set simultaneously).
Register communication
Control byte 1 (in register communication)
Control byte 1 (CB1) is located in the output image, and is transmitted from the controller to the terminal
module.
Bit
CB1.7
CB1.6
CB1.5
CB1.4
CB1.3
CB1.2
CB1.1
CB1.0
Name
RegAccess R/W
Reg. no.
Bit
Name
Description
CB1.7
RegAccess
1
bin
Register communication switched on
CB1.6
R/W
0
bin
Read access
1
bin
Write access
CB1.5 to CB1.0
Reg. no.
Register number:
Enter the number of the
- want to read with input data word DataIn or
- want to write with output data word DataOut.
Status byte 1 (in register communication)
Status byte 1 (SB1) is located in the input image and is transmitted from terminal module to the controller.
Bit
SB1.7
SB1.6
SB1.5
SB1.4
SB1.3
SB1.2
SB1.1
SB1.0
Name
RegAccess R/W
Reg. no.
Bit
Name
Description
SB1.7
RegAccess
1
bin
Acknowledgment for register access
SB1.6
R
0
bin
Read access
SB1.5 to SB1.0
Reg. no.
Number of the register that was read or written.
Channel 2 (only KM3702 and KM3712)
The control and status bytes of channel 2 (CB2 and SB2) have the same structure as the control and status
bytes of