DMC-18x6 Command Reference
65
DL
FUNCTION: Download
DESCRIPTION:
The DL command transfers a data file from the host computer to the controller. Instructions in the
file will be accepted as a data stream without line numbers. The file is terminated using
<control> Z, <control> Q, <control> D, or \. DO NOT insert spaces before each command.
If no parameter is specified, downloading a data file will clear all programs in the controllers
RAM. The data is entered beginning at line 0. If there are too many lines or too many
characters per line, the controller will return a ?. To download a program after a label, specify
the label name following DL. The argument # may be used with DL to append a file at the
end of the program in RAM.
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
ARGUMENTS: DL n
where
n = no argument Downloads program beginning at line 0. Erases programs in RAM.
n = #Label
Begins download at line following #Label
n = #
Begins download at end of program in RAM.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
---
In a Program
No
Default Format
---
Command Line
Yes
Controller Usage ALL CONTROLLERS
OPERAND USAGE:
When used as an operand, _DL gives the number of available labels (510 maximum)
RELATED COMMANDS:
Upload
EXAMPLES:
DL; Begin
download
#A;PR 4000;BGA
Data
AMA;MG DONE
Data
EN Data
<control> Z
End download