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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Double-precision Floating-point Instructions
LD connection
ON execution condition when
comparison result is true.
<D
AND connection
<D
OR connection
<D
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
+3, S
+2, S
+1, S
1
1
1
Code Mnemonic
335
LD=D
LOAD DOUBLE FLOATING EQUAL
AND=D
AND DOUBLE FLOATING EQUAL
OR=D
OR DOUBLE FLOATING EQUAL
336
LD<>D
LOAD DOUBLE FLOATING NOT EQUAL
AND<>D
AND DOUBLE FLOATING NOT EQUAL
OR<>D
OR DOUBLE FLOATING NOT EQUAL
337
LD<D
LOAD DOUBLE FLOATING LESS THAN
AND<D
AND DOUBLE FLOATING LESS THAN
OR<D
OR DOUBLE FLOATING LESS THAN
338
LD<=D
LOAD DOUBLE FLOATING LESS THAN OR
EQUAL
AND<=D
AND DOUBLE FLOATING LESS THAN OR EQUAL
OR<=D
OR DOUBLE FLOATING LESS THAN OR EQUAL
ON execution condition when
comparison result is true.
Option (data format)
D: Double-precision floating-point data
and C2=S
+3, S
+2, S
1
2
2
Name
Section 3-15
+1, S
.)
2
2
Function
True if
C1 = C2
True if
C1
C2
True if
C1 < C2
True if
C1
C2
565

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents