Omron C200H Operation Manual page 307

Hide thumbs Also See for C200H:
Table of Contents

Advertisement

Programming Instructions
Name
Mnemonic
BINARY DIVIDE
(@)DVB(53)
DOUBLE BCD ADD
(@)ADDL(54)
DOUBLE BCD
SUBTRACT
(@)SUBL(55)
Data Areas
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.
IR
SR
00000 to 23515 23600 to 25507
HR 0000 to 9915
Symbol
Divides the 4-digit hexadecimal dividend
(Dd) by the 4-digit divisor (Dr), and outputs
DVB(53)
result to the designated result words ( R
Dd
and R + 1). R and R + 1 must be in the same
Dr
data area.
R
Adds two 8-digit values (2 words each) and
the content of CY, and outputs the result to
ADDL(54)
the specified result words. All words for
Au
any one operand must be in the same data
Ad
area.
R
Subtracts both the 8-digit BCD subtrahend
and the content of CY from an 8-digit BCD
SUBL(55)
minuend, and outputs the result to the spe-
Mi
cified result words. All words for any one
Su
operand must be in the same data area.
R
HR
TR
AR
TR 0 to 7
AR 0000 to 2715
Function
D
d
÷
Dr
Quotient
R
r
Remainde
R+ 1
Au
Au+ 1
+
Ad+ 1
Ad
CY
+
CY
R+ 1
R
Mi + 1
Mi
Su + 1
Su
CY
CY
R + 1
R
LR
TC
LR 0000 to 6315
TC 000 to 511
Read/Wr: DM 0000 to DM 0999
Rd only: DM 1000 to DM 1999
Appendix B
Operand Data Areas
Dd/Dr:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
TC
DM
#
Au/Ad:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
DM
TC
DM
Mi/Su:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
DM
TC
DM
DM
#
0000 to 9999
or 0000 to FFFF
299

Advertisement

Table of Contents
loading

Table of Contents