218
(3) Functions
• The offset/gain set value in user range setting stored in CPU module is restored to A/D converter module.
• There are two interlock signals of G(P).OGSTOR: a completion device
and a completion status indication
device +1.
• The reference accuracy on restoration of offset/gain setting value is lowered three times or less of that of
before the restoration.
(a) Completion device
The device turns ON at the END processing for the scan where the G(P).OGSTOR instruction is completed,
and turns OFF at the next END processing.
(b) Completion status indication device
This device turns OFF → ON → OFF depending on the status of the G(P).OGSTOR instruction completion.
• Normal completion: the device is kept to be OFF.
• Error completion: the device turns ON at the END processing for the scan where the G(P).OGSTOR
instruction is completed, and turns OFF at the next END processing.
(4) Errors
In the following cases, an error occurs and error code is stored in completion status area +1.
+29
CH3 User range settings offset value (H) ⎯⎯System
+30
CH3 User range settings gain value (L) ⎯⎯System
+31
CH3 User range settings gain value (H) ⎯⎯System
+32
CH4 User range settings offset value (L) ⎯⎯System
+33
CH4 User range settings offset value (H) ⎯⎯System
+34
CH4 User range settings gain value (L) ⎯⎯System
+35
CH4 User range settings gain value (H) ⎯⎯System
Error code Description of operation error
161 G(P).OGSTOR instruction is executed in offset/gain setting mode.
162 G(P).OGSTOR instruction is continuously executed.
163
• G(P).OGSTOR instruction is executed to the different model from the one to which G(P).OGLOAD
instruction is executed.
• G(P).OGSTOR instruction has been executed before the execution of G(P).OGLOAD instruction.
Device Item Setting data Setting range Set by
S
S
S
S
S
S
S
D
D
1 scan
ON: Execution failed
ON
ON
OFF: Execution succeeded
OFF
OFF
OFF
END
processing
Program
G(P).OGSTOR
instruction
Execution completion of the
G(P).OGSTOR instruction
Completion device D
Completion status
indication device D +1
END
processing
END
processing
END
processing
S