Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Designing an automated way to Convert two modbus registers in a useable number

I have two modbus registers that contain data. example reg1 8245 and reg2 13361. From them I convert and end up with 541 then convert to 5.41. It is relatively long equation. I will have to repeat nearly 600 Times per site. Is there a way I can utilze the same equation without having to type in the same thing over and over? Hopefully this give enough detail. Thanks James
0 Kudos
Message 1 of 3
(2,996 Views)


You can create an Aggregate object for this Expression of yours. And then use this "custom" (Aggregate) Object in your other processes.

See Online Help for details on the Aggregate Object.

Hope this helps.

Regards,

Khalid 🙂


0 Kudos
Message 2 of 3
(2,996 Views)
Thanks Khalid for the response! I have never used the aggregate object. I'm not sure I know how but I will play around with it. And see what happens.
0 Kudos
Message 3 of 3
(2,996 Views)