DNP3 Application Layer function codes

In the Application Layer, function codes define operations or purposes of a message, such as a confirmation, a request, or a response.
DNP3 Application Layer function codes
Code
Name
Indication
0
0x00
CONFIRM
Confirm Function Code: Master sends this to a slave to confirm the receipt of an Application Layer fragment.
1
0x01
READ
Read Function Code: Slave shall return the data specified by the objects in the request.
2
0x02
WRITE
Write Function Code: Slave shall store the data specified by the objects in the request.
3
0x03
SELECT
Select Function Code: Slave shall select (or arm) the output points specified by the objects in the request in preparation for a subsequent operate command. The Slave shall not activate the outputs until a request with a matching Operate function code is received.
4
0x04
OPERATE
Operate Function Code: Slave shall activate the output points selected (or armed) by a previous select function code command.
5
0x05
DIRECT_OPERATE
Direct Operate Function Code: Slave shall immediately actuate the output points specified by the objects in the request. A prior matching select command is not required.
6
0x06
DIRECT_OPERATE_NR
Direct Operate—No Response Function Code: Same as function code 5 but Slave shall not send a response.
7
0x07
IMMED_FREEZE
Immediate Freeze Function Code: Slave shall copy the point data values specified by the objects in the request to a separate freeze (or holding) buffer (or register).
8
0x08
IMMED_FREEZE_NR
Immediate Freeze—No Response Function Code: Same as function code 7 but Slave shall not send a response.
9
0x09
FREEZE_CLEAR
Freeze and Clear Function Code: Slave shall copy the point data values specified by the objects in the request into a separate freeze (or holding) buffer (or register). After the copy operation, clear the point data values to zero.
10
0x0A
FREEZE_CLEAR_NR
Freeze and Clear—No Response Function Code: Same as function code 9 but Slave shall not send a response.
11
0x0B
FREEZE_AT_TIME
Freeze at Time Function Code: Slave shall copy the point data values specified by the objects in the request to a separate freeze (or holding) buffer (or register) at the time and/or time intervals specified in a special time data information object.
12
0x0C
FREEZE_AT_TIME_NR
Freeze at Time—No Response Function Code: Same as function code 11 but Slave shall not send a response.
13
0x0D
COLD_RESTART
Cold Restart Function Code: Slave shall perform a complete reset of all hardware and software in the device.
14
0x0E
WARM_RESTART
Warm Restart Function Code: Slave shall reset only portions of the device.
20
0x14
ENABLE_UNSOLICITED
Enable Unsolicited Responses Function Code: Enables Slave to initiate unsolicited responses from points specified by the objects in the request.
21
0x15
DISABLE_UNSOLICITED
Disable Unsolicited Responses Function Code: Prevents Slave from initiating unsolicited responses from points specified by the objects in the request.
22
0x16
ASSIGN_CLASS
Assign Class Function Code: Slave shall assign the events generated by the points specified by the objects in the request to one of the classes.
23
0x17
DELAY_MEASURE
Delay Measurement Function Code: Slave shall report the time it takes to process and initiate the transmission of its response. This allows the master to compute the propagation delay in the communications channel. Used for non-LAN time synchronization.
24
0x18
RECORD_CURRENT_TIME
Record Current Time Function Code: Slave shall save the time when the last octet of this message is received. Used for LAN time synchronization.
25
0x19
OPEN_FILE
Open File Function Code: Slave shall open a file.
26
0x1A
CLOSE_FILE
Close File Function Code: Slave shall close a file.
27
0x1B
DELETE_FILE
Delete File Function Code: Slave shall delete a file.
28
0x1C
GET_FILE_INFO
Get File Information Function Code: Slave shall retrieve information about a file.
29
0x1D
AUTHENTICATE_FILE
Authenticate File Function Code: Slave shall return a file authentication key.
30
0x1E
ABORT_FILE
Abort File Function Code: Slave shall abort a file transfer operation.
31
0x1F
ACTIVATE_CONFIG
Activate Configuration Function Code: Slave shall use the configuration specified by the objects in the request.
129
0x81
RESPONSE
Solicited Response: Master shall interpret this fragment as an Application Layer response to an Application Layer request sent by the master.
130
0x82
UNSOLICITED_RESPONSE
Unsolicited Response: Master shall interpret this fragment as an unsolicited response that was not prompted by an explicit request.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal