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

L-force | PLC Designer
Command Line-/Command File
DMS 3.2 EN 02/2011 TD29
543
Query system state:
state offline
Returns "S_OK", if currently there is no connection between
programming system and target system (offline mode), otherwise
"HRESULT[0x800441f0)" (online mode).
state online
Returns "S_OK", if currently there is a connection between
programming system and target system (online mode), otherwise
"HRESULT[0x800441f0)" (offline mode).
Password for user group:
With the following settings - when opening a project which is protected by user
group passwords - you can enter the password for a certain user group. Thus, even if
the display of the user input dialogs is switched off ( "query off...", see above), a
password-protected project can be opened via the command file. The entries for the
user group and the password must be placed before the command "file open..."!
Example:
user level 0
user password aaa
file open "D:\plcdesigner\projects\xxxx.pro"
query off ok
user level
User group, the password for which is defined in the project and is
given by the subsequent command "user password".
user password
Password for user group specified by the preceding command "user
group".