MC-Basic:GENERIC AXIS DEFINITION

From SoftMC-Wiki
Jump to: navigation, search

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

See Also