DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming Operands: S 1 : No. of 16-bit counter (C0~C199) S 2 : Set value (K0~K32,767, D0~D9,999) Explanations: 1. When the CNT instruction is executed, the specific coil of counter is driven from OFF to ON once, which means the count value of counter will be added by7 1. When the accumulated count value achieves the set value, the associated NO/NC contact will be driven. 2. When set value of counter is achieved and the counter is driven again, the count value and the status of the associated contact will remain intact. If users need to restart the counting or clear the count value, please use RST instruction. Program example:
Ladder Diagram: X0 Instruction Code: Operation: LD X0 ; Load NO contact X0 CNT C20 K100 ; C20 counter setting is K100 3-282 API Mnemonic Operands Function Controllers 97 CNT 16-bit counter ES2/EX2 SS2 SA2 SX2 SE Type OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY KnM KnS T C D E F CNT: 5 steps S 1 * S 2 * * PULSE 16-bit 32-bit SA2 SA2 SA2 ES2/EX2 SS2 SX2 ES2/EX2 SS2 SX2 ES2/EX2 SS2 SX2 SE SE SE CNT C20 K100