Galil Motion Control optcom Page 83
Optima DMC-1xxx and DMC-18x2 Command Reference
ED
i
72
ED
FUNCTION: Edit
DESCRIPTION:
Using Galil DOS Terminal Software: The ED command puts the controller into the Edit
subsystem. In the Edit subsystem, programs can be created, changed, or destroyed. The
commands in the Edit subsystem are:
<cntrl>D
Deletes a line
<cntrl>I
Inserts a line before the current one
<cntrl>P
Displays the previous line
<cntrl>Q
Exits the Edit subsystem
<return>
Saves a line
Using Galil Windows Terminal Software: The ED command causes the Windows terminal
software to open the terminal editor.
OPERAND USAGE:
_ED
contains the line number of the last line to have an error.
_ED1 contains the number of the thread where the error occurred (for multitasking).
EXAMPLES:
ED
000 #START
001 PR 2000
002 BGA
003 SLKJ
Bad line
004 EN
005 #CMDERR
Routine which occurs upon a command error
006 V=_ED
007 MG "An error has occurred" {n}
008 MG "In line", V{F3.0}
009 ST
010 ZS0
011 EN
XQ_ED2
Retry instruction that included error
XQ_ED3
Execute next instruction
Hint: Remember to quit the Edit Mode prior to executing or listing a program.