File commands, Program maintenance and directory commands, Del program sdel program – Rockwell Automation 1398-PDM-xxx IQ Master Version 3.2.4 for IA-2000 and IQ-5000 Positioning Drive Modules, IQ-55 User Manual

Page 337: Dels program sdels program, Diri program sdiri program

Advertising
background image

File Commands • Program Maintenance and Directory Commands

315

Publication 1398-PM601A-EN-P — October 2000

HOST M

O

DE

File Commands

Program Maintenance and Directory Commands

The following commands work with program and directory information. Commands with an “S” prefix
work on the system program directory.

DEL program
SDEL program

Deletes both the program executable and program source code. No error will be issued if the program is
empty.

DELS program
SDELS program

Deletes only the source code, if present, for the specified program.

DIRI program
SDIRI program

Returns directory information for the program specified in the format:

“name”, SSIZE, ESIZE

Name will be an empty string (although the quotes will still be present) if no executable program code
exists. ESIZE and SSIZE refer to the size, in bytes, of the executable and source files, respectively.

FREE [page]

Returns the number of bytes of free program storage on the specified page of NVRAM. If the optional
page is not given it defaults to zero.

Note: System and user programs share space on page 0 so no alternate “SFREE” command is needed.

DIR [page]
SDIR

Prints an entire directory. This command is normally only useful in a “terminal” mode. A host should
use the more specific DIRI command.

Advertising