Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 547

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Floating-point Math Instructions
514
LD connection
ON execution condition when
comparison result is true.
<F
AND connection
<F
OR connection
<F
ON execution condition when
comparison result is true.
Options
With the three input types and six symbols, there are 18 different possible
combinations.
Symbol
=
(Equal)
< >
(Not equal)
<
(Less than)
<=
(Less than or equal)
>
(Greater than)
>=
(Greater than or equal)
Summary of Input Comparison Instructions
The following table shows the function codes, mnemonics, names, and func-
tions of the 18 single-precision floating-point input comparison instructions.
(C1=S
+1, S
and C2=S
1
1
Code Mnemonic
329
LD=F
LOAD FLOATING EQUAL
AND=F
AND FLOATING EQUAL
OR=F
OR FLOATING EQUAL
330
LD<>F
LOAD FLOATING NOT EQUAL
AND<>F
AND FLOATING NOT EQUAL
OR<>F
OR FLOATING NOT EQUAL
331
LD<F
LOAD FLOATING LESS THAN
AND<F
AND FLOATING LESS THAN
OR<F
OR FLOATING LESS THAN
332
LD<=F
LOAD FLOATING LESS THAN OR EQUAL
AND<=F
AND FLOATING LESS THAN OR EQUAL
OR<=F
OR FLOATING LESS THAN OR EQUAL
ON execution condition when
comparison result is true.
Option (data format)
F: Single-precision floating-point data
+1, S
.)
2
2
Name
Section 3-14
Function
True if
C1 = C2
True if
C1
C2
True if
C1 < C2
True if
C1
C2

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CP - PROGRAMMING MANUAL 05-2007 and is the answer not in the manual?

Questions and answers

Table of Contents