beautypg.com

Delta Electronics AC Motor Drive VFD-E User Manual

Page 322

background image

Appendix D How to Use PLC Function|

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

D-39

Mnemonic Function

CNT 16-bit

counter

C-K

C0~C7, K0~K32,767

Operand

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:

LD

X0

Load contact A of X0 C2 counter

X0

C20

CNT

K100

CNT

C2 K100

Setting is K100

Mnemonic Function

MC / MCR

Master control Start/Reset

Operand

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

The counting value is set back to zero, the coil and the contact
are both turned OFF

Accumulative timer

The coil is OFF, and the timer value and the contact stay at their
present condition

Subroutine timer

The counting value is back to zero. Both coil and contact are
turned OFF.