Mitsubishi Electric Q66DA-G User Manual page 182

Channel isolated digital-analog converter module
Hide thumbs Also See for Q66DA-G:
Table of Contents

Advertisement

APPENDICES
(1) Functions
Sequence program
G.OGSTOR instruction
Completion device (D)
Status display device
at completion (D)+1
(2) Operation error
(3) Program example
Control data setting
Offset/gain value restoration
App
- 9
Appendix 1 Dedicated Instruction List and Available Devices
Appendix 1.3 G(P).OGSTOR
(a) Restores the offset/gain values of the user range setting stored in the CPU to the
Q66DA-G.
(b) There are two types of interlock signals for the G(P).OGSTOR 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).OGSTOR 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).OGSTOR
instruction.
Normal completion
Abnormal completion
END processing END processing
ON
OFF
OFF
OFF
(c) When the offset/gain values are restored, the reference accuracy falls to about
less than three times of the accuracy before that.
In any of the following cases, an error occurs and the corresponding error code is
stored into the completion status area (S)+1.
Error code
161
The G(P).OGSTOR instruction was executed in the offset/gain setting mode.
162
The G(P).OGSTOR instruction was executed consecutively.
The G(P).OGSTOR instruction was executed for the model that differs from the
163
model for which the G(P).OGLOAD instruction had been executed.
164
The value set to the pass data classification setting (S)+2 is outside the range.
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).OGSTOR instruction is completed, and
turns off in the next END processing.
Execution completion of
the G.OGSTOR instruction
Case resulting in operation error
Performs processing at abnormal completion
END processing END processing
ON
ON Abnormal
completion
Normal completion
1 scan
Dedicated instruction
(GP.OGSTOR)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents