0% found this document useful (0 votes)
37 views8 pages

Practice Questions For DNP3 Transport and Application Layers - Solutions

The document contains practice questions related to the DNP3 protocol, focusing on transport and application layers. It includes multiple choice questions that require breaking down DNP3 message requests and understanding various components such as fragment sequence numbers, class data requests, and message types. Additionally, it covers the OSI model layers relevant to DNP3 protocol messages.

Uploaded by

roger.cruzeet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views8 pages

Practice Questions For DNP3 Transport and Application Layers - Solutions

The document contains practice questions related to the DNP3 protocol, focusing on transport and application layers. It includes multiple choice questions that require breaking down DNP3 message requests and understanding various components such as fragment sequence numbers, class data requests, and message types. Additionally, it covers the OSI model layers relevant to DNP3 protocol messages.

Uploaded by

roger.cruzeet
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

DNP3 – Practice Questions for Transport and Application Layers

Complete the following multiple choice questions.


You will be required to breakout DNP3 message requests for Quiz#2 and for your final exam.
There are a few basic response questions included here, they are related to the transport and
application headers. You won’t have to break out a whole response on your quiz or final exam.
Use the DNP3 PowerPoints on D2L for reference.

1. What is the fragment sequence number in this message?


05 64 11 F3 02 00 01 00 F4 BB CO C3 01 3C 02 06 3C 03 06 3C 04 06 0C 0B

a) 3
b) 7
c) 5
d) 31

2. What class data are being requested in the following message?


05 64 11 D3 02 00 00 10 XX XX
C0 C0 01 3C 02 06 3C 03 06 3C 04 06 XX XX

a) Class 1,2 & 3


b) Class 0,1 & 2 05 64 11 D3 02 00 00 10 XX XX
c) Class 0,2 & 3 C0 C0 01 3C 02 06 3C 03 06 3C 04 06 XX XX
d) Class 0,1 & 3
3C 02 06 is what is in the first OBJ HEADER #1, this is the type of data that is being requested.
The DNP3 sheet shows a breakout for OBJ HEADER #2 only because of the lack of space. All
the OBJECT headers are the same.

3C 02 06

If we convert this to decimal we get:

Object group = 60
Object variation = 02
Qualifier = 06

Now look in the DNP3 object library document to find out what this is:

So we are requesting Class 1 EVENT data


The qualifier is 06 so that means there is no range specified, in other words give me all the data.

If we look at the next 2 objects, Objects 2 and 3, we see that we are also requesting event data,
except it is Class 2 and Class 3 EVENT data respectively.
3. Is the following message sent by the Master or the Slave?
05 64 0A 44 0F 00 10 00 XX XX
C0 C4 81 10 00 XX XX

Slave

This is a primary message from the remote device. A remote device is also called a slave device.

4. Is this message a master request message or a remote response message?


05 64 11 F3 02 00 01 00 F4 BB CO C3 01 3C 02 06 3C 03 06 3C 04 06 0C 0B

Request

This is a primary message from the Master so this would be a request.


5. What qualifier code is being applied in the following message? (explain)
05 64 11 D3 02 00 00 10 XX XX
C0 C0 01 3C 02 06 3C 03 06 3C 04 06 XX XX

No field range

6. Is this the first frame in a message sequence?


05 64 11 F3 02 00 01 00 F4 BB
CO C3 01 3C 02 06 3C 03 06 3C 04 06 0C 0B

a) Yes
b) No

CO is the transport header which contains the frame


sequence.

CO in binary = 1100 0000


It is the first frame and it is also the final
7. What is the length of the frame in this response message in decimal?
05 64 21 53 02 00 0C 00 8E B8 C0 C181 80 00 01 02 01 00 00 0F 00 01 01 01 01 E7 CB 01 01 01
91 01 01 01 0101 01 01 01 23 A2

a) 33 The 3rd octet is the length byte 0x21 = 33 in decimal


b) 21
c) 15
d) 35

8. What is the octet value for the application layer header in this message?
05 64 11 F3 02 00 01 00 F4 BB CO C3 01 3C 02 06 3C 03 06 3C 04 06 0C 0B

a) C3 01 3C 02
b) C3 01
c) BB C0
d) 01 3C

The application header APP HDR is either 2 or 4 bytes in length. If the message is a request
it is 2 bytes in length, if it is a response it is 4. If would take a look at the DLC octect which
is F3 it tells us that the message is a primary message from the master, this indicates that this
is a request from the master.
C3 01 is the application header. C3 is the master
application control and 01 is the master application
function code. In this case the master is requesting a
read from a remote device.

9. What is the data type that is being returned in this


response message? (first object header only)

05 64 21 53 02 00 0C 00 8E B8 C0 C1 81 80 00 01 02 01 00 00 0F 00 01 01 01 01 E7CB 01 01 01
91 01 01 01 0101 01 01 01 23 A2

a) Binary Input Change Without quality bits


b) Single Bit Binary Output
c) Single Bit Binary Input
d) Binary Inputs With quality bits

Since this is a response the Application header APP HDR is 4 bytes long, therefore the
object header follows. In this example the object header is 01 02 01. So if we look at the
DNP3 Object and function code handout we see: Binary inputs with quality flags

10. Which bytes in a response message contain the object, variation & qualifier bytes?

a) 14,15 & 16 In a response the APP HDR is 4 bytes long so


b) 16,17 & 18 starting from 05 64 we add up the bytes until we
c) 15,16 & 17 reach the object header, the object header starts at
d) 13,14 & 15 16 in the case.
11. What qualifier code is being applied in the following message?
05 64 11 D3 02 00 00 10 XX XX
C0 C0 01 3C 02 06 3C 03 06 3C 04 06 XX XX

a) 00
b) 01
c) 06
d) 04

D3 is a primary message from the


master. This represent a request so
the APP HDR is 2 bytes long. The
object header follows the
application header. The 3rd byte of
the object header is the variation,
so the variation in this example is
6

DLC tells me it is a primary message from the master, Therefore the APP HDR is 2 bytes
long so the next data is Object Header #1
12. What type of data will a CLASS 1,2,3, 0 REQUEST return in the response?

Class 1 event data


Class 2 event data
Class 3 event data
Static data (real time data)

13. Whats is?

Static Data – this is the real time data


Data Object- these are the different data types like DI, DI, AI, AO, and counters
Event Data – any changes in the static data is event data. Event data is stored separately and is
considered historical data.

Integrity Poll-The master requests all the EVENT data (changes) and all the STATIC data (real time
data)

Event Poll-The master requests only the EVENTS (changes) that have happened since the last poll.

Unsolicited Response-A remote device reports EVENTS (changes) that have happened without the
master requesting the information.

14. Name the FOUR layers of the OSI model included in DNP3 protocol messages.

DataLink Layer
Transport Layer
Application Layer
Physical Layer

You might also like