Omron CP1H CPU Operation Manual page 225

Cp1h cpu unit
Hide thumbs Also See for CP1H CPU:
Table of Contents

Advertisement

Interrupt Functions
PLC Setup
Note
Writing the Ladder
Program
MSKS(690) Settings
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.
MSKS(690) has the following two functions and two of the instructions are
used in combination. If an up-differentiated input interrupt is being used, the
first MSKS(690) instruction can be omitted since the input is set for up-differ-
entiation by default.
Execution condition
@MSKS(690)
@MSKS(690)
1. Specifies up-differentiated or
down-differentiated input
N
interrupt.
S
2. Enables or disables the input
interrupt.
N
S
Section 5-1
191

Advertisement

Table of Contents
loading

Table of Contents