Galil COMMAND REFRENNCE DMC-1400 사용자 설명서
4 ● #
DMC-1400 Series Command Reference
#
FUNCTION: Label (subroutine)
DESCRIPTION:
The # operator denotes the name of a program label (for example #Move). Labels can be up
to seven characters long and are often used to implement subroutines or loops. Labels are
divided into (a) user defined and (b) automatic subroutines. User defined labels can be
printed with LL and the number of labels left available can be queried with MG _DL.
The automatic subroutines include #CMDERR, #LIMSWI, #POSERR, #ININT, #AUTO,
and #MCTIME.
divided into (a) user defined and (b) automatic subroutines. User defined labels can be
printed with LL and the number of labels left available can be queried with MG _DL.
The automatic subroutines include #CMDERR, #LIMSWI, #POSERR, #ININT, #AUTO,
and #MCTIME.
ARGUMENTS: #nnnnnnn where
nnnnnnn is a label name up to seven characters
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
No
Controller Usage
ALL
RELATED COMMANDS:
List labels
Labels left
Jump statement
Jump subroutine
EXAMPLES:
#Loop; JP#Loop, x=10
;’wait until x becomes 10
#Move
PRX=1000
BGX
PRX=1000
BGX
;’define a subroutine to move the x axis
AMX
EN
EN