23.03.2017 Views

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

Create successful ePaper yourself

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

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

The logic and modes of operation of the new system shall remain the same. The changes to the FB<br />

model will closely follow the changes introduced into the physical system. For each new peripheral element,<br />

we have added a new FB. There is only one extra FB FREQ not corresponding to any physical component.<br />

This block implements a global variable storing the current flashing frequency value.<br />

The frequency is set by the time-setting knob and can be changed (increased or decreased) as a result<br />

of pressing buttons “+” and “−.” The current flashing frequency value is passed to the numeric display<br />

and to the “pulse” generator in the FB PERIODIC.<br />

It is interesting that we did not need to change the logic at all! We just added one more FB LOGIC2<br />

and “cascaded” it after LOGIC1. When the running light reaches the rightmost or leftmost position at<br />

the LED block, it “jumps” to the next LED block. For that, the event output CR of one block is connected<br />

to the event input NEW of the other.<br />

Similar to the first version of the system, the extended system can be easily simulated by substituting<br />

FBs interfacing physical peripheral devices by the FBs imitating this on screen.<br />

55.5 Distribution<br />

IEC 61499 implies a two-stage design process. First, an application is created as a network of FBs. At<br />

this stage, <strong>communication</strong> between FBs is abstract, implemented via event and data flow arcs. Second,<br />

the application can be distributed across several devices as illustrated in Figure 55.6. The connections<br />

Application<br />

FB2<br />

Device 1<br />

FB2<br />

Device border<br />

crossing points:<br />

here Communication<br />

Function Blocks<br />

for inter-device<br />

<strong>communication</strong><br />

are to be inserted<br />

FB1<br />

FB1<br />

Device 2<br />

FB3<br />

FB3<br />

Device 1<br />

FB2<br />

Device 2<br />

Subscribe<br />

FB1<br />

Publish<br />

Subscribe<br />

FB3<br />

Publish<br />

Network<br />

FIGURE 55.6 Distribution of the application across two devices: the connections between blocks which are mapped<br />

to the same device are preserved. The connections crossing the device boundaries are appended by <strong>communication</strong><br />

FBs. (From Vyatkin, V., IEC 61499 Function Blocks for Embedded Control Systems Design, Instrumentation Society of<br />

America, Research Triangle Park, NC, 2007.)<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!