L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 542

Advertising
background image

L-force | PLC Designer

Command Line-/Command File

540

DMS 3.2 EN 02/2011 TD29



Commands for the control of replace of objects respectively for the control of files for
import, export, copy:

replace yesall

Replace all (any 'query on' command will be ignored; no dialogs will
open)

replace noall

Replace none (any 'query on' command will be ignored; no dialogs

will open)

replace query

If a 'query on' command is set, then a dialog will open regarding the

replacing of the objects even if there is a 'replace yesall' or 'replace

noall' command

Commands for the control of the default parameters of PLC Designer dialogs:

query on

Dialogs are displayed and need user input

query off ok

All dialogs respond as if the user had clicked on the 'OK' button

query off no

All dialogs respond as if the user had clicked on the 'No' button

query off cancel

All dialogs respond as if the user had clicked on the 'Cancel' button

Command for calling command files as subprograms:

call <parameter1> ...
<parameter10>

Command files will be called as subprograms. Up to 10 parameters
may be passed. In the file that is called, the parameters can be
accessed with $0 - $9.

call <parameter1> ...
<parameter10>

Command files are called as subroutines. Up to ten parameters can
be consigned. In the subroutine called you can access the
parameters using $0 - $9.

Setting of directories used by »PLC Designer«: ( -> project options dialog, category
'Directories', subcategory 'General'):

If several directories are defined with one of the following commands, these must be
separated by a
semicolon + emptyspace and the whole row of directories must be embraced by
double quotation marks.
Example, two pathes:

dir lib "D:\plcdesigner\Libraries\Standard;
D:\plcdesigner\Libraries\NetVar"

dir lib <libdir>

Sets <libdir> as the library directory

dir compile <compiledir>

Sets <compiledir> as the directory for the compilation files

dir config <configdir>

Sets <configdir> as the directory for the configuration files

dir upload <uploaddir>

Sets <uploaddir> as the directory for the upload files

Advertising