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

Table of Contents

Advertisement

3. Instructions
=D, <>D, <D, <=D, >D, >=D
Instruction
Double-precision Floating-point
Input 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
544
Mnemonic
Variations
=D
<>D
<D
---
<=D
>D
>=D
Double-precision Floating-point Input 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 both the exponent and mantissa of the result are 0.
• OFF in all other cases.
P_GE
• ON if the absolute value of the result is too large to be expressed as a double-precision (64-bit)
floating-point value.
• OFF in all other cases.
P_EQ
Unchanged
P_NE
• ON if the absolute value of the result is too large to be expressed as a double-precision (64-bit)
floating-point value.
• OFF in all other cases.
P_LT
Unchanged
P_LE
• ON if the result is negative.
• OFF in all other cases.
P_N
Unchanged
Function
code
335
336
These input comparison instructions compare two
337
double-precision floating point values (64-bit
338
IEEE754 format) and create an ON execution con-
339
dition when the comparison condition is true.
340
OR connection
S1: Comparison data 1
S1
S2
S2: Comparison data 2
Subroutines
OK
Data type
LREAL
LREAL
Registers
Con-
stants
*DM
DR
*EM
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
Size
4
4
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
---
TR
bits
---

Advertisement

Table of Contents
loading

Table of Contents