Delta C2000 series User Manual page 476

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

Advertisement

API
ZCP
11
D
P
Bit Devices
X
Y
M
K
S
1
S
2
S
* *
D
Operands:
: Lower bound of zone comparison S
S
1
bound of zone comparison S: Comparison value
D: Comparison result
1.
E xplanation
2.
3.
4.
1.
Example
2.
3.
4.
S1
S2
S
D
Word Devices
H KnX KnY KnM T
: Lower bound of zone comparison S
S
1
comparison S: Comparison value D: Comparison result
S is compared with its
When
> S
, the instruction performs comparison by using
S
2
1
lower/upper bound.
The two comparison values are compared algebraically and the two
values are signed binary values. When b15 = 1 in 16-bit instruction or
b31 = 1 in 32-bit instruction, the comparison will regard the value as
negative binary values.
Designate device M0, and operand D automatically occupies M0, M1 and
M2.
When X0 = On, ZCP instruction will be executed and one of M0, M1, and
M2 will be On. When X10 = Off, ZCP instruction will not be executed and
M0, M1, and M2 remain their status before X0 = Off.
If the user need to obtain a comparison result with ≥ ≤, and ≠, make a
series parallel connection between Y0 ~ Y2.
X0
X0
M0
M1
M2
To clear the comparison result, use RST or ZRST instruction.
X0
Chapter 16 PLC Function |C2000 Series
Zone Compare
C
D
16-bit command (9 STEPS)
ZCP
32-bit command (17 STEPS)
Flag signal: none
: Upper
2
and the result is stored in D.
S
S
1
2
ZCP
K10
K100
If C10 < K10, M0 = On
If K10 < C10 < K100, M1 = On
=
=
If C10 > K100, M2 = On
X0
RST
M0
M1
RST
RST
M2
16-53
ZCPP
: Upper bound of zone
2
S
1
C10
M0
ZRST
M0
as the
M2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents