Difference between revisions of "MC-Basic:GENERIC AXIS DEFINITION"
Line 49: | Line 49: | ||
* [[MC-Basic:GENERIC GROUP DEFINITION|GENERIC GROUP DEFINITION]] | * [[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