Skip to content

The lab is in beta. Found something wrong?Beta · Found something wrong?

PLC lab · Level 18 of 19

Bottling line: fill, cap, reject

Level 18 of 19 in the PLC lab: a free PLC exercise at Intermediate level, which takes about 1 hour 15 minutes. Stop each bottle at the filler, fill it for a set time, check it has a cap, reject the ones that do not, and stop the line when the batch is done.

Start this level

Free · no download · about 1 hour 15 minutes. Your work is saved on this device. Updated 18 Oct 2026.

3D view of the Bottling line: fill, cap, reject level in the PLC lab
Bottling line: fill, cap, reject

The brief

Client
Cranmore Drinks
Site
Bottling line 4
Work order
CD-2618
Industry
Food and drink
Task code
PLC-18
Difficulty
Intermediate
Type of work
Programming

Stop the line for each bottle at the filler, fill it for a set time, check every bottle for a cap, count good and rejected bottles once each, reject uncapped bottles after a travel delay, and stop the line when a batch is done.

What you do

  1. Read the client brief and the tag table: 14 tags, 7 inputs and 4 outputs.
  2. Write the logic in ladder, Structured Text or SFC.
  3. Press Simulate and watch the plant answer your program.
  4. Run the factory acceptance test and fix what fails.

Skills you practise

  • Sequence with timers
  • One-shot counting
  • Delayed reject output
  • Batch counting and reset
  • Sensor and presence interlock

What the test checks

The factory acceptance test runs 6 numbered tests against your program. The numbers in the brief are drawn per learner. The tests are:

  • Start, Stop and E-stop run the Conveyor
  • Stops at the filler and fills for 2000 ms, once per bottle
  • Counts good bottles once each
  • Rejects a bottle with no cap 800 ms after it arrives
  • Batch of 7: the line stops, Reset clears the counts
  • Stop and E-stop switch everything off and drop a waiting reject

In this lab

  • Ladder, Structured Text and SFC in one studio
  • A plant that answers: motors, tanks, conveyors
  • Numbered tests mark your program

Levels in the PLC lab

Previous: Batch mixer with recipesNext: Fault-finding challenge

  1. Motor start/stop with overload
  2. Forward/reverse conveyor
  3. Star-delta fan starter
  4. Batch counter on a packing line
  5. Tank filling pump
  6. Pedestrian crossing
  7. Parcel sorter
  8. Duty and standby pumps
  9. Scale the tank level
  10. Conveyor jam detection
  11. Reusable motor block: four motors
  12. Filling sequence
  13. Packaging line drive
  14. Safety gate interlock
  15. Air handling unit temperature control
  16. Palletiser sequence
  17. Batch mixer with recipes
  18. Bottling line: fill, cap, reject
  19. Fault-finding challenge

Part of the PLC lab

Program a working machine in ladder, Structured Text or SFC and watch it run.

About the PLC lab

Feeds these internships: PLC Programming.