Question: In Codesys make a traffic light SFC sequencer that gives 3 0 seconds of Green followed by 1 0 seconds of Amber then 2 0

In Codesys make a traffic light SFC sequencer that gives 30seconds of Green followed by 10 seconds of Amber then 20seconds of red.
Use Boolean variables Green, Amber, Red for the steps.
Hints:
The Structured text code S1.T > T#40s will go true when the Step1 time exceeds 40seconds;
The T# tells Codesys its a time.
Dont forget the Jump back to the beginning!
The problm is that the Function Block Test page on Codesys have no space to put the code except Variations. Please help

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!