10 Interrupts
10-4
CP2E CPU Unit Software User’s Manual(W614)
Precautions for Correct Use
Precautions for Correct Use
A built-in input cannot be used as a normal input, high-speed counter input, or quick-response
input if it is being used as an interrupt input. Refer to
Allocating Built-in Input Terminal
for
details.
Click the Built-in Input Tab and select
Interrupt
in the interrupt intput settings.
10-2-2 Flow of Operation
1
•
Set IN2 to IN9 for interrupt inputs on the Built-in Input
Tab Page of the PLC Setup using the CX-Programmer.
•
Terminals 02 to 09 on the CIO 0 terminal block can be
used for interrupt inputs. Bits CIO 0.02 to CIO 0.09 cor-
respond to terminals 02 to 09.
2
Write the program in the interrupt task. Interrupt tasks 2 to
9 correspond to interrupt inputs 2 to 9.
•
Specify whether the interrupt is executed when the input
turns ON or when it turns OFF in the MSKS instruction.
Set N to 112 to 119 in the MSKS instruction.
•
Enable input interrupts in the MSKS instruction. Set N to
102 to 109 in the MSKS instruction.
PLC Setup
PLC Set
u
p
Create
ladder
program
Exec
u
te MSKS
instr
u
ction in a
cyclic task
Interr
u
pt task
S
elect
Interr
u
pt
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......