Difference between revisions of "MC-Basic:GENERIC AXIS DEFINITION"
m (Text replace - "Write-Only" to "Write only") |
|||
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]] |
* [[Axystems:MC-Basic:GENERIC GROUP DEFINITION|GENERIC GROUP DEFINITION]] | * [[Axystems:MC-Basic:GENERIC GROUP DEFINITION|GENERIC GROUP DEFINITION]] | ||
[[Category:Axystems:MC-Basic:Declarations|GENERIC AXIS DEFINITION]] | [[Category:Axystems:MC-Basic:Declarations|GENERIC AXIS DEFINITION]] | ||
}} | }} |
Revision as of 08:36, 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