user's manual - Ana-Digi Systems
user's manual - Ana-Digi Systems
user's manual - Ana-Digi Systems
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
CHAPTER 6 COMMUNICATION FUNCTION<br />
6.2 Example Program<br />
6.2.1 Pnet master slave communication in GMWIN<br />
Example 1<br />
Communication module (Station 0) G4L-PUEA is installed in GM4 base slot 0, communication<br />
module G7L-PBEA in GM7. This is the program for sending/receiving the data from station<br />
0(master) to station 1(slave).<br />
(Refer to I/O configuration map.)<br />
GM4 master (Station 0, Pnet slot 0)<br />
GM7 slave (Station 1, G7L-PBEA)<br />
OUT<br />
OUT<br />
OUT<br />
OUT<br />
OUT<br />
Pnet<br />
CPU<br />
PWR<br />
• I/O configuration map<br />
Sending/receiving configuration Reading area Saving area Size(byte)<br />
GM4 (Station 0)<br />
(master)<br />
GM7 (Station 1)<br />
(slave)<br />
Sending:GM7<br />
Station 1<br />
Receiving:GM7<br />
Station 1<br />
Sending:GM4<br />
Station 0<br />
Receiving:GM4<br />
Station 0<br />
%MW0 - 64<br />
- %QW0.1.0 64<br />
%MW10 - 64<br />
- %QW0.0.0 64<br />
6-28