Difference between revisions of "MC-Basic:GENERIC GROUP DEFINITION"
(4 intermediate revisions by 2 users not shown) | |||
Line 28: | Line 28: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Write | + | Write only. A generic group can be addressed only within its declaration scope (i.e., global, static or local). |
|EXAMPLE= | |EXAMPLE= | ||
Line 46: | Line 46: | ||
|SEE ALSO= | |SEE ALSO= | ||
− | * [[ | + | * [[MC-Basic:COMMON SHARED or DIM SHARED or DIM ... AS GENERIC GROUP|COMMON SHARED or DIM SHARED or DIM ... AS GENERIC GROUP]] |
− | * [[ | + | * [[MC-Basic:GENERIC AXIS DEFINITION|GENERIC AXIS DEFINITION]] |
− | [[Category | + | [[Category:MC-Basic:Declarations|GENERIC GROUP DEFINITION]] |
}} | }} |
Latest revision as of 09:14, 22 May 2014
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