Menu
CoddyTech

Green Until Pressed

Part of the Timers section of Coddy's PLC Programming journey. Lesson 13 of 18.

This project builds a pedestrian crossing, one step per lesson. The cars have Red, Amber and Green. The walkers have Walk and DontWalk, and a call box with WalkButton and a Wait lamp.

The cars have green until someone presses the button. A press is short, so latch it in a memory bit, Req (the request):

The last rung lights DontWalk whenever Walk is off. Walk comes later, so for now DontWalk is always lit.

challenge icon

Challenge

Medium

Start the crossing:

  • cars get Green and walkers get DontWalk
  • a press of WalkButton latches Req, and then the cars get Red instead of Green

Try it yourself

{"v":1,"lang":"ld","tags":[],"rungs":[{"els":[]}]}

All lessons in Timers

Practice on your own: PLC playground