Edit Mode Commands - Galil Motion Control DMC-1000 User Manual

Table of Contents

Advertisement

DMC-1040
DMC-1080
DMC-1040-MX
Line numbers appear as 000,001,002 and so on. Program commands are entered following the line
numbers. Multiple commands may be given on a single line as long as the total number of characters
doesn't exceed the limits given above.
While in the Edit Mode, the programmer has access to special instructions for saving, inserting and
deleting program lines. These special instructions are listed below:
<RETURN>
Typing the return or enter key causes the current line of entered instructions to be saved. The editor
will automatically advance to the next line. Thus, hitting a series of <RETURN> will cause the editor
to advance a series of lines. Note, changes on a program line will not be saved unless a <return> is
given.
<cntrl>P
The <cntrl>P command moves the editor to the previous line.
<cntrl>I
The <cntrl>I command inserts a line above the current line. For example, if the editor is at line
number 2 and <cntrl>I is applied, a new line will be inserted between lines 1 and 2. This new line will
be labeled line 2. The old line number 2 is renumbered as line 3.
<cntrl>D
The <cntrl>D command deletes the line currently being edited. For example, if the editor is at line
number 2 and <cntrl>D is applied, line 2 will be deleted. The previous line number 3 is now
renumbered as line number 2.
<cntrl>Q
The <cntrl>Q quits the editor mode. In response, the DMC-1000 will return a colon.
After the Edit session is over, the user may list the entered program using the LS command. If no
number or label follows the LS command, the entire program will be listed. The user can start listing
at a specific line or label. A range of program lines can also be displayed. For example;
Instruction
LS
LS 5
LS 5,9
LS #A,9
84 • Chapter 7 Application Programming
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
PROGRAM MEMORY SPACE FOR THE DMC-1000:
500 lines x 40 characters per line
1000 lines x 80 characters per line
2000 lines x 40 characters per line

Edit Mode Commands

Interpretation
List entire program
Begin listing at line 5
List lines 5 through 9
List line label #A through line 9
DMC-1000

Advertisement

Table of Contents
loading

Table of Contents