EasyManuals Logo
Home>Omron>Controller>SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 User Manual

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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
Page #81 background imageLoading...
Page #81 background image
41
Instruction Functions Section 2-2
SIGNED BINARY
COMPARE
CPS
!CPS
*1
114
Output
Required
309
DOUBLE
SIGNED BINARY
COMPARE
CPSL
115
Output
Required
312
MULTIPLE COM-
PARE
MCMP
@MCMP
019
Output
Required
315
TABLE COM-
PARE
TCMP
@TCMP
085
Output
Required
317
UNSIGNED
BLOCK COM-
PARE
BCMP
@BCMP
068
Output
Required
320
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
CPS(114)
S
1
S
2
S1: Comparison
data 1
S
2: Comparison
data 2
Compares two signed binary values (constants and/or the contents of
specified words) and outputs the result to the Arithmetic Flags in the
Auxiliary Area.
Signed binary
comparison
Arithmetic Flags
(>, >=, =, <=, <, <>)
CPSL(115)
S
1
S
2
S1: Comparison
data 1
S
2: Comparison
data 2
S1+1
S2+1
Compares two double signed binary values (constants and/or the
contents of specified words) and outputs the result to the Arithmetic
Flags in the Auxiliary Area.
Signed binary
comparison
Arithmetic Flags
(>, >=, =, <=, <, <>)
MCMP(019)
S
1
S
2
R
S
1: 1st word of
set 1
S
2: 1st word of
set 2
R: Result word
R
C
ompares
16
consecut
i
ve wor
d
s w
i
t
h
anot
h
er
16
consecut
i
ve wor
d
s
and turns ON the corresponding bit in the result word where the
contents of the words are not equal.
Comparison
0: Words
are equal.
1: Words
aren't
equal.
TCMP(085)
S
T
R
S: Source data
T: 1st word of
table
R: Result word
R
Compares the source data to the contents of 16 words and turns
ON the corresponding bit in the result word when the contents are
equal.
1: Data are
equal.
0: Data aren't
equal.
Comparison
BCMP(068)
S
T
R
S: Source data
T: 1st word of
table
R: R
esu
l
t
w
o
r
d
T+3
1
0
14
15
T+29
T+31
T+1
T+2
T+28
T+30
T
S
R
to
to
to
to
Ranges
Upper limit
Compares the source data to 16 ranges (defined by 16 lower limits
and 16 upper limits) and turns ON the corresponding bit in the result
word when the source data is within the range.
1: In range
0: Not in range
Lower limit
Source data

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CJ - REFERENCE MANUAL 08-2008
CategoryController
LanguageEnglish

Related product manuals