Disabling/Enabling The Specified Interrupt Pointer - Mitsubishi MELSEC iQ-F FX5 series Programming Manual

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

Disabling/enabling the specified interrupt pointer

SIMASK
This instruction enables or disables the interrupt pointer number specified by (I) according to the value of (s).
Ladder diagram
(I)
(s)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(I)
Interrupt pointer number for which interrupts are enabled or disabled
(s)
Enabled or disabled state of the specified interrupt pointer number
■Applicable devices
Operand
Bit
X, Y, M, L,
U\G T, ST,
SM, F, B, SB
(I)
(s)
Processing details
• This instruction enables or disables the execution of the interrupt program with the interrupt pointer number specified by (I)
according to the data specified by (s)
• When 1 is set in (s): The execution of the interrupt program is enabled.
• When 0 is set in (s): The execution of the interrupt program is disabled.
• When the power is turned on or the CPU module is reset, the execution status of the interrupt programs of I0 to I177 is
applied.
• The execution-enabled/disabled states of interrupt pointers are stored in SD1400 to 1415 (IMASK instruction mask
pattern).
Indexing is available for (I). By using the SIMASK instruction with indexing, the execution of the interrupt
pointers I0 to I177 can be enabled or disabled.
Operation error
Error code
Description
(SD0/SD8067)
3405
The interrupt pointer number specified by (I) exceeds the range of the interrupt pointer number (I0 to I177).
The value in (s) is other than the interrupt disabled (0) or interrupt enabled (1).
Structured text
ENO:=SIMASK(EN,I,s);
Word
T, ST, C, D,
U\G
C, LC
W, SD, SW, R
Range
Data type
I0 to I177
Device name
0: Disabled
16-bit unsigned binary
1: Enabled
Double word Indirect
specification
Z
LC
LZ
7 APPLICATION INSTRUCTION
7.3 Program execution control instruction
Data type (label)
ANY16
ANY16
Constant
Others
K, H
E
$
337
7

Advertisement

Table of Contents
loading

Table of Contents