
CHAPTER 6 COMMUNICATION FUNCTION
6-55
6.2.4 Pnet master slave communication in Smart I/O
Example 4
Communication module(Station 0) G4L-PUEA is installed in Master-K base slot, Smart I/O
module(GPL-TR2A, GPL-D22A, GPL-RY2A) as slave, respectively. 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.)
K300S master (Station 0, Pnet 0slot)
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
P004
-
4
K300S(Station 0)
(master)
Receiving: Station 2
-
M000
2
GPL-TR2A
(Station 1)
Receiving: K300S
Station 0
P004 - 2
GPL-D22A
(Station 2)
Sending: K300S Station
0
- M000
2
GPL-RY2A
(Station 3)
Receiving: K300S
Station 0
P005 - 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