Difference between revisions of "MC-Basic:DETACH"
m (Text replace - "Write-Only" to "Write only") |
|||
| (2 intermediate revisions by one other user not shown) | |||
| 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. | + | 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 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 | |
| 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! |
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