Difference between revisions of "MC-Basic:element.ABSOLUTE"

From SoftMC-Wiki
Jump to: navigation, search
(element.absolute)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:element.ABSOLUTE}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 36: Line 37:
  
 
|EXAMPLE=
 
|EXAMPLE=
''element''.Absolute = False<br>
+
'''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>
 +
 
  
Move ''element'' (100, 200) absolute = True
 
  
 
|SEE ALSO=
 
|SEE ALSO=

Latest revision as of 15:42, 29 August 2017

Language: English  • 中文(简体)‎

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>

See Also