FX
-485-BD COMMUNICATION BOARD
2N
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
M8000
ADD
D0
M8000
MOV
K2M900 K2Y000
X010
M8070
K2M800
1
D2
D490
2
3
T0
4
D500
END
PARALLEL LINK
Slave atation
M8000
MOV
K2M800
K2Y000
M8000
CMP
D490 K100 M10
M10
M8000
MOV
K2M0
K2M900
X010
MOV
D10
D500
6
M8071
1
2
Y010
3
4
END
6-3