|
<< Click to Display Table of Contents >>
Function Codes |
A function code identifies a message's purpose. There are groups of functions for requests and for answers. There are several types of functions for requests, as shown on the next table. Functions for answers are used internally and they are not available to users.
Function Codes
Code |
Function |
Description |
|---|---|---|
1 |
Read |
Requests the specified Objects from a remote station and responds with the requested Objects that are available |
2 |
Write |
Stores the specified Objects on a remote station and responds with the operation status |
3 |
Select |
Selects or triggers output points but does not configure or produce any output, such as controls, setpoints, or analog outputs, and responds with the operation status. The Operate function must be used to activate these outputs |
4 |
Operate |
Configures or produces actions on outputs or previously selected points using the Select function |
5 |
Direct Operate |
Selects and operates the specified outputs and responds with the status of control points |
6 |
Direct Operate NO ACK |
Selects and operates the specified outputs and does not send a response, but it takes less time |
7 |
Immediate Freeze |
Copies the specified Objects to a freezing buffer |
9 |
Freeze and Clear |
Copies the specified Objects to a freezing buffer, then zeroes these Objects |
10 |
Freeze and Clear No ACK |
Copies the specified Objects to a freezing buffer and then zeroes these Objects, but does not send a confirmation response |
11 |
Freeze with Time |
Copies the specified Objects to a freezing buffer at the specified moment and responds with the operation status |
13 |
Cold Restart |
Performs a reset sequence |
14 |
Warm Restart |
Performs a partial reset sequence |
20 |
Enable Unsolicited Messages |
Enables a spontaneous notification for the specified Objects |
21 |
Disable Unsolicited Messages |
Disables a spontaneous notification for the specified Objects |
22 |
Assign Classes |
Links the specified Objects to a Class |
23 |
Delay Measurement |
Allows an application to calculate a delay or propagation time for a specific station |
After specifying a message's purpose (APCI), there is a second part, if needed, called ASDU. Each ASDU is formed by one or more data identifiers (DUI), Object headers, and Object information or data fields.