EasyManua.ls Logo

Delta DVP-SE - Page 695

Delta DVP-SE
1006 pages
Print Icon
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...
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-574
API
Mnemonic Operands Function
Controllers
ES2/EX2
SS2
SA2
SE
SX2
275~
280
FLD※
Floating Point Contact Type
Comparison LD※
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
FLD※: 9 steps
S
1
*
*
*
S
2
*
*
*
PULSE
16-bit
32-bit
ES2/
EX2
SS2
SA2/
SE
SX2
ES2/
EX2
SS2
SA2/
SE
SX2
ES2/
EX2
SS2
SA2/
SE
SX2
Operands:
S
1
: Source device 1 S
2
: Source device 2
Explanations:
1. This instruction compares the content in S
1
and S
2
. Take “FLD=” for example, if the result is “=”,
the continuity of the instruction is enabled. If the result is “≠”, the continuity of the instruction is
disabled.
2. The user can specify the floating point value directly into operands S
1
and S
2
(e.g. F1.2) or
store the floating point value in D registers for further operation.
3. FLD※ instruction is used for direct connection with left hand bus bar.
API No.
32 -bit instruction
Continuity condition
Discontinuity condition
275
FLD
=
S
1
=
S
2
S
1
≠S
2
276
FLD>
S
1
>S
2
S
1
≦S
2
277
FLD<
S
1
<S
2
S
1
≧S
2
278
FLD<>
S
1
≠S
2
S
1
=S
2
279
FLD
<=
S
1
≦S
2
S
1
>
S
2
280
FLD>=
S
1
≧S
2
S
1
<S
2
When either the value in S
1
or S
2
comes from external input, or is converted by any editing software,
chances are some slight numeral errors may occur and that may lead to not matching “FLD=” or
other comparing to be equal instructions. It is suggested to use instructions such as “FLD<” and
“FAND>” or “FLD>” and “FAND<” instead.
Program Example:
When the content in D200(D201) ≤ F1.2 and X1 is ON, Y21 = ON and latched.
FLD<=
D200 F1.2
X1
SET
Y21

Table of Contents