EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 598

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
565
Double-precision Floating-point Instructions Section 3-15
Options
With the three input types and six symbols, there are 18 different possible
combinations.
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
+3, S
1
+2, S
1
+1, S
1
and C2=S
2
+3, S
2
+2, S
2
+1, S
2
.)
Symbol Option (data format)
= (Equal)
< > (Not equal)
< (Less than)
<= (Less than or equal)
> (Greater than)
>= (Greater than or equal)
D: Double-precision floating-point data
Code Mnemonic Name Function
335 LD=D LOAD DOUBLE FLOATING EQUAL True if
C1 = C2
AND=D AND DOUBLE FLOATING EQUAL
OR=D OR DOUBLE FLOATING EQUAL
336 LD<>D LOAD DOUBLE FLOATING NOT EQUAL True if
C1 C2
AND<>D AND DOUBLE FLOATING NOT EQUAL
OR<>D OR DOUBLE FLOATING NOT EQUAL
337 LD<D LOAD DOUBLE FLOATING LESS THAN True if
C1 < C2
AND<D AND DOUBLE FLOATING LESS THAN
OR<D OR DOUBLE FLOATING LESS THAN
338 LD<=D LOAD DOUBLE FLOATING LESS THAN OR
EQUAL
Tr ue i f
C1 C2
AND<=D AND DOUBLE FLOATING LESS THAN OR EQUAL
OR<=D OR DOUBLE FLOATING LESS THAN OR EQUAL
<D
<D
<D
LD connection
AND connection
OR connection
ON execution condition when
comparison result is true.
ON execution condition when
comparison result is true.
ON execution condition when
comparison result is true.

Table of Contents

Related product manuals