![Fuji Electric SPF Series Скачать руководство пользователя страница 116](http://html1.mh-extra.com/html/fuji-electric/spf-series/spf-series_user-manual_2341814116.webp)
2-42
Section 2 Programming Languages
(2) Enable interrupt TASK_EI
This FB is used to enable interrupt of a task. Specify a task level (0 to 4, 10 to 19) for which interrupt is enabled by a bit pattern.
1) Symbol
TASK_EI
WORD
WORD
LEVEL
3) Function
• This instruction is used to enable interrupt of the task level that has been disabled by the “TASK_DI” instruction.
• Set ON the bit position of the task level (0 to 4, 10 to 19) for which interrupt is enabled by WORD-type data of “LEVEL.”
Interrupt is enabled for the corresponding task.
•
The interrupt disabled state of each task is output.
• Even if the bit of WORD-type data of “LEVEL” is turned from ON to OFF, the interrupt enabled state continues. To disable
interrupt, use the “TASK_DI” instruction.
2) Description of FCT terminals
Parameter
Data type
Description
LEVEL
WORD
Specify the bit position of the target task level. (ON: Enable, OFF: No operation)
* Set ON the bit position. of a task for which interrupt is disabled (0 to 4 or 10).
You can set ON multiple bit positions
Interrupt is disabled only in the task of the specified bit.
Output value
WORD
Interrupt disabled state (ON: Disabled, OFF: Enabled)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Task level 0
Task level 1
Task level 2
Task level 3
Task level 4
Common to task levels 10 to 19
f
Bit address
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Task level 0
Task level 1
Task level 2
Task level 3
Task level 4
Common to task levels 10 to 19
f
Bit address