Delta DVP — 2.2 Daily Production Record (16-bit Counting Up Latched Counter)

2. Counter Design Examples 2.2 Daily Production Record (16-bit Counting Up Latched Counter) Control Purpose: z The production line may be powered off accidentally or turned off for noon break. The program is to control the counter to retain the counted number and resume counting after the power is ON again. z When the daily production reaches 500, the target completed indicator will be ON to remind the operator for keeping a record. z Press the Clear button to clear the history records. The counter will start counting from 0 again. Devices: Device Function X0 Photoelectric sensor. Once detecting the products, X0 will be ON. X1 Clear button C120 Counter:

16-bit counting up (latched) Y0 Target completed indicator Control Program: X0 C120 Y0 X1 Program Description: z The latching counter is demanded for the situation of retaining data when power-off. z When a product is completed, C120 will count for one time. When the number reaches 500, DVP-PLC Application Examples 2-2 X1 Daily Qu今an日tit完y 成Co Clear X0 456 u今an日tit完y 成Co 456 4 56 CNT C120 K500 RST C120