4-7
Section 4 Software Interface
4-1 Analog Input Module
3) When offset/gain adjustment mode is activated
When parameter mode is activated (module status register = 30001(7531h)) and bit 6 of the parameter type setting status
register is set ON, the status of offset/gain adjustment is indicated. For this, the digital output values of the 5 channels starting
with specified channel, EEPROM writing completion flag, and offset/gain value indication flag are displayed.
* When using D300win, assign an WORD type variable to this register (offset address+2). If you access by the bit, assign
a BOOL type variable to each bit.
15(F) 078
+8
Channel No.
Parameter type
Request to set parameter
Bit Flag name Descriptio n
0 Operation parameter read mode ON: Operation parameter read mode (all channels in a batch)
1 Scaling parameter read mode ON: S caling parameter read mode (indivi dual channel)
2, 3 Unused
4 Operation parameter wri te mode ON: Operation parameter write mode (all channels in a batch)
5 Scaling parameter write mode ON: Scaling parameter write mode (indi vi dual channel)
6 Offset/gain adjustment mode ON: Offset/gain adjustment mode (individual channel)
7 Parameter mode ON: Parameter mode, OF F : A /D conversion mode
8 C hannel 1 In "scaling parameter read mode", "scaling parameter wri te mode" or
"offset/gain adjustment mode", arbitrary channel i s speci fied. In "scali ng
parameter read mode", one of bits 8 to 15 is set ON to specify a channel
for whi ch parameters are to be set. When same data is to be set i n
"scaling parameter write mode" or "offset/gain adjustment mode", multiple
arbitrary channels may be specified.
9 Channel 2
10 Channel 3
11 Channel 4
12 Channel 5
13 Channel 6
14 Channel 7
15 Channel 8
(5) Parameter type setting register (Offset address +8)
Parameter type and channel number for reading/writing parameters are set in this register.
* 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.
15 0
+3
+4
+5
+6
+7
15(F) 08
+2
OFF: Offset value is displayed.
ON: Gain value is displayed.
Unused (fixed to 0 (zero))
ON: Module internal EEPROM
writing completed.
Channel n Digital output value
Channel n+1 Digital output value
Channel n+2 Digital output value
Channel n+3 Digital output value
Channel n+4 Digital output value
Parameter setting data (INT type)
(The data for 5 channels starting with the first channel
that is specified by offset address +9 is displayed.)
* When using D300win, assign INT type variables to
these registers.