MC-Basic:groupAxis

From SoftMC-Wiki
Revision as of 12:25, 18 April 2016 by EranKo (talk | contribs) (created)
(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