Difference between revisions of "MC-Basic:GETAXIS$"
Line 41: | Line 41: | ||
* [[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:axis.ELEMENTNAME|axis.ELEMENTNAME]] | ||
+ | * [[MC-Basic:GETGROUP$|GETGROUP$]] | ||
[[Category:MC-Basic:Declarations|GETAXIS$]] | [[Category:MC-Basic:Declarations|GETAXIS$]] | ||
}} | }} |
Revision as of 12:05, 18 June 2015
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