![background image](http://html1.mh-extra.com/html/eaton/elc-pb/elc-pb_programming-manual_4017452686.webp)
3 . I n s t r u c t i o n S e t
M N 0 5 0 0 3 0 0 3 E F o r m o r e i n f o r m a t i o n v i s i t : w w w. e a t o n . c o m
3 - 5 1 7
API Mnemonic
Operands
Function
275~
280
F L D *
S
1
, S
2
Floating Point Number Contact Comparison
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T
C
D
E
F
S
1
*
*
*
S
2
*
*
*
FLD*: 9 steps
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32
16
P
32
16
P
32
16
P 32 16 P 32
16
P
Operands:
S
1
: Data source value 1
S
2
: Data source value 2
Description:
1.
Compare the S1 and
S
2
. For example, “FLD=” compares
S
1
and
S
2, and
if the comparison result
is “=”, the instruction is true. If they are not “=” the instruction is false.
2.
The FLD* operands, can directly insert floating point numbers into S
1
and S
2
can each be 2 T,
C, D or actual floating point values (e.g. F1.2).
3.
This instruction must be the first instruction of a rung.
API No.
32 -bit instruction
Instruction is true Instruction is false
275
F
LD
=
S
1
=
S
2
S
1
≠
S
2
276
F
LD
>
S
1
>
S
2
S
1
≦
S
2
277
F
LD
<
S
1
<
S
2
S
1
≧
S
2
278
F
LD
<>
S
1
≠
S
2
S
1
=
S
2
279
F
LD
<=
S
1
≦
S
2
S
1
>
S
2
280
F
LD
>=
S
1
≧
S
2
S
1
<
S
2
Program Example:
When the content of floating point numbers D201, D200 is less than or equal to F1.2, and X1=ON,
set Y21=ON.
FLD<=
D200
F1.2
X1
SET
Y21
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...