Galil Motion Control manc 18x 6 Page 39
DMC-18x6 Command Reference
31
#AUTO
FUNCTION: Subroutine to run automatically upon power up
DESCRIPTION:
#AUTO denotes code to run automatically when power is applied to the controller, or after the
controller is reset. When no host software is used with the controller, #AUTO and the BP
command are required to run an application program on the controller.
USAGE:
While Moving
Yes
In a Program
Yes
Command Line
No
Controller Usage
ALL
RELATED COMMANDS:
program
End
program
EXAMPLES:
#AUTO
;
'move the x axis upon power up
PR
X
=1000 ;
'move 1000 counts
BG
X
;
'begin motion
AM
X
;
'wait until motion is complete
EN
NOTE: Use EN to end the routine