AnsweredAssumed Answered

[PI-OPC] How to read and archive a 8 bytes integer

Question asked by Nicolas.Isambourg on Sep 7, 2017
Latest reply on Sep 29, 2017 by Nicolas.Isambourg

Dear OSISoft community,

 

I need to read a 8 bytes integer in a TCP Modbus Device by using a Modbus OPC Server (KepServer) and the PI Interface for OPC DA. The values will be archived in the PI Server.

It seems I cannot read a 8 bytes integer by OPC in a TCP Modbus Device.

So, I'm thinking I will use an array of 4 words and multiply them by a weight

 

Word1 = 20 = 1
Word2 = 216 = 65536
Word3 = 232 = 4294967296
Word4 = 248 = 281474976710656

 

 

I read in the manual of the PI OPC Interface how to read an array in a OPC Server. As the PI Data Archive doesn't support the array datatype, each item of the array will be stored in a different PI Point.

So it's a little complicated.

 

 

Would you have an idea how I could proceed to read and archive a 8 bytes integer ?

 

 

Thanks,

Best regards,

Nicolas

Outcomes