Example Program; System Configuration; Operations - Mitsubishi Electric MELSEC FX Series User Manual

Programmable logic controllers
Hide thumbs Also See for MELSEC FX Series:
Table of Contents

Advertisement

FX communication
4.3

Example Program

4.3.1

System Configuration

Master station (No.0)
FX
2N
FX
2N
Refresh range: 32 bit devices and 4 word devices (Pattern 1)
Retry count: 3 times
Comms time-out: 5 (50 ms)
4.3.2

Operations

The following operations are performed in the system configuration above.
1 ) The input points X000 to X003 (M1000 to M1003) in the master station are output to the
output points Y010 to Y013 in the stations Nos.1 and 2.
2 ) The input points X000 to X003 (M1064 to M1067) in the station No.1 are output to the output
points Y014 to Y017 in the master station and the station No.2.
3 ) The input points X000 to X003 (M1128 to M1131) in the station No.2 are output to the output
points Y020 to Y023 in the master station and the station No.1.
4 ) The data register D1 in the master station is specified as the set value of the counter C1 in
the station No.1.
The contact (M1070) status of the counter C1 is reflected on the output point Y005 in the
master station.
5 ) The data register D2 in the master station is specified as the set value of the counter C2 in
the station No.2.
The contact (M1140) status of the counter C2 is reflected on the output point Y006 in the
master station.
6 ) The value of the data register D10 in the station No.1 and the value of the data register D20
in the station No.2 are added in the master station, and saved to the data register D3.
7 ) The value of the data register D10 in the master station and the value of the data register
D20 in the station No.2 are added in the station No.1, and saved to the data register D11.
8 ) The value of the data register D10 in the master station and the value of the data register
D10 in the station No.1 are added in the station No.2, and saved to the data register D21.
Slave station (No.1)
-485-BD
FX
2N
FX
2N
-485-BD
N:N network 4
Slave station (No.2)
FX
-485-BD
2N
4
4-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rs-232cRs-422Rs-485

Table of Contents