Rockwell Automation 1775-S5_SR5,D17756.5.5 User Manual PLC-3 FAMILY I/0 User Manual

Page 54

Advertising
background image

I/O Communication

Chapter 3

3-6

Important: You can control the information that is transferred by using
multiple rungs to transfer different information to the output file,
depending on the rung conditions. However, remember that the output file
contains only the last data that moves into each location.

The peer-to-peer transfer is independent of program scan and a file can be
transferred before being fully updated by the ladder program.

Figure 3.4 shows an example of the ladder rungs that receive data in input
file FI001. Data in the input file of the receiving controller corresponds to
the data in the output file of the transmitting controller.

In the example rungs shown in Figure 3.3 and Figure 3.4:

input word 5 of the receiving controller reflects accumulated value for

counter 8 in the transmitting controller

the first 10 words of binary file 1 in the receiving controller reflect the

status of the corresponding words in the transmitting controller

In both examples, remember that either the transmitting or receiving
controller could be the master, provided that the other controller is a slave.
The master communicates with each slave on the channel, but the slaves
communicate only with the master.

Figure 3.4

Example Rungs in the Receiving Controller on a PeerĆtoĆpeer

Communication Channel

12

A = B

A : WI001:0005

B : WN001:0002

6

EQU

00007

EN

FILES FROM A TO R

A : FI001:0010

R : FB001:0000

COUNTER : C0009

DN

ER

MVF

C0009

12

C0009

15

C0009

13

0000000000000110

POS/LEN = 0/ 10

MODE = ALL/SCAN

Advertising