![Omron SYSMAC C200H Скачать руководство пользователя страница 303](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423303.webp)
Appendix B
Programming Instructions
295
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
ARITHMETIC SHIFT
RIGHT
(@)ASR(26)
ASR(26)
Wd
Each bit within a single word of data (Wd)
is shifted one bit to the right, with zero writ-
ten to bit 15 and bit 00 moving to CY.
0
Wd
CY
15
00
Wd:
IR
HR
AR
LR
DM
ROTATE LEFT
(@)ROL(27)
ROL(27)
Wd
Each bit within a single word of data (Wd)
is moved one bit to the left, with bit 15 mov-
ing to carry (CY), and CY moving to bit 00.
15 00
CY
Wd
Wd:
IR
HR
AR
LR
DM
ROTATE RIGHT
(@)ROR(28)
ROR(28)
Wd
15 00
CY
Wd
Each bit within a single word of data (Wd)
is moved one bit to the right, with bit 00
moving to carry (CY), and CY moving to bit
15.
Wd:
IR
HR
AR
LR
DM
COMPLEMENT
(@)COM(29)
COM(29)
Wd
Inverts bit status of one word (Wd) of data,
changing 0s to 1s, and vice versa.
Wd Wd
Wd:
IR
HR
AR
LR
DM
BCD ADD
(@)ADD(30)
ADD(30)
Au
Ad
R
CY CY
Adds two 4-digit BCD values (Au and Ad)
and content of CY, and outputs the result to
the specified result word (R).
Au + Ad +
R
Au/Ad:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
BCD SUBTRACT
(@)SUB(31)
SUB(31)
Mi
Su
R
Subtracts both the 4-digit BCD subtrahend
(Su) and content of CY, from the 4-digit
BCD minuend (Mi) and outputs the result
to the specified result word (R).
CY
Mi – Su –
R CY
Mi/Su:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
BCD MULTIPLY
(@)MUL(32)
MUL(32)
Md
Mr
R
Multiplies the 4-digit BCD multiplicand
(Md) and 4-digit BCD multiplier (Mr), and
outputs the result to the specified result
words (R and R + 1). R and R + 1 must be
in the same data area.
Md x Mr
R + 1
R
Md/Mr:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
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 ...