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 #96 background imageLoading...
Page #96 background image
Instruction
words
SUBTRACT
(SUB)
Symbol
[|
In
the
circuit
program,
the
16-bit
contents
of
10CH
(1000
to
1015)
are
added
in
units
of
four
BCD
digits
to
the
16-bit
contents
of
the
four-digit
constant
1234,
including
a
carry
(1904),
and
the
result
of
the
addition
is
output
to
the
16-bit
locations
of
HR9
CH
(HR900
to
HR915).
If
there
is
a
carry
in
the
result,
1904
is
turned
ON,
and
if
the
result
of
the
addition
is
0000,
1906
is
turned
ON.
VO
relay
internal
auxiliary
relay
Contents
of
HR9CH
20|
HR90O
HR901
HR902
HR903
HR904
HR905
eN
}
x10"
ansor
J)
2
3
HR908
HR903
HR910
HR911
HR912
HR913
š
HRg14_|
|*1°
HR915
x10°
Carry
x10?
Before
executing
an
ADD
instruction,
the
carry
register
(1904)
must
always
be
cleared
using
a
CLEAR
CARRY
instruction.
This
is
not
required
in
multistage
addition.
Function
Performs
BCD
subtraction
of
a
channel
data
or
four-digit
constant
(S2)
from
a
specified
channel
data
(S1)
and
then
outputs
the
result
to
a
specified
channe!
(D)
Remarks
The
SUB
instruction
is
used
to
execute
BCD
subtraction
between
two
specified
four-digit
data.

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