7
COMMUNICATION EXAMPLES
This chapter describes communications between the master station and local station.
7.1
Communication Example of the Master Station
and Local Stations
The following system configuration is used to explain communication between the master station and local station.
System configuration
• Power supply module: R61P
• CPU module: R04CPU
• Master/local module: RJ71GN11-T2 (start I/O number: 0000H to 001FH)
No.0
No.0: Master station (station No.0)
No.1: Local station (station No.1)
No.2: Local station (station No.2)
Link device assignment
For RX, RY, RWr, and RWw, 256 points are assigned to each station.
For LB and LW, 512 points are assigned to each station.
Unicast mode
■RX/RY assignment
Each of the following No.0 to No.2 represents a station number.
No.0 is master station, and No.1 and No.2 are local stations.
R04CPU
X
1000H
No.1
10FFH
1100H
No.2
11FFH
Y
1000H
→No.1
10FFH
1100H
→No.2
11FFH
No.1, No.2: Send range to station No.1, send range to station No.2
No.1, No.2: Send range from station No.1, send range from station No.2
7 COMMUNICATION EXAMPLES
60
7.1 Communication Example of the Master Station and Local Stations
No.1
No.0
RX
0000H
No.1
00FFH
0100H
No.2
01FFH
RY
0000H
→No.1
00FFH
0100H
→No.2
01FFH
No.2
No.1
RX
0000H
No.1
00FFH
0100H
01FFH
RY
0000H
←No.1
00FFH
0100H
01FFH
No.2
R04CPU
RX
X
0000H
00FFH
0100H
No.2
No.2
01FFH
Y
RY
0000H
00FFH
0100H
←No.2
←No.2
01FFH
1000H
10FFH
1100H
11FFH
1000H
10FFH
1100H
11FFH