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
MediumStart the crossing:
- cars get
Greenand walkers getDontWalk - a press of
WalkButtonlatchesReq, and then the cars getRedinstead of Green
Try it yourself
{"v":1,"lang":"ld","tags":[],"rungs":[{"els":[]}]}All lessons in Timers
4Project: Pedestrian Crossing
Green Until PressedAmber Before RedRed and WalkClear the CrossingThe Wait LampNight ModePractice on your own: PLC playground