EasyManuals Logo

Omron SYSMAC C Series User Manual

Omron SYSMAC C Series
166 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 #92 background imageLoading...
Page #92 background image
Instruction
words
Coding
chart
Contents
of
data
(S1,
S2)
[Address
[Instruction
|
Data]
LD
Input/output
re-
lay,
internal
auxi-}
00
to
19
liary
relay
Holding
relay
HRO
to
9
Timer/counter
TIM/CNT00
to
47
Constant
#0000
to
FFFF
OUT
CMP
(20)
Note:
When
the
result
register
is
jogical
1,
a
CMP
instruction
is
executed
at
each
scanning.
To
execute
it
only
one
time,
program
a
differentiation
circuit
for
the
input.
Nothing
is
executed
when
the
content
of
the
result
register
is
logical
0.
Therefore,
the
compare
result
area
of
special
auxiliary
relays
1905
to
1907
holds
the
previous
status,
and
on
execution
of
an
END
instruction,
all
of
these
relays
are
cleared
to
0.
When
the
contents
of
the
result
register
are
logica!
1,
the
CMP
instruction
is
executed.
In
the
circuit
example,
when
the
program
is
executed,
the
16-bit
data
of
10CH
(1000
to
1015)
are
compared
with
the
16-bit
data
of
HROCH
(HR900
to
915),
and
the
result
is
output
to
the
result
area
of
special
auxiliary
relays
1905
to
1907.
(nput/output
relay
Result
of
comparison
10CH
1905
|
1906
|
1907
10CH>HR9OCH
1
0
x16
[40CH=HRSCH
|
0
|
1
10CH<HR9CH
0
0
x16?
x16?
A
constant
iscompared
with
the
four-digit
hexadecimal
(binary
16-bit)
data.
B-17

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC C Series and is the answer not in the manual?

Omron SYSMAC C Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC C Series
CategoryController
LanguageEnglish

Related product manuals