Pre-configured application - ALU configuration

The sensor transmits the temperature value in tenths of a degree and the humidity value in tenths of percent RH. Therefore, both values need to be divided by ten to get standardised or scaled values in degree Celsius and %RH. The read Modbus values for temperature and humidity are converted to degree Celsius and %RH in the Arithmetic Logic Unit (ALU). The conversion results will be written to two flags.

Adding the flags

Menu Data pointsFlags

Two flags for storing the converted sensor values are added here. Both flags are floating-point numbers and their value does not persist a restart of the application.

en app counter flags

Adding the conversion

Menu ALUArithmetic

en app alu

The read Modbus value will be divided by the value 10 here. Additionally, the result will also be assigned to the flag flag1.

en app alu temp

The read Modbus value will be divided by the value 10 here. Additionally, the result will also be assigned to the flag flag2.

en app alu hum