Omron C200H-OD212 Installation Manual page 140

Hide thumbs Also See for C200H-OD212:
Table of Contents

Advertisement

Programming Instructions
Name
Mnemonic
DOUBLE BCD DIVIDE
(@)DIVL(57)
DOUBLE
BCD-TO-DOUBLE
BINARY (@)BINL(58)
DOUBLE
BINARY-TO-DOUBLE
BCD
(@)BCDL(59)
DOUBLE COMPARE
CMPL(60)
(CPU11)
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
134
Symbol
Divides the 8-digit BCD dividend by an
8-digit BCD divisor, and outputs the result
DIVL(57)
to the specified result words. All words for
Dd
any one operand must be in the same data
Dr
area.
R
Converts the BCD value of the two source
words (S: starting word) into binary and
BINL(58)
outputs the converted data to the two result
words (R: starting word). All words for any
S
one operand must be in the same data
R
area.
Converts the binary value of the two
source words (S: starting word) into eight
BCDL(59)
digits of BCD data, and outputs the con-
S
verted data to the two result words (R:
starting result word). Both words for any
R
one operand must be in the same data
area.
Compares the 8-digit hexadecimal values
in words S
S
CMPL(60)
2
the Greater Than, Less Than, and Equal
S
1
Flags in the AR area. S
S
2
regarded as the most significant data in
each pair of words.
HR
TR
AR
TR 0 to 7
AR 0000 to 2715
Function
Dd + 1
Dd
Dr + 1
Dr
Quotient
R + 1
R
Remainder
R + 3
R + 2
R
S
S + 1
R + 1
R
S
S + 1
R + 1
+1 and S
with the values in
1
1
+1 and S
, and indicates the result using
2
+1 and S
1
LR
TC
LR 0000 to 6315
TC 000 to 511
Appendix E
Operand Data Areas
Dd/Dr:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
DM
TC
DM
S:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
DM
TC
DM
S:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
DM
DM
S
,S
:
1
2
IR
SR
HR
+1 are
AR
2
LR
TC
DM
DM
Read/Wr: DM 0000 to DM 0999
0000 to 9999
Rd only: DM 1000 to DM 1999
or 0000 to FFFF
#

Advertisement

Table of Contents
loading

Table of Contents