Commissioning
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.
Parameterization required
The EtherCAT device must be configured as slave.
By default, the slave functionality is activated. = 0
How to activate the slave functionality:
1.
Setting: = 0
2.
Save parameter settings.
Saving the parameter settings
Saving the parameter settings 3.
Restart inverter.
Device command: 0x2022:035 = 1
Device command: 0x2022:035 = 1
The inverter is now configured as a slave.
Commissioning steps
How to configure the network:
Configure gateway function of the master
1.
Start »PLC Designer«.
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 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.
Adapt EtherCAT device to the application
1.
Adapt parameter values of the inverter.
2.
Set the PDO-Mapping.
3.
The selected parameters must be set as shown above.
Load the network configuration into the master
1.
Log off: Menu command "Online
à
Log off" or <Ctrl>+<F8>.2.
Compiling: Menu command "Build
à
Build" or <F11>.3.
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 carried out after every change within the »PLC Designer« project. An already existing configuration and an existing PLC program in the master are overwritten.