![Omron SYSMAC C200H Скачать руководство пользователя страница 304](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423304.webp)
Programming Instructions
Appendix B
296
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
BCD DIVIDE
(@)DIV(33)
R
DIV(33)
Dd
Dr
Divides the 4-digit BCD dividend (Dd) by
the 4-digit BCD divisor (Dr), and outputs
the result to the specified result words. R
receives the quotient; R + 1 receives the
remainder. R and R + 1 must be in the
same data area.
R + 1
R
Dd
÷
Dr
Dd/Dr:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
LOGICAL AND
(@)ANDW(34)
ANDW(34)
I1
I2
R
Logically ANDs two 16-bit input words (I1
and I2) and sets the bits in the result word
(R) if the corresponding bits in the input
words are both ON.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
LOGICAL OR
(@)ORW(35)
ORW(35)
I1
I2
R
Logically ORs two 16-bit input words (I1
and I2) and sets the bits in the result word
(R) when one or both of the corresponding
bits in the input words is/are ON.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
EXCLUSIVE OR
(@)XORW(36)
XORW(36)
I1
I2
R
Exclusively ORs two 16-bit input words (I1
and I2) and sets the bits in the result word
(R) when the corresponding bits in input
words differ in status.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
EXCLUSIVE NOR
(@)XNRW(37)
I1
I2
R
XNRW(37)
Exclusively NORs two 16-bit input words
(I1 and I2) and sets the bits in the result
word (R) when the corresponding bits in
both input words have the same status.
I1/I2:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
INCREMENT
(@)INC(38)
INC(38)
Wd
Increments the value of a 4-digit BCD word
(Wd) by one, without affecting carry (CY).
Wd:
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 ...