EasyManua.ls Logo

Delta VP3000 Series - Page 387

Delta VP3000 Series
714 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 7 Second Development Platform VP3000
378
API Instruction code Operand Function
275–280 D
FLD
S
1
, S
2
Floating-point number contact type
comparison LD
Type
Operand
Bit devices Word devices
16-bit instruction
- -
- -
32-bit instruction (9 steps)
FLD
Continuous
execution
type
- -
Associated flag: none
X Y M K H KnX KnY KnM T C D
S
1
S
2
Caution for using operand: : & | ^
See the specification of each model for the scope of device’s usage.
Description
S
1
: source device 1
S
2
: source device 2
This instruction compares the content in S
1
and S
2
. Take “FLD=” as an example, if the result is
“equal to”, the continuity of the instruction is enabled; if the result is “not equal to”, the
continuity of the instruction is disabled.
Use FLD instruction, users can execute operation directly by inputting floating-point value
(e.g. F1.2) in S
1
, S
2
or storing floating-point value in the register D.
The instruction is used for direct connection with busbar
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
Example
When the floating-point value in D200 (D201) F1.2 and X1 is ON, then Y21 is being triggered
and hold.
FLD<=
D200 F1.2
X1
SET
Y21

Table of Contents

Related product manuals