Mitsubishi Electric Melsec Q Series User Manual page 170

Analog-digital converter module
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

APPENDICES
Sequence program
G.OGLOAD instruction
Completion device (D)
Status display device
at completion (D)+1
Control data setting
Offset/gain value read
1: For the Q68ADV/Q68ADI, the program in the dotted area is not necessary.
App. - 9
(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
instruction 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: Turns on in the END processing of the scan
END processing
END processing
ON
OFF
OFF
OFF
(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.
: Stays off and does not change.
where the G(P).OGLOAD instruction is
completed, and turns off in the next END
processing.
Execution completion of
the G.OGLOAD instruction
Performs processing at abnormal completion
MELSEC-Q
END processing END processing
ON
ON Abnormal
completion
Normal completion
1 scan
Specifies voltage
Dedicated instruction
(GP.OGLOAD)
App. - 9
1

Advertisement

Table of Contents

Troubleshooting

loading

This manual is also suitable for:

Melsec q64adMelsec q68advMelsec q68adi

Table of Contents