Delta AS Series Programming Manual page 439

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
API
Instruction code
0501
Symbol
Explanation
1.
Use the EI instruction to enable interrupt tasks in a program (refer to next page for more information on tasks).
2.
You can use the interrupt task between the EI instruction and the DI instruction in a program. You can choose not
to use the DI instruction when there is no part of the program in which the interrupt is disabled.
3.
During the execution of one interrupt task, a new interrupt generated is not executed, but is stored. After the
execution of the present interrupt task is complete, the next interrupt task is executed. For example, during the
execution of I0 (by trigged order #1), 2 new I0s (by trigged order #2, by trigged order #3) are generated, only by
trigged order #2 I0 will be stored for later execution. by trigged order #3 IO is not stored for execution.
4.
When several interrupts occur, the interrupt task with the highest priority is executed first. When several interrupts
_6
occur simultaneously, the interrupt task with the smallest pointer number is executed first.
5.
When the interrupt task occurs between DI and EI, it cannot be executed, and the interrupt request is ignored. It is
suggested that you not use the instruction DI to disable interrupts while PLC is running.
6.
When the immediate I/O signal is required in the execution of the interrupt task, you can use the REF instruction or
the device DX/DY in the program to refresh the state of the I/O.
7.
Every interrupt number has a temporary function that can be masked. See below for the list of interrupt numbers.
6 - 1 6 0
EI
Operand
Pulse instruction
16-bit instruction
Function
Enabling the interrupt function
32-bit instruction
AS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents