Difference between revisions of "MC-Basic:groupAxis"
(created) |
|||
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]] | ||
− | * [[MC-Basic:axis.ELEMENTID|axis.ELEMENTID]] | + | * [[AXY:MC-Basic:axis.ELEMENTID|axis.ELEMENTID]] |
[[Category:MC-Basic:Declarations|GROUPAXIS]] | [[Category:MC-Basic:Declarations|GROUPAXIS]] | ||
}} | }} |
Revision as of 06:36, 14 August 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