Creating Programs For Slave Station (Station No. "N - Mitsubishi FX3U-232-BD User Manual

Fx3u series
Hide thumbs Also See for FX3U-232-BD:
Table of Contents

Advertisement

FX Series PLC User's Manual - Data Communication Edition
N:N Network
7.3

Creating Programs for Slave Station (Station No. "n")

Create programs for the slave stations.
Arbitrarily create programs for reading and writing link devices.
Parameter setting
M8038
0
Station No. 0
Data transfer sequence error
M8183
Station No. 2
Data transfer sequence error
M8185
Data transfer sequence ON
M8191
X000
X002
M10
M8000
B-32
FNC 12
K1
D8176
MOV
Channel
setting
M8179
Y000
Y001
Y010
M1064
M1065
M1066
FNC 12
K4M100
K4M1070
MOV
FNC 12
D100
D10
MOV
7.3 Creating Programs for Slave Station (Station No. "n")
Program for setting the N:N Network
Make sure to start the program for setting the N:N Network
from step 0.
Station number setting: 1 (slave station)
Set the station number of each slave station.
Only set the station number for the slave station;
Other settings are not required.
Set the communication port to be used (in the FX
FX
).
3UC
When using ch1, this step is not required.
When using ch2, program "OUT M8179".
Program for indicating link errors
This program is required to indicate the N:N Network status.
When a link error occurs in station No. 0, Y000 is set to ON.
When a link error occurs in 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
M504 to M511 (station No. 0 to station No. 7)
For any series other than FX
M8183 to M8190 (station No. 0 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
(slave station → master or slave station)
This program is required to write information from a slave
station to the master station or another slave station.
The information from X000 is written to M1064 (link device).
The information from X002 is written to M1065 (link device).
The information from M10 is written to M1066 (link device).
The information from M100 to M115 is written to M1070 to
M1085 (link devices).
The information from D100 is written to D10 (link device).
* In pattern 0, bit devices are not available.
Use word devices only.
7 Creating Programs
and
3U
and FX
Series:
0N
1S
and FX
Series: M8191
0N
1S

Advertisement

Table of Contents
loading

Table of Contents