216
13 PROGRAMMING
13.2 When the Module Is Used with the Standard System Configuration
Interrupt program example
■
Interrupt pointer setting
Project window
[Parameter]
[PLC Parameter]
[PLC System]
"Intelligent Function Module Setting"
[Interrupt
Pointer Setting] button
■
User devices
■
Program example
Before using an interrupt pointer, enable an interrupt with the IMASK instruction.
• When the program above is executed, the I50 interrupt program is enabled, and all other interrupt programs
are disabled. To execute any interrupt program other than the I50 interrupt program, set the bit that
corresponds to the target interrupt pointer to "1: enabled".
• For details on the IMASK instruction, refer to the following (
MELSEC-Q/L Programming Manual
(Common Instruction)).
Device
Description
D100 to D115
Interrupt enable flag storage for IMASK instruction
Interrupt disabled
Interrupt enabled
Interrupt of I50 enabled
Turn on the 50th bit
from D100.
Main routine program
completed
Interrupt program
processing completed
Program of the flexible high-speed I/O control module
Interrupt program
Summary of Contents for MELSEC-L Series LD40PD01
Page 2: ......
Page 9: ...7 MEMO ...
Page 24: ...22 2 PART NAMES MEMO ...
Page 35: ...4 PROCEDURES BEFORE OPERATION 33 4 MEMO ...
Page 263: ......