EasyManua.ls Logo

Fuji Electric SPH Series - SPF Original Fcts

Fuji Electric SPH Series
151 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-41
Section 2 Programming Languages
2-3-3 SPF Original FCTs
(1) Disable interrupt TASK_DI
This FB is used to disable interrupt of a task. Specify a task level (0 to 4, 10 to 19) for which interrupt is disabled by a bit pattern.
1) Symbol
3) Function
• Set ON the bit position of the task level (0 to 4, 10 to 19) for which interrupt is disabled by WORD-type data of “LEVEL.”
Interrupt is disabled 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 disabled state continues. To enable
interrupt, use the “TASK_EI” instruction.
TASK_DI
WORD
WORD
LEVEL
2) Description of FCT terminals
Parameter Data type Description
LEVEL WORD
Specify the bit position of the target task level. (ON: Disable, 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 for the task of the specied 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

Table of Contents

Related product manuals