Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 55

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

CPM2A/CPM2C Interrupt Functions
34
Masking or Unmasking Interrupt Inputs
This function is used to mask or unmask input numbers 00003 to 00006 (inter-
rupt inputs 0 to 3).
(@)INT(89)
Interrupt control designation (000: Mask/unmask interrupt inputs)
000
Fixed at 000.
000
C
Control data word
2
All interrupt inputs are prohibited at the beginning of operation (in either PRO-
GRAM mode or in RUN/MONITOR mode). To use interrupt inputs, use INT(89)
to permit them.
Clearing Interrupt Inputs
This function is used to clear input numbers 00003 to 00006 (interrupt inputs 0 to
3). Since interrupt inputs are recorded, masked interrupts will be serviced after
the mask is removed unless they are cleared first. Use INT(89) to clear the cause
of the interrupt inputs so that they will not be executed when interrupt inputs are
permitted (i.e., when the mask is removed).
(@)INT(89)
001
000
C
2
Specifies input 00006 (interrupt input 3).
Specifies input 00005 (interrupt input 2).
Specifies input 00004 (interrupt input 1).
Specifies input 00003 (interrupt input 0).
While interrupt inputs are masked, one cause is recorded for each interrupt in-
put.
Specifies/stores 0.
Specifies input 00006 (interrupt input 3).
Specifies input 00005 (interrupt input 2).
Specifies input 00004 (interrupt input 1).
Specifies input 00003 (interrupt input 0).
0: Clear mask (interrupt input permitted).
1: Set mask (interrupt input prohibited).
Interrupt control designation (001: Clear interrupt inputs)
Fixed at 000.
Control data word
Specifies/stores 0.
0: Retain cause of interrupt input.
1: Clear cause of interrupt input.
Section
2-1

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Table of Contents