4 - 13 4 - 13
MELSEC-Q
4 SETUP AND PROCEDURES BEFORE OPERATION
M0
Switch to the channel where offset/gain settings will be performed
0
CH selection
MOV
H1
D0
Channel
selection
M1
25
Offset
T0
U0
K1
Channel
selection
M2
X0A
Gain
Offset/gain
setting mode
K22
D0
T0
U0
K1
K23
K0
M1
53
Offset
T0
U0
K1
Channel
selection
M2
X0A
Gain
Offset/gain
setting mode
K22
K0
T0
U0
K1
K23
D0
M3
81
CH
change
Y0B
Channel-
change
request
X0A
Offset/gain
setting mode
SET
X0B
84
Channel-
change
completed flag
Y0B
Channel-
change
request
RST
M4
86
Setting the
change
value
D1
Adjustment
amount
K100
170
END
Set the amount of each change within the range from –3000 to 3000 during adjustment
Set Y0B (channel change
request) from ON to OFF, then
switch to the channel where
offset/gain settings will be
performed.
MOV
Adjustment
amount
T0
U0
K1
K24
D1
M5
124
CH
change
Y0C
Set value
change
request
X0A
Offset/gain
setting mode
SET
X0C
141
Set value change
completed flag
Y0C
Set value
change
request
RST
Adjust the analog output value
M6
143
Analog
output
value change
Y0A
User range
writing
request
X0A
Offset/gain
setting mode
SET
X0A
168
Offset/gain
setting mode
Y0A
User range
writing
request
RST
Register the result of offset/gain settings in the module
Write to the channel where
offset setting is performed.
Write to the channel where
gain setting is performed.