Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1765

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions restore the offset/gain settings in the user range setting stored in a CPU module into an analog module.
• Execution and normal/error completion of the G(P).OGSTOR instruction can be checked with the completion device
specified by the setting data (d) and the completion status indication device (d)+1.
• Completion device (d)
Turns on during END processing of the scan that arises upon completion of the G(P).OGSTOR instruction, and turns off during the next END processing.
• Completion status indication device (d)+1
Turns on or off depending on the status resulting from completion of the G(P).OGSTOR instruction.
When completed normally: Unchanged from off.
When completed with an error: Turns on during END processing of the scan that arises upon completion of the G(P).OGSTOR instruction, and turns off during
the next END processing.
• The following figure shows how the G(P).OGSTOR instruction operates when completing its execution.
Sequence scan
0
G.OGSTOR instruction
Completion device (d)
OFF
Completion status
OFF
indication device (d)+1
• After the offset/gain setting value has been restored, the base rate decreases to about three times or more of the
unrestored accuracy.
When the G(P).OGSTOR instruction is executed, the D/A converter module stops the D/A conversion. To
resume the D/A conversion, turn on and off the operating condition setting request (Y9).
■Program example
The following figure shows an example of a program which uses the G(P).OGSTOR instruction with the R60AD4.
• Program content
Description
When "Dedicated Instruction Execution Request" (M11) is turned off, the offset/gain settings are restored in the analog module mounted at the position of I/O
numbers X/Y10 to X/Y1F.
• Label setting
Classification
Label name
Module label
Label to be defined
Define the global label as shown below.
END
0
Execution of
the instruction
END
0
END
0
Completion of the instruction
ON
ON
Completed
successfully
Description
21 A/D CONVERSION INSTRUCTIONS
21.3 Restoring the User Range Setting Values
END
0
END
OFF
Completed with an error
OFF
1 scan
Device
1763
21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents