MC-Basic:element.DEST
Language: | [[::MC-Basic:element.DEST|English]] • [[::MC-Basic:element.DEST/zh-hans|中文(简体)]] |
---|
Retrieves the current destination point of the movement in user units. If the element finished its movement, it is equal to PCMD. If the element was stopped either by the STOP command or as a result of RESCUEMODE, the destination of the stopped (canceled) movement is returned.
Syntax
<point_variable> = <elementName>.dest
? <element_name>.dest
Availability
All versions
Type
double
Units
For axis - axis units
For group - location units
Scope
Configuration, Task, Terminal
Limitations
Modal Only, Read only . Proceed command should be used after Stop command for getting the corrected value .
Examples
Axis
P1 = A1.Dest
?Scara,A1.Dest
Group
P1 = Scara.Dest
?Scara.Dest