Scaling Function
Function that converts user-defined maximum and minimum digital values in accordance with a configured scale.
Corresponding devices
The devices which are used by the scaling function are listed below.
Name
Scaling enable/disable setting
Scaling upper limit value
Scaling lower limit value
Setting methods
The procedure to use the scaling function is described below.
1.
Disable scaling.
Name
Scaling enable/disable setting
2.
Set the scaling upper limit value/scaling lower limit value.
The allowable setting range is shown in the following table.
Name
Scaling upper limit value
Scaling lower limit value
3.
Enable scaling.
Operation
Scaling is performed on the resulting value after shift processing is performed on the set digital value using the scaling upper
limit value and scaling lower limit value. The value resulting after scaling is used for the D/A conversion.
An example of scaling setting is shown below.
To use a digital input value
between -1000 to 1000.
Set the upper limit and lower
limit value of scaling.
■Calculation method of the scaling value
When using the factory settings for the output range.
Value after scaling =
4 FX5U CPU MODULE BUILT-IN ANALOG
158
4.4 Functions (Analog output)
[Digital input value]
1000
0
2
-1000
4000
Scaling upper limit value - scaling lower limit value
CH1
SM6188
SD6188
SD6189
Allowable setting range
0: Enabled
1: Disabled
Allowable setting range
-32768 to +32767
(upper limit value lower limit value)
[Output voltage V]
4
6
8
10
(digital input value - scaling lower limit value)
Default value
1: Disabled
Default value
0