Mitsubishi Electric MELSEC L Series User Manual page 234

Digital-analog converter module
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

(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.
Program
G(P).OGSTOR
instruction
Completion device D
Completion status
indication device D +1
(c) Accuracy
The accuracy after the restoration of the offset/gain setting value is lower than the one before the restoration.
The difference is about three times.
(4) Errors
In the following cases, an error occurs and the error code is stored in completion status area
Error code
161
162
163
(5) Program example
The following shows the programs to write the offset/gain setting value to the D/A converter module, installed in
I/O number X/Y10 to X/Y1F, by turning OFF M11.
Sets a control data.
Restores a offset/gain setting value.
When performing the dedicated instruction G(P).OGSTOR, the D/A conversion is stopped.
Turn OFF  ON  OFF Operating condition setting request (Y9) to restart the D/A conversion.
232
END
END
processing
processing
ON
OFF
OFF
OFF
G(P).OGSTOR instruction is executed in the offset/gain setting mode or the wave output mode.
G(P).OGSTOR instruction is continuously executed.
 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.
Processing when an instruction execution is failed
Execution completion of the
G(P).OGSTOR instruction
Description of operation error
END
END
processing
processing
ON
ON: Execution failed
OFF: Execution succeeded
1 scan
S
+1.
Dedicated instruction
(GP.OGSTOR)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l60da4Melsec l60davl8Melsec l60dail8

Table of Contents