Omron CP1L CPU UNIT - 06-2007 Operation Manual page 357

Cp1l cpu unit
Table of Contents

Advertisement

Interrupt Functions
Procedure
PLC Setup
Note
Writing the Ladder
Program
MSKS(690) Settings
324
Select the input interrupts.
Wire the inputs.
Set the PLC Setup.
Write the ladder program.
Click the Built-in Input Tab to display the Interrupt Input settings (at the bottom
of the tab). Set the input function to Interrupt for each input that will be used
as an input interrupt.
(1) Interrupt Input settings IN0 to IN7 correspond to input interrupt numbers
0 to 7.
(2) When using an input as a general-purpose (normal) input, set the input
function to Normal.
The MSKS(690) instruction must be executed in order to use input interrupts.
The settings made with MSKS(690) are enabled with just one execution, so in
general execute MSKS(690) in just one cycle using an up-differentiated condi-
tion.
• Determine the inputs to be used for input
interrupts and corresponding task numbers.
• Wire the inputs.
• Use the CX-Programmer to select the inter-
rupt inputs in the PLC Setup.
• Write the programs for the corresponding
interrupt task numbers.
• Use MSKS(690) to specify up-differentiation
or down-differentiation.
• Use MSKS(690) to enable input interrupts (in
direct mode).
Section 6-1

Advertisement

Table of Contents
loading

Table of Contents