Interrupt Control Instructions - Omron CS1G/H-CPUxxH Instructions Manual

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Interrupt Control Instructions

3-20 Interrupt Control Instructions
3-20-1 SET INTERRUPT MASK: MSKS(690)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
744
Both I/O interrupt tasks and scheduled interrupt tasks are masked (disabled)
when the PLC enters RUN mode. MSKS(690) can be used to unmask or
mask I/O interrupts and set the time intervals for scheduled interrupts.
MSKS(690) is not supported by the CS1D CPU Units.
Variations
Immediate Refreshing Specification
Block program areas
OK
CS1W-INT01/CJ1W-INT01
Specifying I/O Interrupt Processing and Mask Processing
Operand
N
Specify the Interrupt Input Unit's unit number.
0: Unit number 0
1: Unit number 1
S
Interrupt mask.
Set to 0000 to FFFF Hex (16 bits per Unit)
Individual bits indicate the following:
0: Enables interrupt
1: Masks interrupt
Note
1. The CS1W-INT01 and the C200HS-INT01 cannot be used at the same
time.
2. All interrupt inputs that have been detected will be cleared when the inter-
rupt mask is cleared.
3. The CJ1W-INT01 Interrupt Input Unit cannot be used with a CJ1 CPU Unit.
Also, I/O interrupt tasks cannot be executed.
The relationship between Interrupt Input Unit unit numbers and interrupt task
numbers is shown in the following table.
Unit
number
0
100 to 115
1
116 to 131
MSKS(690)
N
S
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Step program areas
OK
Interrupt task numbers
Bits 00 to 15 of S correspond to the input interrupt
tasks.
Section 3-20
N: Interrupt identifier
S: Interrupt data
MSKS(690)
@MSKS(690)
Not supported
Subroutines
Interrupt tasks
OK
OK
Contents

Advertisement

Table of Contents
loading

Table of Contents