Pre-installed application - configuration of the ALU

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 addd here. Both flags are floating-point numbers and their value does not persist a restart of the application.

de app counter flags

Adding the conversion

Menu ALUArithmetic

de app alu

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

de app alu temp

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

de app alu hum