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

From SoftMC-Wiki
Jump to: navigation, search
Line 35: Line 35:
 
GenericAxis = GetAxis$("A1")
 
GenericAxis = GetAxis$("A1")
  
?GetAxis("A2").abs
+
?GetAxis$("A2").abs
  
 
|SEE ALSO=
 
|SEE ALSO=

Revision as of 14:51, 17 June 2015

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

Syntax

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

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