Delta AS Series Programming Manual page 294

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
FAND※
0024-0029
Device
X
Y
M
S
1
S
2
Data
type
S
1
S
2
Symbol
Taking FAND= and DFAND= for example
Explanation
1.
These instructions compare the 32-bit single precision floating point numbers
2.
Compare values in S
1
value in S
is equal to that in S
1
that the value in S
is not equal to that in S
1
API number
Operand
S
S
T
C
HC
Pulse Instruction
: Data source 1
S
1
: Data source 2
S
2
and S
. Take the FAND= instruction for example. When the comparison result is that the
2
, the continuity condition of the instruction is met. When the comparison result is
2
, the discontinuity condition of the instruction is met.
2
32-bit
instruction
0024
FAND=
FAND<>
0025
FAND>
0026
FAND>=
0027
FAND<
0028
FAND<=
0029
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
,S
1
2
D
FR
SM
SR
16-bit instruction
Continuity
Discontinuity
condition
condition
=S
≠S
S
S
1
2
1
≠S
=S
S
S
1
2
1
>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
AND※
E
K
16#
"$"
32-bit instruction
AS
2
2
2
2
2
2
6 - 1 5
F
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents