![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423315.webp)
Appendix B
Programming Instructions
307
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 Areas
Function
Symbol
7-SEGMENT DECODER
(@)SDEC(78)
SDEC(78)
S
Di
D
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
0 to F
S:
IR
SR
HR
AR
LR
TC
DM
Di:
IR
HR
AR
LR
TC
DM
#
D:
IR
HR
AR
LR
DM
FLOATING POINT
DIVIDE
(@)FDIV(79)
FDIV(79)
Dd
Dr
R
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
Dd
Dr+ 1 Dr
R + 1
R
Dd/Dr:
IR
SR
HR
AR
LR
TC
DM
R:
IR
HR
AR
LR
DM
SINGLE WORD
DISTRIBUTE
(@)DIST(80)
DIST(80)
S
DBs
Of
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
Base (DBs)
+
Offset (OF)
(S)
(DBs + Of)
S:
IR
SR
HR
AR
LR
TC
DM
#
DBs:
IR
HR
AR
LR
TC
DM
Of:
IR
HR
AR
LR
TC
DM
#
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...