How-To-Do EtherCAT Communication with CPU 300S With SPEED7 Studio Content 1 General... 2 1.1 Information... 2 1.2 Reference... 2 2 Step by step Hardware Configuration... 3 3 Revision History... 13 3.1 Changes:... 13 Januar 14 page 1 of 13
1 General 1.1 Information This How-To-Do describes how you can configure the VIPA CPU, 315-4EC-12 as EtherCAT master system in SPEED7 Studio from VIPA GmbH. The EtherCAT slave (SILO 053-1EC00), which has to be parameterized for the EtherCAT system, will be configured and parameterized in SPEED7 EtherCAT Manager. You can find a detailed description of the CPU 315-4EC-12 and the SILO IM 053-1EC00 in the manuals under the links: CPU 315-4EC-12: http://www.vipa.com/de/service-support/manuals/control-systems/300s SILO IM 053-1EC00: http://www.vipa.com/de/service-support/manuals/io-systems/slio/ 1.2 Reference In this How-To-Do principal procedures are described by means of examples. You can download the required GSD file as well as the zip archive, which contains SPEED7 EtherCAT Manager, from the website http://www.vipa.com/de/service-support/downloads/. All liability for material defects and defects of this documentation, especially for the correctness, accuracy, freedom and protection or third party rights, completeness and / or usability - except for willful misconduct or bad faith - is excluded. Januar 14 page 2 of 13
2 Step by step Hardware Configuration 1. Start SPEED7 Studio and open a new projekt. Project Window Project Explorer Catalog Projekt Output Figure 1: Structure of SPEED7 Studio 2. Navigate in the Catalog to the folder CPUs -> VIPA 300s -> CPUs 315 and insert a CPU 315-4EC12 into the work window via Drag&Drop. Figure 2: Configuration of a VIPA 300S Station Januar 14 page 3 of 13
3. Open the device properties by clicking on the right mouse button to parameterize the PG/OP interface of the CPU Figure 3: Open the Device Properties of the CPU 4. Now a next tab in the work window appears. Select here the page menu Communication to make the communication settings. Select Ethernet Interface as active interface and fill in the IP address and the subnet into Properties of Ethernet Interface and if necessary select the compatible network interface card (connected to the CPU) for your PC. In this How-To-Do example, the IP address 192.168.1.1 is applied. 1 2 3 4 Figure 4: Parameterizing of the Ethernet (EtherCAT) interface of the CPU Januar 14 page 4 of 13
5. Move back to the tab General and open the Device configuration by double clicking on the CPU to append the central periphery. You can also open the Device configuration by selecting the CPU by right button click on the CPU. Figure 5: Open the device configuration 6. Now you should see your configured CPU and placeholders for more modules. Now insert via Drag&Drop all modules out of the catalog, which are on the standard bus on the right of the CPU beginning with slot 4. In the How-To-Do example the following modules are applied: 2x VIPA 323-1BH00 (Slot 4, Slot 5) Figure 6: Parameterizing the I/O modules of the 300 system Januar 14 page 5 of 13
7. Now move back to the tab General. To parameterize the EtherCAT master system open the menu item Bus system properties via right button click on the EC master system (will be highlighted, if you move your mouse over it). Figure 7: Open the EC master system properties (SPEED7 EtherCAT Manager) 8. Now SPEED7 EtherCAT Manager appears. Projekt-Explorer Geräte-Editor Informationen Meldungen Figure 8: Structure of SPEED7 EtherCAT Manager Januar 14 page 6 of 13
9. First decide in the device editor, whether you want to use your PC or a CPU as EtherCAT master. a. PC as EtherCAT Master Select your network adapter in the area Slaves connected to local system and confirm your connection configuration with <Select>. Figure 9: Select PC as EtherCAT master b. CPU as EtherCAT Master (used in the How-to-do example) Select the IP address of your PG/OP interface of the CPU applied in item 4 (in the How- To-Do example: 192.168.1.1) and enter it into the dedicated field. Confirm your configuration with <Select>. Figure 10: Select CPU as EtherCAT master 10. Now you have two possibilities to assign the EtherCAT slave to the CPU 315-2 PN/DP: c. Search in the EtherCAT network (continue with item 11) d. Append the EtherCAT slave to the master system (continue with item 13) 11. Search for Slaves in the EtherCAT (Connection to the EtherCAT network exists). Here click with the right mouse button on the CPU 315-2 PN/DP in the Project Explorer and select <Scan EtherCAT Network>. Figure 11: Scan for slaves in the EtherCAT network 12. Continue the description with item 18 Januar 14 page 7 of 13
13. Configure your EtherCAT slave by hand. To do this, click with the right mouse button on the CPU 315-2 PN/DP and select <Append Slave >. Figure 12: Append EtherCAT Slave to the EtherCAT master system 14. Now a window opens, in which you can select your EtherCAT slave. You have the possibility of configuring several (identical) slaves at the same time. You can switch it in the input field Number of Slaves. Confirm your selection with <OK>. In this How-To-Do example, the following EtherCAT slave is applied: 1x VIPA 053-1EC00 EtherCAT Fieldbus coupler (MDP) Figure 13: Selection of the EtherCAT Slave Januar 14 page 8 of 13
15. To configure I/O modules to the SLIO head module just appended, click with the right mouse button on one of the SLIO head modules and select Append Slave. Figure 14: Appending the first SLIO module Reference: To append or add more modules to the SLIO head module by hand, don t select the head module after the first configured module by the right mouse button, but the already existing I/O module. There you can select: (Append module at the end of configuration) (Insert module between existing modules) 16. Now a window opens, in which you can select individual SLIO I/O modules. In this How-To-Do example the following SLIO modules are applied: 1x VIPA 022-1BF00, DO 8xDC 24V 0,5A 1x VIPA 021-1BD00, DI 4xDC 24V 8x VIPA 022-1BF00, DO 8xDC 24V 0,5A Figure 15: Selection of the SLIO modules for the respective EtherCAT slave Januar 14 page 9 of 13
17. Go back to step 15 and insert the remaining modules to the SLIO system. 18. Please close SPEED7 EtherCAT Manager to return to SPEED7 Studio. There you should see the newly configured EtherCAT slave (SLIO). Figure 16: EtherCAT system incl. slave 19. Now save your configuration by clicking on the symbol Save in the menu bar. Then you compile the configuration via the symbol Compile and load your project into your connected CPU via the symbol Transfer. 1 2 3 Figure 17: Save, compile and transfer the project Januar 14 page 10 of 13
20. Now a window opens, in which you can transfer your project into the respective CPU. Click now on the button Check to search for the connected CPUs in the network. Figure 18: Check of the accessible participants 21. By clicking again on the button (now with the name Load ) the project is transferred to the CPU. Figure 19: Transfer the project Januar 14 page 11 of 13
22. After successful transfer you can see a green ok symbol in the button Close, by which you can now end the action. Figure 20: Project successfully transferred Januar 14 page 12 of 13
3 Revision History 3.1 Änderungen: DATUM ÄNDERUNGEN BEARBEITER 27.01.2014 M. Dörnhöfer 09.01.2014 Übersetzungsüberprüfung durchgeführt M. Dörnhöfer 11.12.2013 Erstellung Dokument M. Dörnhöfer Januar 14 page 13 of 13