Delta AS Series Programming Manual page 292

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
FLD※
0018-0023
Device
X
Y
M
S
1
S
2
Data
type
S
1
S
2
Symbol
Taking FLD= for example
Explanation
1.
These instructions compare the 32-bit single precision floating point number
2.
Compare values in S
1
in S
is equal to that in S
1
value in S
is not equal to that in S
1
Remarks point 2 below for more information on the instruction of FLD=.
API number
Operand
S
S
T
C
HC
Pulse Instruction
: Data source 1
S
1
: Data source 2
S
2
and S
. Take the FLD= instruction for example. When the comparison result is that the value
2
, the continuity condition of the instruction is met. When the comparison result is that the
2
, the discontinuity condition of the instruction is met. Refer to Additional
2
32-bit
instruction
0018
FLD=
0019
FLD<>
FLD>
0020
0021
FLD>=
FLD<
0022
0023
FLD<=
C h a p t e r 6 Ap p l i e d I n s t r u c t i o n s
Comparing floating-point numbers LD
,S
1
2
D
FR
SM
SR
16-bit instruction
Continuity
Discontinuity
condition
condition
=S
S
S
1
2
1
≠S
=S
S
S
1
1
2
>S
≦S
S
S
1
1
2
<S
≧S
S
S
1
2
1
<S
≧S
S
S
1
1
2
>S
≦S
S
S
1
2
1
Function
E
K
16#
"$"
32-bit instruction
AS
≠S
2
2
2
2
2
2
F
6_
6 - 1 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents