APPENDICES
Appendix 2 Dedicated Instruction
Appendix 2.4 G(P).OGSTOR
APPX - 12
APPENDICESINDEX
(1) Functions
(a) Restores the offset/gain values of the user range setting stored in the CPU to the
Q68TD-G-H02(H01) converter module.
(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
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).OGSTOR
instruction.
Figure APPX.7 Timing diagram
* 1 When the G(P).OGSTOR instruction is executed, conversion is not performed. After the
completion device (D) turns ON, conversion starts, the conversion value is stored into the buffer
memory, and the conversion completion flag (XE) turns ON.
(c) When the offset/gain values are restored, the reference accuracy falls to about
less than 1/3 times of the previous accuracy.
(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.
Normal completion : Stays OFF and does not change.
Abnormal completion: 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.
Table APPX.13 Dedicated instruction error list
Error code Case resulting in operation error
161
The G(P).OGSTOR instruction was executed in the offset/gain
setting mode.
162 The G(P).OGSTOR instruction was executed consecutively.
163
The G(P).OGSTOR instruction was executed for the model that
differs from the model for which the G(P).OGLOAD instruction had
been executed.
OFF
OFF
OFF
ON
OFF
Sequence program
G(P).OGSTOR instruction
Completion device (D)
Status display device
at completion (D)+1
Conversion
completion flag (XE)
END processing END processing END processing END processing
Execution completion of
the G(P).OGSTOR instruction
ON
ON
ON
ON Abnormal
completion
Normal completion
1 scan
*1