Omron SYSMAC C200H Installation Manual page 157

Programmable
Hide thumbs Also See for SYSMAC C200H:
Table of Contents

Advertisement

Programming Instructions
Name
Mnemonic
ASCII CONVERT
(@)ASC(86)
INTERRUPT CONTROL
(@)INT(89)
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
Downloaded from
Elcodis.com
electronic components distributor
Symbol
ASC(86)
S
Di
D
INT(89)
CC
N
D
SR
HR
TR
HR 0000 to 9915
TR 0 to 7
Function
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
15
08 07
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
000
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).
001
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.
002
Copies the mask status of
the designated IIU to D.
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
LR
AR
TC
LR
DM
TC
#
DM
0 to F
8-bit
data
00
CC:
N:
000 to
000 to
002
004
N = 004
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
according 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.
Copies the time in-
terval data to D.
TC
DM
Read/Wr: DM 0000 to DM 0999
Rd only: DM 1000 to DM 1999
D:
IR
HR
LR
DM
D:
IR
HR
AR
LR
TC
DM
#
#
0000 to 9999
or 0000 to FFFF
143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents