I have a 4-20ma field device connected to a PLC. From the register I read a the value into Mango via Modbus which translates to 0 - 62260 where 4ma is 0 and 20ma is 62260.
In DGlux I can scale this value easily to present a value such as tons or temp or volume. In this case I have load cells. They have various capacities. So one load cell would be 200t the next 50t and so on.
What I need is to scale this value with a metadata value. Any ideas on a scrip I could use?
Any help would be greatly appreciated.