02.02.2018 Views

Practical_modern_SCADA_protocols_-_dnp3,_60870-5_and_Related_Systems

Create successful ePaper yourself

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

204 <strong>Practical</strong> Modern <strong>SCADA</strong> Protocols: DNP3, <strong>60870</strong>.5 <strong>and</strong> <strong>Related</strong> <strong>Systems</strong><br />

Variable<br />

Length Frame<br />

L<br />

Start 0x68<br />

L<br />

L<br />

Start 0x68<br />

C<br />

A<br />

A<br />

Link<br />

user<br />

data<br />

Checksum<br />

End 0x16<br />

ASDU<br />

Data Unit<br />

Identifier<br />

Information<br />

Information Elements<br />

Object 1<br />

Time Tag<br />

Information Object Address<br />

Information<br />

Object 2<br />

Type ID<br />

Variable Structure Qualifier<br />

Cause of Transmission<br />

Common Address of ASDU<br />

Information Object Address<br />

Information Elements<br />

Time Tag<br />

Figure 8.15<br />

Message structure under IEC <strong>60870</strong>-5-101<br />

The only important point to note about the relationship between the ASDU <strong>and</strong> the link<br />

layer frame is that a maximum of just one ASDU is allowed per frame. This sets an upper<br />

limit for the size of the ASDU at 255 octets, minus 2-3 octets for the link control <strong>and</strong><br />

address fields.<br />

8.5.2 ASDU structure<br />

The structure of the ASDU is in two main sections. These are the data unit identifier, <strong>and</strong><br />

the data itself, made up of one or more information objects. The data unit identifier defines<br />

the specific type of data, provides addressing to identify the specific identity of the data,<br />

<strong>and</strong> it includes additional information in the cause of transmission field. The fields of the<br />

ASDU are now discussed in turn.<br />

Type identification<br />

The type identification field is a single-octet unsigned integer field. Its content is interpreted<br />

as a code in the ranges shown below.<br />

Bit 7 0<br />

Type Code<br />

Code Range<br />

Purpose<br />

St<strong>and</strong>ard type definitions<br />

Reserved for message routing – private<br />

For special use – private<br />

Figure 8.16<br />

Type identification field

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

Saved successfully!

Ooh no, something went wrong!