PowerMACS 4000 - PROFINET IO
How to configure PowerMACS 4000 as a PROFINET IO slave with Siemens S7
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
2 (20)
RELEASE IDENTIFICATION VERSION 0.1
2009-02-11
First version of document. Peder Johansson
VERSION 1.0
2009-02-11
Approved version. Wojciech Dobrowolski
1 INTRODUCTION This document describes how a PowerMACS 4000 system is configured as a slave node on a PROFINET IO network using a Siemens S7 PLC. 2
CONFIGURATION OF THE POWERMACS SYSTEM
2.1 Hardware To be able to attach a PowerMACS system to a PROFINET IO network a Primary TC equipped with an Anybus CompactCom module of PROFINET IO type must be used. 2.2 Configuration of the PowerMACS setup Add a Fieldbus device to the TC that is equipped with the Anybus PROFINET IO module using ToolsTalk's System Map form.
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
3 (20)
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
4 (20)
Set Fieldbus Type to ProfiNet IO. Specify with IP address the address the AnyBus-CC module initially should have on the network. Also specify the Subnet mask and the IP address of an optional Gateway. If no gateway is used then specify 0.0.0.0. These data can be changed by the ProfiNet IO Master when connected. Alignment defines the size (in bytes) of the individual input and output modules that are used when the I/O area is configured on the ProfiNet master. The size of the used modules must be equal to the value of Alignment. Since max 64 modules can be used Alignment also controls the maximum size of data that can be transferred as cyclic IO data. The parameter Fast bytes In and Fast bytes Out defines the size (in bytes) of the input/output data that is transferred as cyclic, or real time, IO data on the ProfiNet IO network. Max value of the respective parameter is PLC bytes XX + Data bytes XX. Leaving the parameter "blank" will make all input/output data transferred as cyclic IO data. See PowerMACS Manual for a description on how to set up the other parameters and details. 3
CONFIGURATION OF THE SIEMENS S7 PLC
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
5 (20)
3.1 Import the GSD file Import the Anybus file in Simatic accordingly the standard procedure. Select the file “GSDMLV2.0-HMS-ABCC-PRT-20070915.xml”. This file can be found on all PC's on which ToolsTalk PowerMACS has been installed. It is located in the folder that ToolsTalk was installed to, for example: C:\PM4000 7.5.0 ToolsTalk\Fieldbus\ProfiNet. The Anybus module can then be found in the hardware catalog, at following position: PROFINET IO\Additional Field Devices\General\ABCC-PRT.
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
6 (20)
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
7 (20)
3.2 Adding the Anybus module to the configuration Add the module to the hardware configuration accordingly to standard Simatic procedure.
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
8 (20)
3.3 Configuring the IP address and Device name Each node on the PROFINET network has to have a unique IP address and Device name. A description of how to configure the Device name and IP setting follows below. To assign the Device Name open the PLC menu and select the Edit Ethernet Node function as seen below.
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
9 (20)
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
10 (20)
After selecting the Edit Ethernet Node function, press the Browse button and start scanning the network.
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
11 (20)
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
12 (20)
Then select the desired node to edit and click on OK. The module is easily identified by its IP address or the MAC ID. When this is done assign the node the desired Device Name. If desired it is also possible to set the IP settings manually using the "Use IP parameters" option.
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
13 (20)
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
14 (20)
When the Anybus PROFINET IO module is to be used for the first time in the network, a Device Name needs to be set for the module. The Device Name must be unique within the network. The name assigned in this case is "atlas1". After editing the Device name make sure to press the Assign Name button. When the Device Name has been set it must be verified that the same Device name is used in the Hardware configuration. To do this, double click on the Anybus module in the hardware configuration. The window shown below will then appear.
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
15 (20)
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
16 (20)
The first step is to check out the used Device Name. that the same name is used as assigned to the Anybus module as shown in previous picture. In this example device name “atlas1” is being used. Secondly the recommendation is to let the IO Controller to set the IP address, but it is also possible to configure the IP address manually by un-checking the box. 3.4 IO configuration The final step is to configure the sizes of the cyclic IO data that should be transferred to and from the PowerMACS node. These must correspond to the sizes configured as Fast bytes In and Fast Bytes Out in the PowerMACS end, see chapter: Configuration of the PowerMACS setup. This is done by "drag and dropping" input and output modules from the ABCC-PRT node in the navigation tree to the Module list of the Anybus network node. Note that only modules with a size equal to the size given by the Alignment parameter of the PowerMACS Fieldbus device can be used. Since Alignment is 8 (byte) in this example, only the 4 word modules can be used.
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
17 (20)
It is important that the Output modules are mapped before the Input modules. In this example, were Fast bytes In and Fast Bytes Out are left empty, the PowerMACS module consumes 16 byte data (input to PowerMACS) and produces 24 byte data (output from PowerMACS).
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
18 (20)
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
19 (20)
For detailed information from HMS about Profinet IO configuration, please see chapter 5 in “PROFINETIO_Slave_Step7_1.11.pdf” that can be ed from their website (www.hms.se).
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -
4
Document Name
Status
PowerMACS 4000 - PROFINET IO
Approved
Date
2009-02-11
Version
1.0
Page
20 (20)
CONTENT
RELEASE IDENTIFICATION........................................................................................................2 1 INTRODUCTION.........................................................................................................2 2 CONFIGURATION OF THE POWERMACS SYSTEM.............................................2 2.1 Hardware...................................................................................................................2 2.2 Configuration of the PowerMACS setup..................................................................2 3 CONFIGURATION OF THE SIEMENS S7 PLC........................................................3 3.1 Import the GSD file...................................................................................................3 3.2 Adding the Anybus module to the configuration......................................................4 3.3 Configuring the IP address and Device name...........................................................4 3.4 IO configuration........................................................................................................7 4 CONTENT.....................................................................................................................9
The document and all appurtenant matter shall remain our property. They may not without our written permission, either in their original state or with any changes, be copied or manifolded, shown to or in any other way communicated to or handed over to anybody unauthorized nor used for manufacturing purposes. Any infringement of these conditions will lead to institution of legal proceedings. - Atlas Copco Tools AB, -