
7 APPLICATION INSTRUCTION
7.3 Program execution control instruction
337
7
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).
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
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
Ladder diagram
Structured text
ENO:=SIMASK(EN,I,s);
Operand
Description
Range
Data type
Data type (label)
(I)
Interrupt pointer number for which interrupts are enabled or disabled
I0 to I177
Device name
ANY16
(s)
Enabled or disabled state of the specified interrupt pointer number
0: Disabled
1: Enabled
16-bit unsigned binary
ANY16
Operand
Bit
Word
Double word
Indirect
specification
Constant
Others
X, Y, M, L,
SM, F, B, SB
U
\G
T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(I)
(s)
Error code
(SD0/SD8067)
Description
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).
(I)
(s)
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......