Delta MS300 Series User Manual page 720

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

Advertisement

API
ZCP
11
D
P
bit device
X
Y
M
K
S1
S2
S
D
Notes on operand usage:
The content value of operand S1 is less than the content value of
S2 operand.
The operand D occupies three consecutive points.
S1: Lower limit of range comparison. S2: Upper limit of range comparison. S:
Comparative value. D: Results of comparison.
Compares value S with the lower limit S1 and upper limit S2, and stores the
results of comparison in D.
When lower limit S1 > upper limit S2, the command uses the lower limit S1 as
the upper and lower limit.
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 M0, it automatically occupies M0, M1 and M2.
When X0 = ON, the ZCP command executes, and M0, M1 or M2 is ON. When
X0 = OFF, the ZCP command does not execute, and the state of M0, M1 or M2
remains in the state prior to X0 = OFF.
For ≥, ≤, or ≠ comparison results, use series and parallel connections for M0–
M2.
To clear results of comparison, use the RST or ZRST command.
X0
Word device
H
KnX KnY KnM
T
X0
X0
ZCP
M0
If C10 < K10, M0 = On
M1
If K10 < C10 < K100, M1 = On
M2
If C10 > K100, M2 = On
M0
RST
M1
RST
M2
RST
Chapter 16 PLC Function ApplicationsMS300
Range comparison
16-bit command (9 STEP)
C
D
ZCP
Continuous
execution type
32-bit command (17 STEP)
DZCP
Continuous
execution type
Flag signal: none
K10
K100
C10
=
=
X0
ZRST
711
ZCPP
Pulse
execution type
DZCPP
Pulse
execution type
M0
M0
M2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents