F, <>F, <F, <=F, >F, >=F - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions
=F, <>F, <F, <=F, >F, >=F
Instruction
Single-precision Floating-point
Comparison
LD connection
Mnemonic
Symbol
S1
S2
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S1
Comparison data 1
S2
Comparison data 2
Operand Specifications
Word addresses
Area
CIO
WR
HR
AR
S1
OK
OK
OK
OK
S2
Flags
Name
Error Flag
Greater Than Flag
Greater Than or Equal Flag
Equal Flag
Not Equal Flag
Less Than Flag
Less Than or Equal Flag
Negative Flag
500
Mnemonic
Variations
F
F
F
---
F
F
F
Single-precision Floating-point Comparison
AND connection
Mnemonic
S1: Comparison data 1
S2: Comparison data 2
Block program areas
Step program areas
OK
OK
Description
Indirect DM/EM
addresses
@DM
T
C
DM
EM
@EM
OK
OK
OK
OK
OK
Label
P_ER
OFF
P_GT
>
• ON if S1+1, S1
S2+1, S2.
• OFF in all other cases.
P_GE
• ON if S1+1, S1
S2+1, S2.
• OFF in all other cases.
P_EQ
• ON if S1+1, S1 = S2+1, S2.
• OFF in all other cases.
P_NE
• ON if S1+1, S1
S2+1, S2.
• OFF in all other cases.
P_LT
<
• ON if S1+1, S1
S2+1, S2.
• OFF in all other cases.
P_LE
• ON if S1+1, S1
S2+1, S2.
• OFF in all other cases.
P_N
Unchanged
Function
code
329
These input comparison instructions compare two
330
single-precision floating point values (32-bit
331
IEEE754 constants and/or the contents of speci-
332
fied words) and create an ON execution condition
333
when the comparison condition is true.
334
OR connection
S1
S1: Comparison data 1
S2
S2: Comparison data 2
Subroutines
OK
Registers
Con-
stants
*DM
DR
*EM
OK
OK
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
Mnemonic
S1: Comparison data 1
S1
S2: Comparison data 2
S2
SFC action or
Interrupt tasks
transition programs
OK
OK
Data type
Size
REAL
2
REAL
2
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
OK
OK
---
---
---
TR
bits
---

Advertisement

Table of Contents
loading

Table of Contents