2 command file (cmdfile) commands, Drive plc developer studio, Appendix – Lenze DDS v2.3 User Manual

Page 312

Advertising
background image

Drive PLC Developer Studio

Appendix

15-2

l

DDS EN 2.3

15.2

Command file (Cmdfile) commands

The commands that may be used within a command file <cmdfile> are listed as follows. The file can
then be called via the command line (see above). Input is case-insensitive.The command line is
output as a message in the message window in the message file (see below), preceded, in addition
to the command, by an ” @” . All characters behind a semicolon (;) are ignored (comment). Any white
spaces in parameters require the respective parameters to be put in quotes.

Online menu commands
online login

Log in with the loaded project

Online

W

Log in

online logout

Log out

Online

W

Log out

online run

Start the user program

Online

W

Log in

online sim

Activate simulation (

ü) Online

W

Log in

online sim off

Deactivate simulation

Online

W

Simulation

Menu File commands
file new

Create a new project

File

W

New

file open <projectfile>

Load the specified project

File

W

Open

file close

Close the loaded project.

File

W

Close

file save

Save the loaded project

File

W

Save

file saveas <projectfile>

Save the loaded project under the specified name

File

W

Save as

file quit

Exit DDS

File

W

Exit

Menu Project commands
project compile or
project build

Incrementally compile the loaded project

Project

W

Compile

project rebuild

Completely compile the loaded project

Project

W

Compile all

project clean

Deletes compile and download information in the current project

Project

W

Clean all

project import
<file 1>
...
<file n>

Import the specified files <file1> ... <file n> into the loaded project

Project

W

Import

project export <expfile>

Export the loaded project into the specified file <expfile>

Project

W

Export

project expmul <dir>

Export every object of the loaded project into the directory <dir> into a separate file, each bearing the object’s
name.

Manage message file
out open <msgfile>

Open the specified file for message output. New messages will be attached

out close

Close the currently open message file

out clear

Clear all messages from the currently open message file

Manage message output
echo on

Also output command lines as message

echo off

Do not output command lines as message

echo <text>

Output the <text> as message

Manage the replacement of objects or files during Import, Export, Replace
replace ok
replace yes

Replace

replace no

Do not replace

replace yesall

Replace all

replace noall

Replace none

Show/Hide Bookmarks

Advertising