Hello,
I am not sure if anybody has ever done something similar, but I will try to briefly describe my situation. I have designed a simple Electrical SLD at Hypersim software which is a part of OPAL-RT Technologies. That SLD consists of Circuit Breakers and Switches that can be controlled by using external sensors. My idea is, using DNP3 Protocol for communication between Hypersim and Ignition (which I have already configured and it operates successfully), to be able to control the state of circuit breakers and switches from Ignition using mapped input sensors received from DNP3 Slave. The issue I am facing right now – received mapped Analog/Binary Output Sensors, for some reason, can not be modified, meaning, whenever I try to write to those tags linked to the state of Circuit Breaker, the values remain the same.
The DNP3 command mode is set as “select_before_operate“.
Here’s the documentation of the control of circuit breaker via input sensors – https://opal-rt.atlassian.net/wiki/spaces/PDOCHS/pages/149621458/Circuit+Breaker+3-Phase#Using-the-Input-Pin
Feel free to ask any questions about the configuration and thank you for help in advance.
What version of Ignition are you using? Are you using the legacy DNP3 driver or the new one? Have you taken a Wireshark capture yet?
Here’s the Wireshark packets, where .25 is the Ignition PC and .61 is DNP3 Slave.
Ignition version is 8.1.48 and I am using the new DNP3 Driver
Please upload the capture somewhere. If you can't upload it here and don't have anywhere else, I can give you a dropbox link.
Here are the DNP3 related packets when trying to write to a tag:
DNP3_packets.txt (39.8 KB)
Ok, so it looks like you're just sending Latch Off over and over.
Your device isn't sending any events when this happens, so you might want to look at enabling the analog/binary Read After Operate settings: DNP3 Driver | Ignition User Manual
I'm not sure what you're expecting to see on the Ignition side or how you are initiating this write, but everything looks okay.
edit: this capture doesn't last long enough for another class poll to have been issued, so I'm only assuming that no events are coming from the device.
DNP3_newPackets.pcapng (3.7 KB)
Here’s some packets after enabling Read After Operate settings.
The tag values do now change in Ignition at least once I write to them. Although, the Hypersim (slave) still do not see the change, that is a big update on the issue, thank you very much for your assistance.