Download Print this page

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

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

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)
FBD/LD
EN
ENO
In
s
Setting data
■Descriptions, ranges, and data types
Operand
Description
*1
(I)
Interrupt pointer number for which interrupts are enabled or disabled
(s)
Enabled or disabled state of the specified interrupt pointer number
EN
Execution condition
ENO
Execution result
*1 In the case of the ST language and the FBD/LD language, I displays as In.
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(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).
Operation error
Error code
Description
(SD0/SD8067)
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).
8 APPLICATION INSTRUCTION
392
8.3 Program Execution Control Instruction
(s)
Word
T, ST, C, D, W,
SD, SW, R
Structured text
ENO:=SIMASK(EN,In,s);
Range
I0 to I177
0: Disabled
1: Enabled
Double word Indirect
U\G
Z
LC
Data type
Device name
16-bit signed binary
Bit
Bit
Constant
specification
LZ
K, H
Data type (label)
POINTER
ANY16
BOOL
BOOL
Others
E
$

Hide quick links:

Advertisement

loading