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.

WorldFip 34-7<br />

Write service<br />

Read service<br />

Layer 7<br />

Layer 2<br />

Layer 1<br />

V S<br />

Variable<br />

status<br />

7 V S<br />

Producer<br />

2 Consumer<br />

1<br />

FIGURE 34.6<br />

Transfer of a variable from the producer to the consumer.<br />

Information timeliness is one main feature of WorldFip protocol, and to this aim when a user<br />

receives a variable he or she can also receive information regarding its freshness. This is obtained<br />

through a Boolean flag that can be bound to each variable to be consumed by the application<br />

processes.<br />

Figure 34.6 shows how the timeliness information is processed and transferred from the producer<br />

process to the consumer. A producer process (in the left side of Figure 34.6) uses a write<br />

service to store the variable value inside a suitable buffer, and a refreshment status check process<br />

evaluates the timeliness of this value with reference to a theoretical refresh period (TRP). Each time<br />

a new value is stored in the buffer, the status flag is set “true” and a timer is started with a duration<br />

equal to the TRP. If the timer expires before the variable is refreshed with a new sample, the status<br />

flag is reset to “false.” In this way, when the consumer process receives the variable, it can know if<br />

its value has been correctly refreshed or not.<br />

34.5 timing Properties of WorldFIP Networks<br />

As stated earlier, timeliness is one fundamental property that strongly features the WorldFIP protocol<br />

and differentiates it from other fieldbuses. In this section, we will analyze and evaluate some important<br />

timing properties of WorldFIP with reference to the construction of the scan table and the transmission<br />

of asynchronous traffic.<br />

34.5.1 Concept of Producer/Distributor/Consumer<br />

As stated earlier, in WorldFIP, the exchange of identified variables services are based on a producer/<br />

distributor/consumer (PDC) model, which relates producers and consumers within the distributed<br />

system. In this model, for each process variable there is one, and only one producer, and several<br />

consumers. In order to manage transactions associated with a single variable, a unique identifier<br />

is associated with each variable. The WorldFIP DLL is made up of a set of produced and consumed<br />

buffers, which can be locally accessed (through AL services) or remotely accessed (through network<br />

services).<br />

The AL provides two basic services to access the DLL buffers: L _PUT.req, to write a value in a local<br />

produced buffer, and L_GET.req, to obtain a value from the local consumed buffer. None of these<br />

services generate activity on the bus. Produced and consumed buffers can be also remotely accessed<br />

through a network transfer service (also known as buffer transfer). The BA broadcasts a question frame<br />

ID _DAT, which includes the identifier of a specific variable. The DLL of the station that has the corresponding<br />

produced buffer responds using a response frame RP _DAT. The DLL of the station that contains<br />

the produced buffer then sends an indication to the AL (L_SENT.ind). The DLL of the station(s)<br />

that has the consumed buffers accepts the value contained in the RP _DAT, overwriting the previous<br />

value and notifying the local AL with a L _RECEIVED.ind.<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!