
L DMS 4.0 EN - 07/2007 29
L-force Loader
Control via script files
Structure of the script file
6 Control via script files
Data can be automatically downloaded to several target systems if the »L-force Loader«
has been started in the so-called batch mode.
r The batch mode processes a script without the need of additional user inputs.
r All »L-force Loader« activities including possibly occurring error messages are listed in
a log file.
6.1 Structure of the script file
Automatic processing is only possible with a script file which determines the actions to be
carried out.
Script files can be created with any ASCII text editor (e.g. Notepad). A script file is divided
into sections. Different keys can be entered for the sections. Therefore they are very similar
to typical Windows INI files.
r Sections are put into square brackets. The following lines list the keys for a specific
section.
r A key consists of a key name followed by an equal sign and a key value.
– Comments can be added, the comment must, however, be separated from the key
value by a semicolon.
– It is not possible to enter more than one key per line.
–Example:
Note!
Please note the following special features in batch mode:
• "Note" and "information" messages are not displayed.
• The target system inhibits the controller automatically!
• A PLC program running on the target system is stopped automatically!
ShowProcessing=1 ;displays progress window
Warning!
If the machine includes several axes, every axis is started directly after download
if StartAfterDownload = 1 is set. This can lead to dangerous situations!
Commenti su questo manuale