User`s manual
App - 16 App - 16
MELSEC-Q
APPENDIX
(1) Functions
(a) Restores the offset/gain values of the user range setting stored in the CPU
to the D/A converter module.
(b) There are two types of interlock signals for the G.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.OGSTOR
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.OGSTOR instruction.
Normal completion : Stays OFF and does not change.
Abnormal completion : Turns ON in the END processing of the scan
where the G.OGSTOR instruction is completed,
and turns OFF in the next END processing.
Sequence program
END processing
G.OGSTOR instruction
ON
OFF
Completion device (D)
OFF
Status display device
at completion (D)+1
OFF
ON
ON Abnormal
completion
Normal completion
1 scan
Execution completion of
the G.OGSTOR instruction
END processing END processing END processing
(c) When the offset/gain values are restored, the reference accuracy falls to
about less than three times of the accuracy before that.
(2) Operation error
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 Case resulting in operation error
161 The G.OGSTOR instruction was executed in the offset/gain setting mode.
162 The G.OGSTOR instruction was executed consecutively.
163
The G.OGSTOR instruction was executed for the model that differs from
the model for which the G.OGLOAD instruction had been executed.