Download Print this page

Example Program - LG G3L-PUEA User Manual

Programmable logic controller
Hide thumbs

Advertisement

Table of Contents
CHAPTER 6 COMMUNICATION FUNCTION

6.2 Example Program

6.2.1 Pnet master slave communication in GMWIN
Example 1
Communication module (Station 0) G4L-PUEA is installed in GM4 base slot 0, communication
module G7L-PBEA in GM7. This is the program for sending/receiving the data from station
0(master) to station 1(slave).
(Refer to I/O configuration map.)
GM4 master (Station 0, Pnet slot 0)
• I/O configuration map
Sending/receiving configuration
GM4 (Station 0)
(master)
GM7 (Station 1)
(slave)
Reading area
Sending:GM7
Station 1
Receiving:GM7
Station 1
Sending:GM4
Station 0
Receiving:GM4
Station 0
6-28
GM7 slave (Station 1, G7L-PBEA)
Saving area
%MW0
-
-
%QW0.1.0
%MW10
-
-
%QW0.0.0
Size(byte)
64
64
64
64

Advertisement

Table of Contents
loading

  Related Manuals for LG G3L-PUEA

This manual is also suitable for:

G6l-puebG3l-puebG4l-pueaG4l-puebG7l-pbeaG6l-puea