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.

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

Fixed<br />

Length<br />

Frame<br />

Start 0x10<br />

C<br />

A<br />

A<br />

Checksum<br />

End 0x16<br />

Sing le<br />

Control<br />

Character<br />

0xE5<br />

Figure 7.3<br />

Fixed length frame <strong>and</strong> single control character<br />

7.5 Addressing<br />

Under IEC <strong>60870</strong>-5-101 addressing is both at the link <strong>and</strong> at the application level. The<br />

link address field may be 1 or 2 octets for unbalanced, <strong>and</strong> 0, 1 or 2 octets for balanced<br />

communications. As balanced communications are point-to-point the link address is<br />

redundant, but may be included for security. The link address FF or FFFF is defined as<br />

a broadcast address, <strong>and</strong> may be used to address all stations at the link level.<br />

At the application level, the ASDU contains a 1 or 2 octet common address. This is<br />

defined as the address of the controlling station in the ‘control direction’, <strong>and</strong> the address<br />

of the controlled station in the ‘monitoring direction’. The common address of the ASDU<br />

combined with the information object address contained within the data itself combine<br />

to make the unique address for each data element.<br />

As in DNP, there may be more than one logical or common address per device. As for<br />

the link level, the address FF or FFFF is defined as a broadcast address. Therefore to send<br />

a broadcast message it is necessary to include this address in both the data link <strong>and</strong><br />

application address fields.<br />

Optionally on a per-system basis, originator addresses can also be carried within the<br />

ASDU. This is not shown in Figure 7.2, but is an optional part of the cause of transmission<br />

field.<br />

The information object address is 1 to 3 octets in length, <strong>and</strong> can be provided either just<br />

once within an ASDU, or for each separate information object within an ASDU. This<br />

allows for efficient transmission of blocks of sequential information.<br />

7.6 Networked version<br />

Under IEC <strong>60870</strong>-5 there are two different methods of transporting messages. These are<br />

in effect two different, but closely related <strong>protocols</strong>. The first is IEC <strong>60870</strong>-5-101, or<br />

T101, which provides for bit-serial communications over low-b<strong>and</strong>width communications<br />

channels. This method uses the data link frame shown in Figure 7.2 together with defined<br />

procedures to transport the data over the communications network.<br />

The second method was defined much more recently with the release of the IEC <strong>60870</strong>-<br />

5-104, or T104 profile. In this protocol the lower levels of the protocol have been<br />

completely replaced by the TCP <strong>and</strong> IP transport <strong>and</strong> network <strong>protocols</strong>. These <strong>protocols</strong><br />

provide for transport of the application service data units (ASDUs) shown in Figure 7.2

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

Saved successfully!

Ooh no, something went wrong!