Omron CP1L Operation Manual page 385

Sysmac cp series
Hide thumbs Also See for CP1L:
Table of Contents

Advertisement

Interrupt Functions
Writing the Ladder
Program
MSKS(690) Settings
Scheduled Interrupt Interval Setting
Note
(1) Set a scheduled interrupt time (interval) that is longer than the time re-
quired to execute the corresponding interrupt task.
(2) If the scheduled time interval is too short, the scheduled interrupt task will
be executed too frequently, which may cause a long cycle time and ad-
versely affect the cyclic task processing.
(3) If an interrupt task is being executed for another interrupt (input interrupt,
high-speed counter interrupt, or external interrupt) when the scheduled
interrupt occurs, the scheduled interrupt will not be executed until the oth-
er interrupt task is completed.
When different kinds of interrupts are being used, design the program to
handle multiple interrupts smoothly. Even if two interrupts occur at the
same time, the scheduled interrupts will continue as programmed, so the
scheduled interrupt tasks will continue to occur at the scheduled times
even if specific scheduled interrupts are delayed.
The MSKS(690) instruction must be executed in order to use the scheduled
interrupt. The settings made with MSKS(690) are enabled with just one exe-
cution, so in general execute MSKS(690) in just one cycle using an up-differ-
entiated condition.
Execution condition
MSKS(690)
Specifies scheduled interrupt 0 (interrupt task 2).
N
Sets the scheduled interrupt time interval and
S
starts timing.
Section 6-1
351

Advertisement

Table of Contents
loading

Table of Contents