Delta DVP — 10.5 PLSY - Production Line Control Program

10. High-speed Input/Output Design Examples Program Description: z When a product is detected by the photoelectric sensor X0, SET instruction will be executed for setting on M0 and PLSY instruction will thus be executed to output pulses by Y1 with frequency of 10kHz z When the number of the output pulses reaches 50000, which means the servo drive rotates 5 circles to send the product to stamping location, M1029 will be ON to activate stamping device Y2. At the same time, timer T0 starts counting for 2 sec. After 2 sec, the NO (Normally Open) contact T0 will be activated to reset M0, which resets PLSY instruction as well as M1029 and Y2. Finally, the stamping process is completed.

z When X0 is triggered once again, PLSY will be executed again and Y0 will start to output pulses. The stamping process will be then repeated. z Note: In this program, the timing of triggering X0 should be after the complete stamping process otherwise there would be a processing error. DVP-PLC Application Examples 10-8