4-32
Section 4 Software Interface
2) When scaling parameter write mode is activated
For scaling, offset and gain values are set in the locations shown below, and “scaling parameter write mode flag” (bit 5 of the
parameter type setting register) is set ON.
* When using D300win, assign INT type variables to these registers.
15(F) 0
+7
+6
Offset value
Gain value
<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 25000
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.
4-3 Analog Input/Output Module
15(F)
13(D)
0
+6
+7
Unused
Unused
Unused
Conversion
(output)
enable/disable
Conversion
(output)
enable/disable OFF:
(Output)
enable, ON:
(Output)
disable
Moving average execution times
Moving average execution times H/L = OFF/OFF: Once, OFF/ON: Twice, ON/OFF: 4 times, ON/ON: 8 times
78
CH6
CH4 CH3 CH2
CH1
CH5 CH4 CH3 CH2 CH1
13(D)
12(C)
11(B)10(A)
98
7 6 5 4 3 2 1 0
H L H L H L H L
(8) Parameter setting data register (offset address +6 and +7)
When a value in the range from “30000” to “32767” is input to the parameter setting request register (offset address +4), the
status register (offset address +0) becomes “30001”, and “parameter” mode is activated.
The set values of “operation parameter write” mode, “scaling parameter” mode, “operation range parameter write” mode, or
“offset/gain adjustment” mode are written in this register.
If a value that is smaller than “30000” is input to this register, the mode is changed over from “parameter” mode to “conversion
mode (normal mode)”.
1) When operation parameter write mode is activated
Data is set in the locations shown below, and “operation parameter write mode flag” (bit 4 of the parameter type setting
register) is set ON.
* When using D300win, assign WORD type variables to these registers. If you access by the bit, assign a BOOL type variable
to each bit.