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.

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

Each of these objects is comprised of a sequence of four-bit BCD digits. There are 4, 8<br />

or 16 BCD digits respectively for variations 1, 2 <strong>and</strong> 3.<br />

BCD N BCD 2 BCD 1<br />

3 Digit 0 … 3 Digit 0 3 Digit 0<br />

The flag structure is as follows. This is the same as flag 4 shown in the Appendix.<br />

7 6 5 4 3 2 1 0<br />

Bit Interpretation<br />

0 On-line<br />

1 Restart<br />

2 Communication lost<br />

3 Remote forced data<br />

4 Local forced data<br />

5 Over-range<br />

6 Reference check<br />

7 Reserved<br />

The DNP3 Basic Four documentation provides the following units code assignments.<br />

As the code allows for up to 256 different codes, it is entirely possible that other codes<br />

may be added over time <strong>and</strong> as required by users.<br />

Units Code Key<br />

0 Volts peak-peak<br />

1 Amperes peak-peak<br />

2 Volts RMS<br />

3 Amperes RMS<br />

4 Real Power kW<br />

5 Apparent Power kVA<br />

6 Reactive Power kVAR<br />

7 Energy kWh<br />

8 Imaginary Power kVARh<br />

9 Power Factor pf<br />

10<br />

11<br />

12<br />

13<br />

14<br />

15<br />

16<br />

17<br />

18<br />

19<br />

Frequency Hz<br />

Frequency rad/sec <br />

Temperature C<br />

Temperature F<br />

Temperature K<br />

Force in Newtons N<br />

Mass kg<br />

Acceleration meter/sec squared<br />

Pressure N/square meter<br />

Torque Newton-meters<br />

5.8.3 Key to data structure<br />

General<br />

DNP3 data objects have been constructed from a number of basic data types. Underst<strong>and</strong>ing<br />

the shorth<strong>and</strong> notation for these data types assists in readily underst<strong>and</strong>ing<br />

the structure of the various data objects, particularly if using the DNP3 documentation for<br />

particular data objects.<br />

Some key information has been included in the text at this point as a reference in interpreting<br />

some of the information element descriptions. This information also appears in the<br />

Appendix, with some additional details.<br />

The following table of data types is repeated from the DNP3 documentation.

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

Saved successfully!

Ooh no, something went wrong!