Difference between revisions of "MC-Basic:GETAXIS$"

From SoftMC-Wiki
Jump to: navigation, search
(AXY: new links)
 
(6 intermediate revisions by 2 users not shown)
Line 8: Line 8:
  
 
|AVAILABILITY=
 
|AVAILABILITY=
 +
Avilable since version 4.15.1.
  
 
|DESCRIPTION=
 
|DESCRIPTION=
Line 35: Line 36:
 
GenericAxis = GetAxis$("A1")
 
GenericAxis = GetAxis$("A1")
  
?GetAxis("A2").abs
+
?GetAxis$("A2").abs
  
 
|SEE ALSO=
 
|SEE ALSO=
 
* [[MC-Basic:COMMON SHARED or DIM SHARED or DIM ... AS GENERIC AXIS|COMMON SHARED or DIM SHARED or DIM ... AS GENERIC AXIS]]
 
* [[MC-Basic:COMMON SHARED or DIM SHARED or DIM ... AS GENERIC AXIS|COMMON SHARED or DIM SHARED or DIM ... AS GENERIC AXIS]]
* [[MC-Basic:axis.ELEMENTNAME|axis.ELEMENTNAME]]
+
* [[MC-Basic:element.ELEMENTNAME|ELEMENTNAME]]
 +
* [[MC-Basic:GETGROUP$|GETGROUP$]]
  
 
[[Category:MC-Basic:Declarations|GETAXIS$]]
 
[[Category:MC-Basic:Declarations|GETAXIS$]]
 
}}
 
}}

Latest revision as of 10:57, 13 September 2017

Returns an axis according to the name received through the argument.

Syntax

<generic_axis> = getaxis$ (<string_expression>)
? getaxis$ (<string_expression>).<axis_property>

Availability

Avilable since version 4.15.1.

Type

Axis

Range

A valid name of a real axis.

Scope

Configuration, Task, Terminal

Limitations

Cannot serve as an axis in Motion commands.
Input must be a name of a real axis.

Examples

GenericAxis = GetAxis$("A1")

?GetAxis$("A2").abs

See Also