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

ページ / 140
App. -  6                                                                                                                                                 App. -  6
MELSEC-Q
APPENDIX
Appendix 2.2 OGLOAD
Reads the offset/gain values of the user range setting of the A/D converter module to
the CPU.
Usable devices
Internal device
(System, user)
MELSECNET/H
Direct J \
Constant
Set data
Bit
Word
File
register
Bit
Word
Special
function
module
U \G
Index
register
Z
K, H
S
Other
(S)
(D)
Command
G.OGLOAD
Command
GP.OGLOAD
Un
(S)
(D)
Un
(S)
(D)
[Instruction
symbol]
[Execution
condition]
G.OGLOAD
GP.OGLOAD
Set data
Device
Description
Setting range
Data type
Un
Start I/O number of the module
0 to FE
H
Binary 16 bits
(S)
Start number of the device in which control data is stored.
Within the range of the
specified device
Device name
(D)
Device that is turned ON 1 scan on completion of dedicated
instruction processing.
(D) + 1 also turns ON at an abnormal completion.
Within the range of the
specified device
Bit
Control data
1
 of Q64AD (1/2)
Device
Item
Set data
Setting range
Set by
(S)
System area
(S) + 1
Completion status
Stores the status when the instruction
is complete.
0                  : Normal completion
Other than 0: Abnormal completion
System
(S) + 2
Pass data classification setting
Specify the voltage/current of the
offset/gain values to be read.
0: Voltage specified
1: Current specified
0
0
CH.4 CH.3 CH.2 CH.1
b15
b4
b3
b2
b1
b0
0000
H
 to 000F
 H
User
(S) + 3
System area
(S) + 4
CH1 Industrial shipment settings offset value
System
(S) + 5
CH1 Industrial shipment settings gain value
System
(S) + 6
CH2 Industrial shipment settings offset value
System
(S) + 7
CH2 Industrial shipment settings gain value
System
(S) + 8
CH3 Industrial shipment settings offset value
System
(S) + 9
CH3 Industrial shipment settings gain value
System
1  Set only the pass data classification setting (S)+2. If data is written to the area set by the system, the offset/gain values
will not be read properly.