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 seconds of Green followed by seconds of Amber then seconds of red.
Use Boolean variables Green, Amber, Red for the steps.
Hints:
The Structured text code ST T#s will go true when the Step time exceeds seconds;
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
