B-42
FX Series PLC User's Manual - Data Communication Edition
N:N Network
8 Practical Program Examples
8.1 Practical Example 1 (Pattern 2)
8.1.3
Setting contents
The program examples shown later adopt the following communication parameters:
8.1.4
Setting program for master station
For the master station setting program, refer to the program shown below.
The program shown below consists of three blocks, "parameter setting program", "error indication program"
and "operation program".
1. Parameter setting program
Caution
Pay close attention when setting up the N:N Network for the master station in a program using Structured
Ladder, FBD or ST programming in the FX
1S
, FX
1N
, FX
1NC
, FX
2N
or FX
2NC
PLC.
For details, refer to Section 7.2.
2. Error indication program
Because the master station does not recognize errors within itself (the master station), programs for errors
within itself are not required.
System device
Master station
Station No. 1
Station No. 2
Contents
D8176
K 0
K 1
K 2
Station number settings
D8177
K 2
—
—
Total number of slave stations: 2
D8178
K 2
—
—
Refresh range: Pattern 2
D8179
K 5
—
—
Number of retries: 5
D8180
K 7
—
—
Monitoring time: 70 ms
Parameter setting
M8038
Station number settings: 0 (master station)
Slave station quantity setting: 2 (2 slave stations)
Refresh range setting: 2 (pattern 2)
Number of retries setting: 5 (5 times)
Monitoring time setting: 7 (70 ms)
0
FNC 12
MOV
K 0
D8176
FNC 12
MOV
K 2
D8177
FNC 12
MOV
K 2
D8178
FNC 12
MOV
K 5
D8179
FNC 12
MOV
K 7
D8180
Make sure to start from step 0.
M8184
Data transfer sequence error in slave station No. 1
Y001
M8185
Data transfer sequence error in slave station No. 2
Y002
M8191
Data transfer sequence ON
Y003
Summary of Contents for FX-485ADP
Page 2: ......
Page 120: ...B 2 FX Series PLC User s Manual Data Communication Edition N N Network ...
Page 188: ...C 2 FX Series PLC User s Manual Data Communication Edition Parallel Link ...
Page 244: ...D 2 FX Series PLC User s Manual Data Communication Edition Computer Link ...
Page 344: ...E 2 FX Series PLC User s Manual Data Communication Edition Inverter Communication ...
Page 700: ...H 2 FX Series PLC User s Manual Data Communication Edition Programming Communication ...
Page 752: ...I 2 FX Series PLC User s Manual Data Communication Edition Remote Maintenance ...
Page 817: ......