Omron CJ2 CPU UNIT SOFTWARE User Manual page 113

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

List of Interrupt Tasks
Task
Power OFF Interrupt
Task
Scheduled Interrupt
*1
Tasks 0 and 1
I/O Interrupt Tasks 0
*2
to 31
External Interrupts 0
*3
to 255
Input Interrupt Tasks
Extra Cyclic Tasks 0
to 255
*1 The scheduled interrupt tasks cannot be used if synchronous unit operation is being used.
*2 The Interrupt Input Unit must be connected in the CPU Rack. I/O Interrupt Units connected elsewhere cannot
be used to request execution of I/O interrupt tasks.
*3 The Special I/O Unit or CPU Bus Unit must be connected in the CPU Rack. Units connected elsewhere cannot
be used to generate external interrupts.
Precautions for Correct Use
Precautions for Correct Use
Do not use SFC programs in interrupt tasks. They will not execute normally. SFC programs can
be used, however, if the interrupt tasks is executed as a extra cyclic task.
ST programs can be used in interrupt tasks.
CJ2 CPU Unit Software User's Manual
Task No.
Execution condition
1
Turing OFF the CPU Unit
2 and 3
Each lapse of specific time on
internal timer of CPU Unit
100 to 131
Input bit from an Interrupt Input
Unit on the CPU Rack turning
ON
0 to 255
When requested by a Special
I/O Unit or CPU Bus Unit on the
*3
CPU Rack
140 to 147
When an input to a Pulse I/O
Block connected to a CJ2M
CPU Unit turns ON or OFF or
when an incremental or decre-
mental counter counts out.
0 to 255
Every cycle while in the task is
in READY status. (Task Con-
trol Instructions must be used.)
5 Understanding Programming
Related settings
• OFF interrupt tasks for PLC setup
• Use the MSKS(690) (SET INTER-
RUPT MASK) instruction to set the
interrupt interval. (1 to 9999)
• See Scheduled Interrupt Time Units
in PLC Setup. (10 ms/1.0 ms/0.1 ms)
• Use the MSKS(690) (SET INTER-
RUPT MASK) instruction to assign
inputs from Interrupt Input Units on
the CPU Rack.
None (always valid)
• Use the MSKS(690) (SET INTER-
RUPT MASK) instruction to unmask
interrupts for the specified inputs.
None (always valid)
5
5-21

Advertisement

Table of Contents
loading

Table of Contents