13 command line-/command file, Command line commands, L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 538

L-force | PLC Designer
Command Line-/Command File
536
DMS 3.2 EN 02/2011 TD29
13
Command Line-/Command File
13.1
Command Line Commands
When »PLC Designer« is started, you can add commands in the command line which
will be asserted during execution of the program. These commands start with a "/".
Capitalization/Use of small letters is not regarded. The commands will be executed
sequentially from the left to the right.
/online
Immediately after start »PLC Designer« tries to go online with the current
project.
/run
After login »PLC Designer« starts the application program.
Only valid in combination with /online.
/batch
»PLC Designer« starts without user interface and returns the error code
of the first error resp. the return value of the first command which is
terminated with a warning. »PLC Designer« will terminate immediately
after the command file has been processed. The processing of the
command file will be aborted as soon as the first command is processed
with an error. Warnings do not terminate the processing. If neither errors
nor warnings occur, the return value is S_OK.
/show ...
/show hide
/show icon
/show max
/show normal
Settings for the PLC Designer frame window can be made.
The window will not be displayed, it also will not be represented in the
task menu.
The window will be minimized in display.
The window will be maximized in display.
The window will be displayed in the same status as it was during the last
closing.
/out <outfile>
All messages are displayed in the message window and additionally are
written in the file <outfile>.
/noinfo
No splash screen at start of »PLC Designer«
/userlevel <group>
Definition of the user group (e.g. "/userlevel 0" for user group 0)
/password <password>
Direct input of the user group password (e.g. "/password abc")
/openfromplc
The project which is currently available on the connected target system,
will be loaded.
/visudownload
If CoDeSys HMI is started with a project, which does not match with the
project currently available on the target system, a download will be
offered. (Dialog, to be closed with YES or NO).
/notargetchange
A change of the target system only can be done via a command file. See
chapter command "target... ".
/targetfile <file>.trg
A target description file (*.trg) can be specified. So the already installed
targets will not be regarded when »PLC Designer« is started. The
commands 'File' 'New', File' 'New from template...', 'File' 'Open...' and the
list of recently opened projects will not be available. Additionally the
selection list in the target settings configuration dialog will not usable.