582
35 CPU MODULE BUILT-IN ANALOG FUNCTION
35.3 Functions (Analog Input)
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.
Setting methods
The procedure to use the scaling function is described below.
1. Disable scaling.
2. Set the scaling upper limit value/scaling lower limit value.
Set the scaling upper limit value to a value corresponding to the maximum A/D conversion value in the range (4000). Set the
scaling lower limit value to a value corresponding to the minimum A/D conversion value in the range (0)
3. Enable scaling.
Operation
The output digital value is scaled within a range between the user-defined scaling upper limit value and the scaling lower limit
value.
Name CH1 CH2
A/D conversion scaling enable/disable setting SM6028 SM6068
A/D conversion error flag SM6059 SM6099
Scaling upper limit value SD6028 SD6068
Scaling lower limit value SD6029 SD6069
A/D conversion latest error code SD6059 SD6099
Name Allowable setting range Default value
Scaling enable/disable setting 0: Enabled 1: Disabled
1: Disabled
Name Allowable setting range Default value
Scaling upper limit value -32768 to +32767
(Upper limit value Lower limit
value)
0
Scaling lower limit value
246810
[Input voltage V]
[Digital output value]
4000
246810
[Digital output value]
[Input voltage V]
0
0
1000
-1000
To receive a digital
value between -1000
to 1000.
Set the upper limit and
lower limit value of
scaling.