beautypg.com

Dl (download), General, N = # begins download at end of program in ram – Yaskawa LEGEND-MC User Manual

Page 102

background image

92

LEGEND-MC User’s Manual

DL (Download)

[General]

DESCRIPTION:

The DL command prepares a controller to accept a data file from the host computer. Instructions in the file
will be accepted as a data stream without line numbers. The file is terminated using Z,
Q, D, or \.

If no parameter is specified, downloading a data file will clear any programs in the LEGEND-MC RAM.
The data is entered beginning at line 0. If there are too many lines or too many characters per line, the
LEGEND-MC 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 LEGEND-MC program in RAM.

ARGUMENTS: DL n

n = no argument Downloads program beginning at line 0 and erases programs in RAM.

n = #Label Begins download at line following #Label where label may be any valid program label.

n = #Begins download at end of program in RAM.

USAGE:

OPERAND USAGE:

When used as an operand, _DL gives the number of available labels. The total number of labels is 126.

RELATED COMMANDS:

EXAMPLES (from the terminal):

While Moving

Yes

Default Value

---

In a Program

No

Default Format

---

Command Line

Yes

Can be Interrogated

No

Used as an Operand

Yes

Distributed Control

Local

"UL"

Upload

DL;

Begin download (no colon returned)

#A;PR 4000;BG

Data

AM;MG DONE

Data

EN

Data

Z

End download (colon returned)