Loading local progress…
Practice missions
Practise in
Level 1, 0 XP · your progress
Mission 15 · Pro function block diagram exercise

Give the signal meaning

Turn raw sensor counts into a percentage.

The level sends a raw number, RawValue, from 0–27648. Scale it, meaning convert it, into LevelPercent from 0–100. Then an operator can read the tank level as a percentage.

This mission is part of ProTry the full course, every mission and the expert challenges free for 7 days. No card needed.
The 3D process tank this mission runs on Pro mission
Test replay

Raw 0 reads 0%

Test 1 of 4
Set by the testChecked by the testStep 1 of 1 · 20 ms
Level
Applied
Time
About 12 min
Reward
+200 XP
Rig
3D process tank
Siemens editors
FBD
Rockwell editors
FBD
Course stage
6. Follow a measured signal
Automatic tests

What the tests check

  1. RawValue 0 gives LevelPercent 0%.
  2. RawValue 13824 gives 50%.
  3. RawValue 27648 gives 100%.
  4. Values in between scale in proportion: 6912 gives 25%.
  1. Try it Use the buttons below the model and watch the rig respond.
  2. Test solution Every check runs on your code in one press.
  3. Replay If one fails, step through it one scan at a time to see why.
Why it matters

Where you’d see this on site

A factory tank's level sensor sends a raw number to the PLC. The operator needs the panel to show how full the tank is.

A wrong conversion can show half full when the tank is almost full. Filling from that display could spill liquid. Here RawValue changes the reading, not the water.

Where you'd find thisMaking one batch of drink

At a drinks factory, valves let measured amounts of water and syrup into a mixing tank. An electric mixer blends them into one batch. An outlet valve then sends the drink to a holding tank. Filling machines bottle it from there.

  1. Ingredient tanksHold the water and syrup
  2. Mixing tankFill, mix and measure one batchYou are here
  3. Holding tankKeeps the finished drink ready
  4. Bottle fillerPuts the drink into bottles
On a real site: places, parts and safety
  • Drinks factory — blending water and syrup
  • Paint factory — mixing ingredients into a consistent colour
  • Water-treatment works — preparing a measured chemical mixture
  • Brewery — heating water for washing equipment

A full tank does not close its own inlet. Water keeps arriving until the valve closes, so an open inlet can flood the room.

A heater that is not covered by liquid can overheat. Real tanks have separate safety devices as well as the PLC programme.

The sizes, timings and cutaways are teaching choices, not a drawing of any one real installation.

Keep going

Next in the course