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-3<br />

Data producer<br />

Data consumer<br />

Data consumer<br />

Applicat.<br />

layer<br />

Data link<br />

layer<br />

Physical<br />

layer<br />

Logical flow<br />

Physical flow<br />

FIGURE 34.2<br />

The basic producer–consumer data transfer.<br />

LLC sublayer exploits the <strong>communication</strong> channel made available by MAC and provides two main<br />

kinds of services:<br />

• Services to read/write/transfer process data that are contained into suitable reception/transmission<br />

buffers<br />

• Services to request the confirmed/unconfirmed transmission of message files<br />

Figure 34.2 shows the basic mechanism adopted in WorldFip for data transfer, which is performed<br />

in several steps:<br />

• The user (producer) passes to the AL the information to be transferred to remote consumers.<br />

• The AL entity stores the information inside a buffer that can be read by the DLL entity.<br />

• The DLL entity through the physical medium, transfers such information into the remote buffers<br />

of the various consumers.<br />

• The information is read by the remote ALs and delivered to the consumer processes.<br />

• This sequence is repeated cyclically and is well suited for periodic data transfer.<br />

34.3.1 transmission of Cyclic Traffic<br />

As stated earlier, the task of the DLL is to read a buffer and to transfer its data through the bus. Since<br />

the bus is a shared medium, in order to avoid collisions, it is necessary to organize suitably the various<br />

transmissions. This is the task of the BA, a station that carries out a key role in the system by providing<br />

the authorization for each buffer transfer.<br />

The mechanism adopted for the transmission of cyclic traffic is shown in Figure 34.3 and is executed<br />

through the following steps:<br />

• The BA broadcasts, on the bus, an identifier (ID_DAT) that implicitly specifies all stations<br />

involved in the current transaction. One station will be the producer of the information, whereas<br />

the other ones will be the consumers.<br />

• The identifier is received by both the producer and consumers.<br />

• The producer sends its message (RP_DAT) on the bus.<br />

• The consumers that are involved into the transaction accept the data.<br />

This sequence illustrates clearly the role of BA which, through a single message, identifies the role of all<br />

stations participating to the next phases. All devices receive the identifier but only one will identify itself as<br />

a producer, whereas all the others will be consumers. The architecture of the BA is shown in Figure 34.4. As<br />

we can see, the BA is more than simply a scheduler as it must also cope with asynchronous requests from<br />

nonscheduled traffic. For this reason, the BA must monitor the bus and check for some additional information<br />

that the producer will incorporate in its frame with reference to some additional bandwidth request.<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!