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.

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

Variable length messages<br />

Variable length messages<br />

LPCI APDU LPCI<br />

S L L S C A A<br />

CS E<br />

1. ASDU<br />

Hex example 6 1 1 6 7 0 0 67 01 06 00 00 00 00 55 69 10 0D 13 D2<br />

8 1 1 8 3 1 0 01 01<br />

LPDU<br />

S Start character – always 0x68 in variable length messages<br />

L Length character which specifies the length in octets (bytes) of the ASDU+C+A+A<br />

L Repeat of previous<br />

S Repeat of previous<br />

C Link control character<br />

A 16 bit Outstation address, LSB first – this example is 0x0001<br />

CS Checksum, a single byte accumulation of ASDU+C+A+A<br />

Control Field:<br />

Interpret using details in Chapter 9.4.4.1 (Page 218 onwards)<br />

ASDU Structure:<br />

1<br />

6<br />

ASDU<br />

Data Unit<br />

Identifier<br />

Information<br />

Object 1<br />

Type ID<br />

Variable Structure Qualifier<br />

Cause of Transmission<br />

Common Address of<br />

ASDU<br />

Information Object<br />

Address<br />

Information Elements<br />

Time Tag<br />

Information Object<br />

For each Information Object Type (Type ID) the sequence of bytes, Variable Structure<br />

Qualifier, Causes of Transmission, Information Object Addresses <strong>and</strong> the Information<br />

Elements are described as shown in the following examples:

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

Saved successfully!

Ooh no, something went wrong!