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 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 | 0bin |
Bit 6 | 1bin: Terminal compensation function is enabled |
Bit 5 | reserved |
Bit 4 | 1bin: Gain calibration |
Bit 3 | 1bin: Offset calibration |
Bit 2 | 0bin: slower cycle = 1000 ms 1bin: fast cycle = 50 ms |
Bit 1 | 1bin: up |
Bit 0 | 1bin: down |
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 | 0bin | ||
Bit 6 | 1bin: Error (general error bit) | ||
Bit 5 | Bit 4 |
| |
0bin | 0bin | Limit value 2 not enabled | |
0bin | 1bin | Process data < limit value 2 | |
1bin | 0bin | Process data > limit value 2 | |
1bin | 1bin | Process data = limit value 2 | |
| |||
Bit 3 | Bit 2 |
| |
0bin | 0bin | Limit value 1 not enabled | |
0bin | 1bin | Process data < limit value 1 | |
1bin | 0bin | Process data > limit value 1 | |
1bin | 1bin | Process data = limit value 1 | |
Bit 1 | 1bin: Overrange | ||
Bit 0 | 1bin: Underrange |