![background image](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f-fx5/melsec-iq-f-fx5_programming-manual_239114394.webp)
392
8 APPLICATION INSTRUCTION
8.3 Program Execution Control Instruction
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
*1 In the case of the ST language and the FBD/LD language, I displays as In.
■
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).
Operation error
Ladder diagram
Structured text
ENO:=SIMASK(EN,In,s);
FBD/LD
Operand
Description
Range
Data type
Data type (label)
(I)
Interrupt pointer number for which interrupts are enabled or disabled
I0 to I177
Device name
POINTER
(s)
Enabled or disabled state of the specified interrupt pointer number
0: Disabled
1: Enabled
16-bit signed binary
ANY16
EN
Execution condition
Bit
BOOL
ENO
Execution result
Bit
BOOL
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
X, Y, M, L, SM,
F, B, SB, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(I)
(s)
Error code
(SD0/SD8067)
Description
3405H
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)
EN
ENO
In
s
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......