4-36
Section 4 Software Interface
4-3 Analog Input/Output Module
<Example 2 of gain/offset adjustment>
<Offset/gain adjustment procedure>
Offset is adjusted first.
1) Input “30000” to the the parameter setting request register to activate parameter mode. (Make sure that the status register is
“30001”.)
2) Set ON bit 7 of the parameter type setting register to activate offset/gain adjustment mode.
3) Set ON the bit for the channel to be adjusted (the corresponding bit of bits 8 to 15 of the parameter type setting register).
(The “SETTING” LED of the module blinks.)
4) Apply a voltage (or a current) that corresponds to the offset value to the terminal of the channel that is to be adjusted.
5) Set ON bit 0 (zero) of offset address +7 of the parameter setting data register to write the offset adjustment value in the
module internal EEPROM. When bit 0 (zero) of offset address +2 is set ON, the writing of EEPROM is completed. After
confirming this, set OFF bit 0 (zero) of the parameter setting data register (offset address +7).
6) Then set bit 14 ON of offset address +7 of the parameter setting data register. (Gain adjustment of analog input)
7) Apply a voltage (or a current) that corresponds to the gain value to the terminal.
8) Set ON bit 0 (zero) of offset address +7 of the parameter type setting register to write the gain adjustment value in the
module internal EEPROM. Confirm the completion of writing in the same way as explained for offset adjustment.
9) Set OFF all the bits of the parameter type setting register, and clear all the bits of the parameter setting data register to
zero. This completes the operation for adjustment.
Analog input voltage (V)
Digital output value
(INT type)
8200
8000
Practicable digital
output range
-8000 (0)
-8200 (-125)
-10.25 -10
10 10.25
Gain value
Offset value
0
Offset and gain values for the range of -10 to 10 V.