Getmytaskstatus - Omron NY532-5400 Reference Manual

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

Advertisement

2 Instruction Descriptions

GetMyTaskStatus

The GetMyTaskStatus reads the status of the current task.
Instruction
GetMyTaskStatus
Read Current Task
Status
Variables
Name
Meaning
Out
Return value
LastExec
Last task
Time
execution time
MaxExec
Maximum task
Time
execution time
MinExec
Minimum task
Time
execution time
ExecCount
Task execu-
tion count
Exceeded
Task period
exceeded flag
Exceed-
Task period
Count
exceeded
count
* Negative numbers are excluded.
Bit strings
Out
LastExec
Time
MaxExec
Time
MinExec
Time
2-1372
Name
FB/FUN
FUN
I/O
Description
Always TRUE
Last task execution time of
the current task
Maximum task execution
time of the current task
Minimum task execution
time of the current task
Number of task executions
of the current task
Output
TRUE: The last execution of
the current task was not
completed within the task
period.
FALSE: The last execution
of the current task was com-
pleted within the task period.
The number of times the
current task has exceeded
the task period.
OK
Graphic expression
(@)GetMyTaskStatus
EN
ENO
LastExecTime
MaxExecTime
MinExecTime
ExecCount
Exceeded
ExceedCount
Valid range
TRUE only
Depends on data type.* ns
Depends on data type.
Integers
NY-series Instructions Reference Manual (W560)
ST expression
GetMyTaskStatus(
LastExecTime,
MaxExecTime,
Out
MinExecTime,
ExecCount,
Exceeded,
ExceedCount);
Unit
Default
---
---
---
Times, durations,
dates, and text strings
OK
OK
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents