MC-Basic:groupAxis

From SoftMC-Wiki
Revision as of 10:54, 13 September 2017 by Itay (talk | contribs) (AXY: new links)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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