Delta DVP — 3.17 Traffic Lights Control

3. Timer Design Examples Y1 S11 S Green light in East-West direction is ON for 20 sec. T1 S12 S Green light in East-West direction is flashing for 5 sec. Y2 S13 S Yellow light in East-West direction is ON. S Y11 S20 Green light in North-South direction is ON for 50 sec. T10 S21 S M1013 Y11 Green light in North-South direction is flashing for 5 sec. T11 Y12 S22 S T12 Yellow light in North-South direction is ON for 5 sec. Y10 S23 S Red light in North-South direction is ON for 30 sec. T13 S13 S23 S S S0 RET Program Description: z When Start is pressed, X0 = ON. PLS instruction will be executed, and M0 will create a rising-edge pulse to set T0. The program will enter the step ladder process.

z When Stop is pressed, X1 = ON. PLS instruction will be executed, and M1 will create a rising-edge pulse to execute [ZRST S0 S127] instruction. All steps will be reset and all traffic DVP-PLC Application Examples 3-31 TMR T1 K200 SET S12 TMR T2 K50 M1013 Y1 T2 SET S13 TMR T2 K50 SET S13 TMR T10 K500 SET S21 TMR T11 K50 SET S22 TMR T12 K50 SET S23 TMR T13 K300