Difference between revisions of "MC-Basic:IDLETASK$"
(Created page with '{{MC-Basic |SHORT FORM= ITas$ |SYNTAX= IdleTask$ {''<task>''} |AVAILABILITY= All versions |DESCRIPTION= This command stops the task at the end of the line currently being exec…') |
|||
(10 intermediate revisions by 4 users not shown) | |||
Line 4: | Line 4: | ||
|SYNTAX= | |SYNTAX= | ||
− | IdleTask$ {'' | + | IdleTask$ {<''task''>} |
|AVAILABILITY= | |AVAILABILITY= | ||
Line 12: | Line 12: | ||
This command stops the task at the end of the line currently being executed, and idles all its events. An idled task can be continued (using the CONTINUETASK command) or terminated (using the KILLTASK command). | This command stops the task at the end of the line currently being executed, and idles all its events. An idled task can be continued (using the CONTINUETASK command) or terminated (using the KILLTASK command). | ||
− | IDLETASK$ | + | {{Note|IDLETASK$ does not stop the motion currently executing. This is significant because all the events are idled and cannot respond to axis motion.}} |
|TYPE= | |TYPE= | ||
− | '' | + | <''task''>: String |
|RANGE= | |RANGE= | ||
Line 30: | Line 30: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Write | + | Write only. Task must be loaded in memory. |
|EXAMPLE= | |EXAMPLE= | ||
Line 44: | Line 44: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:CONTINUETASK|CONTINUETASK]] |
− | * [[ | + | * [[MC-Basic:KILLTASK|KILLTASK]] |
− | * [[ | + | * [[MC-Basic:LOAD|LOAD]] |
− | * [[ | + | * [[MC-Basic:STARTTASK|STARTTASK]] |
− | |||
+ | [[Category:MC-Basic:Task Control|IDLETASK$]] | ||
}} | }} |
Latest revision as of 09:17, 22 May 2014
This command stops the task at the end of the line currently being executed, and idles all its events. An idled task can be continued (using the CONTINUETASK command) or terminated (using the KILLTASK command).
NOTE | |
IDLETASK$ does not stop the motion currently executing. This is significant because all the events are idled and cannot respond to axis motion. |
Short form
ITas$
Syntax
IdleTask$ {<task>}
Availability
All versions
Type
<task>: String
Scope
Task or Terminal
Limitations
Write only. Task must be loaded in memory.
Examples
IdleTask$ “Task1.prg”
Or
Common Shared Str1 as string
Str1 = “Task1.Prg”
IdleTask$ Str1