The counting value is set back to zero, the coil and the contact are both turned OFF
The coil is OFF, and the timer value and the contact stay at their present condition
The counting value is back to zero. Both coil and contact are turned OFF.

 

 

Appendix D How to Use PLC Function

Mnemonic

 

Function

 

 

 

CNT

 

16-bit counter

 

 

 

Operand

C-K

C0~C7, K0~K32,767

 

 

C-D

C0~C7, D0~D29

 

 

 

 

Explanations:

1.When the CNT command is executed from OFFÆON, which means that the counter coil is driven, and 1 should thus be added to the counter’s value; when the counter achieved specific set value (value of counter = the setting value), motion of the contact is as follows:

NO(Normally Open) contact

Continuity

 

 

NC(Normally Closed) contact

Non-continuity

 

 

2.If there is counting pulse input after counting is attained, the contacts and the counting values will be unchanged. To re-count or to conduct the CLEAR motion, please use the RST command.

Program Example:

 

 

 

 

 

Ladder diagram:

 

 

Command code:

Operation:

 

X0

 

 

LD

X0

Load contact A of X0 C2 counter

 

 

 

 

CNT

C2

0

K100

 

 

 

 

 

 

 

 

 

 

 

 

 

 

CNT

C2 K100

Setting is K100

Mnemonic

MC / MCR

Operand

Function

Master control Start/Reset

N0~N7

Explanations:

1.MC is the main-control start command. When the MC command is executed, the execution of commands between MC and MCR will not be interrupted. When MC command is OFF, the motion of the commands that between MC and MCR is described as follows:

Timer

Accumulative timer

Subroutine timer

Revision June 2008, 04EE, SW--PW V1.11/CTL V2.11

D-39

Page 322
Image 322
Delta Electronics VFD-E manual Cnt, C2 K100, Mc / Mcr