App - 7 App - 7
MELSEC-Q
APPENDICES
(1) Function
Switches the mode of the D/A converter module.
• Normal mode to offset/gain setting mode (Offset/gain setting mode flag (XA)
turns on.)
• Offset/gain setting mode to normal mode (Offset/gain setting mode flag (XA)
turns off.)
POINT
(1) When the offset/gain setting mode is switched to the normal mode, Module
ready (X0) turns from off to on.
Note that initial setting processing will be executed if there is a sequence
program that makes initial setting when Module ready (X0) turns on.
(2) D/A conversion is discontinued if the mode is switched (from the normal mode
to the offset/gain setting mode or from the offset/gain setting mode to the
normal mode).
To resume D/A conversion, switch to the normal mode and then turn on
Operating condition setting request (Y9).
(2) Operation error
No errors.
(3) Program example
The following program is designed to switch the D/A converter module mounted
in the position of I/O number X/Y0 to X/YF to the offset/gain setting mode when
M10 is turned on, and to return it to the normal mode when M10 is turned off.
Switches to offset/gain setting mode
Switches to normal mode
Performs processing for offset/gain setting
Performs processing for normal mode
Stores setting of dedicated
instruction (G.OFFGAN) into D1.
Dedicated instruction (G.OFFGAN)
Stores setting of dedicated
instruction (G.OFFGAN) into D1.
Dedicated instruction (G.OFFGAN)