4-18
Section 4 Software Interface
4-2 Analog Output Module
Bit Flag name Descrip tion
0 Operation parameter read mode ON: Operation parameter read mode (all channels i n a batch)
1 Scali ng parameter read mode ON: S caling parameter read mode (indivi dual channel)
2, 3 Unused
4 Operation parameter write mode ON: Operation parameter write mode (all channels in a batch)
5 Scaling parameter write mode ON: S caling parameter write mode (indivi dual channel)
6 Offset/gain adjustment mode ON: Offset/gain adjustment mode (individual channel)
7 Unused
8 C hannel 1 In "scaling parameter read mode", " scaling parameter wri te mode" or
"offset/gain adjustment mode", one of bits 8 to 15 is set ON to indicate
whi ch channel is now bei ng set or read out by thi s module.
9 Channel 2
10(A) Channel 3
11(B) Channel 4
12(C) Channel 5
13(D) Channel 6
14(E) Channel 7
15(F) Channel 8
15 (F) 078
+2
Channel No. Parameter type
(4) Parameter type setting status register (offset address +2)
The information of which parameter is now being written or read out by this module is stored 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.
(3) Digital input values of channels 1 to 8 (offset address +4 to +11)
The digital values to undergo D/A conversion are stored in these memory areas. Just after the system is powered up, 0 V or 0
mA is output. When the initialization of the module is completed, the analog value that corresponds to the digital input value of
0 (zero) is output (for example, 1 V for the range of 1 to 5 V). At the same time, initialization completion flag (bit 15 of offset
address +0) is set ON. When the system is started (when the CPU module starts running), the analog value that corresponds
to the digital value input to this memory area is output. For more information of conversion characteristics, refer to “2-3
Conversion Characteristics”.
* When using D300win, assign INT type variables to these registers.
Offset
address
15(F)
+4
+5
+6
+7
+8
+9
+10
+11
Channel 1 Digital input value
Channel 2 Digital input value
Channel 3 Digital input value
Channel 4 Digital input value
Channel 5 Digital input value
Channel 6 Digital input value
Channel 7 Digital input value
Channel 8 Digital input value
0
Up to this address for analog 4ch modules
When a value in the range from “30000” to “32767” is input
to offset address +4, parameter mode is activated. To change
over from parameter mode to D/A conversion mode, input a
value that is smaller than “30000”.