Omron SYSMAC CS Series Programming Manual page 170

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Interrupt Tasks
External Interrupts (CS
Series Only)
List of Interrupt Tasks
Type
Task
Execution condition
No.
I/O Inter-
100 to
Input from the Interrupt
rupts (CS
131
Input Unit ON
Series only)
00 to 31
Scheduled
2 and 3 Scheduled (fixed inter-
Interrupts
vals)
0 and 1
Power OFF
1
When power turns OFF
Interrupt
(After the default power
OFF detection time +
power OFF detection
delay time)
External
0 to
When requested by an
Interrupts
255
Special I/O Unit or CPU
(CS Series
Bus Unit on the CPU
only)
Rack or by an Inner
0 to 255
Board (CS Series only)
I/O Interrupt Tasks: Tasks 100 to 131 (CS Series Only)
150
Note The execution time for the power OFF task must be less than 10 ms – (Power
OFF delay detection time).
An external interrupt task will be executed when an interrupt is requested by
an Special I/O Unit, CPU Bus Unit, or Inner Board (CS Series only). The Spe-
cial I/O Unit or CJ Bus Unit, however, must be on the CPU Rack to request
execution of an external interrupt task.
Use the MSKS (SET INTER-
RUPT MASK) instruction to
assign inputs from Interrupt
Input Units.
Use the MSKS (SET INTER-
RUPT MASK) instruction to
set the interrupt interval. See
Scheduled Interrupt Time
Units in PC Setup.
See Power OFF Interrupt
Task and Power OFF Detec-
tion Delay Time in PC Setup.
None (always valid)
Note Special I/O Units and CPU Bus Units must be on the CPU Rack to generate
external interrupts. There is no way to directly execute an external interrupt
task from a Unit on a CS-series Expansion Rack (CS Series only).
I/O interrupt tasks are disabled by default when cyclic task execution is
started. To enable I/O interrupts, execute the MSKS (SET INTERRUPT
MASK) instruction in a cyclic task for the interrupt number for Interrupt Input
Unit.
CPU Unit
Interrupt Pro-
Power OFF
Special I/O Unit,
CS1 CPU Bus Unit
or Inner Board
Setting procedure
32 points
2 points
1 point
256 points
Section 4-3
gram
CPU Unit
Pro-
gram
Number of
Application examples
interrupts
Increasing response
speed to specific inputs
Monitoring operating sta-
tus at fixed intervals
Executing emergency
processing when power
shuts OFF.
Performing processing
required by Special I/O
Units, CPU Bus Units,
and the Inner Board.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cs1g/h-cpu-ev1 seriesCj1g-cpu seriesSysmac cj series

Table of Contents