Cli - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

CLI

Instruction
CLEAR INTERRUPT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
N
Interrupt number
C
Control data
(1) Clearing/Retaining Recorded Interrupt Causes for I/O Interrupts or Input Interrupts
Operand
N
Inputs to a CS1W-INT01 or CJ1W-INT01
Interrupt Input Unit (16 inputs/Unit)
Inputs to a C200HS-INT01 Interrupt Input
Unit (8 inputs/Unit)
Inputs to a CJ1M-CPU2@ CPU Unit's Built-in
Inputs (4 inputs/Unit)
C
Inputs to a CS1W-INT01 or CJ1W-INT01
Interrupt Input Unit (16 inputs/Unit)
Inputs to a C200HS-INT01 Interrupt Input
Unit (8 inputs/Unit)
Inputs to a CJ1M-CPU2@ CPU Unit's Built-in
Inputs (4 inputs/Unit)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
CLI
@CLI
Block program areas
Step program areas
OK
OK
Description
Interrupt input
Interrupt input
Function
code
Clears/retains recorded interrupt inputs, sets the
691
time to the first scheduled interrupt for scheduled
interrupt tasks.
CLI
CLI(691)
N: Interrupt identifier
N
C
C: Control data
Subroutines
OK
Data type
---
UINT
Contents
Interrupt identifier
0: Unit number 0
I/O interrupts 0 to 15 (interrupt tasks 100 to 115)
1: Unit number 1
I/O interrupts 16 to 31 (interrupt tasks 116 to 131)
0: Unit number 0
I/O interrupts 0 to 7 (interrupt tasks 100 to 107)
1: Unit number 1
I/O interrupts 8 to 15 (interrupt tasks 108 to 115)
2: Unit number 2
I/O interrupts 16 to 23 (interrupt tasks 116 to 123)
3: Unit number 3
I/O interrupts 24 to 31 (interrupt tasks 124 to 131)
6: Interrupt input 0 (interrupt task 140)
7: Interrupt input 1 (interrupt task 141)
8: Interrupt input 2 (interrupt task 142)
9: Interrupt input 3 (interrupt task 143)
Control data (cause processing data)
Set to 0000 to FFFF hex.
Bits 0 to 15 correspond to each interrupt task. Individual bit settings are as follows:
0: Retain the recorded interrupt.
1: Clear the recorded interrupt.
Set to 0000 to 00FF hex
Bits 0 to 7 correspond to each interrupt task. Individual bit settings are as follows:
0: Retain the recorded interrupt.
1: Clear the recorded interrupt.
0000 hex: Retain the recorded interrupt.
0001 hex: Clear the recorded interrupt.
3. Instructions
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
1
1
3
719

Advertisement

Table of Contents
loading

Table of Contents