4-24
Section 4 Software Interface
4-2 Analog Output Module
<Procedure for scaling>
1) Input “30000” (INT type) to the mode changeover register (offset address +4) to activate parameter mode.
(Make sure that bit 15 of the module status register is set ON.)
2) Input gain and offset values to the parameter setting data register, and set ON bit 5 and bit 8 (in the case of channel 1) of
the parameter type setting register. (In the above example 1 of scaling, set as follows.)
3) Make sure that bit 5 (scaling parameter write mode) and bit 8 (channel 1) of the parameter type setting register are set ON.
4) Set OFF all the bits of the parameter setting data register, and clear al the bits of the parameter setting data register to zero.
This completes the operation for scaling.
3) When offset/gain adjustment mode is activated
For offset/gain adjustment, data is set in the locations shown below:
* When using D300win, assign a WORD type variable to this register. If you access by the bit, assign a BOOL type variable to
each bit.
<Offset/gain adjustment>
In this mode, offset value and/or gain value can finely be adjusted for individual channel.
Offset value: Means the lower limit value of the range span. When this value is adjusted, the conversion characteristic curve
moves parallel in vertical direction.
Gain value: Means the upper limit value of the range span. When this value is adjusted, only gain value is changed while
offset value is kept unchanged.
When offset and gain values are changed by scaling, the values that are set by scaling take effect as offset and gain values.
When offset and/or gain values are to be adjusted after scaling, adjust by the values of scaling.
Note 1: Offset/gain adjustable range is within 1% of range span. It takes approximately 2 minutes to adjust from 0% to 1%.
If adjustment is made using an analog value that exceeds the adjustable range (if the value is input to a terminal of
the module), the value is limited to 1% of range span.
Note 2: If range is changed, offset and gain return to the default values.
Note 3: Negative current value cannot be output. If offset value is set too low, the conversion characteristic curve becomes as
follows:
15(F) 0
+7
+6
-4000
4000
15(F) 078
+6
Unused
Unused
OFF: Offset value is
displayed
ON: Gain value is
displayed
ON: Module internal EEPROM
writing completed
ON: Down is specified
ON: Up is specified
No change when both bit 8 and bit 9 are set ON.
Digital input value
(INT type)
Analog output current (mA)
20.5
20
16000 16400
Gain value
Offset value
0
Practicable analog
output range