How to control binary outputs using the MVI56E-DNPNET client


While most DNP commands are defined in the DNPNET.CONFIG.DNP_Client_Commands array, controlling binary outputs for relays etc uses Control Relay Object Block functions which are defined in DNPNET.CONTROL.CROB_Commands .

All CROB functions can use the following settings:

DNPNET.CONTROL.CROB_Commands.CROB_Commands[0].Port_Flag 20 DNPNET.CONTROL.CROB_Commands.CROB_Commands[0].Server_Address 5 DNPNET.CONTROL.CROB_Commands.CROB_Commands[0].Object 12 DNPNET.CONTROL.CROB_Commands.CROB_Commands[0].Variation 1 DNPNET.CONTROL.CROB_Commands.CROB_Commands[0].Function 5 DNPNET.CONTROL.CROB_Commands.CROB_Commands[0].Point_Number_In_Server DNPNET.CONTROL.CROB_Commands.CROB_Commands[0].Control_Code (see table below) DNPNET.CONTROL.CROB_Commands.CROB_Commands[0].Pulse_Count 1 DNPNET.CONTROL.CROB_Commands.CROB_Commands[0].Pulse_On 1 (miliiseconds) DNPNET.CONTROL.CROB_Commands.CROB_Commands[0].Pulse_Off 1 (milliseconds)

However Control_Code will be specific to each CROB function:

Trip 2#0000_0000_1000_0000

Close: 2#0000_0000_0100_0000

Latch ON: 2#0000_0000_0000_0011

Latch OFF: 2#0000_0000_0000_0100

Pulse ON: 2#0000_0000_0000_0001

Pulse OFF: 2#0000_0000_0000_0010

Note: With Pulse ON and Pulse OFF, the Pulse_Count, Pulse_On and Pulse_Off settings are also used.


Custom Fields

Article ID: 511
Created On: Thu, Jul 17, 2014 at 5:37 PM
Last Updated On: Wed, Oct 15, 2014 at 10:47 PM
Authored by: Administrator

Online URL: https://www.prosoft-technology.com/kb/article.php?id=511