Ls - list user program – ElmoMC SimplIQ Digital Servo Drives-Bell Command Reference User Manual

Page 107

Advertising
background image

LS - List User Program

Purpose:
Uploads non-volatile data from the drive to the host, according to the parameters of
LP[N]. The most common use of LS is to retrieve the user program and to retrieve the
personality data of the drive.

LS begins to send data from the byte address of LP[1] in the flash memory. The length
of the transmitted data is LP[2] bytes.

The format of the LS message is:
[data payload][esc][checksum]
where:

The data payload is in the hex-binary format.
esc is the 0x1b (27 decimal) character.
The checksum is calculated for 16 bits in 2’s complements.

Use the LS command with care because it is not entirely “safe”: while the

program listing uploads to the communication lines, no program instructions
are executed, and no communicated commands are interpreted.

Attributes:

Type:

Command, No value

Source: RS-232
Restrictions: None
Unit modes: All
Activation: Immediate
SimplIQ: Similar

Under most circumstances, this command is used only by the Elmo Studio.

See also:

CC

,

DL

,

LP[N]

,

LS

SimplIQ Programming and Language Guide

SimplIQ for Steppers Command Reference Manual

Alphabetical Listing

MAN-STECR (Ver. 1.1)

99

Advertising