Practice Questions For DNP3 Transport and Application Layers - Solutions
Practice Questions For DNP3 Transport and Application Layers - Solutions
a) 3
b) 7
c) 5
d) 31
3C 02 06
Object group = 60
Object variation = 02
Qualifier = 06
Now look in the DNP3 object library document to find out what this is:
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.
Request
No field range
a) Yes
b) No
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.
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
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) 00
b) 01
c) 06
d) 04
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?
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