Start programme via command line

In addition to calling up the "EASY Starter" via the "EASY Navigator", it is also possible to start the programme using a command via the command line or this command within a batch file.

  • To start the programme via the command line:

  1. Click on the Windows™ Start button:

  2. Enter the command cmd in the command line.

    • A new instance of the Windows command interpreter is started.

  3. Enter the command to open the programme:

    start< >/d< > "<programme path>"<>MaintenanceTool.exe< >- <call parameter>

    • The angle brackets must not be entered.

    • The spaces < > in the command must be observed.

    • Capitalisation is optional. It is only used here for better presentation.

Programme path

The path points to the programme file. By default, the following path must be entered for Windows™ 11, for example:

"c:\Program Files (x86)\Lenze\EASYStarter_< Version >\"

  • Inverted commas must be entered if the path contains spaces.

  • Enter the version of the "EASY Starter" to be opened, e.g. 1_26 for version 1.26 (the dot is generally replaced by an underscore).

Call parameters

Using the call parameters, the "EASY Starter" can be set to different modes so that additional functions are available or functions are switched off.

Several call parameters are separated from each other by a space.

Call parameters

Impact on the programme

ViewOnly

No parameters can be changed.

OnlineOnly

Devices can only be inserted online.

ConstantConnect

No devices can be removed or additional devices added.

This parameter is only useful when starting the "EASY Starter" with predefined connections, e.g. via the fixed list or a connection list.

Connection

Establish a connection to adevice.

The connection is transferred to the "EASY Starter" as the next parameter:

<communication path ID>\<address> (optional:) \<user name>\<password>

  • optional: This information is only required for connections that require these options.

<communication path ID>

  • 85736b63-990e-445e-925b-95d98d357f99 (OPC Diagnostic Server)

  • 85736b62-990e-445e-925b-95d98d357f99 (OPC Ethernet Server) 1)

  • d8f0e269-0760-4633-9a75-6605e7471c77 (OPC system bus (CAN))

  • 5608f7bb-00f9-4b54-a3e6-52c776c200f6 (Controller Gateway (OPC Tunnel))

  • eec24e0f-4726-4215-8869-1c686ad3deae (EASY ADS EtherCAT Gateway)3)

  • 0ef0d0bc-c999-47ea-9173-fa1f080f166b (ADS EtherCAT)

  • 57ee8e42-1a98-11d4-8993-006097711107 (Lecom)

  • 4E5C5AE5-363F-48A2-8EBB-C0B12BE286BA (EASY TCP/IP)2)

You will find information and examples on establishing a connection in the following sections:

Connections

Establish a connection to several online devices via a connection list.

Information and examples on this topic can be found in the section

You can also find out more about exporting in the section

File <filename>.lda

The file is opened automatically when the "EASY Starter" is started.

Prerequisite: There must be a valid device application file.

FileAddOnlineDevice <(path/)filename>.lda

The file is opened automatically when the "EASY Starter" is started. If a communication path is defined in the file (see "Connection" call parameter), an attempt is made to insert the corresponding online device.

Prerequisite: There must be a valid device application file.

DevicePassword <password>

To open a password-protected file, this call parameter must be entered together with the correct password.

If the password is missing or incorrect, an error message is displayed.

The "EASY Starter" is closed in this case.

1) "EASY Starter" up to and including V1.17

2) "EASY Starter" from V1.18 inclusive

3) "EASY Starter" up to and including V1.26