EasyManua.ls Logo

Omron C200H - Page 304

Omron C200H
374 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...
Programming Instructions Appendix B
296
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
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
LOGICAL OR
(@)ORW(35)
ORW(35)
I1
I2
R
Logically ORs two 16-bit input words (I1
and I2) and sets the bits in the result word
(R) when one or both of the corresponding
bits in the input words is/are ON.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
EXCLUSIVE OR
(@)XORW(36)
XORW(36)
I1
I2
R
Exclusively ORs two 16-bit input words (I1
and I2) and sets the bits in the result word
(R) when the corresponding bits in input
words differ in status.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
EXCLUSIVE NOR
(@)XNRW(37)
I1
I2
R
XNRW(37)
Exclusively NORs two 16-bit input words
(I1 and I2) and sets the bits in the result
word (R) when the corresponding bits in
both input words have the same status.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
INCREMENT
(@)INC(38)
INC(38)
Wd
Increments the value of a 4-digit BCD word
(Wd) by one, without affecting carry (CY).
Wd:
IR
HR
AR
LR
DM

Table of Contents

Related product manuals