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.

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

Table of Index-Size Codes for Non-Ranged Mode<br />

I-size<br />

Code<br />

Size in<br />

bits<br />

Meaning in Request or Response<br />

containing Data Objects<br />

0 no index No indexing. Objects are packed<br />

directly.<br />

1 8<br />

2 16<br />

3 32<br />

Objects are prefixed with an index of<br />

this length.<br />

The application of the non-ranged mode differs depending on whether the I-size code is<br />

zero or non-zero.<br />

For I-size = 0, the specified number of objects are called for, or provided. This method<br />

is useful for requesting or responding with a limited amount of data at one time, perhaps<br />

if the outstation could provide more information than could be h<strong>and</strong>led at once by the<br />

master station.<br />

For I-size = 1, 2 or 3 a list of specific data objects is provided. This is used when particular<br />

data objects, or points, are required rather than a whole range of data objects.<br />

REQUEST MESSAGE OBJECT GROUP<br />

RANGE DATA<br />

GROUP VARIATION QUALIFIER<br />

N<br />

INDICE 1 INDICE 2 ... INDICE N<br />

G<br />

V<br />

1 8 LSB MSB 14<br />

37<br />

107<br />

1 1 1 2 1 1 1<br />

I-size = 1 => 8-bit index size<br />

Q-code = 8 => 16-bit range value = object count N<br />

RESPONSE MESSAGE OBJECT GROUP<br />

RANGE DATA<br />

GROUP VARIATION QUALIFIER<br />

N<br />

INDICE 1 DO 1 INDICE 2 DO 2 . . . INDICE N DO N<br />

G<br />

V<br />

1 8 LSB MSB 14<br />

37<br />

107<br />

1 1 1 2 1 x 1 x 1 x<br />

Note: Size of data objects x = determined by object group / variation definition<br />

Q<br />

Code<br />

Range Value<br />

Size (Bits)<br />

7 8<br />

8 16<br />

9 32<br />

Referencing<br />

Mode<br />

Non-Ranged<br />

Mode<br />

Interpretation of Qualifier Code<br />

Notes<br />

Specifies a list of unrelated points. The Range<br />

field contains the number of points referenced.<br />

I-size = 0: No indexes, points only<br />

I-size = 1: Indexes are 8 Bit<br />

I-size = 2: Indexes are 16 Bit<br />

I-size = 3: Indexes are 32 Bit<br />

REQUEST MESSAGE OBJECT GROUP<br />

RANGE<br />

GROUP VARIATION QUALIFIER N<br />

G<br />

V<br />

0 7<br />

1 1 1 1<br />

I-size = 0<br />

Q-code = 7 => 8-bit range value = object count N<br />

RESPONSE MESSAGE OBJECT GROUP<br />

RANGE DATA OBJECTS<br />

GROUP VARIATION QUALIFIER N DO DO<br />

G<br />

V<br />

0 7<br />

0 1<br />

1 1 1 1 x x x<br />

Note: Size of data objects x = determined by object group / variation definition<br />

DO<br />

2<br />

...

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

Saved successfully!

Ooh no, something went wrong!