
CHAPTER 6 COMMUNICATION FUNCTION
6-46
6.2.3 Pnet master slave communication in KGLWIN
Example 3
Communication module (Station 0) G4L-PUEA is installed in K300S base slot 0, communication
module G7L-PBEA in K80S, respectively. This is the program for sending/receiving the data
from Station 0(master) to Station 1(slave).
(Refer to I/O configuration map.)
K300S master (Station 0, Pnet slot 0) K80S slave (Station 1, G7L-PBEA)
•
I/O configuration map
Sending/receiving configuration
Reading area
Saving area
Size(byte)
Sending:K80S
Station 1
P004 -
2
K300S(Station 0)
(master)
Receiving:K80S
Station 1
- P002 2
Sending:K300S
Station 0
P009 -
2
K80S(Station 1)
(slave)
Receiving:K300S
Station 0
- P004 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