easy-forum

Deutsch - Software => easySoft => Thema gestartet von: srd am Juli 09, 2021, 10:20:45 Vormittag

Titel: Ultrasonic Tank Level
Beitrag von: srd am Juli 09, 2021, 10:20:45 Vormittag
We have a 4-20mA / 5m ultrasonic tank level fitted at 3.8m in a tank. What is the best way to scale this as in affect 3.8m will now be 100%. Cheers
Titel: Antw:Ultrasonic Tank Level
Beitrag von: Konni66 am Juli 09, 2021, 13:29:06 Nachmittag
Hello srd,

what analogue input is used? What easyE4?
The easyE4 can only read voltage (0-10 V)!

In your case you have to use an
1.) analogue input module, OR
2.) a 500 Ohms resistor (input to GND)
Remember the wire length!

The most easy way is to use the function block LS (value scaler).
You have to define the min. and max. values on input (X1, X2) and the min. and max. values on output Y1, Y2) of function block.

Mark the function block an press F1 to see the help file.

Maybe You have to twist Y1 and Y2 values, if the sensor is mounted at the top of the tank and it works like
4 mA = short distance (tank full) = ~820 inc. (values < 820 inc. = wiring broken, use the CP to create an error warning)
x mA = middle distance e.g. 3112 inc. = x m
20 mA = long distance (tank empty) = 4095 inc. = 5 m

Simply use the rule of three to calculate the X and Y parameters.

The entries in screenshot should work for your application.

Greetings,
Konni



 
Titel: Antw:Ultrasonic Tank Level
Beitrag von: srd am Juli 13, 2021, 12:51:25 Nachmittag
Cheers Konnie i will give it a try.