EasyManua.ls Logo

Omron SYSMAC C200H CPU01-E - Page 143

Omron SYSMAC C200H CPU01-E
172 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
Loading...
Appendix EProgramming Instructions
129
IR SR HR TR AR LR TC DM #
00000 to 23515 23600 to 25507 HR 0000 to 9915 TR 0 to 7 AR 0000 to 2715 LR 0000 to 6315 TC 000 to 511 Read/Wr: DM 0000 to DM 0999
Rd only: DM 1000 to DM 1999
0000 to 9999
or 0000 to FFFF
These footnote tables show the actual ranges of all data areas. Bit numbers are provided (except for DM and TC areas); remove the rightmost two digits for word numbers.
Data
Areas
Name
Mnemonic
Operand Data AreasFunctionSymbol
ROTATE RIGHT
(@)ROR(28)
ROR(28)
Wd
15
00
CY Wd
Each bit within a single word
of data (Wd)
is moved one bit to the right, with bit 00
moving
to carry (CY), and CY moving to bit
15.
Wd:
IR
HR
AR
LR
DM
COMPLEMENT
(@)COM(29)
COM(29)
Wd
Inverts
bit status of one word
(Wd) of data,
changing 0s to 1s, and vice versa.
Wd
Wd
Wd:
IR
HR
AR
LR
DM
BCD ADD
(@)ADD(30)
ADD(30)
Au
Ad
R
CY
CY
Adds two 4-digit BCD values (Au and Ad)
and
content of CY
, and outputs
the result to
the specified result word (R).
Au
+ Ad +
R
Au/Ad:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
BCD SUBTRACT
(@)SUB(31)
SUB(31)
Mi
Su
R
Subtracts
both the 4-digit BCD subtrahend
(Su) and content of CY, from the 4-digit
BCD minuend (Mi) and outputs the result
to the specified result word (R).
CYMi
– Su –
RCY
Mi/Su:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
BCD MULTIPLY
(@)MUL(32)
MUL(32)
Md
Mr
R
Multiplies the 4-digit BCD multiplicand
(Md) and 4-digit BCD multiplier (Mr), and
outputs the result to the specified result
words
(R and R + 1). R and R + 1 must be
in the same data area.
Md x Mr
R + 1
R
Md/Mr:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
BCD DIVIDE
(@)DIV(33)
R
DIV(33)
Dd
Dr
Divides the 4-digit BCD dividend (Dd) by
the 4-digit BCD divisor (Dr), and outputs
the result to the specified result words. R
receives the quotient; R + 1 receives the
remainder. R and R + 1 must be in the
same
data area.
R
+ 1
R
Dd
÷ Dr
Dd/Dr:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
LOGICAL AND
(@)ANDW(34)
ANDW(34)
I1
I2
R
Logically ANDs two 16-bit input words (I1
and
I2) and sets the bits in
the result word
(R) if the corresponding bits in the input
words are both ON.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
Downloaded from Elcodis.com electronic components distributor
All manuals and user guides at all-guides.com

Related product manuals