Difference between revisions of "MC-Basic:GETAXIS$"
(Created page with "{{MC-Basic |SHORT FORM= |SYNTAX= <''generic_axis''> = getaxis$ (<''string_expression''>) <br> ? getaxis$ (<''string_expression''>).<axis_property> |AVAILABILITY= |DESCRIPT...") |
(AXY: new links) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
|AVAILABILITY= | |AVAILABILITY= | ||
+ | Avilable since version 4.15.1. | ||
|DESCRIPTION= | |DESCRIPTION= | ||
Line 28: | Line 29: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Cannot serve as an axis in Motion commands. | + | Cannot serve as an axis in Motion commands. <br> |
Input must be a name of a real axis. | Input must be a name of a real axis. | ||
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: | + | * [[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