1. Basic Program Design Examples 1.8 Common Latched Circuit and SET/RST Instructions Application Control Purpose: z Turn on the switch, the light will be ON; turn off the switch, the light will be OFF. Devices: Control Program: z Common Latched Circuit X0 X1 Y0 Y0 z Latched Circuit for SET/RST Instructions X0 X1 Program Description: z In the above examples, when X0 goes from OFF to ON, Y0 will stay in ON state. When X1 goes from OFF to ON, Y1 will stay in OFF state z When X0 and X1 are enabled at the same time, it will be “Stop First”, that is, Y1 and the indicator will be OFF. DVP-PLC Application Examples 1-8 Device Function X0 Switch-on button.
X0 will be ON when pressed X1 Switch-off button. X1 will be ON when pressed Y0 Indicator SET Y0 1 RST Y0