I am using DNP3 Legacy driver to connect to an RTAC. I am controlling some breakers using Binary Outputs, one is for tripping and the other to close in. The open button writes True to the BO tag setup to open and vice versa.
When I trigger the BOs from Ignition, I don’t see any change in either operPulse, operLatchOn, operLatchOff, operTrip or operClose in the RTAC. If Ignition pulses the BOs, maybe I can see it change as it is very fast. But can anyone confirm how BOs work with DNP3 legacy driver? Thanks
If I understand correctly, when using the legacy driver, if you write True to a BinaryOutput tag, the driver should send this request to the outstation:
Group: 12
Variation: 1
Index: {indicatedByTag}
Control code: 3 (Op: LATCH_ON, TCC: NUL, CR: 0)
Count: 1
On Time: 0
Off Time: 0
Status Code: 0
If you write False, then you should see the same except Control code 4 (LATCH_OFF) is used instead. You should be able to verify this with wireshark.
You may want to try using the scripting functions in system.dnp3. They give you more control over the control code, onTime, and offTime parameters. Depending on your outstation's output model, it may activate too quickly or do nothing at all when onTime is set to 0. Additionally, make sure that controls are enabled in your RTAC config.