Difference between revisions of "MC-Basic:groupAxis"

From SoftMC-Wiki
Jump to: navigation, search
(AXY: new links)
 
Line 47: Line 47:
 
|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]]
* [[AXY:MC-Basic:axis.ELEMENTID|axis.ELEMENTID]]
+
* [[MC-Basic:element.ELEMENTID|ELEMENTID]]
  
 
[[Category:MC-Basic:Declarations|GROUPAXIS]]
 
[[Category:MC-Basic:Declarations|GROUPAXIS]]
 
}}
 
}}

Latest revision as of 10:54, 13 September 2017

Returns an axis in a group, according to the axis number received through the argument.

Syntax

<generic_axis> = GroupAxis(<group>,<long_expression>)
? GroupAxis (<group>,<long_expression>).<axis_property>

Type

Axis

Range

a valid group name A valid axis number in the group.

Scope

Configuration, Task, Terminal

Limitations

Cannot serve as an axis in Motion commands.

Examples

-->genAxis = groupAxis(puma,2)

-->? groupAxis(puma,2).ElementName

A2

-->? groupAxis(puma,7).dadd

DEV Err 0x00030027: Error: 3002, "Nonexistent axis", Task: ,tEthernInp, Line: 1, Module: Motion

See Also