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
Ex.
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
D
X
S
H
S
L
108
D
X
Digital operation value =
D
X
Digital operation value =
Item
(S
+ S
)
× (S
- S
)
H
L
H
L
+
32000
2
× (S
- S
)
H
L
+ S
L
16000
Digital output value
Scaling upper limit value
Scaling lower limit value
Description