108
8.11 Scaling Function
This function performs scale conversion on a digital output value with the range of the scaling lower limit value and the
scaling upper limit value, both of which are set at desired values.
The value after scale conversion is stored in CH Digital operation value (RWr2 to RWr5, RWr12 to RWr15).
(1) How to interpret the scaling setting
If the input range is set to -10 to 10V:
For the scaling lower limit value, set a value corresponding to the lower limit of the input range (-16000),
and for the scaling upper limit value, set a value corresponding to the upper limit of the input range
(16000).
(2) Calculation of the digital operation value
Scale conversion is performed on the digital values using the following formula:
(Values after the decimal point are rounded down during scale conversion.)
• If the input range is -10 to 10V
• If the input range is user range setting 1, user range setting 2, 0 to 5V, 1 to 5V, 0 to 20mA, or 4 to 20mA
Item Description
D
X
Digital output value
S
H
Scaling upper limit value
S
L
Scaling lower limit value
Digital operation value =
D
X
× (S
H
- S
L
)
32000
+
(S
H
+ S
L
)
2
Digital operation value =
D
X
× (S
H
- S
L
)
16000
+
S
L