Control And Status Byte; Process Data Exchange - Beckhoff KL3001 Documentation

Single- and dual-channel analog input terminals
Table of Contents

Advertisement

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 [} 40] (REG = 1
• in process data exchange [} 39] (REG = 0
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 R31 [} 36] 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
: Terminal compensation function is enabled
bin
Bit 5
reserved
Bit 4
1
: Gain calibration
bin
Bit 3
1
: Offset calibration
bin
Bit 2
0
: slower cycle = 1000 ms
bin
1
: fast cycle = 50 ms
bin
Bit 1
1
: up
bin
Bit 0
1
: down
bin
Status byte in process data exchange (REG=0)
The status byte is transferred from the terminal to the controller. The status byte contains various status bits
for the analog input channel:
Bit
Description
Bit 7
0
bin
Bit 6
1
: Error (general error bit)
bin
Bit 5
Bit 4
0
0
bin
bin
0
1
bin
bin
1
0
bin
bin
1
1
bin
bin
Bit 3
Bit 2
0
0
bin
bin
0
1
bin
bin
1
0
bin
bin
1
1
bin
bin
Bit 1
1
: Overrange
bin
Bit 0
1
: Underrange
bin
KL3001, KL3002
) or
bin
).
bin
Limit value 2 not enabled
Process data < limit value 2
Process data > limit value 2
Process data = limit value 2
Limit value 1 not enabled
Process data < limit value 1
Process data > limit value 1
Process data = limit value 1
Version: 4.2
Access from the user program
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Kl3002

Table of Contents