Delta MS300 Series User Manual page 709

Standard compact drive
Hide thumbs Also See for MS300 Series:
Table of Contents

Advertisement

Chapter 16 PLC Function ApplicationsMS300
Command
CNT
16-bit counter
Operand
When you execute the CNT command from OFF to ON, switch the designated
counter coil from no power to electrified and add one to the counter's count value.
When the count reaches the designated value (count value = setting value), the
contact has the following action:
N.O. (Normally Open) contact
N.C. (Normally Closed) contact
After reaching the count value, the contact and count value both remain unchanged
even with continued count pulse input. Use the RST command to restart or clear the
count.
Ladder diagram:
Command
MC / MCR
Connect /release a common series contact
Operand
N0–N7
MC is the main control initiation command, and any command between MC and MCR
is executed normally. When the MC command is OFF, any command between MC
and MCR acts as follows:
Determination of Commands
Coil driven by OUT command None receives power.
Elements driven by SET, RST
MCR is the main control stop command, and is placed at the end of the main control
program. There may not be any contact command prior to the MCR command.
The MC-MCR main control program commands support a nested program structure
with a maximum of only eight levels; use in the order N0–N7. Refer to the following
program example:
Ladder diagram:
X0
X1
X2
X3
X10
X11
C-K
C0–C79, K0–K32,767
C-D
C0–C79, D0–D399
Ordinary timer
Counter
commands
Application commands
MC
N0
Y0
MC
N1
Y1
N1
MCR
N0
MCR
MC
N0
Y10
N0
MCR
Function
Open circuit
Closed circuit
Command code:
LD
CNT
Function
Description
The timing value reverts to 0, the coil loses power,
and the contact does not operate.
The coil loses power, and the count value and
contact stay in their current state.
They remain in their current state.
None are actuated.
Command code:
LD
MC
LD
OUT
:
LD
MC
LD
OUT
:
MCR
:
700
Description:
X0
Load Contact A of X0
C2
C2 counter
K100
Set value as K100
Description:
X0
Load Contact A of X0
Connection of N0
N0
common series contact
X1
Load Contact A of X1
Y0
Drive Y0 coil
X2
Load Contact A of X2
Connection of N1
N1
common series contact
X3
Load Contact A of X3
Y1
Drive Y1 coil
Release N1 common
N1
series contact

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents