23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Communication Aspects of IEC 61499 Architecture 55-13<br />

Different addresses of devices<br />

Device 1 Device 2<br />

INIT<br />

INITO<br />

INIT<br />

INITO<br />

REQ<br />

CNF<br />

RSP<br />

IND<br />

Same ID<br />

CLIENT_2_1<br />

SERVER_1_2<br />

as the server<br />

has:<br />

QI QO<br />

QI QO<br />

147.11.22.4:2048 ID STATUS<br />

Localhost:2048 ID STATUS<br />

15 SD_1 RD_1 3<br />

3 SD_1 RD_1 15<br />

147.11.22.3:1501 MGR_ID 23 SD_2<br />

147.11.22.4:1499 MGR_ID<br />

RD_2 23<br />

FIGURE 55.10 Point-to-point bidirectional <strong>communication</strong> implemented using SERVER_1_2 and<br />

CLIENT_2_1 FBs.<br />

55.8 adding Distribution and Communication<br />

to the Sample System<br />

In this section, we see how distribution and <strong>communication</strong> can be added to our extended example<br />

from Figure 55.5. Assume that the peripherals are grouped into three networking devices as shown in<br />

Figure 55.11. There are two LED panels (LED1 and LED2), one of which (LED1) has increase–decrease<br />

speed buttons and control panel (device panel) for setting parameters of the running lights process.<br />

The devices are connected by two different networks: LED1 and LED2 with a DeviceNet segment, while<br />

Panel and LED1 with Ethernet.<br />

These physical connections need to implement the logical connection between the devices that can<br />

be different. Thus, LED2 and panel have no direct physical connection, but information flow from Panel<br />

to LED2 is required.<br />

In terms of IEC 61499, network topology of this system can be described within a simulation system<br />

configuration as shown in Figure 55.12. The system configuration is supposed to produce on-screen<br />

simulation of our system; that is why three devices have type “FRAME_DEVICE.”<br />

The FB application capturing the behavior logic of this system is exactly the same as was seen in Figure<br />

55.8. Applying the mapping technique for distribution of our application across these three devices, we<br />

obtain the system configuration with explicit <strong>communication</strong> as shown in Figure 55.13.<br />

The <strong>communication</strong> FBs SEND/RCV used in the distributed version of our system implement the<br />

point-to-point <strong>communication</strong> model. They are similar to PUBLISH/SUBSCRIBE, with the only difference<br />

that multicast is not supported. We also assume that if the ID parameter is left blank, then the<br />

compiler inserts the instance name as the ID, and each ID uniquely belongs to a pair of SEND and<br />

RCV FBs. (This way of addressing is implemented for the local <strong>communication</strong> FBs PUBL/SUBL in<br />

FBDK/FBRT.)<br />

There are two modifications of the SEND/RCV FBs, one for <strong>communication</strong> over MODBUS<br />

protocol and the other for <strong>communication</strong> in DeviceNet using the CIP. The latter FBs are called<br />

CIP_SEND_n/CIP_RCV_n.<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

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

Saved successfully!

Ooh no, something went wrong!