Hi,
I am using eclipse milo library to write data to opc ua kepserver in Java. I am facing issue while writing data of float type to tags on kepserver. The value I am proving is a api request body. I can see the values i am receiving are correct but after writing data to kepserver some of the values are set to garbage values.
From what you posted it doesn’t look like there’s a problem on this side. Maybe you can get a Wireshark capture and observe the values that are being sent to Kepware.
Hi, I am using eclipse milo library to write data to opc ua kepserver in Java. I am facing issue while writing data of float type to tags on kepserver. The value I am proving is a api request body. I can see the values i am receiving are correct but after writing data to kepserver some of the values are set to garbage values.
My api request is :
{ "FaceLngth2":0.3, "FaceWght1":9.3, "FaceWght2":0.3, "FaceThickness1":0.3, "FaceThickness2":0.3, "FaceWidth1":0.3, "FaceWidth2":0.3, "WebLngth1":1.5, "WebLngth2":1.2, "WebThckn1":0.8, "WebThckn2":0.9, "WebWght1":0.7, "WebWght2":0.4, "WebWidth1":0.8, "WebWidth2":3.0 }
Following is the snippet of how I am writing data to Tags. It a switch case where I am checking cases against keys in request body.
Data written on kepserver is as follow:
As you can see in the screenshot some of the values for Tags with float datatype are not in the correct format.
Can someone please tell me how to write float data to kepserver/opc ua?