User`s manual

4 - 11 4 - 11
MELSEC-Q
4 SETUP AND PROCEDURES BEFORE OPERATION
(2) Program examples
The program in the dotted area of (a) is common to (a), (b) and (c).
In this example, the I/O signals for the Q62DA-FG are X/Y0 to X/YF.
• Channel selection
...................................................................................
M0
• Offset/gain range setting
..........................................................................
M1
• Offset setting
...........................................................................................
M2
• Gain setting
.............................................................................................
M3
• Channel change command
.....................................................................
M4
• Writing the adjustment amount
...............................................................
M5
• Analog output value adjust command
....................................................
M6
• Offset/gain setting value write command to the module
........................
M7
• Mode switching
........................................................................................
M8
• Normal mode checking signal
.................................................................
M50
• Channel designation storage device
.......................................................
D0
• Dedicated instruction (G.OFFGAN) setting storage device
....................
D2
• Offset/gain adjustment storage device
....................................................
D1