Calculation of process data
The terminal records measured values continuously and places the raw value of its A/D converter into the ADC raw value object 0x80nE:01. The calculation of the correction with the vendor calibration values takes place after each acquisition of the analog signal. This is followed by (optional) user calibration, user scaling and evaluation of the limits (see diagram Calculation of process data)
Calculation | Designation |
---|---|
XADC | Output of the A/D converter |
YH = (XADC - BK) x AK x 2-14 | Measured value after vendor calibration (corresponds to the raw value of the A/D converter) |
YAK = (YH - BAK) x AAK x 2-14 | Measured value after vendor and user calibration |
YA = YAK x AW x 2-16 + BW | Measured value following user scaling |
Legend
Name | Designation | Index |
---|---|---|
XADC | Output value of the A/D converter | 0x80nE:01 |
BK | Vendor calibration offset (cannot be changed) | 0x80nF:01 |
AK | Vendor calibration gain (cannot be changed) | 0x80nF:02 |
BAK | User calibration offset (can be activated via index 0x80n0:0A) | 0x80n0:17 |
AAK | User calibration gain (can be activated via index 0x80n0:0A) | 0x80n:018 |
BW | User scaling offset (can be activated via index 0x80n0:01) | 0x80n0:11 |
AW | User scaling gain (can be activated via index 0x80n0:01) | 0x80n0:12 |
YA | Process data for controller | - |