Mitsubishi MELSEC-Q series User Manual page 176

Gx configurator-da. channel isolated digital-analog converter module
Hide thumbs Also See for MELSEC-Q series:
Table of Contents

Advertisement

APPENDIX
(1) Functions
Sequence program
OFF
G.OGLOAD instruction
OFF
Completion device (D)
Status display device
OFF
at completion (D)+1
(2) Operation error
(3) Program example
Control data setting
Offset/gain value read
App
- 6
Appendix 1 Dedicated Instruction List and Available Devices
Appendix 1.2 G(P).OGLOAD
(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
Abnormal completion
END processing END processing
ON
In the following case, an error occurs and the corresponding error code is stored into
the completion status area (S)+1.
Error code
164
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.
: Stays OFF and does not change.
: 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.
Execution completion of
the G.OGLOAD instruction
Case resulting in operation error
The value set to the pass data classification setting (S)+2 is outside the range.
Performs processing at abnormal completion
END processing END processing
ON
ON Abnormal
completion
Normal completion
1 scan
Specifies user range setting1
Dedicated instruction
(GP.OGLOAD)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q66da-g

Table of Contents