Application manual - Technology
Application manual - Technology
Application manual - Technology
Transform your PDFs into Flipbooks and boost your revenue!
Leverage SEO-optimized Flipbooks, powerful backlinks, and multimedia content to professionally showcase your products and significantly increase your reach.
<strong>Application</strong> <strong>manual</strong><br />
PROFIBUS-DP<br />
Robot controller<br />
RobotWare 5.0
<strong>Application</strong> <strong>manual</strong><br />
PROFIBUS-DP<br />
RobotWare 5.0<br />
Document ID: 3HAC023008-001<br />
Revision: -
The information in this <strong>manual</strong> is subject to change without notice and<br />
should not be construed as a commitment by ABB. ABB assumes no<br />
responsibility for any errors that may appear in this <strong>manual</strong>.<br />
Except as may be expressly stated anywhere in this <strong>manual</strong>, nothing<br />
herein shall be construed as any kind of guarantee or warranty by ABB<br />
for losses, damages to persons or property, fitness for a specific<br />
purpose or the like.<br />
In no event shall ABB be liable for incidental or consequential damages<br />
arising from use of this <strong>manual</strong> and products described herein.<br />
This <strong>manual</strong> and parts thereof must not be reproduced or copied without<br />
ABB’s written permission, and contents thereof must not be imparted to<br />
a third party nor be used for any unauthorized purpose. Contravention<br />
will be prosecuted.<br />
Additional copies of this <strong>manual</strong> may be obtained from ABB at its then<br />
current charge.<br />
© Copyright 2004 ABB All right reserved.<br />
ABB Automation Technologies AB<br />
Robotics<br />
SE-721 68 Västerås<br />
Sweden
Table of Contents<br />
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5<br />
Product documentation, M2004 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7<br />
Safety. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9<br />
1 Reference information, PROFIBUS 11<br />
1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11<br />
1.2 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12<br />
2 Overview 13<br />
2.1 PROFIBUS, general . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13<br />
2.2 PROFIBUS, IRC5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14<br />
2.3 Definition of I/O units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17<br />
3 PROFIBUS-DP Master/Slave hardware 19<br />
3.1 Hardware description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19<br />
3.1.1 DSQC 637 PROFIBUS-DP master/slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19<br />
3.1.2 Definition of communication units, IRC5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23<br />
3.2 Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25<br />
3.2.1 Connections, general . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25<br />
3.2.2 Selecting cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26<br />
4 PROFIBUS-DP Master/Slave configuration 27<br />
4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27<br />
4.1.1 Software overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27<br />
4.1.2 Software, how to start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29<br />
4.1.3 PROFIBUS-DP configuration software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30<br />
4.2 Workflows, PROFIBUS-DP master bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31<br />
4.2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31<br />
4.2.2 Configuration overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32<br />
4.2.3 Bus configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33<br />
4.3 Workflows, PROFIBUS-DP internal slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35<br />
4.3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35<br />
4.3.2 Internal slave configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36<br />
4.4 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38<br />
4.4.1 System parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38<br />
4.5 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40<br />
4.5.1 Digital I/O configuration example (Non Modular station) . . . . . . . . . . . . . . . . . . . . . . 40<br />
4.5.2 Modular station configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46<br />
4.5.3 Internal slave configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52<br />
3HAC023008-001 Revision: - 3
Table of Contents<br />
4.5.4 IRC5 master/slave configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53<br />
4 3HAC023008-001 Revision: -
Overview<br />
Overview<br />
About this <strong>manual</strong><br />
This <strong>manual</strong> is primarily a description of the PROFIBUS-DP field bus data communication<br />
between the IRC5 system and its distributed I/O units. It also describes the PROFIBUS<br />
Master/Slave configuration.<br />
This <strong>manual</strong> does not include a description of how to install and operate a PROFIBUS system<br />
in general.<br />
Usage<br />
This <strong>manual</strong> should be used during installation and configuration of the PROFIBUS, as well<br />
as during upgrading of the PROFIBUS option.<br />
For mechanical installation descriptions, refer to the Product <strong>manual</strong>, IRC5.<br />
Who should read this <strong>manual</strong>?<br />
This <strong>manual</strong> is intended for<br />
• personnel that are responsible for installations and configurations of fieldbus<br />
hardware/software<br />
• personnel that configure the I/O system<br />
• system integrators.<br />
Prerequisites<br />
The reader should have the required knowledge of<br />
• the PROFIBUS system<br />
• I/O system configuration<br />
3HAC023008-001 Revision: - 5
Overview<br />
Organization of chapters<br />
The <strong>manual</strong> is organized in the following chapters:<br />
Chapter<br />
Contents<br />
1 This chapter gives reference information, both to external documentation and<br />
other ABB <strong>manual</strong>s.<br />
2 This chapter gives an overview of the PROFIBUS fieldbus and includes<br />
following:<br />
• a general description of PROFIBUS and the communication protocol<br />
• description of how the PROFIBUS master/slave unit and I/O units are<br />
connected in a robot system<br />
• definition of I/O units in the control cabinet and the configuration of the<br />
control cabinet<br />
3 This chapter describes the PROFIBUS Master/Slave board.<br />
The chapter also describes communication units in the IRC5 controller.<br />
4 This chapter gives an overview of the controller- and configuration software and<br />
includes following:<br />
• Bus configuration<br />
• Workflows<br />
• Examples<br />
Revisions<br />
Revision<br />
Description<br />
- First edition<br />
6 3HAC023008-001 Revision: -
Product documentation, M2004<br />
Product documentation, M2004<br />
General<br />
The robot documentation may be divided into a number of categories. This listing is based on<br />
the type of information contained within the documents, regardless of whether the products<br />
are standard or optional. This means that any given delivery of robot products will not contain<br />
all documents listed, only the ones pertaining to the equipment delivered.<br />
However, all documents listed may be ordered from ABB. The documents listed are valid for<br />
M2004 robot systems.<br />
Hardware <strong>manual</strong>s<br />
All hardware, robots and controller cabinets, will be delivered with a Product <strong>manual</strong> which<br />
is divided into two parts:<br />
Product <strong>manual</strong>, procedures<br />
• Safety information<br />
• Installation and commissioning (descriptions of mechanical installation, electrical<br />
connections and loading system software)<br />
• Maintenance (descriptions of all required preventive maintenance procedures<br />
including intervals)<br />
• Repair (descriptions of all recommended repair procedures including spare parts)<br />
• Additional procedures, if any (calibration, decommissioning)<br />
Product <strong>manual</strong>, reference information<br />
• Reference information (article numbers for documentation referred to in Product<br />
<strong>manual</strong>, procedures, lists of tools, safety standards)<br />
• Part list<br />
• Foldouts or exploded views<br />
• Circuit diagrams<br />
3HAC023008-001 Revision: - 7
Product documentation, M2004<br />
RobotWare <strong>manual</strong>s<br />
The following <strong>manual</strong>s describe the robot software in general and contain relevant reference<br />
information:<br />
• RAPID Overview: An overview of the RAPID programming language.<br />
• RAPID reference <strong>manual</strong> part 1: Description of all RAPID instructions.<br />
• RAPID reference <strong>manual</strong> part 2: Description of all RAPID functions and data types.<br />
• Technical reference <strong>manual</strong> - System parameters: Description of system<br />
parameters and configuration workflows.<br />
<strong>Application</strong> <strong>manual</strong>s<br />
Specific applications (e.g. software or hardware options) are described in <strong>Application</strong><br />
<strong>manual</strong>s. An application <strong>manual</strong> can describe one or several applications.<br />
An application <strong>manual</strong> generally contains information about:<br />
• The purpose of the application (what it does and when it is useful)<br />
• What is included (e.g. cables, I/O boards, RAPID instructions, system parameters)<br />
• How to use the application<br />
• Examples of how to use the application<br />
Operator’s <strong>manual</strong>s<br />
This group of <strong>manual</strong>s is aimed at those having first hand operational contact with the robot,<br />
i.e. production cell operators, programmers and trouble shooters. The group of <strong>manual</strong>s<br />
include:<br />
• Operator’s <strong>manual</strong> - IRC5 with FlexPendant<br />
• Operator’s <strong>manual</strong> - RobotStudioOnline<br />
• Trouble shooting Manual for the controller and robot<br />
Miscellaneous<br />
A number of <strong>manual</strong>s provide generic descriptions of the robot and robot system. These<br />
include:<br />
• Robot fundamentals (describing the fundamental aspects, functions, concept and<br />
similar, of a robot system to provide a basic understanding of the robot system)<br />
8 3HAC023008-001 Revision: -
Safety<br />
Safety<br />
Safety of personnel<br />
When working inside the control cabinet it is necessary to be aware of voltage related risks.<br />
A danger of high voltage is associated with the following parts:<br />
• Units inside the controller, e.g. I/O units can be supplied with power from an external<br />
source.<br />
• The mains supply/mains switch.<br />
• The power unit.<br />
• The power supply unit for the computer system (230 VAC).<br />
• The rectifier unit (400-480 VAC and 700 VDC). Capacitors!<br />
• The drive unit (700 VDC).<br />
• The service outlets (115/230 VAC).<br />
• The power supply unit for tools, or special power supply units for the machining<br />
process.<br />
• The external voltage connected to the control cabinet remains live even when the robot<br />
is disconnected from the mains.<br />
• Additional connections.<br />
Therefore, it is important that all safety regulations are followed when doing mechanical and<br />
electrical installation work.<br />
Safety regulations<br />
Before beginning mechanical and/or electrical installations, make sure you are familiar with<br />
the safety regulations described in Product <strong>manual</strong> IRC5, M2004.<br />
3HAC023008-001 Revision: - 9
Safety<br />
10 3HAC023008-001 Revision: -
1 Reference information, PROFIBUS<br />
1.1. Introduction<br />
1 Reference information, PROFIBUS<br />
1.1. Introduction<br />
General<br />
This chapter includes general information, complementing the more specific information in<br />
the following chapters.<br />
3HAC023008-001 Revision: - 11
1 Reference information, PROFIBUS<br />
1.2. References<br />
1.2. References<br />
Document references<br />
References<br />
Document ID<br />
<strong>Application</strong> <strong>manual</strong> - Robot communication and I/O control 3HAC 020435-001<br />
Operator’s <strong>manual</strong> - IRC5 with FlexPendant 3HAC 16590-1<br />
Operator’s <strong>manual</strong> - RobotStudio Online 3HAC 18236-1<br />
Product <strong>manual</strong> IRC5, M2004 3HAC 021313-001<br />
Technical reference <strong>manual</strong> - System parameters 3HAC 17076-1<br />
Other references<br />
References<br />
International standard IEC 61158 Type 3<br />
International standard IEC 61784<br />
PROFIBUS Technical Guideline<br />
User Manual DP Configurator<br />
ET200S Distributed I/O System Manual<br />
www.profibus.com<br />
Description<br />
The PROFIBUS fieldbus standard is<br />
described in the international standards.<br />
Installation Guideline for PROFIBUS-DP/FMS<br />
(Version 1.0, September 1998)<br />
Manual for the PROFIBUS configuration tool<br />
(PC software)<br />
Manual from Siemens<br />
The web site of PROFIBUS International<br />
12 3HAC023008-001 Revision: -
2 Overview<br />
2.1. PROFIBUS, general<br />
2 Overview<br />
2.1. PROFIBUS, general<br />
What is PROFIBUS?<br />
PROFIBUS is a vendor-independent open field bus standard for a wide range of applications,<br />
particulary in the fields of factory and process automation.<br />
PROFIBUS is suitable for high-speed time critical applications as well as for complex<br />
communication tasks.<br />
PROFIBUS specification<br />
The PROFIBUS communication is specified in the international standard IEC 61158 Type 3,<br />
which includes the entire range of PROFIBUS versions.<br />
PROFIBUS versions<br />
PROFIBUS has a modular design and different PROFIBUS versions are all combinations of<br />
modular elements from the groups transmission technology, communication protocol and<br />
application profiles.<br />
Here are some examples of PROFIBUS versions:<br />
• PROFIBUS DP - optimized for factory automation<br />
• PROFIBUS PA - optimized for process automation<br />
• PROFIsafe - PROFIBUS for safety-related systems<br />
• PROFIdrive - PROFIBUS for motion control<br />
Communication protocols<br />
DP (Decentralized Periphery) is the simple, fast, cyclic and deterministic communication<br />
protocol between a bus master and the assigned slaves. The forerunner of DP was FMS<br />
(Fieldbus Message Specification), which is obsolete today.<br />
The original version of DP called DP-V0 has been expanded to DP-V1, and it provides<br />
acyclic data exchange between master and slave. A further version DP-V2 offers direct slaveto-slave<br />
data exchange with an isochronous bus cycle.<br />
3HAC023008-001 Revision: - 13
2 Overview<br />
2.2. PROFIBUS, IRC5<br />
2.2. PROFIBUS, IRC5<br />
Hardware overview<br />
DSQC 637 unit<br />
The hardware of the PROFIBUS-DP fieldbus consists of a Master/Slave unit, DSQC 637, and<br />
distributed I/O units (called Slave units).<br />
The DSQC 637 unit is connected to the PCI bus of the IRC5 robot controller. The slave units<br />
are attached to the fieldbus network. The DSQC 637 unit supports PROFIBUS DP with DP-<br />
V0, which means that DP-V1 and DP-V2 are not supported.<br />
The slave part of the DSQC 637 unit is normally controlled by an external master on a<br />
separate PROFIBUS-DP network. This network is a different one than the network holding<br />
the slave units for the master part of the board.<br />
Slave units<br />
The slave units can be I/O units with digital and/or analog signals. They are all controlled via<br />
the master part of the DSQC 637 unit.<br />
14 3HAC023008-001 Revision: -
2 Overview<br />
2.2. PROFIBUS, IRC5<br />
The PROFIBUS-DP network<br />
The illustration below is an overview of the hardware, and shows the PROFIBUS network.<br />
xx0400000851<br />
A<br />
Line PLC, DP-Master<br />
B<br />
IRC5 control cabinet<br />
C<br />
Robot<br />
D<br />
I/O unit, DP-Slave<br />
E DP-Slave (IRC5 - DSQC 637)<br />
F DP-Master (IRC5 - DSQC 637)<br />
Configuration program<br />
The configuration program PROFIBUS DP Configurator (from Softing), together with the<br />
RobotStudio Online , is used to configure the bus correctly.<br />
The configuration program must be executed on a PC according to the <strong>manual</strong> for the<br />
program.<br />
3HAC023008-001 Revision: - 15
2 Overview<br />
2.2. PROFIBUS, IRC5<br />
Specification overview, Master<br />
Item<br />
Fieldbus type<br />
Addressing 1-125<br />
Number of units<br />
connected to master<br />
Number of signals<br />
Baudrate<br />
PROFIBUS product ID<br />
Specification<br />
PROFIBUS-DP master with DP-V0<br />
The number is defined by the limitations of the general I/O<br />
systems, see Technical reference <strong>manual</strong> - System parameters.<br />
The number is defined by the limitations of the general I/O<br />
systems, see Technical reference <strong>manual</strong> - System parameters.<br />
The PROFIBUS-DP master is configurable for all baudrates up to<br />
12 Mbit/s.<br />
0xB203<br />
Specification overview, Slave<br />
Item<br />
Specification<br />
Fieldbus type<br />
PROFIBUS-DP slave with DP-V0<br />
Addressing 1-125<br />
Number of units<br />
connected to slave<br />
Number of signals<br />
The number is defined by the limitations of the general I/O<br />
systems, see Technical reference <strong>manual</strong> - System parameters.<br />
Max 512 digital in<br />
Max 512 digital out<br />
Baudrate The PROFIBUS-DP slave autobauds for all baudrates up to 12<br />
Mbit/s.<br />
PROFIBUS product ID 0xB205<br />
16 3HAC023008-001 Revision: -
2 Overview<br />
2.3. Definition of I/O units<br />
2.3. Definition of I/O units<br />
General<br />
The controller may be mounted with I/O units inside the control module.<br />
Standard configuration<br />
In the standard form, no field bus is mounted to the controller.<br />
It is possible to connect any type of PROFIBUS compliant I/O unit on the DSQC 637 master<br />
bus. All I/O units should comply with the PROFIBUS standard and be conformance tested by<br />
PNO/PI (PROFIBUS Nützer Organisation/PROFIBUS International).<br />
Configuration of the controller<br />
xx0400000846<br />
A<br />
B<br />
Control module<br />
Drive module<br />
3HAC023008-001 Revision: - 17
2 Overview<br />
2.3. Definition of I/O units<br />
Further information<br />
The table gives references to additional information:<br />
Information:<br />
Allowed configurations of I/O units and how<br />
to setup the configurations:<br />
How to install the software of the I/O units<br />
related in a new system:<br />
Found in:<br />
Technical reference <strong>manual</strong> - System<br />
parameters<br />
Product <strong>manual</strong> IRC5, M2004<br />
18 3HAC023008-001 Revision: -
3 PROFIBUS-DP Master/Slave hardware<br />
3.1.1. DSQC 637 PROFIBUS-DP master/slave<br />
3 PROFIBUS-DP Master/Slave hardware<br />
3.1 Hardware description<br />
3.1.1. DSQC 637 PROFIBUS-DP master/slave<br />
Description<br />
The DSQC 637 is a circuit board normally mounted in the control cabinet.<br />
The PROFIBUS-DP M/S unit has both a master and a slave channel on the same unit. The<br />
master channel is used to communicate with I/O units within the robot cell and the slave<br />
channel is used to communicate with the robot controller from a master PLC.<br />
The master channel and the slave channel are physically separated.<br />
Installation and configuration<br />
For installation instructions for PROFIBUS, see the PROFIBUS specification, IEC 61158<br />
Type 3. See also the Installation Guideline for PROFIBUS-DP/FMS published by the<br />
PROFIBUS User Organization (PNO).<br />
Instructions on how to configure the PROFIBUS network for the master and the slave channel<br />
are found in the chapter 4 PROFIBUS-DP Master/Slave configuration.<br />
Typical applications<br />
An example of how the DSQC 637 may be connected is illustrated in section The<br />
PROFIBUS-DP network on page 15.<br />
3HAC023008-001 Revision: - 19
3 PROFIBUS-DP Master/Slave hardware<br />
3.1.1. DSQC 637 PROFIBUS-DP master/slave<br />
Illustration<br />
The figure below shows the DSQC 637 board. The upper connector is the slave connector and<br />
the lower connector is the master connector.<br />
xx0400001188<br />
S<br />
M<br />
Indicates the status of the Slave channel. Lit when the slave is in data exchange<br />
mode.<br />
Indicates the status of the Master channel. Lit when the master has the<br />
PROFIBUS token.<br />
For connection table, see section Connections, Master and Slave connector on page 21.<br />
20 3HAC023008-001 Revision: -
3 PROFIBUS-DP Master/Slave hardware<br />
3.1.1. DSQC 637 PROFIBUS-DP master/slave<br />
Technical data<br />
Parameter<br />
PROFIBUS DP master/slave, DSQC 637<br />
Data<br />
3HAC023047-001<br />
Connections, Master and Slave connector<br />
xx0100000220<br />
The table below shows the connections to the master connector and the slave connector,<br />
which are two physically separated connectors on the DSQC 637 board.<br />
Signal name Master/Slave channel pin Function<br />
Shield 1 Cable screen<br />
NC 2 Not connected<br />
RxD/TxD-P 3 Receive/Transmit data P<br />
Control-P 4 Repeat control signal (direction control)<br />
GND 5 Ground connection<br />
+5 VDC 6 Supply voltage<br />
NC 7 Not connected<br />
RxD/TxD-N 8 Receive/Transmit data N<br />
NC 9 Not connected<br />
Termination<br />
To reduce the reflections on the data lines it is very important that both ends of the<br />
PROFIBUS network are terminated according to PROFIBUS-DP specification, IEC 61158<br />
Type 3.<br />
3HAC023008-001 Revision: - 21
3 PROFIBUS-DP Master/Slave hardware<br />
3.1.1. DSQC 637 PROFIBUS-DP master/slave<br />
The termination used by PROFIBUS is an active termination as showed in the figure below:<br />
en0400001144<br />
After connecting the PROFIBUS network always check that the termination is in place on<br />
both ends of the network and that there are no other terminations on the network. If a<br />
termination is missing or an extra termination is added somewhere in the PROFIBUS<br />
network the communication will probably fail.<br />
Cables and connectors<br />
Cables used to connect the PROFIBUS network must be according to PROFIBUS-DP<br />
specification, IEC 61158 Type 3.<br />
Drop cables are not allowed for PROFIBUS, so special D-subs must be used when the<br />
PROFIBUS-DP unit is not the last in line. The connector must have the possibility to insert<br />
two PROFIBUS cables in the same D-sub. It is also important that the cables are mounted<br />
from the top of the connector, otherwise it will not fit into the limited space around the<br />
PROFIBUS-DP unit (DSQC 637).<br />
22 3HAC023008-001 Revision: -
3 PROFIBUS-DP Master/Slave hardware<br />
3.1.2. Definition of communication units, IRC5<br />
3.1.2. Definition of communication units, IRC5<br />
General<br />
The IRC5 computer unit may include a number of communication functions. Any allowed<br />
combination of these is specified below.<br />
Board definition<br />
The figure and table below specify which combinations are allowed:<br />
xx0400000847<br />
Description Art. no. Note Pos.<br />
Robot Com. Card 3HAC 12816-1 DSQC 602<br />
Always mounted in slot 1 as<br />
shown in the figure above!<br />
Ethernet card 3HAC 15639-1 DSQC 612<br />
Only used in multimove control<br />
applications.<br />
1<br />
2, 3, 4 or<br />
5<br />
DeviceNet master/slave 3HAC 12817-1 DSQC 603 2, 3, 4 or<br />
5<br />
PROFIBUS DP master/<br />
slave<br />
INTERBUS master/<br />
slave, copper interface<br />
3HAC 023047-001 DSQC 637 2, 3, 4 or<br />
5<br />
3HAC 11819-1 DSQC 529<br />
Two physical boards, i.e. the<br />
master board and the slave board<br />
are placed in two separate slots.<br />
2, 3, 4 or<br />
5<br />
3HAC023008-001 Revision: - 23
3 PROFIBUS-DP Master/Slave hardware<br />
3.1.2. Definition of communication units, IRC5<br />
Description Art. no. Note Pos.<br />
INTERBUS master/<br />
slave, fiber optical<br />
interface<br />
3HAC 5579-1 DSQC 512<br />
Two physical boards, i.e. the<br />
master board and the slave board<br />
are placed in two separate slots.<br />
- - Not used 6<br />
2, 3, 4 or<br />
5<br />
Installation of communication units<br />
For installation descriptions refer to Product <strong>manual</strong> IRC5, M2004, section Replacement of<br />
PCI cards in the Computer unit slots, IRC5.<br />
24 3HAC023008-001 Revision: -
3 PROFIBUS-DP Master/Slave hardware<br />
3.2.1. Connections, general<br />
3.2 Connections<br />
3.2.1. Connections, general<br />
General<br />
All devices are connected in a bus structure. Each bus segment can have a maximum of 32<br />
active devices. In order to be able to connect a larger number of stations (masters and slaves),<br />
the bus must be segmented. The segments are then interconnected with repeaters that amplify<br />
and refresh the data signals. Each repeater allows the PROFIBUS system to be extended by<br />
an additonal bus segment.<br />
The beginning and end of each segment is fitted with an active bus terminator, see illustration<br />
in section Termination on page 21.<br />
3HAC023008-001 Revision: - 25
3 PROFIBUS-DP Master/Slave hardware<br />
3.2.2. Selecting cables<br />
3.2.2. Selecting cables<br />
Cable parameters, PROFIBUS-DP<br />
Electrical cables are used for data transfer. For specification of the different electrical data<br />
cables refer to PROFIBUS Technical Guideline, see References on page 12.<br />
The cable parameters for the standard bus cables result in the maximum length of each bus<br />
segment for the respective data transfer rate, se table:<br />
Data rate in kbit/s<br />
Max. segment length in m<br />
9.6 1200<br />
19.2 1200<br />
45.45 1200<br />
93.75 1200<br />
187.5 1000<br />
500 400<br />
1500 200<br />
3000 100<br />
6000 100<br />
12 000 100<br />
Cable type A<br />
The values in the table refer to cable type A with the following properties:<br />
Parameter<br />
Value<br />
Impedance 135 to 165 :<br />
Capacity<br />
d 30 pF/m<br />
Loop resistance<br />
d 110 :/km<br />
Wire diameter<br />
> 0.64 mm<br />
Core cross-section<br />
> 0.34 mm<br />
26 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.1.1. Software overview<br />
4 PROFIBUS-DP Master/Slave configuration<br />
4.1 Introduction<br />
4.1.1. Software overview<br />
Controller software<br />
The IRC5 controller must be installed with a software that supports the use of the<br />
PROFIBUS-DP network, i.e. the option for PROFIBUS-DP must be installed.<br />
Predefined master bus and I/O unit types<br />
When the IRC5 system is booted with the PROFIBUS option the system is started up with a<br />
predefined master bus, Profibus1 of type PBUS.<br />
The IRC5 controller software also contains a number of predefined I/O unit types for<br />
PROFIBUS-DP. The I/O unit types are described in the configuration files located in the<br />
PROFIBUS option directory, in the RobotWare release media directory.<br />
If another I/O unit type is required, it has to be created by the user.<br />
PC software<br />
RobotStudio Online is a PC software that is used for setting up connections to robots and to<br />
work with robots.<br />
The configuration for the PROFIBUS-DP communication is done either <strong>manual</strong>ly by<br />
RobotStudio Online /FlexPendant , or by loading a configuration file from RobotStudio Online .<br />
For information on how to work with RobotStudio Online and FlexPendant refer to,<br />
respectively, Operator’s <strong>manual</strong> - RobotStudio Online and Operator’s <strong>manual</strong> - IRC5 with<br />
FlexPendant, see References on page 12 .<br />
Configuration software<br />
To correctly configure the PROFIBUS-DP option a binary configuration file must be created<br />
using Softing PROFIBUS DP Configurator (or PROFI-KON-DP), which is an external<br />
PROFIBUS configuration PC-tool. For more information about the configuration software,<br />
see section PROFIBUS-DP configuration software on page 30.<br />
3HAC023008-001 Revision: - 27
4 PROFIBUS-DP Master/Slave configuration<br />
4.1.1. Software overview<br />
GSD-files<br />
In order to configure the DSQC 637 with the PROFIBUS DP Configurator, GSD-files have<br />
to be imported into PROFI-KON-DP. These files contain vital information about the<br />
PROFIBUS units and they shall be supplied by the vendor/manufacturer of the specific<br />
PROFIBUS module. The GSD-files for the DSQC 637 master/slave are supplied on the<br />
RobotWare CD-ROM and can be found in following directory:<br />
:\Utility\fieldbus\PROFIBUS\gsd\<br />
The directory contains following files:<br />
GSD-file<br />
softb203.gsd<br />
softb205.gsd<br />
abb_0600.gsd<br />
Description<br />
Softing DP-Master PROFIboard<br />
Softing DP-Slave PROFIboard<br />
DSQC 352, DeviceNet to PROFIBUS DP gateway<br />
Updating DSQC 637 firmware<br />
The firmware that is executing on the DSQC 637 board is included in the RobotWare software<br />
package. The board is automatically updated to the actual firmware that is included in a<br />
specific release of RobotWare, i.e. there is no need for any <strong>manual</strong> procedure to update the<br />
firmware.<br />
During an automatic firmware upgrade of the board, lock-files are created on the flash disc.<br />
The lock-files have names of the format /hd0a/firmwareXY.lock, where X and Y are figures<br />
in the range 0-9.<br />
Note! File names of the specified format above are to be considered as reserved names that<br />
must not be used by the user.<br />
28 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.1.2. Software, how to start<br />
4.1.2. Software, how to start<br />
Step-by-step<br />
The following procedure gives an overview of how the different software is used together.<br />
For more detailed description, refer to section I/O configuration on page 32.<br />
Step<br />
Action<br />
1. Create a new system using RobotStudio Online . Make sure the PROFIBUS-DP<br />
option is installed.<br />
2. Import the GSD-files to Softing PROFIBUS DP Configurator and create the binary<br />
configuration file, which contains the configuration of the PROFIBUS network.<br />
3. Download the binary configuration file and the created system to the IRC5<br />
controller using RobotStudio Online .<br />
3HAC023008-001 Revision: - 29
4 PROFIBUS-DP Master/Slave configuration<br />
4.1.3. PROFIBUS-DP configuration software<br />
4.1.3. PROFIBUS-DP configuration software<br />
Description<br />
Softing PROFIBUS DP configurator is an external PROFIBUS configuration PC-tool. The<br />
usage of the tool is described below.<br />
Installing PROFIBUS-DP configurator<br />
For installation instructions refer to chapter 2 Installation in User Manual DP Configurator.<br />
Bus parameter set - changing parameters<br />
All the parameters that are defined in the "PROFIBUS Bus parameter set" are possible to<br />
modify by using the Softing PROFIBUS DP Configurator. These parameters and default<br />
values for them (depending on the baudrate) are defined in the PROFIBUS specification. The<br />
default values are encouraged to be used and it is rarely necessary to modify these parameters.<br />
By selecting the desired baudrate the Softing PROFIBUS DP Configurator will automatically<br />
select the default "PROFIBUS Bus parameter set" for this baudrate.<br />
Note! The PROFIBUS user is strongly recommended not to change any of these parameters<br />
without having a really good knowledge of PROFIBUS and how the changes affect the<br />
communication.<br />
Slave parameter set - changing parameters<br />
By using the Softing PROFIBUS DP Configurator it is possible to change the parameters that<br />
are defined in the "Slave parameter set" according to the PROFIBUS specification. It is<br />
usually not necessary to modify the parameters in the "Slave parameter set", but in some cases<br />
it can be interesting to change parameters (like the Watchdog Time and the UserPrm<br />
Data).<br />
Description of how the parameters in the "Slave parameter sets" are modified is found in the<br />
<strong>manual</strong> for the Softing PROFIBUS DP Configurator.<br />
Note! The PROFIBUS user is strongly recommended not to change any of these parameters<br />
without having a really good knowledge of PROFIBUS and how the changes affect the<br />
communication.<br />
30 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.2.1. Introduction<br />
4.2 Workflows, PROFIBUS-DP master bus<br />
4.2.1. Introduction<br />
Configuration set-up<br />
To set-up a PROFIBUS-DP communication, follow the workflows described in this section.<br />
Power-up<br />
When all configuration definitions are set, a new start-up is required. The robot controller will<br />
automatically start the communication with the DP-slaves, and the controller will report any<br />
errors that occur.<br />
3HAC023008-001 Revision: - 31
4 PROFIBUS-DP Master/Slave configuration<br />
4.2.2. Configuration overview<br />
4.2.2. Configuration overview<br />
Description<br />
The PROFIBUS-DP master configuration is set according to the contents of the I/O signal<br />
and Unit definitions.<br />
I/O configuration<br />
To perform a proper I/O configuration follow the steps in this procedure:<br />
Step<br />
Action<br />
1. Create a new system using RobotStudio Online . Make sure to install the<br />
PROFIBUS-DP option .<br />
2. Run Softing PROFIBUS DP Configurator to create the binary configuration file<br />
that contains the configuration of the PROFIBUS network.<br />
Note! This step is always unique depending on the type of I/O unit to configure.<br />
3. Download the system to the IRC5 controller.<br />
4. Reboot the controller to start up with the new system.<br />
5. Add the binary configuration file to the HOME directory and configure the bus.<br />
See section Bus configuration on page 33.<br />
6. Configure the units connected to the bus, see Unit configuration on page 32.<br />
7. Configure the signals, see Technical reference <strong>manual</strong> - System parameters .<br />
8. Reboot the controller.<br />
Unit configuration<br />
The following procedure details how to configure the units connected to the bus.<br />
Step<br />
Action<br />
1. Add a new unit to the system parameters.<br />
2. Enter the unit name.<br />
3. Select the Profibus1 bus, to which the unit is connected.<br />
4. Select the actual unit type.<br />
If the unit type is not predefined, it must be added.<br />
5. Enter the Profibus Address.<br />
32 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.2.3. Bus configuration<br />
4.2.3. Bus configuration<br />
Description<br />
The configuration of the bus consists of specifying the configuration path to the PROFIBUS<br />
configuration file, which is created using the tool Softing PROFIBUS DP Configurator.<br />
Bus parameter<br />
The bus parameter set is defined in the PROFIBUS standard and contains parameters that<br />
influences the behaviour of the bus. The only way to modify the bus parameters, i.e. master<br />
address and baudrate, is to use the Softing PROFIBUS DP Configurator and generate a new<br />
binary configuration file.<br />
Note! The bus parameters should only be changed by a person that is familiar with the<br />
PROFIBUS-DP specification.<br />
Predefined bus<br />
If the system is installed with the PROFIBUS option, a predefined bus PROFIBUS1 is<br />
created. The default configuration path is:<br />
HOME/pbus_cfg.bin<br />
HOME specifies the current system directory, for example "MySystem/Home". It is possible<br />
to configure this path to any place on the IRC5 controller by first using the path /hd0a, which<br />
corresponds to the system flash drive. The equivalent to HOME/pbus_cfg.bin in this example<br />
would be /hd0a/MySystem/Home/pbus_cfg.bin.<br />
Binary configuration file<br />
The first step in the configuration of the bus is to create a binary configuration file using the<br />
Softing PROFIBUS DP Configurator tool on an off-line PC. This file needs to be supplied to<br />
the system to give a description of how the actual PROFIBUS network is physically<br />
configured.<br />
The binary configuration file contains all the parameters needed to get a PROFIBUS network<br />
up and running at the lowest level, i.e. what the DSQC 637 board needs to start the data<br />
exchange at the network.<br />
3HAC023008-001 Revision: - 33
4 PROFIBUS-DP Master/Slave configuration<br />
4.2.3. Bus configuration<br />
Downloading binary configuration file to the controller<br />
When the binary configuration file has been created on an off-line PC, it needs to be<br />
transferred to the controller. There are two different ways to achieve this:<br />
• let RobotStudio Online perform the file transfer at the same time as the rest of a newly<br />
created system is transferred from the RobotStudio Online PC to the controller, or<br />
• use a third party FTP client and download the configuration file directly to the<br />
controller.<br />
Downloading via third party FTP client<br />
Using a third party FTP client is the easiest way to download a new or modified binary<br />
configuration file to a software system that already has been downloaded to the robot<br />
controller. While creating the system, put the binary configuration file in the home directory<br />
of the created robot system by using the Add files to Home Directory in the RobotStudio Online<br />
system builder.<br />
Where to find descriptions of PROFIBUS DP configurator<br />
How the Softing PROFIBUS DP Configurator works is described in the <strong>manual</strong> that is<br />
delivered together with the actual configurator software package.<br />
34 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.3.1. Introduction<br />
4.3 Workflows, PROFIBUS-DP internal slave<br />
4.3.1. Introduction<br />
Configuration set-up<br />
This section describes the workflows for the necessary configurations to set-up a<br />
PROFIBUS-DP internal slave communication.<br />
Built-in digital slave module<br />
The DSQC 637 unit has a built-in digital slave module with up to 512 digital inputs and 512<br />
digital outputs.<br />
This can be used<br />
• to connect the IRC5 controller to a PLC.<br />
• for connection of the slave channel of several robots to the master channel of one<br />
controlling robot.<br />
3HAC023008-001 Revision: - 35
4 PROFIBUS-DP Master/Slave configuration<br />
4.3.2. Internal slave configurations<br />
4.3.2. Internal slave configurations<br />
Unit type configuration<br />
The unit type definition for the IRC5 PROFIBUS-DP slave is called DP_SLAVE and is<br />
predefined during system start-up. The default sizes of input and output areas for DP_SLAVE<br />
are 16 bytes in and 16 bytes out.<br />
EXT_DP_SLAVE is another predefined unit type, and this shall only be used for configuring<br />
the master channel of an IRC5 controller that is connected to the slave channel of another<br />
IRC5 controller.<br />
I/O unit configuration<br />
The following steps describe how to configure the IRC5 PROFIBUS-DP slave:<br />
Step Action Description<br />
1. Create a new unit of type DP_SLAVE.<br />
2. If the default input size or output size for<br />
DP_SLAVE is not suited, edit the<br />
Internal Slave Output Size and/or<br />
Internal Slave Input Size for the<br />
unit type DP_SLAVE.<br />
Note! The internal slave is special in its<br />
behaviour since outputs from the<br />
master/PLC will become inputs to the<br />
controller and vice versa.<br />
PLC configuration<br />
To configure the PROFIBUS master that will control the internal slave, use the GSD file<br />
supplied on the RobotWare CD-ROM, in the directory:<br />
:\Utility\fieldbus\PROFIBUS\gsd\softb205.gsd<br />
The modules to be chosen depend on the current I/O definition (input/output sizes as defined<br />
for the Unit type).<br />
Communication status<br />
To have control of the communication status, i.e. to know if the PLC to slave communication<br />
is in DATA_EXCHANGE mode or not, the PROFIBUS watchdog timer should be used.<br />
The master/PLC can set one signal during startup or within the controller loop, this signal (on<br />
the internal slave) could then be attached to a system input in the robot controller as a<br />
communication supervision signal. If the communication between the master/PLC and the<br />
36 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.3.2. Internal slave configurations<br />
slave will be interrupted (i.e. the slave leaves the DATA_EXCHANGE mode), all the inputs<br />
of the internal slave will go to fail safe state (i.e. be set to zeros only) after the specified<br />
watchdog time. This means that the user defined communication supervision signal will also<br />
go to zero.<br />
3HAC023008-001 Revision: - 37
4 PROFIBUS-DP Master/Slave configuration<br />
4.4.1. System parameters<br />
4.4 Parameters<br />
4.4.1. System parameters<br />
Introduction<br />
There are both PROFIBUS specific parameters and more general parameters. This chapter<br />
gives brief descriptions of all system parameters that are necessary for the correct installation<br />
and configuration of PROFIBUS. The parameters are divided into the type they belong to.<br />
The PROFIBUS specific parameters are described here, for information about other<br />
parameters refer to Technical reference <strong>manual</strong> - System parameters.<br />
Type name Unit<br />
These parameters belong to the topic I/O and the type Unit. For more information, see the<br />
respective parameter in Technical reference <strong>manual</strong> - System parameters.<br />
Parameter<br />
Profibus Address<br />
Description<br />
This parameter is used to specify the address that the I/O unit<br />
uses on the network, and to which the master should try to<br />
setup a connection.<br />
Allowed values: 0-125<br />
38 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.4.1. System parameters<br />
Type name Unit Type<br />
These parameters belong to the topic I/O and the type Unit Type. For more information, see<br />
the respective parameter in Technical reference <strong>manual</strong> - System parameters.<br />
Parameter<br />
Product ID<br />
Internal Slave<br />
Internal Slave Output Size<br />
Internal Slave Input Size<br />
Description<br />
This parameter is used as an identification of the I/O unit and<br />
is only available for PROFIBUS unit types.<br />
If the parameter is assigned the value 0 (zero), the robot<br />
controller ignores what product ID the connected unit has.<br />
The value of the parameter can be found in the Electronic Data<br />
Sheet (GSD) for the unit (called Ident_number in GSD file).<br />
Note that Ident_number is often expressed as a hexadecimal<br />
number in the GSD file.<br />
Allowed values are integers 0-65535.<br />
This parameter specifies the type of the slave device.<br />
A slave device is either internal or external. The DSQC 637<br />
unit has a built-in slave module and it is defined as internal<br />
slave. All other slave devices are defined as external slaves.<br />
Allowed values: Yes or No<br />
This parameter defines the data size transmitted by the unit<br />
and is only available for internal slave unit types.<br />
Allowed values: A value between 0-64, specifying the data<br />
size in bytes.<br />
This parameter defines the data size received by the unit and<br />
is only available for internal slave unit types.<br />
Allowed values: A value between 0-64, specifying the data<br />
size in bytes.<br />
3HAC023008-001 Revision: - 39
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.1. Digital I/O configuration example (Non Modular station)<br />
4.5 Examples<br />
4.5.1. Digital I/O configuration example (Non Modular station)<br />
Description<br />
This is an example of how to configure an ET200B 16 DI/16 DO unit to the master. The bus<br />
is configured using the Softing PROFIBUS DP Configurator, with the master at address 2 and<br />
the slave unit at address 10. The baudrate is 12 Mbit/s and the slave watchdog time is set to<br />
100 ms.<br />
The whole procedure for this example is described in section I/O configuration on page 32.<br />
This example is a detailed description of step 2 in the I/O configuration section and contains<br />
information that is unique to this example.<br />
PROFIBUS DP configurator setup<br />
The following procedure is a step-by-step description of how to set the configuration in the<br />
Softing PROFIBUS DP Configurator.<br />
Step<br />
Action<br />
1. Start Softing PROFIBUS DP Configurator and import GSD-files for the Profiboard<br />
from the RobotWare CD (i.e. if the files have not been imported before).<br />
For details, see the Softing PROFIBUS DP Configurator <strong>manual</strong>.<br />
2. Import GSD-files for the unit that shall be used.<br />
(GSD-file is provided by the manufacturer of the unit.)<br />
3. On the Options menu, click Advanced Mode.<br />
(Basic mode does not allow the user to change the watchdog time.)<br />
4. On the Project menu, click New Project.<br />
40 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.1. Digital I/O configuration example (Non Modular station)<br />
Step<br />
Action<br />
5. In the Master Selection List, double-click on the PROFIboard.<br />
en0400000888<br />
3HAC023008-001 Revision: - 41
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.1. Digital I/O configuration example (Non Modular station)<br />
Step<br />
Action<br />
6. In the DP-Master-Configuration window, set Station Address to 2 and Baudrate to<br />
12 MBaud. Click OK.<br />
en0400000892<br />
42 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.1. Digital I/O configuration example (Non Modular station)<br />
Step<br />
Action<br />
7. In the Slave Selection List, double-click on the B-16DI/16DO.<br />
en0400000889<br />
3HAC023008-001 Revision: - 43
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.1. Digital I/O configuration example (Non Modular station)<br />
Step<br />
Action<br />
8. In the DP Slave Configuration window, click the Basic tab and set Station Address<br />
to 10.<br />
en0400000890<br />
9. In the DP Slave Configuration window, click the Settings tab and set Watchdog<br />
Time to 100 ms. Click OK.<br />
en0400000891<br />
44 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.1. Digital I/O configuration example (Non Modular station)<br />
Step<br />
Action<br />
10. On the Download menu, choose Binary File.<br />
Name the binary file pbus_cfg.bin (this is the default file name used by the<br />
predefined bus, Profibus1), and download it to the IRC5 controller using either<br />
RobotStudio Online or a third-party FTP client.<br />
For description of how to download the file, see Operator’s <strong>manual</strong> -<br />
RobotStudio Online .<br />
11. Reboot the controller.<br />
3HAC023008-001 Revision: - 45
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.2. Modular station configuration example<br />
4.5.2. Modular station configuration example<br />
Description<br />
The ET200S is a modular unit. You can choose which type of modules to use and in which<br />
order to connect them.<br />
This is an example of how to configure an ET200S unit to the master. The bus is configured<br />
using the Softing PROFIBUS DP Configurator, with the master at address 1 and the slave unit<br />
at address 10. The baudrate is 12 Mbit/s.<br />
In this example the ET200S has physically 7 modules, and these are connected in following<br />
order:<br />
• One Power module<br />
• Two modules with 2 DO in each module<br />
• Two modules with 2 DI in each module<br />
• One module with 2 AO<br />
• One module with 2 AI<br />
The whole procedure for this example is described in section I/O configuration on page 32.<br />
This example contains a detailed description of step 2 in the I/O configuration section and the<br />
information is unique to this example, see PROFIBUS DP configurator setup on page 46.<br />
This example also contains a detailed description of step 7 in the I/O configuration section<br />
and it is described in section Physical signal configuration on page 48.<br />
PROFIBUS DP configurator setup<br />
The following procedure is a step-by-step description of how to set the configuration in<br />
Softing PROFIBUS DP Configurator.<br />
Step<br />
Action<br />
1. Start Softing PROFIBUS DP Configurator and import GSD-files for the Profiboard<br />
from the RobotWare CD (i.e. if the files have not been imported before).<br />
For details, see the Softing PROFIBUS DP Configurator.<br />
2. Import GSD-files for the unit that shall be used.<br />
(GSD-file is provided by the manufacturer of the unit.)<br />
3. On the Options menu, click Advanced Mode.<br />
(Basic mode does not allow the user to change the watchdog time.)<br />
46 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.2. Modular station configuration example<br />
Step<br />
Action<br />
4. On the Project menu, click New Project.<br />
5. In the Master Selection List, double-click on the Profiboard.<br />
See figure in step 5, in section PROFIBUS DP configurator setup on page 40(Digital<br />
I/O configuration example).<br />
6. In the DP-Master-Configuration window, set Station Address to 1 and Baudrate to<br />
12.<br />
7. In the Slave Selection List, double-click the ET200S.<br />
en0400000896<br />
8. In the DP Slave Configuration window, click the Basic tab and set Station Address<br />
to 10.<br />
See figure in step 8, in section PROFIBUS DP configurator setup on page 40 (Digital<br />
I/O configuration example).<br />
9. In the DP Slave Configuration window, click the Modules tab.<br />
For module selection, follow the steps in Module selection on page 49 .<br />
3HAC023008-001 Revision: - 47
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.2. Modular station configuration example<br />
Step<br />
Action<br />
10. On the Download menu, choose Binary File.<br />
Name the binary file pbus_cfg.bin (this is the default file name used by the<br />
predefined bus, Profibus1), and download it to the IRC5 controller using either<br />
RobotStudio Online or a third-party FTP client.<br />
For description of how to download the file, see Operator’s <strong>manual</strong> -<br />
RobotStudio Online .<br />
11. Reboot the controller.<br />
Physical signal configuration<br />
According to the ET200S Distributed I/O System Manual (chapter 13.1.1, Analog value<br />
representation for measuring ranges with S7) from Siemens:<br />
• The analog values are represented in complements of two.<br />
• The values are represented with 16 bits.<br />
• Physical max. value: 10 V is represented by the value 27648.<br />
• Physical min. value: -10 V is represented by the value -27648.<br />
• The high byte is sent first, byte swap is needed.<br />
For the configuration procedure, refer to Technical reference <strong>manual</strong> - System parameters.<br />
Unit mapping<br />
Unit mapping is necessary when specifying which bit(s) in the I/O memory map of the<br />
assigned unit the signal is mapped to. All physical signals (i.e. signals connected to a physical<br />
unit) must be mapped.<br />
48 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.2. Modular station configuration example<br />
The table shows an example of unit mapping:<br />
Signal Unit map Description<br />
DO_1 0 Digital output signal<br />
DO_2 1 Digital output signal<br />
DO_3 8 Digital output signal<br />
DO_4 9 Digital output signal<br />
DI_1 0 Digital input signal<br />
DI_2 1 Digital input signal<br />
DI_3 8 Digital input signal<br />
DI_4 9 Digital input signal<br />
AO_1 24-31, 16-23 Analog output signal<br />
Byte swap is needed<br />
AO_2 40-47, 32-39 Analog output signal<br />
Byte swap is needed<br />
AI_1 24-31, 16-23 Analog input signal<br />
Byte swap is needed<br />
AI_2 40-47, 32-39 Analog input signal<br />
Byte swap is needed<br />
Module selection<br />
When configuring the modules, make sure the different modules are added in correct order.<br />
I.e. the slot numbers depend on the physical order of the modules. See the User Manual DP<br />
Configurator for further details.<br />
3HAC023008-001 Revision: - 49
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.2. Modular station configuration example<br />
The following procedure is a detailed description of how to make the module selection.<br />
Step<br />
Action<br />
1. In the Available modules list, select the appropriate power supply module (6ES7<br />
138-xxxxx-xxxx) and click Add.<br />
en0400000898<br />
2. In the Available modules list, select the appropriate module with 2 DO (6ES7 132-<br />
xxxxx-xxxx) and click Add.<br />
en0400000897<br />
3. Repeat step 2 to select the other module with 2 DO.<br />
50 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.2. Modular station configuration example<br />
Step<br />
Action<br />
4. In the Available modules list, select the appropriate module with 2 DI (6ES7 131-<br />
xxxxx-xxxx) and click Add.<br />
5. Repeat step 4 to select the other module with 2 DI.<br />
6. In the Available modules list, select the appropriate module with 2 AO (6ES7 134-<br />
xxxxx-xxxx) and click Add.<br />
7. In the Available modules list, select the appropriate module with 2 AI (6ES7 134-<br />
xxxxx-xxxx) and click Add.<br />
3HAC023008-001 Revision: - 51
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.3. Internal slave configuration example<br />
4.5.3. Internal slave configuration example<br />
Description<br />
This is an example of how to configure the IRC5 Profibus-DP slave to address 12. The slave<br />
unit has 128 digital inputs (16 bytes) and 128 digital outputs (16 bytes).<br />
NOTE!<br />
The unit type DP_SLAVE is a predefined unit type, i.e. the user does not need to make any<br />
Unit Type definition for this slave. The default values for DP_SLAVE are 16 bytes inputs and<br />
16 bytes outputs. The default sizes can be changed either by editing the unit type DP_SLAVE<br />
or by creating a new unit type.<br />
Internal slave configuration procedure<br />
The following procedure is a step-by-step description of how to make the configuration of the<br />
internal slave.<br />
Step<br />
Action<br />
1. Add a new unit to the system parameters.<br />
2. Enter the unit name.<br />
3. Select the Profibus1 bus, to which the unit is connected.<br />
4. Select the DP_SLAVE unit type.<br />
5. Enter the Profibus Address.<br />
52 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.4. IRC5 master/slave configuration example<br />
4.5.4. IRC5 master/slave configuration example<br />
Description<br />
This example demonstrates how two IRC5 systems can be configured to communicate with<br />
each other, one as the master and one as a slave.<br />
The bus is configured using the Softing PROFIBUS DP Configurator, with the master at<br />
address 2 and with baudrate 12 Mbit/s.<br />
The whole procedure for this example is described in section I/O configuration on page 32.<br />
This example is a detailed description of step 2 in the I/O configuration section and contains<br />
information that is unique to this example.<br />
Overview - how to start<br />
Step Action Info<br />
1. Start by configuring the slave system<br />
according to section Internal slave<br />
configuration example on page 52.<br />
2. Configure the master system with one<br />
unit at address 12 of type<br />
EXT_DP_SLAVE.<br />
The slave system will be set up as an<br />
ordinary PROFIBUS-DP slave unit with<br />
128 DI and 128 DO. The address is 12.<br />
NOTE!<br />
The unit type EXT_DP_SLAVE shall be used when configuring an IRC5 PROFIBUS master<br />
to communicate via a PROFIBUS connection to the slave channel of another IRC5 system.<br />
The unit type DP_SLAVE shall be used for configuring of the internal PROFIBUS slave, i.e.<br />
the definition of a DP_SLAVE unit type will determine what the internal slave will look like<br />
when seen from the PROFIBUS side.<br />
The unit types EXT_DP_SLAVE and DP_SLAVE are predefined unit types, i.e. the user does<br />
not need to make any Unit Type definition for these slaves.<br />
3HAC023008-001 Revision: - 53
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.4. IRC5 master/slave configuration example<br />
PROFIBUS DP configurator setup<br />
The following procedure is a step-by-step description of how to set the configuration in the<br />
Softing PROFIBUS DP Configurator.<br />
Step<br />
Action<br />
1. Start Softing PROFIBUS DP Configurator and import GSD-files for the Profiboard<br />
from the RobotWare CD (i.e. if the files have not been imported before).<br />
For details, see the Softing PROFIBUS DP Configurator <strong>manual</strong>.<br />
2. On the Project menu, click New Project.<br />
3. In the Master Selection List, double-click on the Profiboard.<br />
en0400000888<br />
54 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.4. IRC5 master/slave configuration example<br />
Step<br />
Action<br />
4. In the DP-Master-Configuration window, set Station Address to 2 and Baudrate to<br />
12 MBaud. Click OK.<br />
en0400000892<br />
3HAC023008-001 Revision: - 55
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.4. IRC5 master/slave configuration example<br />
Step<br />
Action<br />
5. In the Slave Selection List, double-click on the PROFIboard/PROFI104.<br />
en0400000903<br />
56 3HAC023008-001 Revision: -
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.4. IRC5 master/slave configuration example<br />
Step<br />
Action<br />
6. In the DP Slave Configuration window, click the Basic tab and set Station Address<br />
to 12.<br />
en0400000904<br />
7. In the DP Slave Configuration window, click the Modules tab.<br />
In the Available Modules list, select 8 Word Out, 8 Word In and click Add.<br />
en0400000905<br />
3HAC023008-001 Revision: - 57
4 PROFIBUS-DP Master/Slave configuration<br />
4.5.4. IRC5 master/slave configuration example<br />
Step<br />
Action<br />
8. On the Download menu, choose Binary File.<br />
Name the binary file pbus_cfg.bin (this is the default file name used by the<br />
predefined bus, Profibus1), and download it to the IRC5 controller using either<br />
RobotStudio Online or a third-party FTP client.<br />
For description of how to download the file, see Operator’s <strong>manual</strong> -<br />
RobotStudio Online .<br />
9. Restart the controller.<br />
58 3HAC023008-001 Revision: -
Index<br />
B<br />
Bus termination 22<br />
C<br />
Cable parameters 26<br />
D<br />
DSQC 637 19<br />
DSQC 637, Master and Slave connector 21<br />
E<br />
Example, ET200B unit 40<br />
Example, ET200S unit 46<br />
F<br />
FlexPendant, I/O configuration 32<br />
FlexPendant, unit configuration 32<br />
G<br />
GSD-files 28<br />
I<br />
Internal Slave Input Size 39<br />
S<br />
Softing PROFIBUS DP Configurator 15, 27, 30<br />
System parameters, Internal Slave 39<br />
System parameters, Internal Slave Input Size 39<br />
System parameters, Internal Slave Output Size 39<br />
System parameters, Product ID 39<br />
System parameters, Profibus Address 38<br />
System parameters, Unit 38<br />
System parameters, Unit Type 39<br />
3HAC023008-001 Revision: - 59
3HAC023008-001, Revision - -en<br />
<br />
ABB Automation Technologies AB<br />
Robotics<br />
S-721 68 VÄSTERÅS<br />
SWEDEN<br />
Telephone: +46 (0) 21 344000<br />
Telefax: +46 (0) 21 132592