Creating A Program For Each Slave Station - 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
6.2.2

Creating a program for each slave station.

Create the program shown below for the communication test. (This program is not required during actual
operation.)
Determine the station number of each slave station, and then transfer a program corresponding to the station
number to each slave station.
Assign station numbers from "1" in the ascending order. (Use one station number only once. Do not skip
station numbers.)
M8038
0
M8000
8
M8000
14
Specify link device numbers for
other slave stations. (Do not specify
the device number (D10) for this
slave station.)
Cautions
1) When using a PLC (such as an FX
from slave stations to auxiliary relays (M), etc., and then monitor the auxiliary relays using a programming
tool. (Example: Change "K1Y004" to "K1M4".)
2) In the circuit from step 14, specify link devices for other slave stations.
FNC 12
K1
D8176
MOV
M8179
FNC 12
K1X000
D10
MOV
Specify the link device
number for this slave
station.
FNC 12
D0
K1Y000
MOV
FNC 12
D20
K1Y010
MOV
FNC 12
D30
K1Y014
MOV
FNC 12
D70
K1Y034
MOV
END
Series PLC) with a small number of outputs, transfer information
1S
6.2 Creating Programs for the Communication Testing
Set the slave station number to D8176.
The setting range is from K1 to K7.
When using ch1, this step is not required.
When using ch2, program "OUT M8179."
(Only in the FX
and FX
)
3U
3UC
Step for writing information from a slave station (slave
station → master station)
Transfer the contents of X000 to X003 in this slave station
to a link device. The link device varies depending on the
station number.
The table below shows the link devices to be used:
Slave station No.
Link device
1
D10
2
D20
3
D30
4
D40
5
D50
6
D60
7
D70
Step for reading information from the master station (master
station → slave station)
The contents of X000 to X003 in the master station are
transferred to outputs (Y) in this slave station.
Steps for reading information from another slave station
(another slave stations → this slave station)
By using link devices, read information from all other slave
stations.
The table below shows the link devices to be used:
Slave station No.
Link device
1
D10
2
D20
3
D30
4
D40
5
D50
6
D60
7
D70
6 Test Run (Communication Test)
Output (Y)
Y004 to Y007
Y010 to Y013
Y014 to Y017
Y020 to Y023
Y024 to Y027
Y030 to Y033
Y034 to Y037
Output (Y)
Y004 to Y007
Y010 to Y013
Y014 to Y017
Y020 to Y023
Y024 to Y027
Y030 to Y033
Y034 to Y037
B-27
A
B
C
D
E
F
G
H
I
Apx.

Advertisement

Table of Contents
loading

Table of Contents