02.02.2018 Views

Practical_modern_SCADA_protocols_-_dnp3,_60870-5_and_Related_Systems

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

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

Fundamentals of distributed network protocol 75<br />

Before moving to the EPA model, we will use the general OSI reference model to illustrate<br />

message buildup. This will demonstrate the general principle <strong>and</strong> introduce the idea<br />

of message headers. These concepts will assist us in underst<strong>and</strong>ing the details of message<br />

construction under DNP3.<br />

Figure 5.2<br />

Generic message buildup using the OSI 7 layer model<br />

Some of the features <strong>and</strong> terminology illustrated by the message buildup are now<br />

discussed.<br />

Data flow during message construction is from the application level down to the physical<br />

level, then across the physical medium, then at the receiving device up through the model<br />

layers until the original message is regenerated.<br />

The application data is given an application header by the application layer. This forms<br />

the application protocol data unit or APDU. The APDU is the data unit used by the next<br />

layer, the presentation layer. This adds its own header, <strong>and</strong> so on.<br />

The data may be split into smaller size units during the process of message construction.<br />

In this example, the session protocol data unit (SPDU) is broken into multiple data units<br />

at the transport level.<br />

The data link layer adds both a header, <strong>and</strong> a trailer section containing an error<br />

detection code, forming the link protocol data unit (LPDU). At the physical layer this is<br />

broken down into 8-bit blocks, each with start <strong>and</strong> stop bits appended for asynchronous<br />

transmission.

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

Saved successfully!

Ooh no, something went wrong!