Omron SYSMAC C200H CPU01-E Installation Manual page 148

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200h cpu03-eSysmac c200h cpu11-e

Table of Contents