Difference between revisions of "MC-Basic:DETACH"
m (1 revision) |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
|SYNTAX= | |SYNTAX= | ||
− | Detach '' | + | 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. | + | 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 | + | 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 | |
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