Delta AH500 Programming Manual page 218

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
API
Instruction code
0024~
D
FAND※
0029
Device X
Y
M
S
1
S
2
Symbol:
Taking FAND= and DFAND= for example
Explanation:
1.
The instructions are used to compare the value in S
compared are floating-point numbers. Take the instruction FAND= for example. When the
comparison result is that the value in S
is met. When the comparison result is that the value in S
condition of the instruction is not met.
API
32-bit
number
instruction
0024
FAND=
0025
FAND<>
0026
FAND>
0027
FAND>=
0028
FAND<
0029
FAND<=
Example:
Take the instruction FAND= for example. When X1.0 is ON and the value in D1 is equal to that in
D2, Y1.0 is ON.
Additional remark:
1.
If the value in S
or S
1
floating-point numbers, the contact is OFF, SM is ON, and the error code in SR0 is 16#2013.
Operand
S
, S
1
S
T
C
HC
D
Pulse instruction 32-bit instruction (5-7 steps) 64-bit instruction (5-7 steps)
-
: Data source 1
S
1
: Data source 2
S
2
is equal to that in S
1
64-bit
instruction
DFAND=
DFAND<>
DFAND>
DFAND>=
DFAND<
DFAND<=
exceeds the range of values which can be represented by the
2
Comparing the floating-point
2
numbers
L
SM SR
E
PR
AH500
Double word/Long word
Double word/Long word
with that in S
, and the values
1
2
, the condition of the instruction
2
is not equal to that in S
1
Comparison operation result
ON
=S
S
1
2
≠S
S
S
1
2
>S
S
1
2
≧S
S
S
1
2
<S
S
1
2
≦S
S
S
1
2
Function
K
16# "$"
DF
AH500
, the
2
OFF
≠S
S
1
2
=S
1
2
≦S
S
1
2
<S
1
2
≧S
S
1
2
>S
1
2
6 - 1 3

Advertisement

Table of Contents
loading

Table of Contents