App - 7
APPENDIX
(1) Functions
(a) Reads the offset/gain values of the user range setting of the A/D converter
module to the CPU.
(b) There are two types of interlock signals for the G(P).OGLOAD instruction: the
completion device (D) and the status display device at completion (D) + 1.
1) Completion device
Turns ON in the END processing of the scan where the G(P).OGLOAD instruc-
tion is completed, and turns OFF in the next END processing.
2) Status display device at completion
Turns ON and OFF depending on the completion status of the G(P).OGLOAD
instruction.
Normal completion : Stays OFF and does not change.
Abnormal completion: Turns ON in the END processing of the scan where the
G(P).OGLOAD instruction is completed, and turns OFF in the next END
processing.
(2) Operation error
No errors.
(3) Program example
The following program is designed to read the offset/gain values of the A/D converter
module mounted in the position of I/O number X/Y0 to X/YF when M11 is turned ON.
*1 For the Q66AD-DG, the program in the dotted area is not necessary.
Sequence program
END processing
END processing
G.OGLOAD instruction
ON
OFF
Completion device (D)
OFF
Status display device
at completion (D)+1
OFF
ON
ON Abnormal
completion
Normal completion
1 scan
END processing
END processing
Execution completion of
the G.OGLOAD instruction
Dedicated instruction
(GP.OGLOAD)
Specifies voltage
Control data setting
Offset/gain value restoration
Performs processing at abnormal completion
*1