Omron SYSMAC C200H CPU01-E Installation Manual page 154

Table of Contents

Advertisement

Programming Instructions
Name
Mnemonic
7-SEGMENT DECODER
(@)SDEC(78)
FLOATING POINT
DIVIDE
(@)FDIV(79)
SINGLE WORD
DISTRIBUTE
(@)DIST(80)
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
140
Downloaded from
Elcodis.com
electronic components distributor
All manuals and user guides at all-guides.com
Symbol
SDEC(78)
S
Di
D
FDIV(79)
Dd
Dr
R
DIST(80)
S
DBs
Of
SR
HR
TR
HR 0000 to 9915
TR 0 to 7
Function
Converts hexadecimal values from the
source word (S) into 7-segment display
data. Results are placed in consecutive
half-words, starting at the first destination
word (D). Di gives digit and destination de-
tails. (The rightmost digit gives the first digit
to be converted. The next digit to the left
gives the number of digits to be converted
minus 1. If the next digit is 1, the first con-
verted data is transferred to left half of the
first destination word. If it is 0, the transfer
is to the right half).
S
D
Divides one floating point value by another
and outputs a floating point result. The
rightmost seven digits of each set of two
words (eight digits) are used for mantissa,
and the leftmost digit is used for the expo-
nent and its sign (Bits 12 to 14 give the ex-
ponent value, 0 to 7. If bit 15 is 0, the expo-
nent is positive; if it's 1, the exponent is
negative).
Dd + 1
÷
Dr + 1
R + 1
Moves one word of source data (S) to the
destination word whose address is given
by the destination base word (DBs) plus
offset (Of).
S
(S)
(DBs + Of)
AR
LR
AR 0000 to 2715
LR 0000 to 6315
TC 000 to 511
Appendix E
Operand Data Areas
S:
Di:
IR
IR
SR
HR
HR
AR
AR
LR
LR
TC
TC
DM
DM
#
0 to F
Dd/Dr:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
DM
TC
DM
Dd
Dr
R
S:
DBs:
IR
IR
SR
HR
HR
AR
AR
LR
LR
TC
TC
DM
Base (DBs)
DM
+
#
Offset (OF)
TC
DM
Read/Wr: DM 0000 to DM 0999
Rd only: DM 1000 to DM 1999
D:
IR
HR
AR
LR
DM
Of:
IR
HR
AR
LR
TC
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