Program For Master Station - Mitsubishi FX3U-USB-BD User Manual

Melsec-f fx series programmable controllers
Hide thumbs Also See for FX3U-USB-BD:
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
Parallel Link
8.1.3

Program for master station

For the master station, refer to the program shown below.
RUN monitor
M8000
RUN monitor
M8000
FNC 20
ADD
X010
8.1.4
Program for slave station
For the slave station, refer to the program shown below.
RUN monitor
M8000
RUN monitor
M8000
FNC 10
CMP
M10
X010
M8070
FNC 12
K2X000 K2M800
MOV
D0
D2
D490
FNC 12
K2M900 K2Y000
MOV
T0
D500
M8071
FNC 12
K2M800 K2Y000
MOV
D490
K100
M10
Y010
FNC 12
K2M0
K2M900
MOV
FNC 12
D10
D500
MOV
8.1 Practical Example 1 (Regular Parallel Link Mode)
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.
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.
8 Practical Program Examples
Apx.
C-47
A
B
C
D
E
F
G
H
I

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents