Current location - Education and Training Encyclopedia - Graduation thesis - Seeking the Course Design of PLC Controlling Traffic Lights
Seeking the Course Design of PLC Controlling Traffic Lights
Let me give you an idea.

Respective input points of light with different colors in different directions

You only need to consider lighting and fire fighting.

Your traffic lights have a full stop.

You draw a section of them first, the abscissa time, the ordinate is 0 and 1.

Then look at how long this cycle is, say 50 seconds, and you order a ton.

Then by comparing the instructions, you can turn on and off the lights at different times.

For example, the red light (q0.0) is on for 0~5 seconds, on for 30~50 seconds, and off for the rest of the time.

You can write LD I0.0 (startup).

37,500 tons

LDW<= T37,50

LDW & gt; T37,300

AW & lt= T37,500

old

= Q0.0

Creativity lies in the writing of Yi Deng and Yi Deng.

It's not written together.