EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
840
Interrupt Control Instructions Section 3-20
Operands
Disabling/Enabling an I/O Interrupt Task’s Interrupt Input
Inputs to a CS1W-INT01/CJ1W-INT01 Interrupt Input Unit (16 inputs/Unit)
Inputs to a C200HS-INT01 Interrupt Input Unit (8 inputs/Unit)
Inputs to a CJ1M CPU Unit’s Built-in Inputs (4 inputs/Unit)
Operand Contents
N Specify the Interrupt Input Unit’s unit number.
0: Unit number 0 (interrupt tasks 100 to 115)
1: Unit number 1 (interrupt tasks 116 to 131)
C Interrupt mask.
Set to 0000 to FFFF hex.
Bits 0 to 15 correspond to each interrupt task. Individual bit settings
are as follows:
0: Enable (unmask) the interrupt.
1: Disable (mask) the interrupt.
Operand Contents
N Specify the Interrupt Input Unit’s unit number.
0: Unit number 0 (interrupt tasks 100 to 107)
1: Unit number 1 (interrupt tasks 108 to 115)
2: Unit number 2 (interrupt tasks 116 to 123)
3: Unit number 3 (interrupt tasks 124 to 131)
C Interrupt mask.
Set to 0000 to 00FF hex
Bits 0 to 7 correspond to each interrupt task. Individual bit settings
are as follows:
0: Enable (unmasks) the interrupt.
1: Disable (masks) the interrupt.
Operand Contents
N Specify the interrupt input number.
10: Interrupt input 0 (interrupt task 140)
11: Interrupt input 1 (interrupt task 141)
12: Interrupt input 2 (interrupt task 142)
13: Interrupt input 3 (interrupt task 143)
C Interrupt mask.
0000 hex: Enable (unmask) the interrupt (direct mode).
0001 hex: Disable (mask) the interrupt (direct mode).
0002 hex: Start decrementing counter and enable interrupt (counter
mode).
0003 hex: Start incrementing counter and enable interrupt (counter
mode).

Table of Contents

Related product manuals