Difference between revisions of "MC-Basic:GENERIC AXIS DEFINITION"
m (Text replace - "Write-Only" to "Write only") |
|||
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= |
Revision as of 11:00, 20 March 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