Appendix 1 Dedicated Instruction List and Available Devices
Appendix 1.2 G(P).OGLOAD
App
- 6
AP
PENDICES
INDEX
(1) Functions
(a) Reads the offset/gain values of the user range setting of the Q66DA-G 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
In the following case, an error occurs and the corresponding error code is stored into
the completion status area (S)+1.
(3) Program example
The following program is designed to read the offset/gain values of the Q66DA-G
mounted in the position of I/O number X/Y0 to X/YF when M11 is turned on.
Error code
Case resulting in operation error
164
The value set to Pass data classification setting (S)+2 is outside the range.
Sequence program
END processing END processing
END processing END processing
ON
OFF
OFF
OFF
ON
Execution completion of
the G.OGLOAD instruction
G.OGLOAD instruction
Completion device (D)
Status display device
at completion (D)+1
ON Abnormal
completion
Normal completion
1 scan
Control data setting
Offset/gain value read
Specifies user range setting1
Dedicated instruction
(GP.OGLOAD)
Performs processing at abnormal completion
Содержание Q66DA-G
Страница 2: ......
Страница 6: ...A 4 Disposal Precautions CAUTION When disposing of this product treat it as industrial waste ...
Страница 189: ......