Practical Program Examples; Contents Of Operations And Corresponding Program Numbers; Practical Example 1 (Pattern 2; System Configuration Example - 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
8.

Practical Program Examples

This chapter shows practical programs.
8.1

Practical Example 1 (Pattern 2)

This program example adopts pattern 2 which uses the maximum number of link devices.
When an FX
or FX
0N
8.1.1

System configuration example

The example below shows a system configuration in which three FX PLCs are linked.
FX
PLC
2N
FX
-485-BD
2N
Station No. 0 (master station)
- Refresh range: 64-bit devices and 8 word devices (pattern 2)
- Number of retries: 5
- Monitoring time: 70 ms
8.1.2

Contents of operations and corresponding program numbers

The program examples shown later execute the data processing shown in the table below.
The operation No. corresponds to the operation [1] (for example) indicated in the programs shown later.
Operation
No.
Bit device link
[1]
Master station
[2]
Slave station No. 1
[3]
Slave station No. 2
Word device link
Master station
[4]
Slave station No. 1 Contact of counter C1 (M1070) Master station
Master station
[5]
Slave station No. 1 Contact of counter C2 (M1140) Master station
Slave station No. 1 Data register D10
[6]
Slave station No. 2 Data register D20
Master station
[7]
Slave station No. 2 Data register D20
Master station
[8]
Slave station No. 1 Data register D10
PLC is included, however, only pattern 0 is applicable.
1S
FX
PLC
2N
FX
-485-BD
2N
Station No. 1 (slave station)
Data source
Inputs X000 to X003
(M1000 to M1003)
Inputs X000 to X003
(M1064 to M1067)
Inputs X000 to X003
(M1128 to M1131)
Data register D1
Data register D2
Data register D0
Data register D0
8 Practical Program Examples
8.1 Practical Example 1 (Pattern 2)
FX
PLC
2N
FX
-485-BD
2N
Station No. 2 (slave station)
Data change destination and contents
Slave station No. 1 Outputs Y010 to Y013
Slave station No. 2 Outputs Y010 to Y013
Master station
Outputs Y014 to Y017
Slave station No. 2 Outputs Y014 to Y017
Master station
Outputs Y020 to Y023
Slave station No. 1 Outputs Y020 to Y023
Slave station No. 1 Set value of counter C1
Output Y005
Slave station No. 1 Set value of counter C2
Output Y006
Slave station No. 1 (D10) + Slave
Master station
station No. 2 (D20) is stored to D3.
Master station (D0) + Slave station
Slave station No. 1
No. 2 (D20) is stored to D11.
Master station (D0) + Slave station
Slave station No. 2
No. 1 (D10) is stored to D21.
A
B
C
D
E
F
G
H
I
Apx.
B-35

Advertisement

Table of Contents
loading

Table of Contents