
CHAPTER 6 COMMUNICATION FUNCTION
6-38
6.2.2 Smart I/O Pnet master slave communication in GMWIN
Example 2
Communication module(Station 0) G4L-PUEA is installed in GM4 base slot and Smart I/O
module(GPL-TR2A, GPL-D22A, GPL-RY2A) is installed as slave. This is the program example
for sending/receiving the data from Station 0 (master) to Station 1(GPL-TR2A), Station 2(GPL-
D22A), Station 3(GPL-RY2A).(Refer to I/O configuration map.)
GM4 master (Station 0, Pnet slot 0)
Station 1 GPL-TR2A Station 2 GPL-D22A Station 3 GPL-RY2A
•
I/O configuration map
Sending/receiving configuration
Reading area
Saving area
Size(byte)
Sending: Station 1 & 3
%MW0
-
4
GM4(Station 0)
(master)
Receiving: Station 2
-
%QW0.2.0
2
GPL-TR2A
(Station 1)
Receiving:GM4 Station 0
%MW0
-
2
GPL-D22A
(Station 2)
Sending:GM4 Station 0
-
%QW0.2.0
2
GPL-RY2A
(Station 3)
Receiving:GM4 Station 0
%MW1
-
2
P
W
R
C
P
U
P
n
e
t
O
U
T
O
U
T
O
U
T
O
U
T
O
U
T