Delta DVP — 10.2 DHSCS - Cutting Machine Control

10. High-speed Input/Output Design Examples 10.2 DHSCS - Cutting Machine Control X1 X1 X1 Cutter Y1 Y1 Y1 Photoelectric sensor X0 Control Purpose: z Counting the number of rotations and controlling the cutter according to the value in C235. X0 counts once when the axis rotates once. When C235 counts to 1000, the cutter will perform cutting process once. Devices: Control Program: M1000 When PLC runs, high-speed counter C235 will be enabled. When present value in C235 changes from 999 to 1000 or 1001 to 1000, Y1 will be ON and output the state immediately. X1 When X1 = ON, the cutter Y1 will be reset and the counter C235 will be cleared. Program Description:

z The photoelectric sensor X0 is the external input point of C235. X0 turns on once when the axis of conveyor belt rotates once and therefore C235 counts once. z During the execution of DHSCS instruction, Y1 will be ON when the value in C235 reaches 1000 (Axis rotation =1000 times) and then output the state immediately to the external output terminals. Therefore, the cutter will be enabled. z When the cutter is released, X1 = ON. C235 will be cleared and the cutter Y1 will be reset. In this case, X1 turns off. C235 will restart counting and the above process will be repeated. DVP-PLC Application Examples 10-3 Device Function X0 Photoelectric sensor.

X0 turns on once when the axis rotates once X1 Photoelectric sensor. X1 = ON when cutter is released (Y1 = OFF). Y1 Cutter C235 Counting the number of axis rotations DCNT C235 K2000 DHSCS K1000 C235 Y1 RST Y1 RST C235