C-48
FX Series PLC User's Manual - Data Communication Edition
Parallel Link
8 Practical Program Examples
8.1 Practical Example 1 (Regular Parallel Link Mode)
8.1.3
Program for master station
For the master station, refer to the program shown below.
8.1.4
Program for slave station
For the slave station, refer to the program shown below.
RUN monitor
M8000
M8070
D0
D2
FNC 20
ADD
D490
K2X000 K2M800
FNC 12
MOV
RUN monitor
M8000
K2M900 K2Y000
FNC 12
MOV
T0
D500
The ON/OFF status of inputs X000 to X007 in the master
station is output to Y000 to Y007 in the slave station.
When the calculation result (D0 + D2) in the master
station is moved to D490 of the slave station.
The ON/OFF status of M0 to M7 in the slave station is
output to Y000 to Y007 in the master station.
The value of D10 in the slave station is stored to the timer
setting (T0) in the master station.
X010
RUN monitor
M8000
M8071
D490
K100
FNC 10
CMP
M10
K2M800 K2Y000
FNC 12
MOV
RUN monitor
M8000
K2M0
K2M900
FNC 12
MOV
Y010
The ON/OFF status of inputs X000 to X007 in the master
station is output to Y000 to Y007 in the slave station.
When the calculation result (D0 + D2) in the master
station is 100 or less, Y010 is set to ON in the slave
station.
The ON/OFF status of M0 to M7 in the slave station is
output to Y000 to Y007 in the master station.
The value of D10 in the slave station stored to the timer
setting (T0) in the master station.
X010
M10
D10
D500
FNC 12
MOV
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......