Acteventtask - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

ActEventTask

The ActEventTask instruction activates an event task.
Instruction
Name
ActEventTask
Activate Event
Task
Variables
Name
Meaning
TaskName
Task name
Out
Return value
Bit strings
TaskName
Out
OK
Function
The ActEventTask instruction activates the event task with task name TaskName. The event task oper-
ates according to its task execution priority.
If an event task is started that has an execution priority that is lower than the execution priority of the
task in which this instruction was executed, the event task is executed after completion of the execution
of the task in which this instruction was executed. For example, assume that the execution priority of
event task T2 is lower than the execution priority of periodic task T1. If the ActEventTask instruction is
executed for T2 in T1, the execution of T1 is completed before T2 is executed.
Execution priority
NY-series Instructions Reference Manual (W560)
FB/
Graphic expression
FUN
FUN
(@)ActEventTask
EN
TaskName
I/O
Description
Input
The name of the event task to
activate
Output
TRUE: The instruction was exe-
cuted without any errors.
FALSE: The instruction was not
executed or an error occurred.
Integers
Task period
High
Periodic
task T1
ActEventTask('T2')
Event
Low
task T2
T2 is executed after the execution
of T1 is completed.
2 Instruction Descriptions
ActEventTask(TaskName);
ENO
Out
Valid range
64 bytes max.
---
(63 single-byte
alphanumeric
characters plus
the final NULL
character)
Depends on
---
data type.
Execution of
task processing
Task period
Time
ST expression
Unit
Default
''
---
Times, durations,
dates, and text strings
OK
2-1387
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents