10. High-speed Input/Output Design Examples 10.5 PLSY - Production Line Control Program Y0 Pulse output Y0 PLS C2 COM- SIGN Pulse direction Stamping Device Y2 Stamping location C0 Y1 Photoelectric sensor X0 Distance of 5 circles Delta ASD A Servo Drive - Control Purpose: z When the photoelectric sensor detects products, the servo drive will rotates 5 circles to send the product to the stamping location and perform 2 sec stamping process. Devices: Device Function X0 Photoelectric sensor. X0 = ON when sheltered. Y0 Pulse output Y1 Pulse direction Y2 Stamping T0 Setting the stamping time Control Program:
X0 M0 Y0 M1029 Y2 K20 T0 DVP-PLC Application Examples 10-7 SET M0 PLSY K10000 K50000 TMR T0 RST M0