EasyManua.ls Logo

Omron CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS
1308 pages
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...
3. Instructions
504
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Precautions
Input comparison instructions cannot be used as right-hand instructions, i.e., another instruction
must be used between them and the right bus bar.
Example Programming
When CIO 0.00 is ON in the following example, the floating point data in D101, D100 is compared to the
floating point data in D201, D200. If the content of D101, D100 is less than that of D201, D200,
execution proceeds to the next line and CIO 50.00 is turned ON. If the content of D101, D100 is not less
than that of D201, D200, execution does not proceed to the next instruction line.
SINGLE FLOATING LESS THAN Comparison (<F)
325 LD>=F LOAD FLOATING GREATER THAN OR EQUAL True if
C1 C2
AND>=F AND FLOATING GREATER THAN OR EQUAL
OR>=F OR FLOATING GREATER THAN OR EQUAL
Code Mnemonic Name Function
<F
D100
D200
0.00
50.00
2.3>3.5
0000000000000000
1100000001100000
15 0
0011001100110011
0100000000010011
15 0
S1: D100
S1+1: D101
S2: D200
S2+1: D201
4294967296<5566555656
1110010101110011
0100111110100101
15
0000000000000000
0100111110000000
15 0
S1: D100
S1+1: D101
S2: D200
S2+1: D201
Does not yield an ON condition.
Decimal value: 2.3 Decimal value: -3.5
Decimal value: 5,566,555,656Decimal value: 4,294,967,296
Yields an ON condition.

Table of Contents

Related product manuals