• No se han encontrado resultados

CAPÍTULO IV: INFORME FINAL

4.1. Informe Técnico

4.6.2. Costo óptimo (Rentabilidad 40%)

8.2.1 Assembly and commissioning

1. Install your System 300S with your CPU.

2. Wire the system by connecting cables for voltage supply and signals.

3. Connect your EtherCAT master to EtherCAT. 4. Switch on the power supply.

8.2.2 Start-up behaviour

After PowerON and start-up (incl. OB100) the CPU is switched to RUN. This brings the EtherCAT master to Op state and he requests the Op state from its connected EtherCAT slave devices. Before the OB1 is called, the CPU waits until no more EtherCAT slave station is in SafeOp state. You can specify the Monitoring time via the CPU parameter ‘Transfer of parameters to modules’ in the property reg- ister ‘start-up’.

Using the EtherCAT master the following start-up behaviour is distin- guished. The terms and conditions can be found in the following table:

n CPU switches to RUN, if topology is OK

The CPU waits for all the slaves, which mandatory have to exist, maximum until the Monitoring time expires and then switches to RUN. The topology mus be OK.

n CPU switches to RUN mode regardless of topology or optional slaves

The CPU waits for all the slaves, which mandatory have to exist, maximum until the Monitoring time expires and then switches to RUN regardless of topology or optional slaves.

Is the CPU parameter: ‘Start-up is preset configuration does not match actual configuration’ activated?

Y N N N N N N N N N

Are all the mandatory slaves config- ured?

x Y N Y Y Y Y N N Y Are there optional slaves config-

ured (hot connect group)?

x N Y Y x Y x N N x Do all the mandatory slaves exist? x Y N Y x Y x x x N Do optional slaves exist (not all x N Y Y x Y x x x x Preconditions for start-

up

Is there at least one mandatory slave with a wrong module?

x N N N Y x x x x x Is there at least one optional slave

with a wrong module?

x N N N x Y x x x x Does at least on not configured

slave exist?

x N N N x x Y Y N x

â â â â â â â â â â

CPU switches to RUN, if topology is OK.

Y

CPU switches to RUN mode regardless of topology or optional slaves.

Y Y Y N N N N Y N

Yes: Y | No: N | not relevant: X

8.3 Hardware configuration - CPU

The configuration of the CPU takes place at the Siemens ‘hardware configurator’. The hardware configurator is part of the Siemens SIMATIC Manager. It serves for project engineering. Please use for configuration the Siemens SIMATIC Manager V 5.5 SP2 and up. The modules, which may be configured here are listed in the hardware catalog. If necessary you have to update the hardware catalog with

‘Optionsè Update Catalog’.

For project engineering a thorough knowledge of the Sie- mens SIMATIC Manager and the Siemens hardware con- figurator is required.

The configuration of the EtherCAT masters happens in the Siemens SIMATIC Manager by means of a virtual PROFINET IO device

‘EtherCAT network’. The ‘EtherCAT network’ is to be installed in the hardware catalog by means of the GSDML and can be configured with the VIPA tool SPEED7 EtherCAT Manager.

The following preconditions must be fulfilled for the configuration of the EtherCAT master:

n GSDML for ‘EtherCAT network’ is installed

n SPEED7 EtherCAT Manager for EtherCAT configuration is installed

The installation of the PROFINET IO devices ‘EtherCAT Network’

happens in the hardware catalog with the following approach: 1. Go to the service area of www.vipa.com

2. Load the file Cx000151_Vxxx

3. Extract the files into your working directory. 4. Start the Siemens hardware configurator. 5. Close all the projects.

6. Select ‘Optionsè Install new GSD file’ Precondition

Installing the IO device EtherCAT network

7. Navigate to your working directory and install the according GSDML file.

ð After the installation the ‘EtherCAT Network’ can be found at

‘PROFINET IOè Additional field devicesè I/O è VIPA EtherCAT System’

The configuration of the PROFINET IO device ‘EtherCAT Network’

happens by means of the SPEED7 EtherCAT Manager from VIPA. This may be found in the service area of www.vipa.com.

The activation happens with the following proceeding: 1. Close the Siemens SIMATIC Manager.

2. Go to the service area of www.vipa.com

3. Load the SPEED7 EtherCAT Manager and unzip it on your PC. 4. For installation start the file EtherCATManager_v... .exe.

5. Select the language for the installation. 6. Accept the licensing agreement.

7. Select the installation directory and start the installation. 8. After installation you have to reboot your PC.

ð The SPEED7 EtherCAT Manager is installed and can now be called via the context menu of the Siemens SIMATIC Manager.

To be compatible with the Siemens SIMATIC Manager the following steps should be executed:

1. Start the Siemens hardware configurator with a new project. 2. Insert a profile rail from the hardware catalog.

3. Place at ‘Slot’-Number 2 the CPU 315-2 PN/DP (6ES7 315-2EH14-0AB0 V3.2).

4. The integrated EtherCAT master is to be configured via the sub module ‘X2 PN-IO’ as a virtual PROFINET network.

1. Click at the sub module ‘PN-IO’ of the CPU.

2. Select ‘Context menuè Insert PROFINET IO System’.

3. Create with [New] a new sub net and assign valid address data 4. Navigate in the hardware catalog to the directory ‘PROFINET IO

è Additional field devicesè I/Oè VIPA EtherCAT System’

and connect the IO device ‘EtherCAT Network’ to your PRO- FINET system.

Installing the SPEED7 EtherCAT Manager

Proceeding

Configuration EtherCAT master

5. Click at the inserted IO device ‘EtherCAT Network’ and define the areas for in and output by dragging and dropping the according ‘Out’ or ‘In’ area to a slot.

Here the following rules must be observed:

n Input and output areas can be mixed.

n You have a maximum of 4096byte EtherCAT process data for input and output respectively.

n Data must be consistent in the Siemens hardware configu- rator, this means with PROFINET the maximum number of bytes may not be exceeded. Otherwise you have to connect another ‘EtherCAT Network’ to your PROFINET system. In the SPEED7 EtherCAT Manager all the areas are automati- cally detected and combined.

6. Select ‘Stationè Save and compile’

ð Now you can configure your EtherCAT system with the

SPEED7 EtherCAT Manager.

Before calling the SPEED7 EtherCAT Manager you have to save you project with ‘Station è Save and compile’.

7. Click at an inserted IO device ‘EtherCAT Network’ and select

‘Context menuè Start Device-Tool è SPEED7 EtherCAT Manager’.

ð The SPEED7 EtherCAT Manager is started. Here you can configure the EtherCAT master system.

More information about the SPEED7 EtherCAT Manager can be found in the according manual respectively online help. 8. By closing the SPEED7 EtherCAT Manager the EtherCAT con-

figuration is taken to the project and the SPEED7 EtherCAT Manager is closed. You can always edit your EtherCAT configu- ration in the SPEED7 EtherCAT Manager, since the configura- tion is stored in your project.

9. Switch to the Siemens SIMATIC Manager and transfer your project into the CPU.

The transfer can only be done by the Siemens SIMATIC Manager - not hardware configurator!

Since slave and module parameters are transmitted by means of SDO respectively SDO Init command, the con- figuration remains active, until a power cycle is performed or new parameters for the same SDO objects are trans- ferred.

With an overall reset the slave and module parameters are not reset!

Documento similar