MC-Basic:DETACH

From SoftMC-Wiki
Jump to: navigation, search

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