Difference between revisions of "MC-Basic:DETACH"

From SoftMC-Wiki
Jump to: navigation, search
(Created page with '{{MC-Basic |SHORT FORM= |SYNTAX= Detach ''<element>'' |AVAILABILITY= All versions |DESCRIPTION= This command is used to detach a task from a motion element, freeing it for us…')
 
 
(5 intermediate revisions by 3 users not shown)
Line 4: Line 4:
  
 
|SYNTAX=
 
|SYNTAX=
Detach ''<element>''
+
Detach <''element''>
  
 
|AVAILABILITY=
 
|AVAILABILITY=
Line 10: Line 10:
  
 
|DESCRIPTION=
 
|DESCRIPTION=
This command is used to detach a task from a motion element, freeing it for use by another task. If the motion element is moving, DETACH waits until the motion of the element ends. Motion element may be axis or group.
+
This command is used to detach a task from a motion element, freeing it for use by another task. Motion element may be axis or group.
 +
 
 +
{{Note | If the motion element is moving, DETACH waits until the motion of the element ends. Therefore the user task will be in suspended state until the current movement is completed}}
 +
 
 +
{{Note | If the detach command is omitted the current motion will be interrupted(stopped) meaning that final position of the last movement in the program might be not reached!}}
 +
 
  
 
|TYPE=
 
|TYPE=
Line 28: Line 33:
  
 
|LIMITATIONS=
 
|LIMITATIONS=
Write-Only. The defined motion element must have been previously attached.
+
Write only. The defined motion element must have been previously attached.
  
 
|EXAMPLE=
 
|EXAMPLE=
Line 34: Line 39:
  
 
|SEE ALSO=
 
|SEE ALSO=
 
+
* [[MC-Basic:DetachFrom|DetachFrom]]
 
 
 
}}
 
}}

Latest revision as of 06:20, 19 October 2021

This command is used to detach a task from a motion element, freeing it for use by another task. Motion element may be axis or group.

NOTE-Info.svgNOTE
If the motion element is moving, DETACH waits until the motion of the element ends. Therefore the user task will be in suspended state until the current movement is completed
NOTE-Info.svgNOTE
If the detach command is omitted the current motion will be interrupted(stopped) meaning that final position of the last movement in the program might be not reached!

Syntax

Detach <element>

Availability

All versions

Range

Defined motion element

Scope

Task

Limitations

Write only. The defined motion element must have been previously attached.

Examples

Detach XYTable

See Also