MC-Basic:GENERIC GROUP DEFINITION

From SoftMC-Wiki
Revision as of 08:37, 22 May 2014 by Miborich (talk | contribs)
Jump to: navigation, search

This command is used to link between a generic group and another group – either real or generic. The generic group can then be used as a refrence to its linked group in parameters settings and motion commands. A generic group can be re-linked to other groups on the fly.

Syntax

< Generic Group Name>{[ ]…} = < Group Name >{[ ]…}

Availability

All versions

Scope

Configuration , Task or Terminal

Limitations

Write only. A generic group can be addressed only within its declaration scope (i.e., global, static or local).

Examples

GenGroup1 = Scara

GenGroupArray [5][5] = XYTable

GenGroup1.En = On ‘ for Scara group

Move GenGroup1 {90, 60, 30 ,0} VCruise = 200 ‘ for Scara group

GenGroup1 =  XYTable

GenGroup1.En = On ‘ for XYTable group

Move GenGroup1 {90, 60} VCruise = 200 ‘ for XYTable group

See Also