Difference between revisions of "MC-Basic:GENERIC AXIS DEFINITION"
(4 intermediate revisions by 2 users not shown) | |||
Line 28: | Line 28: | ||
|LIMITATIONS= | |LIMITATIONS= | ||
− | Write | + | Write only. A generic axis 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 AXIS|COMMON SHARED or DIM SHARED or DIM ... AS GENERIC AXIS]] |
− | * [[ | + | * [[MC-Basic:GENERIC GROUP DEFINITION|GENERIC GROUP DEFINITION]] |
− | [[Category | + | [[Category:MC-Basic:Declarations|GENERIC AXIS DEFINITION]] |
}} | }} |
Latest revision as of 09:14, 22 May 2014
This command is used to link between a generic axis and another axis – either real or generic.The generic axis can then be used as a reference to its linked axis in parameters settings and motion commands. A generic axis can be re-linked to other axes on the fly.
Syntax
< Generic Axis Name>{[ ]…} = <Axis Name >{[ ]…}
Availability
All versions
Scope
Configuration , Task or Terminal
Limitations
Write only. A generic axis can be addressed only within its declaration scope (i.e., global, static or local).
Examples
GenAxis1 = A1
GenAxesArray [5][5] = A4
GenAxis1.En=On ‘ for A1
Move GenAxis1 100 VCruise=200 ‘for A1
GenAxis1 = A3
GenAxis1.En=On ‘ for A3
Move GenAxis1 100 VCruise=200 ‘for A3