Commissioning
The steps required to control the inverter as an EtherCAT slave with an EtherCAT master are described below.
Preconditions:
–
The inverter is networked as an EtherCAT slave with an EtherCAT master and, if necessary, further EtherCAT devices.
–
The entire wiring has already been checked for completeness, short circuit and earth fault.
–
All EtherCAT devices are supplied with voltage and are switched on.
–
The inverter is commissioned with the "EASY Starter" or the "PLC Designer".
–
The EtherCAT master is commissioned with a manufacturer-specific engineering tool. Examples:
–
Lenze Controller with »PLC Designer«
–
Beckhoff PLC with TwinCAT
–
The device description file required for project engineering of the inverter is installed.
–
The "PLC Designer" receives these files via the Lenze EASY Package Manager.
–
Third party engineering tools require an ESI device description file.
Download XML/ESI files for Lenze devices
Download XML/ESI files for Lenze devices
–
We always recommend the use of the current device description.
Commissioning steps with the Lenze »PLC Designer«
How to configure the network:
Configure gateway function of the master
1.
»PLC Designer« Start.
2.
Open or recreate a »PLC Designer« project.
3.
Open the "Communication settings" tab of the master.
4.
Click "Add gateway".
Do the following in the appearing dialog box:
Do the following in the appearing dialog box:
a.
Enter the IP address of the master.
b.
Confirm the entry with "OK".
5.
Click "Search network".
6.
Select the corresponding master for the previously entered IP address.
7.
Click "Set active path".
8.
Log into the master using the "Online
à
Log in" menu command or with <Alt>+<F8>.Now you can access the slaves from the Engineering PC via the EtherCAT master as gateway.
Carry out network scan.
1.
Execute the "Start Search" command in the context menu of the EtherCAT master.
The appearing dialog box lists all available EtherCAT devices according to the physical order in the network.
2.
Click "Copy all devices into the project".
The physical network structure is reproduced in the »PLC Designer« project.
A proper operation requires that the network topology generated in the project corresponds to the physical order of the EtherCAT devices in the network. Otherwise, an error message displays which slave (product code) is to be expected at which position.
Load the network configuration into the master
1.
Log off: Menu command "Online
à
Log off" or <Ctrl>+<F8>.2.
Define cycle time.
3.
Configure process data.
4.
Compiling: Menu command "Build
à
Build" or <F11>.5.
Log in: Menu command "Online
à
Log in" or <Alt>+<F8>.The configuration, the parameter settings and the PLC program are loaded into the master. Afterwards, all EtherCAT slaves are initialized.
These steps must be executed after each change within the "PLC Designer" project.
An already existing configuration and an existing PLC program in the master are overwritten.
Adapt EtherCAT device to the application
1.
Adapt parameter values of the inverter.
Restart of the communication
1.
For restarting communication, there are two options:
a.
Switch inverter off and on again.
b.
0x2360 = "Restart with current values [1]".
Commissioning is completed.
Parameter