EasyManua.ls Logo

Omron C200H - Page 306

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
298
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
SET SYSTEM
(@)SYS(49)
(CPU11-E)
SYS(49)
P
–––
–––
Used to either control certain operating
parameters, or to execute the system
commands that can be executed from the
AR area.
The contents of the leftmost 8 bits (i.e., bits
08 to 15) of P determine which function
SYS(49) will have. If they contain A3, then
bit 00 specifies whether the battery will be
checked, and bit 07 specifies whether I/O
status will be maintained on start up. Bit 06
specifies whether the Force Status Hold
Bit is set.
To be effective SYS(49) must be pro-
grammed at address 00001 with LD AR
1001 at address 00000.
P:
#
–––:
Not used.
BINARY ADD
(@)ADB(50)
ADB(50)
Au
Ad
R
Adds the 4-digit augend (Au), 4-digit ad-
dend (Ad), and content of CY and outputs
the result to the specified result word (R).
Ad
Au
+
+ CY
R
CY
Au/Ad:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
BINARY SUBTRACT
(@)SBB(51)
SBB(51)
Mi
Su
R
Subtracts the 4-digit hexadecimal subtra-
hend (Su) and content of carry, from the
4-digit hexadecimal minuend (Mi), and out-
puts the result to the specified result word
(R).
Mi
Su
CY
R
CY
Mi/Su:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
BINARY MULTIPLY
(@)MLB(52)
MLB(52)
Md
Mr
R
Multiplies the 4-digit hexadecimal multipli-
cand (Md) and 4-digit multiplier (Mr), and
outputs the 8-digit hexadecimal result to
the specified result words (R and R+1). R
and R+1 must be in the same data area.
Md
Mr
R
R+1
X
Quotient
Remainder
Md/Mr:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM

Table of Contents

Related product manuals