![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423318.webp)
Programming Instructions
Appendix B
310
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
ASCII CONVERT
(@)ASC(86)
ASC(86)
S
Di
D
Converts hexadecimal digits from the
source word (S) into 8-bit ASCII values,
starting at leftmost or rightmost half of the
starting destination word (D). The right-
most digit of Di designates the first source
digit. The next digit to the left gives the
number of digits to be converted. The next
digit specifies the whether the data is to be
transferred to the rightmost (0) or leftmost
(1) half of the first destination word. The
leftmost digit specifies parity:
0: none,
1: even, or
2: odd.
S
D
8-bit
data
0 to F
15
08 07
00
S:
IR
SR
HR
AR
LR
TC
DM
Di:
IR
HR
LR
TC
DM
#
D:
IR
HR
LR
DM
INTERRUPT CONTROL
(@)INT(89)
INT(89)
CC
N
D
Controls programmed (scheduled) inter-
rupts and interrupts from Interrupt Input
Units. Each PC can have up to 4 IIUs. N de-
fines the source of the interrupt: 000 to 003
designate the no. of the IIU; 004 desig-
nates a scheduled interrupt. In IIUs, bits 00
to 07 identify the interrupting subroutine,
higher bits are not used. Bit 00 of Unit 0 cor-
responds to interrupt subroutine 00,
through to bit 07 of Unit 3 which corre-
sponds to subroutine 31. CC is the control
code, the meaning of which depends on
the value of N, as follows:
CC
N = 000 to 003
N = 004
000
001
002
Masks and unmasks in-
terrupt bits for the desig-
nated Unit (N) according
to the data in D. Bits cor-
responding to ON bits in
D are masked, those cor-
responding to OFF bits
are unmasked. Masked
bits are recorded and will
be executed when they
are unmasked (unless
previously cleared).
Clears the masked inter-
rupt bits of the designated
Unit (N) according to the
corresponding ON bits in
D. The subroutines corre-
sponding to bits cleared
in this manner will not be
executed when the bit is
unmasked.
Copies the mask status of
the designated IIU to D.
The interrupt time
interval is set ac-
cording to the data
in D (00.01 to
99.99 s) The deci-
mal point is not
entered. The in-
terrupt is can-
celled if D is
00.00.
The time to the first
interrupt is set ac-
cording to the data
in D (00.01 to
99.99 s) The deci-
mal point is not en-
tered. The inter-
rupt is cancelled if
D is 00.00.
Copies the time in-
terval data to D.
CC:
000 to
002
N:
000 to
004
D:
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 ...