User`s manual
App - 9 App - 9
MELSEC-Q
APPENDIX
(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.
164
The value set to the pass data classification setting (S)+2 is outside
the range.
(3) Program example
The following program is designed to read the offset/gain values of the Q62DA-
FG mounted in the position of I/O number X/Y0 to X/YF when M11 is turned ON.
Performs processing at abnormal completion
Control data setting
Offset/gain value restoration
Dedicated instruction
(GP.OGSTOR)