Difference between revisions of "MC-Basic:element.ABSOLUTE"
(element.absolute) |
(examples) |
||
Line 36: | Line 36: | ||
|EXAMPLE= | |EXAMPLE= | ||
− | '' | + | '''Axis''' <br/> |
+ | ''A1''.Absolute = False <br> | ||
+ | ?''A1''.Absolute <br> | ||
+ | Move ''A1'' 100 absolute = True </br> | ||
+ | |||
+ | '''Group''' <br> | ||
+ | ''G1''.Absolute = False <br> | ||
+ | Move ''G1'' (100, 200) absolute = True </br> | ||
+ | |||
− | |||
|SEE ALSO= | |SEE ALSO= |
Revision as of 06:55, 26 June 2017
Defines whether the commands to the element are absolute or incremental. In absolute mode, the position commands to the element are the required absolute position. In incremental mode, the position commands are the required change in position. This property can be used inside a motion command to override the permanent value.
Short form
<element>.Abs
Syntax
<element>.Absolute = <value>
?<element>.Absolute
Availability
All versions
Type
Long
Range
0 (Incremental)
1 (Absolute)
Default
0
Scope
Configuration, Task or Terminal
Limitations
To set the value within a task, the element must be attached to that task (using the ATTACH command).
Examples
Axis
A1.Absolute = False
?A1.Absolute
Move A1 100 absolute = True </br>
Group
G1.Absolute = False
Move G1 (100, 200) absolute = True </br>