03.04.2014 Views

user's manual - Ana-Digi Systems

user's manual - Ana-Digi Systems

user's manual - Ana-Digi Systems

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 6 COMMUNICATION FUNCTION<br />

6.2.4 Pnet master slave communication in Smart I/O<br />

Example 4<br />

Communication module(Station 0) G4L-PUEA is installed in Master-K base slot, Smart I/O<br />

module(GPL-TR2A, GPL-D22A, GPL-RY2A) as slave, respectively. This is the program<br />

example for sending/receiving the data from Station 0 (master) to Station 1(GPL-TR2A),<br />

Station 2(GPL-D22A), Station 3(GPL-RY2A). (Refer to I/O configuration map.)<br />

K300S master (Station 0, Pnet 0slot)<br />

OUT<br />

OUT<br />

OUT<br />

OUT<br />

OUT<br />

Pnet<br />

CPU<br />

P WR<br />

Station 1 GPL-TR2A Station 2 GPL-D22A Station 3 GPL-RY2A<br />

• I/O configuration map<br />

Sending/receiving configuration Reading area Saving area Size(byte)<br />

K300S(Station 0)<br />

Sending: Station 1 & 3 P004 - 4<br />

(master) Receiving: Station 2 - M000 2<br />

GPL-TR2A<br />

(Station 1)<br />

GPL-D22A<br />

(Station 2)<br />

GPL-RY2A<br />

(Station 3)<br />

Receiving: K300S<br />

Station 0<br />

Sending: K300S Station<br />

0<br />

Receiving: K300S<br />

Station 0<br />

P004 - 2<br />

- M000 2<br />

P005 - 2<br />

6-55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!