Programming
Page 5-44 ABB Control - AC 31
1SBC 260400 R1001-b 06.99
5.10.2. Processing an analog input
The following example shows how to process the measurement of a distance sensor.
Measured
physical value
Voltage +10/-10V Power +20/-20mA Power 4-20mA Value read in the
central unit
100 m 10 20 20 32760
y m x
0 m 0 0 4 0
-10 -20 -32760
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
*
Z1*
Z2:
Z3 A1
%IW63.00
VAL_32760
VAL_100
METERS
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.