Cannot show Data Point change by configuring Data Source with DNP3
-
Hi, I cannot show a data point change of binary output value by configuring data source with DNP3.
My environment is Mango automation version 2.8.6 and DNP module paid.
At first, I use my master station to connect with my outstation DNP3 codes. It is OK. I can change the binary output value from false to true in my outstation and quickly I see the change is reported to my master station.
Then I use mango demo master codes such as dnp34j-master.zip to connect with my outstation DNP3 codes. It is OK. The dnp34j-master.zip is compiled and executed by Java Eclipse IDE. But the com.serotonin.m2m2 and dnp34j is different from the same name of version 2.8.6 and DNP3 module. I can see the printing code is include
the function of doPoll and printDataPoint in Java code.
At last, I use mange automation UI to connect with my outstation DNP codes. I want to show a data point change of binary output value by configuring data source with DNP3 . But it is not OK. The Dnp3DataSource does't often do Polling with my outstation. I use the DNP3 Default data source value and notice the address value.I don't know the next step to fix the issue. Need I add other codes such as doPoll function and write2DB function to Dnp3DataSource?
-
Hi AZhe,
There was a recent change to DNP34J that was pulled in https://github.com/d-shapiro/DNP34J/commit/dc35651d4ea4b92dee963c85ec29a2f14f0d3045
I don't believe it has been released yet. You can clone and build your own DNP34J jar by the sounds of it, https://github.com/infiniteautomation/DNP34J
The interfaces and whatnot didn't change, so you should be able to use the compiled jar in place of the existing jar in the Mango/web/modules/dnp3/lib/ directory.
-
Hi, Phildunlap,
Now, I use mange automation UI to connect with my outstation. The result is OK. The old DNP34j.jar and current DNP34j.jar are both OK. It is my misunderstanding of configuring "Point details". In the configuration view of "Point details", Index value should be "0" to begin, but not "1" to begin for the binary input.(previously I wrote the binary output as a mistake).![0_1509714308777_2017-11-03_210021.jpg](https://i.imgur.com/p56iv3X.jpg)
-
Hi, Phidunlap,
Now, I use mange automation UI to connect with my outstation. The result is OK. The old DNP34j.jar and current DNP34j.jar are both OK. It is my misunderstanding of configuring "Point details". In the configuration view of "Point details", Index value should be "0" to begin, but not "1" to begin for the binary input.(previously I wrote the binary output as a mistake). -
Glad you've got it working!