Omron CP1E-NA@@D@-@ Computer Hardware User Manual


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