Page 5-44
Programming
5.10.2. Processing an analog input
The following example shows how to process the measurement of a distance sensor.
Measured
Voltage +10/-10V
physical value
100 m
10
y m
0 m
-10
The value read in the central unit should be scaled in order to be expressed in meters so that
the information may be sent, for example, to a display. In this case the measured value y is
such that: y = (100 * x) / 32760
%IW63.00
VAL_100
VAL_32760
It is not necessary to scale values to carry out comparison tests (equal, greater, lesser...). The
compared values can be those read in the central unit.
Power +20/-20mA
20
0
0
-20
*:
Z1*
Z2:
Z3
A1
Power 4-20mA
Value read in the
central unit
20
32760
x
4
0
-32760
METERS
ABB Control - AC 31
1SBC 260400 R1001-b
06.99