Scaling Function
This function performs the scale conversion on digital values within a specified range between a scaling upper limit value and
a scaling lower limit value. The program for scale conversion can be omitted.
Operation
This function performs the scale conversion on digital values. The values are converted within a specified range between a
scaling upper limit value and scaling lower limit value. The value after the scale conversion is used for the D/A conversion. (In
the scale conversion, values after the decimal point are rounded off.)
Concept of scaling setting
For the scaling lower limit value, set a value corresponding to the lower limit value of the set analog output value.
For the scaling upper limit value, set a value corresponding to the upper limit value of the set analog output value.
Calculating the scaling value
The scaling value is converted based on the calculation formula shown below. (The value below the decimal point obtained by
scale conversion is rounded.)
Calculation formula
Digital value used for D/A conversion =
Setting procedure
1.
Set "D/A conversion enable/disable setting" to "D/A conversion enable".
Navigation window [Parameter] [Module Information] Module model name [Module Parameter] "Basic
setting" "D/A Conversion Enable/Disable Setting"
2.
Set "Scaling enable/disable setting" to "Enable".
Navigation window [Parameter] [Module Information] Module model name [Module Parameter] "Application
Settings" "Scaling Setting"
3.
Set values for "Scaling upper limit value" and "Scaling lower limit value".
Item
Scaling upper limit value
Scaling lower limit value
• If the relation between the values is scaling lower limit value > scaling upper limit value, the scale
conversion can be performed according to a negative slope.
• Set the scaling with the condition "Scaling lower limit value Scaling upper limit value".
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
3 FX5-4DA-ADP
104
3.3 Functions
D
- D
Min
Max
× (D
- S
) + D
X
L
Min
S
- S
H
L
CH1
CH2
SM6308
SM6348
SD6308
SD6348
SD6309
SD6349
Symbol
D
: Digital value
X
D
: Maximum digital input value of the output range in use
Max
D
: Minimum digital input value of the output range in use
Min
S
: Scaling upper limit value
H
S
: Scaling lower limit value
L
Setting range
-32768 to +32767
-32768 to +32767
CH3
SM6388
SD6388
SD6389
CH4
Reference
SM6428
Page 130
SD6428
Page 139
SD6429
Page 139