6. Data Transmission and Comparison Design Examples Program Description: z When the Power On switch is pressed, X0 = ON. The Power On indicator Y0 will be ON. . z When Process button is pressed, X1 = ON. SET Y3 instruction will be executed so as to execute TMR instruction. Timer T0 will be activated in this case. z At the same time, CMP instruction will also be executed. When the PV(present value) in T0 is smaller than the SV(set value) in D0, M0 = ON. Therefore, M0 will be ON to turn on coil Y1. Material A feeding process will start. However, when the PV in T0 ≥ the SV in D0, M1 and M2 will be ON but M0 will be OFF.
Y2 will be ON in this case and the material B feeding process will start while process A is stopped. z When the PV in T0 reaches the SV in D1, the NO(Normally Open) contact T0 will be ON to execute ZRST and RST instructions. Y1, Y2, Y3 and T0 will be reset, and the agitator will stop until the Process button is pressed again. 6-2 DVP-PLC Application Examples