Program exercise · Easy · Ladder · 5 min · Free

Light the lamp

Make a pushbutton input drive a lamp output so the lamp is on only while the button is held.

Opens the exercise in the FORGE workspace. Sign in to have your result checked and earn 50 XP.

How it is checked.

  • A contact reads the pushbutton input
  • A coil drives the lamp output
  • The lamp follows the button while running

Builds on the lesson The PLC scan cycle, explained.

Part of Contacts and logic. All practice exercises.