Hi all
I'm working via OpenDNP3 via the Java bindings.
I have an outstation configured with an Analog Input with group 30 variation 3.
When I write a value to this outstation (E.g. 6377801074) and then query the Outstation with a scan for g30v3 what I get back from the Oustation is data indicating that the returned data is g30v5. The returned value is formatted as a float (E.g. 2.147483647E9 in the case of 6377801074) and is truncated.
If I modify the type on the Outstation to actually be g30v5 and submit the value mentioned above and query for I get a response value of 6.377801216E9, which is closed to the original value but still truncated incorrectly.
Does anyone have any idea what is going on here? I did a little bit of debugging and the value is going into the Outstation with no issues (as far as I can tell, I can't debug from the Java wrapped into the C++ of course...)
When it comes to debugging the scan response in the SOE Handler I noticed that while the header info indicates g30v3 as requested, the actual response value is coming back as g30v5 and is truncated as mentioned :-/
Thanks
Adam