📄 Converters

Converters


Converters allows to do direct conversions on incoming and outgoing data using NCALC expressions.

For example, directly converting Celcius to Fahrenheit.

The (Modbus) device provides the data in Celcius, but we want it in our system as Fahrenheit, then we can create and use a converter. 

First create the converter as such, specifying the READ and WRITE (NCALC) expression to be used. The placeholder 'value' will be filled in by the data coming from the device.

Then, use the at the variable settings as such:  

The incoming (READ) and outgoing (WRITE) data will be converter accordingly.

You can use the property :Raw to see the non-converted value. This is read-only.

Note that if you use Min/Max Raw/Scaled together with Converters, that the scaling will take place FIRST.