4 - 11
MELSEC-Q
4 SETUP AND PROCEDURES BEFORE OPERATION
POINT
(1) Perform the offset/gain settings in the range that satisfies the conditions
specified in Section 3.1.2, (1) and (2).
When the setting exceeds this range, the maximum resolution or total accuracy
may not be within the range indicated in the performance specification.
(2) Perform the offset/gain settings separately for each channel. If channels are
set in buffer memory addresses 22 (Un\G22) and 23 (Un\G23) at the same
time, an error will occur and the ERROR LED will be lit.
(3) After the offset/gain settings are completed, verify that the offset and gain
values have been set correctly under actual usage conditions.
(4) The offset/gain values are stored in the module, and will not be erased even
the power is shut off.
REMARK
This program switches the channels where the offset/gain settings are performed
and writes the offset/gain values to the A/D conversion module.
In this example, the I/O signals for the A/D conversion module 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
M0
Switch to the channel where offset/gain settings will be performed
0
CH selection
MOVP
H1
D0
Channel
selection
M1
23
Offset
selection
T0
U0
K1
Channel
selection
M2
X0A
Gain
selection
Offset/gain
setting mode
K22
D0
Write the channel where offset
setting is performed.
T0
U0
K1
K23
K0
M2
51
Gain
selection
T0
U0
K1
Channel
selection
M1
X0A
Offset
selection
Offset/gain
setting mode
K23
D0
Write the channel where gain
setting is performed.
T0
U0
K1
K22
K0
M3
79
Channel-
change
selection
Y0B
Channel-
change
request
X0B
Channel-
change
completed flag
SET
X0B
82
Channel-
change
completed flag
Y0B
Channel-
change
request
RST
M4
84
User-range
writing
selection
Y0A
User-range
change
request
SET
X0A
108
Offset/gain
setting
mode
Y0A
User-range
change
request
RST
110
END
Register the results of the offset/gain settings to the module
Set Y0B (channel change
request) from ON to OFF, then
switch to the channel where
offset/gain settings will be
performed.
Содержание Q64AD
Страница 11: ...1 2 MELSEC Q 1 OVERVIEW MEMO...
Страница 13: ...2 2 MELSEC Q 2 SYSTEM CONFIGURATION MEMO...
Страница 31: ...3 18 MELSEC Q 3 SPECIFICATIONS MEMO...
Страница 43: ...4 12 MELSEC Q 4 SETUP AND PROCEDURES BEFORE OPERATION MEMO...
Страница 58: ...5 15 MELSEC Q 5 UTILITY PACKAGE SW0D5C QADU E Operating condition setting Offset gain setting 1...
Страница 61: ...5 18 MELSEC Q 5 UTILITY PACKAGE SW0D5C QADU E MEMO...
Страница 67: ...6 6 MELSEC Q 6 PROGRAMMING MEMO...
Страница 76: ...Index 3 MEMO...