Galil Motion Control optcom Page 139
Optima DMC-1xxx and DMC-18x2 Command Reference
LS
i
128
LS
FUNCTION: List Program
DESCRIPTION:
The LS command returns a listing of the programs in memory.
ARGUMENTS: LS n,m
where
n and m are valid numbers from 0 to 999, or labels. n is the first line to be listed, m is the last.
n is an integer in the range of 0 to 999 or a label in the program memory. n is used to specify
the first line to be listed.
m is an integer in the range of 1 to 999 or a label on the program memory. m is used to
specify the last line to be listed.
USAGE: DEFAULTS:
While Moving
Yes
Default Value 0,
Last
Line
In a Program
No
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
"LA"
List Arrays
"LV"
List Variables
"
LL
" List
Labels
EXAMPLES:
:LS #A,6
List program starting at #A through line 6
002 #A
003 PR 500
004 BGA
005 AM
006 WT 200
Hint: Remember to quit the Edit Mode <cntrl> Q prior to giving the LS command. (DOS)