Delta C2000 Series User Manual page 545

Classical field oriented control ac motor drive
Hide thumbs Also See for C2000 Series:
Table of Contents

Advertisement

API
CMP
10
D
P
Bit device
X
Y
M
K
S1
S2
D
Notes on operand usage:
The operand D occupies three consecutive points
S1
Compares the size of the content of operand
comparison are expressed in
Size comparison is performed algebraically. All data is compared in the form of
numerical binary values. Because this is a 16-bit command, when b15 is 1, this
indicates a negative number.
When the designated device is Y0, it automatically occupies Y0, Y1 and Y2.
When X10=On, the CMP command executes, and Y0, Y1 or Y2 will be On. When
X10=Off, the CMP command will not execute, and the state of Y0, Y1 and Y2 will
remain in the state prior to X10=Off.
If (, ), or * results are needed, they can be obtained via series/parallel
connections of Y0-Y2.
X10
To clear results of comparison, use the RST or ZRST command.
X10
S1
S2
D
Word device
H
KnX KnY KnM
T
S2
: Compare value 1.
CMP
K10
Y0
If K10>D10, Y0 = On
Y1
If K10=D10, Y1 = On
Y2
If K10<D10, Y2= On
RST
M0
M1
RST
M2
RST
Compares set output
16-bit command (7 STEP)
CMP
Continuous
C
D
execution type
32-bit command (13 STEP)
DCMP
Continuous
execution type
Flag signal: none
: Compare value 2.
D
.
D10
Y0
X10
ZRST
16-53
PLC Function Applications
CMPP
Pulse
execution type
DCMPP
Pulse
execution type
D
: Results of comparison.
S1
S2
and
; the results of
M0
M2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents