Mitsubishi Electric FX3U-232-BD User Manual page 154

Melsec-f fx series programmable controllers data communication edition
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
N:N Network
Station No. 1
Data transfer sequence error
M8184
Station No. 2
Data transfer sequence error
M8185
Data transfer sequence ON
M8191
X000
X002
M10
M8000
FNC 12
MOV
FNC 12
MOV
Station No. 1
Data transfer
sequence error
M8184
M1066
FNC 12
MOV
FNC 12
MOV
B-36
Y000
Y001
Y010
M1000
M1001
M1002
K4M100
K4M1010
D100
D0
M1064
M0
M1065
Y011
M15
K4M1070
K4Y020
D10
D110
7.2 Creating Programs for Master Station (Station No. 0)
Program for indicating link errors
This program is required to indicate the N:N Network status.
When a link error occurs in the station No. 1, Y000 is
set to ON.
When a link error occurs in the station No. 2, Y001 is set
to ON.
• Create this step for each connected slave station.
Note that the devices to be used are different
depending on the PLC Series.
For FX
and FX
Series:
0N
1S
M505 to M511 (station No. 1 to station No. 7)
For any series other than FX
M8184 to M8190 (station No. 1 to station No. 7)
While the N:N Network is executed, Y010 remains ON.
• Note that the devices to be used are different
depending on the PLC Series.
For FX
and FX
Series: M503
0N
1S
For any series other than FX
Program for writing link devices
(master station → slave station)
This program is required to write information from the
master station to each slave station.
The information from X000 is written to M1000 (link device).
The information from X002 is written to M1001 (link device).
The information from M10 is written to M1002 (link device).
The information from M100 to M115 is written to M1010 to
M1025 (link devices).
The information from D100 is written to D0 (link device).
* In pattern 0, bit devices are not applicable.
Use word devices only.
Program for reading link devices
(master station ← slave station)
This program is required to read information from each
slave station to the master station.
Monitor link errors in each slave station, and read them.
The information from M1064 (link device) is read to M0.
The information from M1065 (link device) is read to Y011.
The information from M1066 (link device) is read to M15.
The information from M1070 to M1085 (link devices) is
read to Y020 to Y037.
The information from D10 (link device) is read to D110.
7 Creating Programs
and FX
Series:
0N
1S
and FX
Series: M8191
0N
1S

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents