Pressure as level value at the SLT with a SIG200
Related Products
Table of Contents
We will show you a nice application with a SIG200, a SLT060 and a PBS plus.
The customer would like to show the pressure at the Smart light tower.
The problem here are the different datatypes of the devices.
The pressure of the pressure sensor is a float value from 0 to 1 bar.
The SLT needs an integer value from 0 to 100%.
So we have to calculate this in the logic editor of the SIG200.
Here you can see the configuration and the logic:
Process data has to be Level Meter Mode
First we have to multiply the value from the pressure sensor times 100 to have the 0 to 100%.
For this we need a constant value with the value 100, this constant value we have to convert to float and connect it with the process data from the pressure sensor to the float multiplier function block.
The result of this calculation then has to be converted to integer and connected to the process data (level value) of the SLT.
Now the SLT shows the pressure level.
pressure, level value, smart light tower, different datatypes, calculation, float value