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.

PROFINET 40-9<br />

31.25 μs ≤ Tsend_cycle ≤ 4 ms<br />

Max 60% of Tsend_cycle<br />

RT_CLASS_3<br />

RED<br />

(optional)<br />

RT_CLASS_2<br />

ORANGE<br />

(optional)<br />

Prio<br />

7<br />

Prio 6<br />

RT_CLASS_2/1<br />

Prio<br />

6<br />

Prio<br />

5<br />

Green (mandatory)<br />

...<br />

Prio<br />

0<br />

Yellow<br />

(optional)<br />

Reserved interval<br />

Open interval<br />

FIGURE 40.3<br />

Bus cycle of PROFINET IO with IRT <strong>communication</strong>.<br />

The division of the cycle is shown in Figure 40.3.<br />

The following intervals are defined along with their properties in PROFINET:<br />

Red interval: Only RT_CLASS_3 frames may be forwarded through switches in this interval. The forwarding<br />

rules defined in IEEE 802.1D do not apply here. Instead, the forwarding rules defined in IEC 61158<br />

are used. The start time of the red interval is constantly synchronized. The chronological sequence of all<br />

RT_CLASS_3 frames is defined during engineering. If UDP/IP frames arrive or are generated (because<br />

the application is not IRT-capable) during a “red interval,” they are temporarily saved in an IRT-capable<br />

switch and are sent only after completion of the “reserved interval.” The frame IDs used to identify the different<br />

frames is specified during plant configuration in the engineering tool. The receipt of the cyclic data<br />

is timed exactly such that the synchronous application can be started directly without delays.<br />

Orange interval: Only RT_CLASS_2 frames may be forwarded through switches in this interval. The<br />

forwarding rules defined in IEEE 802.1D are used here. The “orange interval” starts (if present) immediately<br />

at the start of a “send clock” or after the “red interval.” RT_CLASS_2 frames require no prior<br />

planning. As a result, the available band width is not optimally used. Receipt of the cyclic data is not<br />

timed exactly. A safety reserve must therefore be included.<br />

Green interval: For forwarding of data frames in switches, the rules defined in IEEE 802.1D apply.<br />

Prioritization can occur based on IEEE 802.1Q (VLAN tag). If IRT frames arrive during the “green<br />

interval,” they are destroyed and an alarm message is generated. The important thing is that no jobs are<br />

still active at the end so that the reserved interval can start unhindered. A “green interval” does not have<br />

to exist within a phase.<br />

Yellow interval: The transition from the “green interval” to the “red interval” is preceded by a “yellow<br />

interval” in which an IRT-suitable switch accepts only jobs that can be completely transported before<br />

the start of the next “red interval.”<br />

For forwarding data frames in switches, the rules defined in IEEE 802.1D may be disabled to ensure<br />

the start of the next reserved phase. Prioritization can occur based on IEEE 802.1Q (VLAN tag). If the<br />

forwarding of these frames before the start of the next reserved interval is not assured, these frames are<br />

stored temporarily and sent in the next “green interval.”<br />

40.3.1 Flexible Communication Based on RT_CLASS_2 (Orange Interval)<br />

For <strong>communication</strong> during the “orange interval” in “switched Ethernet networks,” the configuration of end<br />

nodes is sufficient. During the power-up phase, all network components (switches) in between set up address<br />

tables can be used to forward the received frames to their appropriate destinations. The <strong>communication</strong> is<br />

trained in a quasi manner using “source and destination MAC addresses.” The rules defined in IEEE 802.1D<br />

are used here. In the “orange interval,” data must always be exchanged in conjunction with bus synchronization<br />

(synchronized RT_CLASS_2). Frames are transmitted within one Send clock in the “orange interval,” in<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!