Specifications
6. Basic Instructions
© DELTA ELECTRONCIS, INC. ALL RIGHTS RESERVED
6-6
CNT C20 K100
When the operation result of the instructions preceding the CNT
instruction remain on, counting is not performed. (It is not necessary to
convert the count input into a pulse.)
A
fter the counter has counted out, the count value and the status of the
contact will not change until the RST instruction is executed.
A negative number (-32768~ -1) cannot be used as a set value. When
the set value is 0, the same processing as for 1 is performed.
Instruction Operands
C-K C235~C254, K-2147483648~K2147483647
DCNT
C-D C235~C254, D0~D1143
Counters C232 to C255 are used for high speed counters. When the
operation result preceding the DCNT has changed from OFF-ON, 1 is
added to the count value. When the counter has counted out (count
value = set value), the state of the output contact is changed (ON or
OFF).
DCNT C254 K1000
The counted value is not cleared when the operation result is OFF. Use
the RST C2XX instruction to clear the counted value and to turn OFF
the contact.
Master Control Instructions
Instruction Operands
MC / MCR N0 ~ N7
MC:
MC is master control start instruction. When the ON/OFF command for
the MC is on, operation results from MC to MCR remain unchanged.
Scanning between the MC and MCR instructions is executed even when
the ON/OFF command for the MC instruction is OFF. Scan time does
not therefore become shorter.
When ON/OFF comman
d for the MC is off, the operation result of MC to
MCR is as indicated below.
Timers Count value becomes 0. Coil and contact turn OFF
Counter
Coil turns OFF. Count value and contact hold
present status.
Devices in the
OUT instruction
All turn OFF.
Devices in the
SET, RST
instructions
Hold present status.
MCR:
MCR is a master control reset instruction and indicates the end of
master control range.
Do not use a contact instruction before the MCR instruction.
The MC instructions can be used by nesting. Range of each MC
instruction is identified by a nesting number. Nesting numbers are used
in the range of N0 to N7.