Access from the user programm
KM3701, KM3702 and KM3712
28
Version: 2.0.0
Key
SB n: Status byte for channel n
CB n: Control byte for channel n
DataIN n: Input data word channel n
DataOUT n: Output data word channel n
• The meaning of the control and status bytes is explained in
Control and status bytes
.
• In process data mode the analog values are transferred in output data words DataIN1 and DataIN2.
Input data words DataOUT1 and DataOUT2 are not used.
Representation of the analog values
The analog input values are represented by the terminal modules as follows:
KM3702-0000
Pressure
Decimal
Hexadecimal
0 hPa
0
0x0000
7500 hPa
7500
0x1D4C
KM3712-0000
Pressure
Decimal
Hexadecimal
-1000 hPa
-1000
0xFC18
0 hPa
0
0x0000
+1000 hPa
+1000
0x03E8
6.3
Control and Status Byte
Channel 1
Process data mode
Control byte 1 (for process data mode)
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 -
-
-
-
-
-
-
Bit
Name
Description
CB1.7
RegAccess
0
bin
Register communication off (process data mode)
CB1.6 to CB1.1
-
0
bin
reserved
...
...
... ...
CB1.0
-
0
bin
reserved
Status byte 1 (for process data mode)
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 Error
StateThreshold2
StateThreshold1
Overload
Underload