3 . Timer Design Examples T0 X1 T1 T1 X1 Program Description: z X1 = ON when a coin is inserted. Y0 and Y1 will be ON and latched. A paper cup will be sent out, and a certain amount of coffee will be poured into the container at the same time. z Y0 and Y1 will be ON for 2 sec which is the set value of timer T0. When NO contact T0 is ON, Y2 will be activated and the hot water will be poured in the container. At the same time, the outlets of both paper cup and coffee will be closed. z When the liquid in the container reaches a certain amount of pressure, X1 = ON. Therefore, the hot water outlet Y2 will be reset, and the agitator Y3 will be ON for 60 sec. After 60 sec, NO contact T1 will be ON.
Y4 will be ON and latched, and Y3 will be reset at the same time. The agitator will stop working, and the ready-made coffee will be pouring out from the outlet. z When the coffee is poured into the paper cup completely, X1 will be OFF and Y4 will be reset. The ready-made coffee outlet will be closed. DVP-PLC Application Examples 3-18 SET Y2 RST Y0 RST Y1 RST Y2 SET Y3 TMR T1 K600 SET Y4 RST Y3 RST Y4