| Page 36 of 51 |
|
|
Appendix A.10. Controlling the DNP 3.0 Driver’s Function Code
When a write Map Descriptor is found by the DNP 3.0 Driver it will use the DNP protocol’s write function to write data to the DNP device. If the DNP device’s vendor requires that an alternative DNP function be used, use the keyword dnpFunction in the Map Descriptor and specify the function that the vendor requires (provided that it is in the list of functions implemented by this driver.)
Example: To set a Control Relay Output Descriptor’s state in a
•In some cases the DNP 3.0 driver will change the default function automatically. This will be reported in the error log.
•The dnpFunction parameters may have any legal DNP protocol function. The function must be specified as a decimal value.
Function | Value for | Client Supports | Server Supports |
| dnpFunction |
|
|
Confirm | 0 | Yes | Yes |
Read | 1 | Yes | Yes |
Write | 2 | Yes | Yes |
Select | 3 | Yes5 | Yes5 |
Operate | 4 | Yes5 | Yes5 |
Direct Operate | 5 | Yes5 | Yes5 |
Direct Operation with no Ack | 6 | Yes5 | Yes5 |
Immediate freeze | 7 |
|
|
|
|
|
|
Immediate freeze with no Ack | 8 | Limited* |
|
|
|
|
|
Freeze Clear | 9 |
|
|
|
|
|
|
Freeze Clear with no Ack | 10 | Limited* |
|
|
|
|
|
Freeze Time | 11 |
|
|
|
|
|
|
Freeze Time with No Ack | 12 |
|
|
|
|
|
|
Cold Restart | 13 |
|
|
|
|
|
|
Warm Restart | 14 |
|
|
|
|
|
|
Delay Measurement | 23 | Yes | Yes |
When the Function #23 (Delay Measurement) is used the following two notes apply:
1.When the driver is configured as a Client, the configuration must also specify the dnpDataType parameter set to Object 52 (Time Delay Objects) and the dnpDataVari parameter to variation 2 (Time Delay Fine ). The driver reads the single object from the Server. The address parameter is ignored.
2.When the driver is configured to serve a response to a poll with application function #23 then the configuration must have a Server Map Descriptor with dnpDataType parameter set to Object 52 (Time Delay Objects) and dnpDataVari parameter set to variation 2 (Time Delay Fine ). The address parameter is ignored as the poll is for a single object. The driver responds by serving
data from the Data Array element specified on the Server Map Descriptor – most DNP 3.0 RTU devices respond by reporting the number of milliseconds between receiving the 1st bit of the poll and sending the 1st bit of the response.
5There are limitations to the Select and Operate Functionality. Refer to Appendix A.19 for more information.
FieldServer Technologies 1991 Tarob Court Milpitas, California 95035 USA Web: www.fieldserver.com Tel: (408) 262 2299 Fax: (408) 262 2269 Toll Free: (888) 509 1970 email: support@fieldserver.com