EasyManua.ls Logo

Delta MH300 Series - Page 934

Delta MH300 Series
1030 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 16 PLC Function ApplicationsMH300
16-71
API
ECMP
Compare binary floating point numbers
110
D
P
bit device
Word device
16-bit command
32-bit command (13 STEP)
DECMP
Continuous
execution type
DECMPP
Pulse
execution type
Flag signal: none
X
Y
M
K
H
KnX
KnY
KnM
T
C
D
S1
S2
D
Notes on operand usage:
The operand D occupies three consecutive points.
Refer to the
function specifications table for each device in series for the scope
of device usage.
S
1
: Binary floating point number 1. S
2
: Binary floating point number 2. D: Results
of comparison, occupies three consecutive points.
Compares binary floating point number 1 with binary floating point number 2, and
stores the result of comparison (>, =, <) in D.
If the source operand S
1
or S
2
designates a constant K or H, the command
converts the constant to a binary floating point number for the purpose of
comparison.
When the designated device is M10, it automatically occupies M10M12.
When X0=ON, the DECMP command executes, and one of M10M12 is ON.
When X0=OFF, the DECMP command does not execute, and M10M12 remains
in the X0=OFF state.
For ≥, ≤, or comparison, use series and parallel connections for M10M12.
Use the RST or ZRST command to clear the result.

Table of Contents

Related product manuals