Omron SYSMAC CP Series Instruction & Reference Manual page 339

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

CLI
Instruction
CLEAR INTERRUPT
Symbol
Applicable Program Areas
Area
Step program areas
Usage
OK
Operands
Operand
N
Interrupt number
C
Control data
(1) Clearing/Retaining an I/O Interrupt Task's Recorded Interrupt Inputs
Operand
102: Interrupt input 2 (interrupt task 2)
103: Interrupt input 3 (interrupt task 3)
N
104: Interrupt input 4 (interrupt task 4)
105: Interrupt input 5 (interrupt task 5)
106: Interrupt input 6 (interrupt task 6) (Cannot be used in CP1E-E10D - )
107: Interrupt input 7 (interrupt task 7) (Cannot be used in CP1E-E10D - )
C
0000 hex: Retain the recorded interrupt.
0001 hex: Clear the recorded interrupt.
(2) Setting the Time to the First Scheduled Interrupts
Operand
N
4: Interrupt task 0 (interrupt task 1)
Scheduled interrupt time units
(Set in the PLC Setup.)
C
0.1 ms
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
CLI
@CLI
Description
10 to 9,999 decimal (000A to 270F hex):
Sets time to first interrupt between 1.0 and 999.9 ms.
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 number
N
C
C: Control data
Subroutines
OK
Data type
---
UINT
Contents
Interrupt Input No.
Recorded Interrupt
Contents
Scheduled Interrupt No.
Scheduled interrupt set time
2 Instructions
Function
Interrupt tasks
OK
Size
1
1
2-303
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents