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

ページ / 140
App. -  10                                                                                                                                                 App. -  10
MELSEC-Q
APPENDIX
Appendix 2.3 OGSTOR
Restores the offset/gain values of the user range setting stored in the CPU to the A/D
converter module.
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.OGSTOR
Command
GP.OGSTOR
Un
(S)
(D)
Un
(S)
(D)
[Instruction
symbol]
[Execution
condition]
G.OGSTOR
GP.OGSTOR
Set data
Device
Description
Setting range
Data type
Un
Start I/O number of the module
0 to FE
H
Binary 16 bits
(S)
1
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
1  When executing the G.OGLOAD instruction, specify the device designated in (S).
Do not change the data read with the G.OGLOAD instruction.
If it is changed, normal operation cannot be guaranteed.
Control data 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
The value set to Pass data
classification setting (S)+2 using the
G.OGLOAD instruction is stored.
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
(S) + 10 CH4 Industrial shipment settings offset value
System
(S) + 11
CH4 Industrial shipment settings gain value
System