Delta C2000 series User Manual page 518

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

Advertisement

API
DECMP
110
D
P
Bit Devices
X
Y
M
K
S1
S2
D
Operands:
D Operands occupy three continuous points.
Please refer to the specification of each model series
for applicable range of the device.
:Binary floating point number comparison value 1. S
S
Explanation
1
number comparison value 2. D: Comparison result,.three continuous points are
occupied.
Comparison of the binary floating point number comparison value and binary
floating point number comparison value 2. Comparison result (>, =, <)is
shown at D.
If the source operands of S
change those constants to binary floating point numbers to make comparison.
When assgined device is M10, then M10~M12 are automatically occupied.
Example
When X0 = On, DCMP execute a command, One of M10 ~ M12 will be On. But
when X0 = Off, DECMP doen't execute any command, M10 ~ M12 remains the
same status as before X0 = Off.
If you need to have results such as ≧, ≦ or ≠, make M10~ M12 paralllel
connection.
Use the RST or ZRST command to clean the results.
X0
Word Devices
H
KnX KnY KnM
T
DECMP
M10
When (D1D0)>(D101D100), M10= On
M11
When (D1D0)=(D101D100)m ,M11= On
M12
When (D1D0)<(D101D100)\, M11 =On
Chapter 16 PLC Function C2000 Series
Floating Point Compare
16-bit command (5 STEPS)
C
D
32-bit command
DECMP
Flag signal: none
or S
are assigned constants K or H, a command will
1
2
D0
D100
M10
16-71
DECMPP
:Binary floating point
2

Advertisement

Table of Contents
loading

Table of Contents

Save PDF