Mitsubishi Electronics Q68ADI ユーザーズマニュアル

ページ / 140
3 - 22                                                                                                                                                       3 - 22
MELSEC-Q
3   SPECIFICATIONS
3.4.7 A/D conversion completed flag (buffer memory address 10: Un\G10)
(1)   When A/D conversion for the channels enabled for conversion is complete, the
A/D conversion completed flag is set to 1. The A/D conversion completed flag
(XE) is set to ON when the conversion for all A/D conversion enabled channels is
complete.
(2)   When the operating condition setting request (Y9) is set to ON, the flag returns to
the default setting of 0 and changes to 1 when A/D conversion is complete.
(3)   In the case of the Q64AD module, b4 to b7 (CH5 to CH8) are invalid.
b15
b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
For the Q64AD, information for b4 to b15 is fixed at 0, 
and for the Q68AD, information for b8 to b15 is fixed at 0.
CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
0
0
0
0
0
0
0
0
1 : A/D conversion completed
0 : A/D conversion in  
     progress or not used
When A/D conversion is enabled for channels 1, 2 and 6 and all conversions for these channels are
complete, 0023
H
 (35) is stored in buffer-memory address 10 (Un\G10).
b15 b14
b13
b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b1
b0
0023
H
 (35)
CH8 CH7 CH6 CH5 CH4 CH3 CH2 CH1
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2
0
0
3.4.8 Digital output values (buffer memory addresses 11 to 18: Un\G11 to Un\G18)
(1)   The digital output values after A/D conversion are stored in the buffer memory
addresses from 11 to 18 (Un\G11 to Un\G18) for each channel.
(2)   The digital output values are expressed with 16-bit signed binary values.
b15 b14 b13b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0
     Data section
Resolution 1/4000                  12 bits
Resolution 1/12000, 1/16000  14 bits
For other than the data section and a signed bit, it becomes 
1 for a negative (when b15 is 1) and 0 for a positive (when b15 is 0).
Signed bit
1: Negative
0: Positive
Example