This documentation contains information on how to use the »EASY Starter (Application Loader)« in
batch mode. The batch mode enables applications to be downloaded automatically to the desired
target systems.
1.1Document history
VersionBeschreibung
1.010/2013TD11 First edition
1.106/2014TD11 Licence information supplemented.
Tip!
Current information on the Lenze products can be found at: http://www.Lenze.com
Depending on the device series and engineering tool, an application can contain different
data (examples: FB interconnection, parameter set, signal flow diagram). Basically, an
application is the sum of the data for determining the function of a device
2.1Which applications can be used?
The applications created in the Lenze engineering tool can be exported. The »EASY Starter
(Application Loader)« serves to download the applications to the desired device.
Engineering tool/file formatCreating/exporting applications for
3"Batch" mode: Download applications automatically to target systems
Note!
For using the "Batch" mode, you need a valid "EASY Advanced" licence (or higher) for the
Lenze »Engineer« or »PLC Designer« V 3.x.
3.1What is the "Batch" mode?
The "Batch" mode enables the automatic download of applications to several target devices. A script
file created before contains the desired communication settings and information on the target
device.
• In the "Batch" mode, the »EASY Starter (Application Loader)« processes the script file defined by
you. Hence, no further user entries are required.
• For diagnostic purposes, the »EASY Starter (Application Loader)« in "Batch" mode writes all
processing procedures and error messages in a log file.
Note!
Observe the following behaviour in the "Batch" mode:
• Automatic activation of the controller inhibit in the target system!
• Automatic stop of the running PLC program in the target system!
• The output of the messages of the "note" and "information" category is partly
suppressed.
Before being processed, a script file is not checked for correctness but processed until the
error source has been reached.
In case of an incorrect processing, use the log file to analyse and remove errors.
3.3.1Communication
Define the communication settings in the [Communication] section.
KeyParameter
Baud rateBaud rate of the system bus in [kBaud]
• Defining the baud rate in the script file is optional.
• If no baud rate is given in the script file, the value set in the system bus
configurator is used.
3.3.2General options
Define the general settings in the [Common] sections.
KeyParameter
Standard setting = 0. Is valid if no parameter is given.
NumberOfDevicesDefining the number of target systems.
•In the [DEVICExxx] section, the respective sections have to be entered
according the number defined here.
ShowProcessingDefines whether a status window is visible:
• 0 = do not show status window.
• 1 = show status window.
ExitAfterDownloadActivates the automatic closing of the »EASY Starter (Application Loader)«
after the script file has been processed:
•0 = Do not close »EASY Starter (Application Loader)« after processing.
• 1 = Close »EASY Starter (Application Loader)« after processing.
3.3.3Setting the options for the target systems
In the [DEVICExxx] section, the options for the prevailing target system to which you want to
download the application are defined.
•A separate [DEVICExxx] section has to be set for each target system. xxx marks the
consecutive number for the prevailing target system.
• The number of the [DEVICExxx] sections has to comply with the value of the NumberOfDevices key in the [COMMONxxx]section.
Example: If in section [COMMON] the NumberOfDevices=3, three sections have to be added in
[DEVICExxx]: [DEVICE001], [DEVICE002], [DEVICE003].
• The processing order of the target systems corresponds to the ascending number order, starting
with [DEVICE001].
The following options can be defined in the [DEVICE] section:
The standard setting is printed in bold. It is valid if no parameter is given.
DuplicateParameterSetDefines whether the parameter set is to be duplicated or whether the target
StartAfterDownloadDefines whether the PLC program/9400 application is to start automatically
ControllerEnableAfterDownload Activates the controller enable PLC after the script file has been processed:
system is replacement device:
• 0 = the target system is a replacement device
• 1 = duplicate parameter set
Inverter Drives 8400
The following values can be used additionally for Inverter Drives 8400:
• 2 = parameter set without communication parameters
• 3 = parameter set without motor parameters
Servo Drives 9400
• Target devices of this device series ignore the parameter. The parameters to
be transferred can be selected in the »Engineer« when the download data is
exported.
LECOM
Note: The "replacement device" function cannot be used in combination with
• 0 = inverter remains inhibited after processing.
• 1 = inverter is automatically enabled after processing.
3.4Start the "Batch" mode
Note!
The following special features have to be observed when parameters are downloaded:
A GDC file
complete parameter set.
• The GDC file names have to be given for the ParameterSetFile parameter. The transfer
process writes the parameters value by value into the inverter (by analogy with the
parameter download in the »EASY Starter«).
Inverter Drives 8400 and Servo Drives 9400 device series
In order to make sure that you transfer a complete parameter set into the corresponding
target system, you have to use the L-force Loader (LFL) file exported from the
»Engineer«/»EASY Starter«.
• The LFL file name has to be given for the ApplicationFileSet parameter. The transfer
process passes through the complete download logic as for instance the initialisation
of the FB parameters.
Other Lenze device series
In order to make sure that you transfer a complete parameter set into the corresponding
target system, you have to use the GDC file exported from the »Global Drive
Control«(GDC).
• The GDC file name has to be given for the ParameterSetFile parameter. The transfer
process passes through the complete download logic, as for instance the initialisation
of the FB parameter or the download of four parameter sets (if available).
exported from the »Engineer«/ »EASY Starter« does not need to contain a
• The »EASY Starter« setup writes the Lenze.ApplicationLoader.exe file into the installation
directory, standard setting: C:\Program Files\Lenze\EASYStarter_<Version>“). As there are
dependencies on other program components in the installation folder, the application has to be
started there.
•The /batch parameter causes the »EASY Starter (Application Loader)« to execute all functions
in the background controlled by script.
•The script file parameter is the reference to the script file to be used.
• Absolute and relative path data can be used. A relative path always refers to the current
directory.
•The log file parameter is optional and contains the name of the log file in which all
worksteps and possible error messages are recorded.
• If the log file is indicated without any path, the log file is saved in the directory which also
contains the script file.
• If the log file parameter is left out, no log file is created.