6.3
Example Program (3)
6.3.1
Normal Mode
The ON/OFF states of the inputs X000 to X007 in the master station is output to the Y000 to the Y007 in the slave station (
➀
).
When the calculation result (D0 + D2) in the master station is 100 or less, the Y010 in the slave station is turned on (
➁
). The
ON/OFF status of the M0 to the M7 in the slave station is output to the Y000 to the Y007 in the master station (
➂
). The D10
value in the slave station is set to the timer (T0) in the master station (
➃
).
Master station
M8000
MOV K2X000
K2M800
M8070
ADD
D0 D2 D490
M8000
MOV K2M900 K2Y000
M8000
X010
T0
D500
END
1
2
3
4
Slave atation
MOV K2M800 K2Y000
M8071
CMP D490 K100 M10
MOV K2M0 K2M900
END
MOV D10 D500
M10
Y010
M8000
M8000
M8000
X010
1
2
3
4
6
FX
2N
-485-BD COMMUNICATION BOARD
PARALLEL LINK
6-3
Summary of Contents for FX2N-485-BD
Page 1: ...FX2N 485 BD COMMUNICATION BOARD USER S MANUAL ...
Page 3: ...FX2N 485 BD COMMUNICATION BOARD ...
Page 23: ...MEMO 3 FX2N 485 BD COMMUNICATION BOARD SPECIFICATIONS 3 2 ...
Page 57: ...MEMO 7 FX2N 485 BD COMMUNICATION BOARD N N NETWORK 7 20 ...
Page 63: ...MEMO 8 FX2N485 BD COMMUNICATION BOARD DIAGNOSTICS 8 6 ...
Page 64: ...MEMO 8 FX2N485 BD COMMUNICATION BOARD DIAGNOSTICS 8 7 ...
Page 65: ...MEMO 8 FX2N485 BD COMMUNICATION BOARD DIAGNOSTICS 8 8 ...