Creating Programs For Master Station (Station No. 0) - Mitsubishi Electric FX3U-232-BD User Manual

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
7.2

Creating Programs for Master Station (Station No. 0)

Create programs for the master station.
Arbitrarily create programs for reading and writing link devices.
Parameter setting
M8038
FNC 12
0
MOV
FNC 12
MOV
FNC 12
MOV
FNC 12
MOV
FNC 12
MOV
Cautions on setting up the N:N Network
Note the following cautions when creating a program using Structured Ladder, FBD or ST programming in the
FX
, FX
, FX
1S
1N
1NC
• When setting up the N:N Network in a program using Structured Ladder or FBD programming, connect the
ENO output to the EN input for the MOV instruction.
<Program example>
Parameter setting
M8038
MOV
EN
ENO
s
d
K0
MOV
EN
ENO
s
d
K5
• When setting up the N:N Network in a program using ST programming, use the MOV instruction as shown
in the following program example.
< Program example >
MOV(MOV(MOV(MOV(MOV(M8038, K0, D8176), K2, D8177), K1, D8178), K3, D8179), K5, D8180);
K0
D8176
K2
D8177
K1
D8178
K3
D8179
K5
D8180
Channel
setting
M8179
, FX
or FX
PLC.
2N
2NC
MOV
EN
ENO
s
d
D8176
K2
D8177
D8180
7.2 Creating Programs for Master Station (Station No. 0)
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: 0 (master station)
Station number "0" indicates the master station.
Slave station quantity setting: 2 (2 slave stations)
Set the number of connected slave stations.
[Setting range: 1 to 7]
Refresh range setting: 1 (pattern 1)
Set the pattern of devices used in communication.
[Setting range: 0 to 2]
(Only pattern 0 is applicable in the FX
Series.)
Number of retries: 3 (3 times)
Set the number of retrying communication after a link
error is detected.
[Setting range: 0 to 10]
Monitoring time: 5 (50 ms)
Set the time by which communication error is determined.
[Setting range: 5 to 255]
Set the communication port to be used.
When using ch1, this step is not required.
When using ch2, program "OUT M8179".
(in the FX
, FX
, FX
and FX
3G
3GC
3U
MOV
EN
ENO
s
d
K1
D8178
7 Creating Programs
or FX
0N
1S
)
3UC
MOV
EN
ENO
s
d
K3
D8179
B-35
A
B
C
D
E
F
G
H
I
Apx.A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents