DESIGN CASES

15.5.1 If-Then

[an error occurred while processing this directive]

Problem: Convert the following C/Java program to ladder logic.

 

Solution:

 

Figure 15.24 C Program Implementation

15.5.2 Traffic Light

[an error occurred while processing this directive]

Problem: Design and write ladder logic for a simple traffic light controller that has a single fixed sequence of 16 seconds for both green lights and 4 second for both yellow lights. Use either stacks or sequencers.

Solution: The sequencer is the best solution to this problem.

 

Figure 15.25 An Example Traffic Light Controller

[an error occurred while processing this directive]