Difference between revisions of "MC-Basic:IDLETASK"

From SoftMC-Wiki
Jump to: navigation, search
m (1 revision)
 
(9 intermediate revisions by 4 users not shown)
Line 4: Line 4:
  
 
|SYNTAX=
 
|SYNTAX=
IdleTask {''<task>''}
+
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   does not stop the motion currently executing. This is significant because all   the events are idled and cannot respond to axis motion.
+
{{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=
Line 18: Line 18:
  
 
|RANGE=
 
|RANGE=
''<task>'': Name of a task that is loaded in memory
+
<''task''>: Name of a task that is loaded in memory
  
 
|UNITS=
 
|UNITS=
Line 30: Line 30:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write-Only. Task must be loaded in memory.
+
Write only. Task must be loaded in memory.
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 36: Line 36:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:CONTINUETASK|CONTINUETASK]]
+
* [[MC-Basic:CONTINUETASK|CONTINUETASK]]
* [[Axystems:MC-Basic:KILLTASK|KILLTASK]]
+
* [[MC-Basic:KILLTASK|KILLTASK]]
* [[Axystems:MC-Basic:LOAD|LOAD]]
+
* [[MC-Basic:LOAD|LOAD]]
* [[Axystems:MC-Basic:STARTTASK|STARTTASK]]
+
* [[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-Info.svgNOTE
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

Range

<task>: Name of a task that is loaded in memory

Scope

Task or Terminal

Limitations

Write only. Task must be loaded in memory.

Examples

IdleTask XYrotation.prg

See Also