Access from the user program
KL403x
39
Version: 4.1
•
R34: User scaling - gain (A_w)
16 bit signed integer*2
-8
[0x0100]
This register contains the scaling factor of the user straight-line equation (
line equation is enabled via register
.
•
R35: User switch-on value
16 bit signed integer [0x0000]
If the user switch-on value is enabled in register
, this value is applied to the terminal output
after a system reset or a watchdog timer overflow (terminal has not received any process data for
100 ms).
5.5
Control and status byte
The control and status byte is transmitted from the controller to the terminal. It can be used
• in register mode (REG = 1
bin
) or
• in process data exchange (REG = 0
bin
).
5.5.1
Process data exchange
Control byte in process data exchange (REG=0)
A gain and offset calibration of the terminal can be carried out with the control byte. The code word must be
entered in
so that the terminal calibration can be carried out. The gain and offset of the terminal
can then be calibrated. The parameter will only be saved permanently once the code word is reset!
Bit
Description
Bit 7
0
bin
Bit 6
1
bin
: Terminal compensation function is enabled
Bit 5
reserved
Bit 4
1
bin
: Gain calibration
Bit 3
1
bin
: Offset calibration
Bit 2
0
bin
: slow clock = 1000 ms
1
bin
: fast clock = 50 ms
Bit 1
1
bin
: up
Bit 0
1
bin
: down
Status byte in process data exchange (REG=0)
The status byte is transferred from the terminal to the controller. In the KL403x, the status byte has no
function for the process data exchange.
Summary of Contents for KL403 Series
Page 2: ......