Professional Documents
Culture Documents
Application manual
PROFINET Master and Slave SW
Trace back information:
Workspace RW 5-15-01 version a4
Checked in 2013-04-03
Skribenta version 4.0.006
Application manual
PROFINET Master and Slave SW
5.15
Table of contents
Overview of this manual ................................................................................................................... 7
Product documentation, M2004 ....................................................................................................... 9
Safety ................................................................................................................................................ 11
1 Introduction to PROFINET 13
1.1 PROFINET, general ........................................................................................... 13
1.2 PROFINET SW, IRC5 ......................................................................................... 14
1.3 Terminology ..................................................................................................... 17
2 Hardware description 19
2.1 PROFINET connections ...................................................................................... 19
2.2 Connections, general ......................................................................................... 22
3 Configuration 23
3.1 Configuration types ........................................................................................... 23
3.2 Configure the Profinet_SW bus ............................................................................ 24
3.3 Using NetNames+ ............................................................................................. 25
3.4 Master configuration .......................................................................................... 27
3.4.1 Introduction ............................................................................................ 27
3.4.1.1 Software overview ....................................................................... 27
3.4.2 Configuration overview ............................................................................. 28
3.4.2.1 PROFINET master ....................................................................... 28
3.4.3 Workflows .............................................................................................. 29
3.4.3.1 Configuring PROFINET master ...................................................... 29
3.4.3.2 Creating PROFINET configuration file ............................................. 30
3.4.3.3 Configuring the IRC5 controller ...................................................... 41
3.4.3.4 Using Fast Unit Startup ................................................................. 42
3.5 Slave configuration ............................................................................................ 44
3.5.1 Introduction ............................................................................................ 44
3.5.1.1 Software overview ....................................................................... 44
3.5.2 Configuration overview ............................................................................. 45
3.5.2.1 PROFINET internal slave .............................................................. 45
3.5.3 Workflows .............................................................................................. 47
3.5.3.1 Configuring PROFINET internal slave .............................................. 47
3.5.4 Examples .............................................................................................. 48
3.5.4.1 Configuring PROFINET internal slave .............................................. 48
4 System parameters 53
4.1 Introduction ...................................................................................................... 53
4.2 Type Bus ......................................................................................................... 55
4.2.1 Path to Bus Configuration File ................................................................... 55
4.2.2 IP Address ............................................................................................. 56
4.2.3 Subnet Mask .......................................................................................... 57
4.2.4 Gateway ................................................................................................ 58
4.2.5 Station Name ......................................................................................... 59
4.2.6 Auto Configuration .................................................................................. 60
4.2.7 Connector ID .......................................................................................... 61
4.3 Type Unit ......................................................................................................... 62
4.3.1 Fast Unit Startup ..................................................................................... 62
4.4 Type Unit Type ................................................................................................. 63
4.4.1 Input Size .............................................................................................. 63
4.4.2 Output Size ............................................................................................ 64
5 Troubleshooting 65
5.1 Scenarios ........................................................................................................ 65
3HAC039906-001 Revision: D 5
© Copyright 2013 ABB. All rights reserved.
Table of contents
Index 67
6 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
Overview of this manual
Usage
This manual should be used during installation and configuration of the PROFINET
SW options.
Prerequisites
The reader should have the required knowledge of:
• PROFINET fieldbus
• I/O system configuration
• IRC5 controller
• Robot Studio
References
Reference Document ID
Technical reference manual - System parameters 3HAC17076-1
Product manual - IRC5 3HAC021313-001
Operating manual - IRC5 with FlexPendant 3HAC16590-1
Operating manual - RobotStudio 3HAC032104-001
Other references
Reference Description
International standard IEC 61158 Type 3 In- The PROFINET fieldbus standard is described
ternational standard IEC 61784 in the international standards.
PROFINET Cabling and Interconnection Installation Guideline for PROFINET (Version
Technology 2.00, September 1998)
Commissioning PC Stations - Manual and Release 12/2006 C79000-G8976-C156-08
Quick Start
ET200S Distributed I/O System Manual from Siemens
www.profinet.com The web site of PROFINET International
Continued
Revisions
Revision Description
- First edition. Released with RobotWare 5.14.
A Updated for the RW 5.14.02 release.
• Updated the Auto configuration system parameter.
B Added section Installing PC WORX on page 35 for RW 5.14.03 release.
C Updated for the RW 5.15 release.
• Changed the maximum number of I/O units conntected to master from
20 to 50 in section PROFINET SW, IRC5 on page 14.
D Updated the subnet mask allowed values from "255.255.255.0 -
255.255.255.254" to "128.0.0.0 - 255.255.255.252" in Subnet Mask on page 57
for the RW 5.15.01 release.
8 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
Product documentation, M2004
Product manuals
Manipulators, controllers, DressPack/SpotPack, and most other hardware will be
delivered with a Product manual that generally contains:
• Safety information.
• Installation and commissioning (descriptions of mechanical installation or
electrical connections).
• Maintenance (descriptions of all required preventive maintenance procedures
including intervals and expected life time of parts).
• Repair (descriptions of all recommended repair procedures including spare
parts).
• Calibration.
• Decommissioning.
• Reference information (safety standards, unit conversions, screw joints, lists
of tools ).
• Spare parts list with exploded views (or references to separate spare parts
lists).
• Circuit diagrams (or references to circuit diagrams).
Application manuals
Specific applications (for example software or hardware options) are described in
Application manuals. An application manual can describe one or several
applications.
Continued
Operating manuals
The operating manuals describe hands-on handling of the products. The manuals
are aimed at those having first-hand operational contact with the product, that is
production cell operators, programmers, and trouble shooters.
The group of manuals includes (among others):
• Operating manual - Emergency safety information
• Operating manual - General safety information
• Operating manual - Getting started, IRC5 and RobotStudio
• Operating manual - Introduction to RAPID
• Operating manual - IRC5 with FlexPendant
• Operating manual - RobotStudio
• Operating manual - Trouble shooting IRC5, for the controller and manipulator.
10 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
Safety
Safety
Safety of personnel
When working inside the robot controller it is necessary to be aware of
voltage-related risks.
A danger of high voltage is associated with the following parts:
• Units inside the controller, for example I/O units, can be supplied with power
from an external source.
• The mains supply/mains switch.
• The power unit.
• The power supply unit for the computer system (230 VAC).
• The rectifier unit (400-480 VAC and 700 VDC). Capacitors!
• The drive unit (700 VDC).
• The service outlets (115/230 VAC).
• The power supply unit for tools, or special power supply units for the
machining process.
• The external voltage connected to the controller remains live even when the
robot is disconnected from the mains.
• Additional connections.
Therefore, it is important that all safety regulations are followed when doing
mechanical and electrical installation work.
Safety regulations
Before beginning mechanical and/or electrical installations, ensure you are familiar
with the safety regulations described in Product manual - IRC5.
3HAC039906-001 Revision: D 11
© Copyright 2013 ABB. All rights reserved.
This page is intentionally left blank
1 Introduction to PROFINET
1.1 PROFINET, general
1 Introduction to PROFINET
1.1 PROFINET, general
What is PROFINET?
PROFINET is an open standard for Industrial Ethernet. PROFINET satisfies
requirements for automation technology. PROFINET solutions can be implemented
for factory and process automation, for safety applications, and for the entire range
of drive technology right up to clock-synchronized motion control.
PROFINET standardization
The use of open standards, simple operation, and the integration of existing system
segments have driven the definition of PROFINET from the beginning. PROFINET
is standardized in IEC 61158 and IEC 61784. The continual further development
of PROFINET offers users a long term perspective for the implementation of their
automation tasks.
PROFINET versions
PROFINET has a modular design and different PROFINET versions are all
combinations of modular elements from the groups transmission technology,
communication protocol, and application profiles.
Here are some examples of PROFINET versions:
• PROFINET-IO - Distributed I/O (Remote I/O). Here, the familiar I/O view of
PROFIBUS is retained, in which the user data from the field devices are
periodically transmitted into the process model of the control system.
• PROFINET-CBA - Based on the object-oriented modelling of technological
modules. Based on the object model, machines and installations are
structured in PROFINET in the form of technological modules.
• PROFIsafe - Defines how safety-oriented devices (emergency shutoff
switches, light grids, overfill protection systems, etc.) can communicate
safety control information over a network securely enough that they can be
used in safety-oriented automation tasks up to EN954's KAT4, AK6, or SIL3
(Safety Integrity Level).
• PROFIdrive - The PROFIdrive profile covers application scenarios from simple
frequency converters to highly dynamic servo drivers.
• PROFIenergy - A profile of the PROFINET communications protocol that
allows the power consumption of automation equipment in manufacturing
(such as robot assembly cells, laser cutters and sub-systems such as paint
lines) to be managed over a PROFINET network. It offers an open and
standardized means of controlling energy usage during planned and
unplanned breaks in production.
3HAC039906-001 Revision: D 13
© Copyright 2013 ABB. All rights reserved.
1 Introduction to PROFINET
1.2 PROFINET SW, IRC5
Hardware overview
PROFINET SW is a software solution running on the IRC5 main computer. It
communicates via distributed I/O units.
The PROFINET network is connected to an Ethernet connection on the main
computer in the IRC5 controller. For option PROFINET Master/Slave SW (888-2),
the IRC5 controller can act as a master, slave or both on the PROFINET network.
For option PROFINET Slave SW (888-3), the IRC5 controller can only act as a
slave.
I/O units
It is possible to connect any type of PROFINET-IO compliant I/O unit on the
PROFINET master bus. All I/O units should comply with the PROFINET standard
and be conformance tested by PROFINET international. I/O units may be mounted
inside the IRC5 controller. There are no PROFINET compliant I/O units installed
in a standard version IRC5 controller.
Main computer
PROFINET SW requires the main computer DSQC 639.
Continued
PROFINET network
The following figure illustrates an example overview of the PROFINET network.
xx1000001087
Configuration programs
To be able to configure the PROFINET master, an external PROFINET configuration
tool is needed. There are two different versions available: PROFINET-IO
Configurator Express and PROFINET-IO Configurator Professional. Supplied on
the RobotWare DVD is the Express version. The Professional version have some
additional features and can be bought separately. It is also possible to use the tool
PC WORX from Phoenix.
The PROFINET internal slave does not require any external configuration tool for
the IRC5 controller. A connecting PLC or other master needs to use the provided
GSDML file and its vendor specific configuration tool to be able to connect to the
PROFINET internal slave.
Item Specification
Number of I/O units connected to master Maximum 50 I/O units
Continued
Item Specification
Number of I/O signals Maximum 8192 I/O signals
Item Specification
GSDML file See GSDML files on page 45.
PROFINET Version V2.2
Slot configuration Slot 1-2: Digital input or output modules of variable size
PROFINET-IO Routing Not supported
Number of I/O signals 1024 digital in
1024 digital out
16 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
1 Introduction to PROFINET
1.3 Terminology
1.3 Terminology
Terms
Term Explanation
DSQC 612 Ethernet board (optional but also supplied with
other options, for example MultiMove)
PROFINET configuration file XML file created using an external PROFINET
configuration tool
External PROFINET configuration tool PROFINET-IO Configurator Express
or
PROFINET-IO Configurator Professional
or
PC WORX
See Configuration programs on page 15.
GSDML Generic Station Description Markup Language
A GSDML file contains information about a
PROFINET I/O unit.
Master PROFINET controller
Reduction ratio Poll rate
Slave, I/O unit PROFINET device
Fast Unit Startup Functionality for shortening the connection time
with an I/O unit.
Other manufacturers refer to this functionality as
Fast Start Up (FSU) or Prioritized Startup.
3HAC039906-001 Revision: D 17
© Copyright 2013 ABB. All rights reserved.
This page is intentionally left blank
2 Hardware description
2.1 PROFINET connections
2 Hardware description
2.1 PROFINET connections
Connection ports
The PROFINET network is connected to an Ethernet port on the main computer.
The LAN port or any port on the Ethernet board is possible to configure as a
PROFINET capable Ethernet port.
Port Description
LAN port Use the same physical port, but a different IP address than used
by the factory LAN.
Any port on Ethernet The Ethernet board is optional (option 905-1 Ethernet port).
board (DSQC 612) It is possible to share the board with other options (such as Mul-
tiMove). Up to 2 Ethernet boards are supported.
LAN
Switch
Factory LAN
PLC
xx1000001095
Continued
The following figure illustrates where to connect the Ethernet cable for the
PROFINET network to the LAN port of the computer module.
DSQC 612
SERVICE ETHERNET1
TPU ETHERNET 2
AXC 1 ETHERNET3
PANEL UNIT
xx1000001097
A LAN port
en1000001099
The following figure illustrates where to connect the Ethernet cable for the
PROFINET network to an Ethernet board of the computer module. It can be
connected to any unused port on the Ethernet board. It is only possible to use one
Continued
Ethernet port at a time to be PROFINET capable. The master and slave share that
port.
DSQC 612
ETHERNET1
ETHERNET 2
ETHERNET3
xx1100000152
Limitations
The switches used together with PROFINET SW must support Quality of Service
(QoS).
The PROFINET I/O units mark their packets with a priority value. Switches and
routers are then able to differentiate the PROFINET traffic from the non-critical
traffic. To do this, the switches and routers must support Quality of Service.
3HAC039906-001 Revision: D 21
© Copyright 2013 ABB. All rights reserved.
2 Hardware description
2.2 Connections, general
General
All I/O units are connected to Industrial Ethernet switches in a tree structure. Some
I/O units have built-in Ethernet switches allowing I/O units to be connected in a
cascade structure.
xx0800000133
A Switch
B I/O unit
C I/O unit with built-in switch
22 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.1 Configuration types
3 Configuration
3.1 Configuration types
Types
The following table provides descriptions of how to define the types Bus, Unit Type
and Unit.
Defining... Description
Bus A PROFINET bus must be defined before any communication is possible, that
is, define rules for PROFINET to communicate on the network.
See Type Bus on page 55.
Unit Type When creating a unit type some system parameters are fieldbus specific.
See Type Unit Type on page 63.
Unit The only PROFINET specific system parameter in the unit definition is Fast
Unit Startup.
See Type Unit on page 62.
Signal See Technical reference manual - RAPID Instructions, Functions and Data
types.
Predefined Bus
When the system is installed with the option PROFINET Master/Slave SW, a
predefined I/O bus, Profinet_SW, is created.
3HAC039906-001 Revision: D 23
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.2 Configure the Profinet_SW bus
Do not configure parameters with external tool while exchanging I/O data
If an external configuration tool is used, it is important to make sure that the
Profinet_SW bus is not involved in any I/O data exchange.
If, for example, the PROFINET internal slave is exchanging I/O data with a PLC, it
is not possible to change the IP address etc. of the Profinet_SW bus, using an
external tool.
24 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.3 Using NetNames+
About NetNames+
Included in the PROFINET-IO Configurator package is a program called NetNames+.
It is used to manage the PROFINET network and organize the PROFINET devices
to avoid duplicated IP addresses and station names.
Location of program on PC
NetNames+ is included in the PROFINET-IO Configurator Express package available
on the RobotWare DVD (Utility\Fieldbus\Profinet).
Setup NetNames+
Action
1 Select Network Adapter to the Ethernet adapter used on the PC that connects to the
PROFINET network.
2 Click Options and make sure that Save IP Addresses permanently is selected. This
makes sure that a name or IP address change sent down from NetNames+ is saved
by the PROFINET device.
Continued
Action
3 Click the Refresh button.
Now NetNames+ will list all PROFINET devices that are reachable on the network.
Using this view, it is possible to change a device configuration parameters.
To change a device's parameters, simply click on that device and fill in the values that
need to be changed. When done, click the Send button.
Note
To set the Default Gateway address to Not Used, the Default Gateway needs to be
set to the same value as the IP Address.
Fault indication
If there is a problem with a device, like duplicated IP address, the device will be
marked red.
Flashing On functionality
Sometimes it is difficult to distinguish devices in the NetNames+ list from each
other. A useful function in such a case is the Flashing On functionality. To use it,
select a device from the list and click the Flashing On button. This will send a
request to the selected device to flash its status LEDs.
26 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.4.1.1 Software overview
3.4.1 Introduction
Controller software
To be able to use the PROFINET master, the IRC5 controller must be installed with
the option PROFINET Master/Slave SW (888-2).
PC software
To configure the PROFINET network in the IRC5 controller, a PROFINET
configuration file needs to be created and downloaded to the IRC5 controller. This
PROFINET configuration file is created using the supplied PROFINET-IO
Configurator Express software found on the RobotWare DVD
(Utility\Fieldbus\Profinet) or by using PROFINET-IO Configurator
Professional, that can be bought separately. It is also possible to create this
PROFINET configuration file using the PCWORX PC software from Phoenix Contact.
3HAC039906-001 Revision: D 27
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.4.2.1 PROFINET master
GSDML files
In order to configure a PROFINET network with an external PROFINET configuration
tool, GSDML files need to be imported into the tool. These files contains vital
information about the PROFINET I/O units and they shall be supplied by the
vendor/manufacturer of the specific PROFINET module.
28 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.4.3.1 Configuring PROFINET master
3.4.3 Workflows
Description
Two types of configuration must be performed for the master. First an external
PROFINET configuration tool is used to create a PROFINET configuration file that
describes the PROFINET network. This file is downloaded to the IRC5 controller.
Secondly the system parameters of the IRC5 controller must be configured.
Configuration procedure
Action Note
1 Use the external PROFINET configuration tool to create a Described in section
project that contains the configuration of the PROFINET Creating PROFINET
network. If the I/O units are not available in the configuration configuration file on
tool, import the GSDML files. page 30.
Note
Note
3HAC039906-001 Revision: D 29
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.4.3.2 Creating PROFINET configuration file
Overview
This section describes two methods of creating a PROFINET configuration file.
• The standard method is to use the tool PROFINET-IO Configurator Express,
which is included on the RobotWare DVD.
• The alternative method is to use the tool PC WORX. This tool is not supplied
by ABB.
Continued
Action
5 In the Device Details window, set the PROFINET IP range for this project by setting
the following parameters:
• Last IP-Address: 192.168.5.254
• First IP-Address: 192.168.5.2
• Subnetmask: 255.255.255.0
en1100000063
6 In the Device Catalog window, expand the nodes KW-Software, I/O and PLC.
en1100000064
7 Right-click on KW-Software PROFINET IO Rev and select Insert Device into Bus
structure.
This node now represents the IRC5 controller master.
8 In the Bus Structure window, select KW-Software PROFINET IO to bring up the Device
Details window.
en1100000065
These values does not have any effect on the IRC5 controller settings, but could be
filled with data to reflect the settings of the IRC5 controller that is using this configur-
ation.
Continued
Action
9 Install the GSDML file for the ET200s Standard device by right-clicking in the Device
Catalog window and select Import GSD file.
en1100000251
Continued
Action
10 Make sure that the PROFINET node is selected in the Bus Structure window.
Add an ET200s ST (standard) head module by expanding the SIEMENS / I/O / ET 200S
node in the Device Catalog window.
Right-click in the window and select Edit Catalog Representation. Move the Order
Number item from Available to Used and click OK. The window will no be sorted with
order numbers as well.
Select and right-click the node (for example IM151-3 PN ST V6.0 Rev.) and choose
Insert Device into Bus structure.
In this example we use a version 6.0 module with order number 6ES7-151 3AA23-
0AB0.
en1100000253
Continued
Action
11 Select the added node in the Bus Structure window.
In the Device Details window, set the device properties to reflect the units properties
on the PROFINET network. See Using NetNames+ on page 25.
In this example we set:
• DNS/PROFINET Device Name: unit1.cell2
• IP Address: 192.168.5.65
• Reduction ratio: 8 ms
en1100000254
Note
The DNS/PROFINET Device Name is using a much longer string length and a syntax
that is not allowed in the IRC5 controller for an I/O unit name. The DNS/PROFINET
Device Name is matched against the system parameter Name for an I/O unit definition
in the IRC5 controller. Therefore the DNS/PROFINET Device Name must be unique
for the first 32 letters or up to the first "." (full stop character).
In this example the units name in the Robot controller will be "unit1", but on the
PROFINET network it will be displayed with the name "unit1.cell2". Therefore it is re-
commended to use the system parameter Auto Configuration when adding new units
in the IRC5 controller. See Auto Configuration on page 60.
Note
It is very important for some I/O units that the firmware/hardware version on the I/O
unit exactly matches the version used in the configuration (for example V 6.0).
13 Add the rest of the digital input and output modules by repeating the previous step.
Select the node 1 PM-E DC24V. Sort the Module Catalog window on order number.
Add a 2-bit DO module with order number 6ES7 132-4BB01-0AA0 by dragging and
dropping it on the 1 PM-E DC24V node.
Continued
Action
14 When all modules are added, right-click the node PROFINET in the Bus Structure
window and select Parameterize to compile the configuration project and create the
ippnio.xml file.
en1100000255
15 Download the ippnio.xml file to the HOME directory of the currently used RobotWare
system using an FTP client.
Installing PC WORX
Note
Continued
en1100000067
5 In the Device details window, specify the IP address range that the PROFINET master
operates within.
For example, if the PROFINET I/O bus system parameter IP Address is specified to
192.168.5.33:
First IP-Address can be 192.168.5.2
Last IP- Address can be 192.168.5.254.
System parameter IP Address is described in section IP Address on page 56.
en1100000071
Continued
Action
6 In the Bus Structure window, select the node RFC 470 .... Set the same IP address
as specified in the system parameter IP Address for the PROFINET I/O bus in the
IRC5 controller.
en1100000072
en1100000073
Continued
Action
9 Make sure the PROFINET node in the Bus Structure window is selected. Double-click
on the ET200s module in the Device Catalog window to add it.
In this example we add a ET200S of version V6.1 with order number 6ES7-151 3AA23-
0AB0.
en1100000074
Note
It is very important for some I/O units that the firmware/hardware version on the I/O
unit exactly matches the version used in the configuration (for example V 6.1).
10 Set the I/O unit’s PROFINET name using the program NetNames+. See Using Net-
Names+ on page 25.
The selected name must exactly match the name the I/O unit got on the PROFINET
network.
Note
The selected name is also used as the name of this I/O unit in the IRC5 controller.
However, a '-' sign is expressed as a '_' in the IRC5 controller.
Continued
Action
11 In the Device Details window, set a value for IP Address.
Also, in the program NetNames+, set the same value for the IP address.
en1100000081
12 If the default values are not suitable, set new values for Reduction ratio input and
Reduction ratio output in the Device Details window.
13 In the Bus Structure window, make sure the node IM151... is selected.
In the Module Catalog window, locate the module that is in slot 1 on the I/O unit.
Tip
To easier find the module, right-click in the Module Catalog window and select Edit
Catalog Representation. In the pop up window select to sort it based on Order number.
Continued
Action
14 Drag and drop the module to the module in the preceding slot in the Bus Structure
window.
In this example, drag module PM-E DC24V to node 0 @IM151-3 PN…
en1100000085
15 Add the rest of the modules that the ET200s is equipped with.
Tip
Copy and paste can be used to add modules of the same type.
40 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.4.3.3 Configuring the IRC5 controller
Description
This configuration example uses the PROFINET configuration file created in section
Creating PROFINET configuration file on page 30. It shows how to use the
PROFINET configuration file and how to add the configuration definitions to the
system parameters.
en1100000092
3HAC039906-001 Revision: D 41
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.4.3.4 Using Fast Unit Startup
xx1100000093
In this alternative, which is the most common, the PROFINET master connects to
I/O unit via a switch. If the I/O unit shall be configured with Fast Unit Startup, the
only Port that loses its power at the connection point, is Port 1 on the I/O unit (if
the Ethernet cable is connected to this Port from the switch). Therefore the only
configuration needed in this scenario is to set the system parameter Fast Unit
Startup on the I/O unit’s configuration to "Port 1".
Continued
xx1100000094
In this alternative, booth I/O units are disconnected at the connection point. In this
case booth Port 1 and Port 2 on the first I/O unit (D) and Port 1 on second I/O unit
(E) needs to be configured to support Fast Unit Startup. This cannot be done using
the system parameter Fast Unit Startup. In this scenario the first I/O unit (D) needs
to be manually configured. Check your vendor specific application manual about
how to perform such a configuration.
C
A
D
xx1100000095
In this alternative there is a direct cable between the PROFINET master and the
I/O unit. In this case, the system parameter Fast Unit Startup needs to be set to
"Port 1" and a crossed Ethernet cable needs to be used.
3HAC039906-001 Revision: D 43
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.5.1.1 Software overview
3.5.1 Introduction
Controller software
To be able to use the PROFINET internal slave, the IRC5 controller must be installed
with the option PROFINET Master/Slave SW (888-2) or PROFINET Slave SW (888-3).
PC software
The PROFINET internal slave does not need any type of PC software to be activated,
but the connecting PLC / PROFINET master might need a PC software tool to
configure all connection parameters used to connect to the IRC5 system.
The provided GSDML file for the IRC5 PROFINET SW slave is used to inform the
connecting PLC / PROFINET master of supported connection parameters. See
GSDML files on page 45.
44 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.5.2.1 PROFINET internal slave
Configuration
PROFINET SW has an internal slave with maximum 1024 digital input signals and
maximum 1024 digital output signals. This can, for example, be used:
• To connect the IRC5 controller to a PLC.
• To connect the IRC5 controller to another IRC5 controller which acts as a
master.
GSDML files
In order to configure a PROFINET network with an external PROFINET configuration
tool, GSDML files need to be imported into the tool. These files contains vital
information about the PROFINET I/O units and they shall be supplied by the
vendor/manufacturer of the specific PROFINET module.
The GSDML file, GSDML-V2.1-ABB-Robotics-PNSW-Device-20110120.xml, for the
PROFINET internal slave can be obtained from the RobotWare DVD, PC, or IRC5
controller.
• On the RobotWare DVD: <DVD-drive>:\utility\fieldbus\PROFINET\GSDML\
• OnthePCwheretheRobotWareisinstalled: ...\ABBIndustrialIT\
RoboticsIT\Mediapool\<RobotWare_xx.xx.xxxx>\utility\service\GSDML\
• On the IRC5 Controller:
\hd0a\<RobotWare_xx.xx.xxxx>\utility\service\GSDML\
Continued
If a configuration mismatch between the connecting PLC and the PROFINET internal
slave occurs, the event message 71489 is generated on the FlexPendant. This
event message informs the user of the present slot configuration of the PROFINET
internal slave.
Note
The Input Size sets the size on digital outputs and Output size sets the size on
digital inputs, seen from the PLC’s point of view.
46 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.5.3.1 Configuring PROFINET internal slave
3.5.3 Workflows
Description
When the IRC5 controller is connected, for example, to an external PLC, the IRC5
controller acts as an ordinary slave I/O unit on the PROFINET network. The PLC
connects to the PROFINET internal slave to exchange data.
Configuration
Action Note
1 Use the PROFINET master vendor specific config- Described in section Configuring
uration tool to create a project for the master, for PROFINET internal slave on
example a PLC, that contains the configuration of page 48.
the PROFINET network.
2 In the tool, configure the master to connect to the Described in section Configuring
PROFINET internal slave that represents the IRC5 PROFINET internal slave on
controller. page 48.
3 Configure the PROFINET internal slave in the IRC5 See Configuring PROFINET intern-
controller using RobotStudio or FlexPendant. al slave on page 48 and Operating
manual - IRC5 with FlexPendant.
4 Add I/O signals to the PROFINET internal slave. See Technical reference manu-
al - System parameters.
5 Perform a warm start of the IRC5 controller. See Operating manual - IRC5 with
FlexPendant.
Communication status
To control the communication status between the master (for example a PLC) and
the PROFINET internal slave, the following scheme is used:
1 Configure the master to set an I/O signal during the startup or within the
controller loop.
2 Configure the PROFINET internal slave to attach the I/O signal to a RAPID
trap function in the IRC5 controller. The I/O signal then functions as a
communication supervision signal.
If the communication between the master and the PROFINET internal slave is
interrupted, all the inputs of the PROFINET internal slave will go to the fail safe
state (that is, input value will be zero). This means that the user defined
communication supervision signal will also have the value zero.
3HAC039906-001 Revision: D 47
© Copyright 2013 ABB. All rights reserved.
3 Configuration
3.5.4.1 Configuring PROFINET internal slave
3.5.4 Examples
Description
This is a configuration example for a PROFINET internal slave with 32 byte input
and 32 byte output size. The example also shows how to configure a PLC that
connects against the PROFINET internal slave.
This example uses the Siemens Step7 PC tool. The procedure can be used with
other tools as well. See the documentation for your PLC configuration tool.
To create a connection between an IRC5 PROFINET master and an IRC5 PROFINET
internal slave, see Configuring PROFINET master on page 29 and use the same
procedure with the PROFINET internal slave as any other I/O unit.
en1000001189
2 Make sure the PROFINET network connected to the PLC is the same as the network
connected to the IRC5 controller’s PROFINET network port. Also make sure that they
are on the same logical subnet IP address range. See Configure the Profinet_SW bus
on page 24.
Continued
Action
3 Install the GSDML file for the PROFINET internal slave.
en1000001190
en1000001191
Continued
Action
5 Add a DI 32 bytes module on Slot 1 and a DO 32 bytes module on Slot 2.
en1000001192
6 Double-click on the ABB icon to bring up the Properties window. Make sure that Device
name is set to the same name as the IRC5’s Profinet_SW bus parameter Station Name
(see Station Name on page 59). Also make sure that IP Address is the same as the
system parameter IP Address for the Profinet_SW bus (see IP Address on page 56).
en1000001193
Continued
en1000001194
5 Click and edit the parameters on the Unit Type named PN_INTERNAL_SLAVE. Change
Input Size and Output Size to 32 bytes.
en1000001195
Continued
Action
7 Make sure all Bus type parameters for the PROFINET SW bus are the same as specified
in the PLC project.
en1000001196
52 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
4 System parameters
4.1 Introduction
4 System parameters
4.1 Introduction
Unit
These parameters belong to the type Unit in the topic I/O.
Parameter For more information, see ...
Name Technical reference manual - System parameters
Type of Unit Technical reference manual - System parameters
Connect to Bus Technical reference manual - System parameters
Unit Identification Label Technical reference manual - System parameters
Unit Trustlevel Technical reference manual - System parameters
Unit Startup State Technical reference manual - System parameters
Store Unit State at Power Technical reference manual - System parameters
Fail
Regain Communication Technical reference manual - System parameters
Reset
Fast Unit Startup Fast Unit Startup on page 62
Continued
Unit Type
These parameters belong to the type Unit Type in the topic I/O.
Parameter For more information, see ...
Name Technical reference manual - System parameters
Type of Bus Technical reference manual - System parameters
Vendor Name Technical reference manual - System parameters
Product Name Technical reference manual - System parameters
Internal Slave Technical reference manual - System parameters
Input Size Input Size on page 63
Output Size Output Size on page 64
54 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
4 System parameters
4.2.1 Path to Bus Configuration File
Parent
Path to Bus Configuration File belongs to the type Bus, in the topic I/O.
Cfg name
CfgPath
Description
Path to Bus Configuration File specifies the path to an XML file that is located on
the IRC5 system. This file is created and edited with the program PROFINET-IO
Configurator Express, PROFINET-IO Configurator Professional or PC WORX (see
Creating PROFINET configuration file on page 30).
Usage
The Path to Bus Configuration File system parameter is used to point out where
to find the PROFINET SW configuration file. This file is only used by the master
part. If the file is placed in the HOME directory of the system, it is enough to write
the file name.
If the PROFINET configuration file is placed in the HOME directory, it will also be
included in backups.
Prerequisites
The option PROFINET Master/Slave SW (888-2) must be installed.
Default value
The default value is an empty string.
Allowed values
A string with maximum 80 characters.
3HAC039906-001 Revision: D 55
© Copyright 2013 ABB. All rights reserved.
4 System parameters
4.2.2 IP Address
4.2.2 IP Address
Parent
IP Address belongs to the type Bus, in the topic I/O.
Cfg name
PN_IPAddress
Description
The parameter IP Address specifies the address of the PROFINET network node.
The PROFINET master and the PROFINET internal slave share the same address.
Usage
The parameter IP Address is used to set the PROFINET IP address of the IRC5
controller on the used Ethernet network interface (decided with the Connector ID
parameter). The IP Address parameter can also be changed with an external
PROFINET configuration tool or a connecting PROFINET master.
If the PROFINET SW network is connected to the LAN port, the IP address must
not be on the same logical sub network as the LAN IP address. For example, if the
factory LAN use IP address 192.168.8.23 for the LAN port, the PROFINET network
can use IP address 192.168.5.41 for the LAN port.
If the PROFINET SW network is connected to a port on the Ethernet board, the IP
address must belong to another subnet than the address of the LAN port or AXC
ports. For example, if the IP address of the LAN port is 111.122.133.144, the IP
address for the port on the Ethernet board cannot be 111.122.133.145, but it can
be 111.122.134.145.
Prerequisites
The option PROFINET Master/Slave SW or PROFINET Slave SW must be installed.
Default value
The default value is 0.0.0.0
Allowed values
The value can be 0.0.0.0 - 255.255.255.255.
56 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
4 System parameters
4.2.3 Subnet Mask
Parent
Subnet Mask belongs to the type Bus, in the topic I/O.
Cfg name
PN_SubnetMask
Description
Subnet Mask is used to determine what subnet the IP address belongs to.
Usage
The parameter Subnet Mask is used to divide the network into logical subnets.
Since all Ethernet ports on the main computer DSQC 639 are internally connected,
it is possible to configure a Subnet Mask less than 255.255.255.XXX.
The Subnet Mask parameter can also be changed with an external PROFINET
configuration tool or a connecting PROFINET master.
Prerequisites
The option PROFINET Master/Slave SW or PROFINET Slave SW must be installed.
Default value
The default value is 255.255.255.0.
Allowed values
Allowed values are between 128.0.0.0 - 255.255.255.252.
3HAC039906-001 Revision: D 57
© Copyright 2013 ABB. All rights reserved.
4 System parameters
4.2.4 Gateway
4.2.4 Gateway
Parent
Gateway belongs to the type Bus, in the topic I/O.
Cfg name
PN_Gateway
Description
Gateway specifies the node on the network that serves as an entrance to another
network.
Usage
The parameter Gateway does not have any effect on the PROFINET-IO traffic,
since PROFINET uses the MAC address instead of the IP address at I/O data
exchange. The asynchronous PROFINET-IO traffic, like data records, is affected.
It is recommended to keep this parameter at its default value: Not Used.
The parameter Gateway can also be changed with an external PROFINET
configuration tool or a connecting PROFINET master.
Prerequisites
The option PROFINET Master/Slave SW or PROFINET Slave SW must be installed.
Default value
The default value is: Not Used
Allowed values
The value can be 0.0.0.0 - 255.255.255.255
or Not Used.
58 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
4 System parameters
4.2.5 Station Name
Parent
Station Name belongs to the type Bus, in the topic I/O.
Cfg name
PN_StationName
Description
Station Name specifies the PROFINET station name on the network of the IRC5
controller.
Usage
The parameter Station Name is used to identify a PROFINET I/O unit on the network.
The name must be unique on the network.
The parameter Station Name can also be changed with an external PROFINET
configuration tool or a connecting PROFINET master.
Prerequisites
The option PROFINET Master/Slave SW or PROFINET Slave SW must be installed.
Default value
The default value is: irc5-pnio
Allowed values
A string with maximum 80 characters.
Allowed characters:
• 0-9 (numerical)
• a-z (lowercase letters)
• - (hyphen)
• . (full stop)
3HAC039906-001 Revision: D 59
© Copyright 2013 ABB. All rights reserved.
4 System parameters
4.2.6 Auto Configuration
Parent
Auto Configuration belongs to the type Bus, in the topic I/O.
Cfg name
PN_AutoConfig
Description
The parameter Auto Configuration specifies if the PROFINET master should auto
map I/O units defined in the PROFINET configuration file directly into the IRC5 I/O
system.
Usage
The parameter Auto Configuration is used to map all defined I/O units and its I/O
signals directly into the IRC5 I/O system. If the I/O unit is already defined in the
IRC5 I/O system, it will not be added or changed. Only I/O units that have previously
not been defined in the I/O system will be added. It is possible to specify three
different approaches for Auto Configuration:
• Without Signals - Only adds I/O unit definitions without any I/O signals.
• Group Signals - Add I/O unit definitions with 1-byte wide group signals.
• Single Bit Signals - Add I/O unit definitions with 1-bit signals defined.
Prerequisites
The option PROFINET Master/Slave SW (888-2) must be installed.
Default value
The default value is: Deactivated
Allowed values
Value Description
Deactivated Do not add any I/O units or signals.
Without Signals Only adds I/O unit definitions without any I/O signals.
Group Signals Add I/O unit definitions with 1-byte wide group signals.
Single Bit Signals Add I/O unit definitions with 1-bit signals defined.
60 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
4 System parameters
4.2.7 Connector ID
4.2.7 Connector ID
Parent
Connector ID belongs to the type Bus, in the topic I/O.
Cfg name
ConnectorID
Description
The parameter Connector ID specifies the hardware interface (connection port)
that the PROFINET option shall use. See Connection ports on page 19.
Usage
The Connector ID parameter is used to select one of the available connection ports
to use. PROFINET SW supports the use of the LAN Port or any of the Ethernet
ports on Ethernet board 1 or 2.
Prerequisites
The option PROFINET Master/Slave SW (888-2) or PROFINET Slave SW (888-3)
must be installed.
Limitations
Ethernet boards are not standard on the IRC5 controller. To be able to use any of
the ports on board 1 or 2, the main computer needs to be equipped with one or
two Ethernet boards.
Default value
LAN Port
First Board
Allowed values
Value Description
LAN Port LAN port on the computer module.
Ethernet Port 1 Port 1 on the first Ethernet board from the left.
Ethernet Port 2 Port 2 on the first Ethernet board from the left.
Ethernet Port 3 Port 3 on the first Ethernet board from the left.
Ethernet Port 1 on Board 2 Port 1 on the second Ethernet board from the left.
Ethernet Port 2 on Board 2 Port 2 on the second Ethernet board from the left.
Ethernet Port 3 on Board 2 Port 3 on the second Ethernet board from the left.
3HAC039906-001 Revision: D 61
© Copyright 2013 ABB. All rights reserved.
4 System parameters
4.3.1 Fast Unit Startup
Parent
Fast Unit Startup belongs to the type Unit, in the topic I/O.
Cfg name
PN_FastUnitStartup
Description
The parameter Fast Unit Startup specifies if the I/O unit should use a faster
connection attempt algorithm or not.
Usage
The parameter Fast Unit Startup is used mainly to speed up tool change
applications. The normal PROFINET connection attempt takes a few seconds to
complete, but with Fast Unit Startup enabled devices, this time is shorted to about
1 second. For more information, see Using Fast Unit Startup on page 42.
Prerequisites
The option PROFINET Master/Slave SW (888-2) must be installed.
Limitations
The Ethernet switches between the IRC5 controller and the I/O unit that uses the
Fast Unit Startup functionality must be configured to disable the auto cross over
and automatic speed detection functions on used ports, if the switch itself is
powered of during a tool change.
Default value
Deactivated
Allowed values
• Deactivated
• Port 1
• Port 2
• Port 3
• Port 4
62 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
4 System parameters
4.4.1 Input Size
Parent
Input Size belongs to the type Unit Type, in the topic I/O.
Cfg name
PN_InputSize
Description
The parameter Input Size is used to configure the input slot configuration of the
PROFINET internal slave.
Usage
The parameter Input Size is only valid for the PN_INTERNAL_SLAVE unit type. It
will configure the input slot size for the PROFINET internal slave. This size must
match the connecting PLC’s or other PROFINET master’s defined output slot size.
For more information, see Input and output size on page 45.
Prerequisites
The option PROFINET Master/Slave SW or PROFINET Slave SW must be installed.
Default value
64 Bytes
Allowed values
8, 16, 32, 64, or 128 Bytes
3HAC039906-001 Revision: D 63
© Copyright 2013 ABB. All rights reserved.
4 System parameters
4.4.2 Output Size
Parent
Output Size belongs to the type Unit Type, in the topic I/O.
Cfg name
PN_OutputSize
Description
The parameter Output Size is used to configure the output slot configuration of
the PROFINET internal slave.
Usage
The parameter Output Size is only valid for the PN_INTERNAL_SLAVE unit type.
It will configure the output slot size for the PROFINET internal slave. This size must
match the connecting PLC’s or other PROFINET master’s defined input slot size.
For more information, see Input and output size on page 45.
Prerequisites
The option PROFINET Master/Slave SW or PROFINET Slave SW must be installed.
Default value
64 Bytes
Allowed values
8, 16, 32, 64, or 128 Bytes
64 3HAC039906-001 Revision: D
© Copyright 2013 ABB. All rights reserved.
5 Troubleshooting
5.1 Scenarios
5 Troubleshooting
5.1 Scenarios
3HAC039906-001 Revision: D 65
© Copyright 2013 ABB. All rights reserved.
This page is intentionally left blank
Index
Index
A Prioritized Startup, 17, 42
Auto Configuration, 29, 34, 53, 60 PROFINET, 13
cables, 21
C configuration tool, 17
cables, 21 connectors, 21
configuration file, 17 internal slave, 45, 47–48
Connector ID, 61 master, 15, 28
connectors, 21 network, 15
controller software, 27, 44 predefined unit type, 28
predefined Unit Type, 45
D slave, 16, 45
DSQC 612, 19 standardization, 13
versions, 13
E PROFINET:predefined bus, 23
EtherNet/IP network, 20 PROFINET Master/Slave SW, 7
Ethernet board, 17, 20 PROFINET Slave SW, 7
Ethernet board port, 20 PROFINET SW, 7
F PROFINET versions, 13
fail safe state, 47 compatibility, 14
Fast Start Up, 17, 42 PROFIdrive, 13
Fast Unit Startup, 42, 53, 62 PROFIenergy, 13
FSU, 17, 42 PROFINET-CBA, 13
PROFINET-IO, 13–14
G PROFIsafe, 13
Gateway, 58
GSDML, 17 Q
GSDML file, 28, 45 Quality of Service, 21
I R
I/O unit, 17 reduction ratio, 17, 39, 65
industrial ethernet, 13, 22
S
Input Size, 45, 63 safety, 11
internal slave, 45, 47–48 slave, 16–17, 45
IP Address, 36, 50, 53, 56 Station Name, 50, 53, 59
M Subnet Mask, 57
master, 15, 17, 28 SW, 7
MultiMove, 19 system parameters, 53
N T
NetNames+, 25 terminology, 17
network overview, 15 topic I/O type
Bus, 53
O Unit, 53
Output Size, 45, 64 Unit Type, 54
topic I/O type:Bus, 23
P topic I/O type:Unit, 23
Path to Bus Configuration File, 53, 55 topic I/O type:Unit Type, 23
3HAC039906-001 Revision: D 67
© Copyright 2013 ABB. All rights reserved.
Contact us
ABB AB
3HAC039906-001, Rev D, en
Discrete Automation and Motion
Robotics
S-721 68 VÄSTERÅS, Sweden
Telephone +46 (0) 21 344 400
ABB Inc.
Discrete Automation and Motion
Robotics
1250 Brown Road
Auburn Hills, MI 48326
USA
Telephone: +1 248 391 9000
www.abb.com/robotics