Omron SYSMAC CS Series Instruction & Reference Manual page 453

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Function
The
input
compares the data specified in S1 and S2
as single-precision floating point values
(32-bit IEEE754 data) and creates an ON
execution condition when the comparison
condition is true.
When the data is stored in words, S1 and
S2 specify the first of two words
containing the 32-bit data. It is also
possible to input the floating-point data as
an 8-digit hexadecimal constant.
The input comparison instructions are
treated just like the LD, AND, and OR
instructions to control the execution of
subsequent instructions.
LD: The instruction can be connected
directly to the left bus bar.
AND:
The
instruction
connected directly to the left bus bar.
OR: The instruction can be connected
directly to the left bus bar.
 Options
With the three input types and six symbols, there are 18 different possible combinations.
Symbol
(LD, AND, and OR cannot be
used in a ladder program)
LD=, AND=, OR=, LD<>, AND<>,
OR<>, LD<, AND<, OR<, LD<=,
AND<=, OR<=, LD>, AND>, OR>,
LD>=, AND>=, OR>=
Code
Mnemonic
329
LD=F
AND=F
OR=F
330
LD<>F
AND<>F
OR<>F
331
LD<F
AND<F
OR<F
332
LD<=F
AND<=F
OR<=F
333
LD>F
AND>F
OR>F
CS/CJ/NSJ Series Instructions Reference Manual (W474)
comparison
instruction
cannot
be
Option (data format)
+
F: Single-precision floating-point
data
LOAD FLOATING EQUAL
AND FLOATING EQUAL
OR FLOATING EQUAL
LOAD FLOATING NOT EQUAL
AND FLOATING NOT EQUAL
OR FLOATING NOT EQUAL
LOAD FLOATING LESS THAN
AND FLOATING LESS THAN
OR FLOATING LESS THAN
LOAD FLOATING LESS THAN OR EQUAL
AND FLOATING LESS THAN OR EQUAL
OR FLOATING LESS THAN OR EQUAL
LOAD FLOATING GREATER THAN
AND FLOATING GREATER THAN
OR FLOATING GREATER THAN
LD connection
ON execution condition when
comparison result is true.
<F
AND connection
<F
OR connection
<F
ON execution condition when
comparison result is true.
Name
3. Instructions
ON execution condition when
comparison result is true.
Function
True if
C1 = C2
True if
C1 ≠ C2
True if
C1 < C2
True if
C1 ≤ C2
True if
C1 > C2
419
3

Advertisement

Table of Contents
loading

Table of Contents