Omron C200HS Garage Door Opener User Manual


 
255
The following setting is used for normal interrupt mode.
DM 6620
0000
In normal interrupt mode, the following processing will be completed once
started even if an interrupt occurs The interrupt will be processed as soon as the
current process is completed.
Host Link servicing
Remote I/O servicing
Special I/O Unit servicing
Individual instruction execution
SYSMAC LINK/SYSMAC NET servicing (CPU31-E/33-E only)
Use this mode whenever using C200H interrupt subroutines without modifica-
tion or whenever possible considering the response time required for interrupts.
Note The C200HS is set to normal interrupt mode by default.
The following setting is used for high-speed interrupt mode.
DM 6620
1 –––
Interrupt mode
(1 = high-speed)
In high-speed interrupt mode, the following processing will be interrupted and
the interrupt subroutine executed as soon as an interrupt is generated.
Host Link servicing
Remote I/O servicing
Special I/O Unit servicing
Individual instruction execution
Use this mode whenever interrupt response time must be accurate to 1.0 ms.
Note 1. With the CPU31-E/33-E, SYSMAC LINK/SYSMAC NET servicing will be
completed before processing interrupts, meaning up to 10 ms may be
required to respond to and interrupt even in the High-speed mode.
2. Data will not necessarily be concurrent if the high-speed interrupt mode is
used because Host Link servicing, remote I/O servicing, Special I/O Unit
servicing, and individual instruction execution will not necessarily be com-
pleted when started. The program must be designed to allow for this when
required by the application. (See the section on data concurrence for further
details.)
Interrupt Priority The specified subroutine will be executed when an interrupt is generated. If fur-
ther interrupts are generated during execution of an interrupt subroutine, they
will not be processed until execution of the current interrupt subroutine has been
completed. If more than one interrupt is generated or is awaiting execution at the
same time, the corresponding subroutines will be executed in the following order
of priority.
Input interrupt 1 > input interrupt 2 > ... > input interrupt 7 > scheduled interrupt
I/O for Special I/O Units can be refreshed from within interrupt subroutines by
using the I/O REFRESH (IORF) instruction. If the high-speed interrupt mode is
used, refreshing in the normal cycle (END refreshing and IORF refreshing in the
main program) must be disabled for the Special I/O Unit that is to be refreshed in
the interrupt subroutine. An interrupt programming error (system FAL error 8B)
will occur if the same special I/O is refreshed both within an interrupt program
and within the normal cycle, and the special I/O will not be refreshed within the
interrupt subroutine.
Normal Interrupt Mode
(C200H Compatible)
High-speed Interrupt Mode
(C200HS)
Special I/O in Interrupt
Subroutines
Subroutines and Interrupt Control Section 5-23