Lessons and the learning game

Factory automation systems

How an automation technician runs a cell: conveyors, sequences as state machines, interlocks, an HMI with alarm acknowledge, e-stop and fault recovery.

What it teaches

Seven lessons in three chapters, for the robotics and automation technician path:

  • Lines and sequences: a bottling line walked input by input (belt and pump relays, an IR eye, a float switch, a guard), then its cycle as a state machine, with backstop timers and the two classic faults, jammed and starved.
  • Stations and safety: a color sorting station that measures, normalizes, decides and confirms; permissives, a start-up warning, and an interlocked guard door with latching faults.
  • Operate and recover: an HMI with lamps that mean one thing, alarm acknowledge and STOP; an e-stop that needs a reset; a starved line brought back; and the boss, a production run in batches with an e-stop mid-shift.

Ladder logic is in PLC programming; this course is the thinking behind it. Open it at /learn/path/factory-automation.

The circuits

  • Bottling line (gallery, fillline): belt relay on 7, pump relay on 6, FC-51 eye on 9, float on 10, guard switch on 11, START on 12.
  • Color sorter (gallery, colorsorter): the sorter cabinet on A4, A5 and pin 9.
  • Sorting cell (facline): the sorter cabinet powered through relay K1 from pin 8 (the stand-in for the contactor), an E18-D80NK on the guard door on pin 2 (2 cm is shut, 100 open), and a TM1638 HMI on pins 4, 6 and 7: S1 START, S2 STOP, S3 ACK, S4 RESET, S8 E-STOP.

Safety

Everything here is 5 V. Real cells run controls on 24 V DC and motors from mains; mains work is for trained, qualified people. A real emergency stop is hardwired into a safety relay that cuts power on its own, never only a button the program reads.

Troubleshooting

  • START is refused: read the reason. Shut the guard, ACK any alarm, and RESET after an e-stop.
  • The cell faults starved: the hopper is empty or the timeout is too tight. Refill, ACK, START.
  • The bottling line will not run: the guard switch has to be pressed (the door shut) and START pressed after it.