Mitsubishi Electric Q68AD-G User Manual page 122

Channel isolated analog-digital converter module/ channel isolated analog-digital converter module (with signal conditioning function)
Table of Contents

Advertisement

4
SETUP AND PROCEDURES BEFORE OPERATION
(2) Program examples
Switches to offset/gain setting mode
1
Specifies channel where offset/gain setting will be made
Specifies channel where offset setting will be made
Specifies channel where gain setting will be made
Changes channel where offset/gain setting will be made
Changes offset/gain values
Registers offset/gain setting results to module
Switches to normal mode
4.6 Offset/Gain Settings
4
- 22
4.6.2 Offset/gain settings (Q66AD-DG)
The program in the dotted area of (a) is common to (a), (b) and (c).
In this example, the I/O signals for the Q66AD-DG are X/Y0 to X/YF.
• Channel selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M0
• Offset setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M1
• Gain setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M2
• Channel change command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M3
• Offset/gain setting value write command to the module. . . . . . . . M4
• Mode switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M5
• Offset/gain change command . . . . . . . . . . . . . . . . . . . . . . . . . . . M6
• Normal mode checking signal . . . . . . . . . . . . . . . . . . . . . . . . . . . M50
• Module ready check flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M100
• Channel designation storage device . . . . . . . . . . . . . . . . . . . . . . D0
• Dedicated instruction (G(P).OFFGAN) setting storage device. . . D1
(a) When switching the mode using the dedicated instruction (G(P).OFFGAN)
The following program switches to the offset/gain setting mode with the dedicated
instruction (G(P).OFFGAN), changes the channel where offset/gain setting will be
made, writes the offset/gain values to the Q66AD-DG, and then switches to the
normal mode.
*1 The program in the dotted area is a common program.
Stores setting of dedicated
instruction (G.OFFGAN) into D1.
Dedicated instruction (G.OFFGAN)
Stores channel where offset/
gain setting will be made into D0.
\
Specifies offset setting channel.
\
Sets 0 to buffer memory
address 23.
\
Specifies gain setting channel.
\
Sets 0 to buffer memory
address 22.
Turns ON channel change
request (YB).
Turns OFF channel change
request (YB).
Turns ON offset/gain
change request (YC).
Turns OFF offset/gain
change request (YC).
Turns ON user range change
request (YA).
Turns OFF user range change
request (YA).
Stores setting of dedicated
instruction (G.OFFGAN) into D1.
Dedicated instruction (G.OFFGAN)
Processing in normal mode

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q66ad-dgGx configurator-ad (sw2d5c-qadu-e)

Table of Contents