4-10
Section 4 Software Interface
4-1 Analog Input Module
2) When scaling parameter write mode is activated
For scaling, data is set in the locations shown below.
* When using D300win, assign INT type variables to these registers.
<Scaling>
The analog input modules convert the analog values that are input to them into digital values. The operation to change the
width (scale) of converted digital values is referred to as “scaling”. The available range of scaling of these modules is
-25000 to 25000 (INT type). If a value that is out of this range is set, it will be limited to -25000 or 25000.
<Initial value for the scaling of input range>
Input range Initial value of scaling Scaling range
0 to 5 V 0 to 16000 0 to 25000
1 to 5 V 0 to 16000 0 to 25000
0 to 10 V 0 to 16000 0 to 25000
-10 to 10 V -8000 to 8000 -25000 to 8000
4 to 20 mA 0 to 16000 0 to 25000
0 to 20 mA 0 to 16000 0 to 25000
-20 to 20 mA -8000 to 8000 -25000 to 25000
Note 1: Scaling is enabled only when the operation setting switch on the module rear panel is set to “Soft Set Range Operation
mode”. In fixed range operation mode, scaling is disabled.
Note 2: Over range is fixed to “(Gain value - Offset value) x 0.025 + Gain value”.
(“(Gain value - Offset value) x 0.0125 + Gain value” for the range of -10 to +10 V or of -20 to +20 mA)
On the other hand, under range is fixed to “Offset value - (Gain value - Offset value) x 0.025”.
(“Offset value - (Gain value - Offset value) x 0.0125” for the range of -10 to +10 V or of -20 to +20 mA)
Note 3: If scaling results in “resolution < maximum resolution”, digital output value does not change in steps of one.
Note 4: Once scaling values are set, they won't change even when range is changed in Soft Set Range Operation mode.
<Example of scaling>
15(F) 0
+9
+10
+11
Offset value
Gain value
Unused (fixed to 0 (zero))
Analog input
current (mA)
Digital output value
(INT type)
16400
16000
-400
20 20.4
Gain value
0
0
0.5
Analog input
current (mA)
Digital output value
(INT type)
4125
4000
-1000
-1125
20 20.4
Gain value
0.5
Offset value
Offset value
Gain: 4000
Offset: -1000
Set values