User`s manual
6 - 9 6 - 9
MELSEC-Q
6 PROGRAMMING
(b) Auto refresh setting (see Section 5.5)
CH1 Digital output value..................."W11"
CH2 Digital output value..................."W12"
CH3 Digital output value..................."W13"
Error code ........................................."W14"
(c) Writing the intelligent function module parameters (see Section 5.3.3)
The intelligent function module parameters are written to the remote I/O
station.
This operation is performed using the parameter setting module selection
screen.
(3) Programming example
Read the A/D conversion
completed flag
Read the CH1 digital output value
Read the CH2 digital output value
Read the CH3 digital output value
Output the error code in BCD
Turn ON the error clear
request (YF)
Turn OFF the error clear
request (YF)
Digital output value read
X21 X120 X12E
Z.REMFR "J1" K1 K1 H2 K10 D10 K1 M300
Error code display and reset
X23 X12F
M300 M301 D10.0
D10.1
D10.2
X12FY12F
END
Y12F
Y12F
SET
RST
K3Y30W14BCD
D13W13MOV
D12W12MOV
D11W11MOV
POINT
To write the intelligent function module parameters, set the target remote I/O station
from [Online] - [Transfer setup] on GX Developer.
They can be written by:
• Directly connecting GX Developer to the remote I/O station.
• Connecting GX Developer to another device such as a CPU module and
passing through the network.