Rockwell Automation GMLC Reference Manual User Manual
Page 649

Publication GMLC-5.2 - November 1999
612
System Functions
Syntax:
Task_status[task number]
Type an integer value or expression, from 0 to 9 inclusive, representing
the task number you want to check.
The table below shows the Task_status function’s returnable values, and
the status indicated by each value.
A task is:
•
suspended, if it has been paused by a Stop Dispatcher command in the
Task Control block.
•
running, after it has been started or resumed with a Task Control
block
•
not running, if it has not been started or has been stopped by a Stop
Current Task or Stop Other Task block.
Input
The
Input function lets you directly specify the general purpose discrete
inputs on the motion controller in an expression, instead of using their
defined names. This function is available only to Integrated and Basic
controllers. (It is not available to 1394 or Compact controllers.)
Syntax:
Input[address]
Value
Status
2
Task suspended
1
Task running
0
Task stopped or never started