Et200 e
Et200 e
Et200 e
Contents
System Overview 1
Procedure - From Planning to
Initial Operation 2
Routing Cables and Bus
SIMATIC S5 Connectors 3
RS 485 Repeaters 4
ET 200 IM 308-C and Memory Card –
Distributed I/O System Structure and Functioning 5
IM 308-C – Addressing, Access
to the Distributed I/Os and 6
Manual Diagnostics
IM 308-C – Using the FB IM308C
(FB 192) 7
IM 308-C – Starting ET 200 8
S5-95U with DP Master Interface:
Design and Method of Operation 9
S5-95U – Addressing,
Diagnostics, FB 230 10
S5-95U – Starting ET 200 11
COM PROFIBUS Manual
(Placeholder) 12
A to
Appendices G
Glossary, Index
Edition 04
Safety Guidelines This manual contains notices which you should observe to ensure your own personal safety, as
well as to protect the product and connected equipment. These notices are highlighted in the
manual by a warning triangle and are marked as follows according to the level of danger:
Danger
! indicates that death, severe personal injury or substantial property damage will result if proper
precautions are not taken.
Warning
! indicates that death, severe personal injury or substantial property damage can result if proper
precautions are not taken.
Caution
! indicates that minor personal injury or property damage can result if proper precautions are not taken.
Note
draws your attention to particularly important information on the product, handling the product, or
to a particular part of the documentation.
Qualified Personnel The device/system may only be set up and operated in conjunction with this manual.
Only qualified personnel should be allowed to install and work on this equipment. Qualified
persons are defined as persons who are authorized to commission, to ground, and to tag circuits,
equipment, and systems in accordance with established safety practices and standards.
Warning
! This device and its components may only be used for the applications described in the catalog or the
technical description, and only in connection with devices or components from other manufacturers
which have been approved or recommended by Siemens.
This product can only function correctly and safely if it is transported, stored, set up, and installed
correctly, and operated and maintained as recommended.
Purpose of the The information in this manual will enable you to:
manual
set up the PROFIBUS bus
operate the IM 308-C as DP master and/or DP slave
parameterize the standard function block FB IM308C for the IM 308-C
operate the S5-95U with DP master interface on the PROFIBUS-DP
start up the PROFIBUS.
This manual deals with the S5-95U programmable controller and
supplements the system manual S5-90U/S5-95U Programmable Controller. It
describes all the functions and features of the DP master interface of the
S5-95U.
The COM PROFIBUS configuration software as of version V5.0 is not des-
cribed in this manual. There is a separate manual for COM PROFIBUS. The
COM PROFIBUS manual is available on the COM PROFIBUS CD-ROM.
Target group This manual is aimed at readers who want to plan, set up and commission the
ET 200 distributed I/O system with COM PROFIBUS. We assume that you
have experience with or knowledge of how to handle the S5-95U, S5-115U,
S5-135U and S5-155U programmable controllers, depending on the master
you are using.
This manual describes all the modules approved at the time of issue. We re-
serve the right to enclose a Product Information Sheet containing up-to-date
information with each new or revised module.
Changes since the The following things have changed since the previous version of the manual:
previous version
COM PROFIBUS as of version V 5.0 is now an open configuration soft-
ware package for DP masters and is marketed as a separate product.
COM PROFIBUS is therefore no longer described in this manual. There
is a separate manual for COM PROFIBUS, which is shipped together with
COM PROFIBUS on CD-ROM.
For a limited transitional period, COM PROFIBUS version 3.3 will be
supplied in parallel with the new version 5.0. You will still find the des-
cription of COM PROFIBUS V 3.3 in Appendix G of this manual.
The description of the optical PROFIBUS-DP network has been included.
The PROFIBUS Terminator (active bus terminating element) has been
added to the PROFIBUS network components.
Standards, The components described in this manual fulfill the requirements and criteria
certificates and of IEC 1131, Part 2 and the requirements for CE marking. CSA, UL and FM
approvals certificates and approvals have been obtained. You will find detailed infor-
mation on the certificates, approvals and standards in Section A.1.
The IM 308-C master interface module and the DP master interface of the
S5-95U are based on the EN 50170, Volume 2, PROFIBUS standard.
Recycling and The ET 200 is low in contaminants and can thus be recycled.
disposal
To recycle and dispose of your old device in an environment-friendly man-
ner, please contact:
Siemens Aktiengesellschaft
Anlagenbau und Technische Dienstleistungen
ATD ERC Essen Recycling/Remarketing
Frohnhauser Str. 69
45127 Essen
Phone: +49 201 / 816 1540 (hotline)
Fax: +49 201 / 816 1504
Other requisite You will find information on the S5-95U with DP-master interface and all
manuals other versions of the S5-95U in the system manual S5-90U/S5-95U Program-
mable Controller. At various points in this manual, you will find references to
the system manual S5-90U/S5-95U Programmable Controller.
The description of the slaves does not form part of this manual. You can find
the order numbers for the slave manuals in Catalog ST PI, PROFIBUS &
AS-Interface, Components on the Field Bus.
COM PROFIBUS as of version 5.0 is not described in this manual. You can
print out the COM PROFIBUS manual from the COM PROFIBUS CD-ROM
(6ES5 895-6SE03) and insert it in Chapter 12 (which is a placeholder).
Quick access A number of features in this manual will help you to obtain quick access to
the information you require:
At the start of the manual, you will find a general table of contents, plus a
list of all the illustrations and a list of all the tables in the manual.
On each page throughout the manual, the bold-face headings on the left
summarize the contents of the individual passages.
The Appendices are followed by a Glossary containing definitions of the
important terms used in the manual.
The manual closes with an index. The index is in alphabetical order and
you can use it to find information on the topic of your choice.
Further support If you have any questions of a technical nature, please get in touch with your
contact at the Siemens office or agent responsible for dealing with you. You
will find the address in the manuals for the DP masters (e.g. in the “Siemens
Worldwide” appendix of the manual S7-300 Programmable Controller; Hard-
ware and Installation manual, in catalogs and on CompuServe (GO AUTFO-
RUM).
If you have questions about the load feeders, please get in touch with the
contact people in your region for communication-capable low-voltage
switchgear. You can obtain a list of contacts by fax on
+49 8765/9302/781001.
If you need a type file or device master file, you can obtain this via modem
on +49 (911) 737972 or via Internet:
http://www.ad.siemens.de/csi_e/gsd
If you have questions or comments about the manual itself, please complete
the reply card at the end of the manual and send it to the specified address.
Please also give us your personal assessment of the manual on the reply card.
In order to make it easier for you to start working with the ET 200 distributed
I/O system, we provide the ”KO-ET 200” workshop. If you are interested,
please notify your regional training center or the central training center in
Nuremberg, D (tel. +49 911 895 3154).
Constantly You can obtain constantly updated information about SIMATIC products:
updated
On the Internet at http://www.ad.siemens.de/
information
By fax on +49 8765-93 00 50 00
In addition, SIMATIC Customer Support assists you with information and
downloads that can be useful when using the SIMATIC products:
On the Internet at http://www.ad.siemens.de/simatic-cs
At the SIMATIC Customer Support mailbox on +49 (911) 895-7100
To access the mailbox, use a modem with up to V.34 (28.8 kbps), whose
parameters you set as follows: 8, N, 1, ANSI. Alternatively, dial in using
ISDN (x.75, 64 kbps).
You can reach SIMATIC Customer Support by phone on +49 (911) 895-7000
and by fax on +49 (911) 895-7002. You can also make inquiries by e-mail on
the Internet or by leaving a message at the above-mentioned mailbox (ad-
dresses: see above).
1 System overview
1.1 What is the ET 200 distributed I/O system? . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.2 Expansion options of the ET 200 distributed I/O system . . . . . . . . . . . . . . . 1-5
1.3 Masters in the ET 200 distributed I/O system . . . . . . . . . . . . . . . . . . . . . . . . 1-8
1.3.1 IM 308-C master interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
1.3.2 S5-95U programmable controller with DP master interface . . . . . . . . . . . . 1-10
1.4 Slaves in the ET 200 distributed I/O system . . . . . . . . . . . . . . . . . . . . . . . . . 1-11
1.5 PROFIBUS field bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-14
1.6 COM PROFIBUS parameterization software . . . . . . . . . . . . . . . . . . . . . . . . . 1-15
1.7 Network components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-16
1.7.1 Bus connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-17
1.7.2 Fiber-optic cable Simplex connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18
1.7.3 RS 485 repeater . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19
1.7.4 PROFIBUS Terminator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-20
2 Procedure – from planning to initial operation
2.1 Planning the layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.2 Structuring the ET 200 distributed I/O system . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.3 What to consider before parameterization with COM PROFIBUS . . . . . . . 2-4
2.4 Parameterization with COM PROFIBUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.5 Writing the STEP 5 application program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.6 Initial operation of the ET 200 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
3 Routing cables; connecting and installing bus connectors
3.1 Notes on routing cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.1.1 General rules and regulations for operation of ET 200 . . . . . . . . . . . . . . . . 3-3
3.1.2 In-building cable routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3.1.3 Outdoor cable routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7
3.1.4 Potential equalization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-8
3.1.5 Cable shielding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
3.1.6 Measures to prevent interference voltages . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
3.1.7 Special measures for interference-proof operation . . . . . . . . . . . . . . . . . . . . 3-14
3.2 Lightning protection and overvoltage protection . . . . . . . . . . . . . . . . . . . . . . 3-16
3.2.1 Why protect the automation system against overvoltage? . . . . . . . . . . . . . 3-17
3.2.2 How to protect the ET 200 distributed I/O system against overvoltage . . . 3-19
3.2.3 Example illustrating lightning protection for the ET 200 distributed
I/O system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
Figures
1-1 Structure of a bus segment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
1-2 Linking bus segments with RS 485 repeaters . . . . . . . . . . . . . . . . . . . . . . . . 1-6
1-3 IM 308-C master interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-9
1-4 S5-95U programmable controller with DP master interface . . . . . . . . . . . . 1-10
1-5 Purpose of the COM PROFIBUS parameterization software . . . . . . . . . . . 1-15
1-6 Simplex connectors and the special plug-in adapter for the IM 153-2 FO
and IM 467 FO (assembled) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-18
1-7 RS 485 repeater . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-19
1-8 PROFIBUS Terminator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-20
3-1 Securing shielded cables with cable clamps and cable ties
(schematic diagram) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-11
3-2 Circuits with DC-actuated coils . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
3-3 Circuits with AC-actuated coils . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
3-4 Measures for suppressing interference from fluorescent tubes in cabinets 3-15
3-5 Lightning-protection zones of a building . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
3-6 Example showing lightning protection for the ET 200 distributed
I/O system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-23
3-7 Bus connector with order number 6ES7 972-0B.11 ... . . . . . . . . . . . . . . . . . 3-31
3-8 Length of stripped ends for connection to bus connector
(6ES7 972-0B.11...) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-31
3-9 Connecting bus cable to bus connectors with order number
6ES7 972-0B.11 ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-32
3-10 Appearance of the bus connector with order number 6ES7 972-0BA30 ... 3-33
3-11 Length of stripped ends for connection to bus connector
(6ES7 972-0BA30 ...) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33
3-12 Connecting bus cable to bus connector (6ES7 972-0BA30 ...) . . . . . . . . . . 3-34
3-13 Bus connector with order number 6ES7 972-0B.40 ... . . . . . . . . . . . . . . . . . 3-35
3-14 Length of stripped ends for connection to bus connector
(6ES7 972-0B.40 ...) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-35
3-15 Connecting the bus cable to the bus connector (6ES7 972-0B.40 ...) . . . 3-36
3-16 Bus connector (6ES7 972-0B.11-...): positions of switch for
terminating resistor in circuit or not in circuit . . . . . . . . . . . . . . . . . . . . . . . . . 3-37
3-17 Optical PROFIBUS-DP network with nodes that have an integrated
fiber-optic cable interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-40
3-18 Simplex connectors and a special connector adapter for the IM 153-2 FO
and IM 467 FO (installed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-43
4-1 Block diagram of the RS 485 repeater . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
4-2 Setting of the terminating resistor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
4-3 Two bus segments connected to the RS 485 repeater (1) . . . . . . . . . . . . . 4-6
4-4 Two bus segments connected to the RS 485 repeater (2) . . . . . . . . . . . . . 4-7
4-5 Two bus segments connected to the RS 485 repeater (3) . . . . . . . . . . . . . 4-7
4-6 Mounting the RS 485 repeater on the busbar for S7-300 . . . . . . . . . . . . . . 4-8
4-7 Removing the RS 485 repeater from the busbar for S7-300 . . . . . . . . . . . . 4-9
4-8 ET 200 bus segments operating as non-grounded segments . . . . . . . . . . 4-10
4-9 Length of stripped ends for connection to RS 485 repeater . . . . . . . . . . . . 4-12
4-10 Stripping lengths for connection to the PROFIBUS Terminator . . . . . . . . . 4-15
5-1 IM 308-C master interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
5-2 Block diagram of the IM 308-C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-7
5-3 Method of operation, IM 308-C as DP slave . . . . . . . . . . . . . . . . . . . . . . . . . 5-14
5-4 Structure of device-specific diagnostics of the IM 308-C as DP slave . . . . 5-16
Tables
1-1 Permissible cable length of a bus segment as a function of baud rate . . . 1-5
1-2 Permissible cable length of a segment incorporating RS 485 repeaters . . 1-7
1-3 Mechanical design of and applications for IP 20 bus connectors . . . . . . . 1-17
2-1 Planning the layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2-2 Setting up the ET 200 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2-3 COM PROFIBUS and STEP 5 in parallel . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2-4 Parameterizing and saving the configuration . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2-5 STEP 5 application program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2-6 Initial operation of the ET 200 (with IM 308-C) . . . . . . . . . . . . . . . . . . . . . . . 2-7
3-1 In-building cable routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3-2 Overvoltage-protection components for coarse protection . . . . . . . . . . . . . 3-20
3-3 Fine protection of lines by means of overvoltage-protection
components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21
3-4 Example of configuration with adequate lightning protection (legend for Fig. 3-6)
3-22
3-5 Characteristics of the PROFIBUS cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-24
3-6 IP 20 bus connectors, configuration and applications . . . . . . . . . . . . . . . . 3-26
3-7 IP 20 bus connectors, technical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27
3-8 Pin assignment of the 9-pole D-sub connector . . . . . . . . . . . . . . . . . . . . . . . 3-28
3-9 Permissible cable lengths for a segment using RS 485 repeaters . . . . . . . 3-29
3-10 Length of droplines per segment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-30
3-11 Features of the fiber-optic cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-41
3-12 Order numbers – fiber-optic cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-42
3-13 Order numbers – Simplex connectors and connector adapters . . . . . . . . 3-44
3-14 Permissible cable lengths on the optical PROFIBUS-DP network
(partyline topology) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-44
4-1 Maximum cable length of a segment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4-2 Maximum cable length between two stations . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4-3 Description and functions of the RS 485 repeater . . . . . . . . . . . . . . . . . . . . 4-3
4-4 Technical data of the RS 485 repeater . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
4-5 Pin assignment of the 9-pin sub-D adapter (programmer/OP interface) . . 4-4
4-6 Description and functions of the PROFIBUS Terminator . . . . . . . . . . . . . . . 4-13
4-7 Technical specifications of the PROFIBUS Terminator . . . . . . . . . . . . . . . . 4-14
5-1 Controls and features of the IM 308-C master interface . . . . . . . . . . . . . . . 5-3
5-2 Meanings of ”BF” LED on the IM 308-C master interface . . . . . . . . . . . . . . 5-4
5-3 Meanings of the LEDs on the IM 308-C master interface . . . . . . . . . . . . . . 5-5
5-4 Technical data of the IM 308-C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-8
5-5 Slots in the S5-115U system, CR 700-0 module rack . . . . . . . . . . . . . . . . . . 5-9
5-6 Slots in the S5-115U system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-9
5-7 Slots in the S5-135U/S5-155U system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-10
5-8 Flashing code output by LEDs on IM 308-C when the operating system
is loaded from memory card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-13
6-1 Maximum data lengths and consistent areas in bytes for the IM 308-C . . 6-2
6-2 Modes of addressing with the IM 308-C as DP master . . . . . . . . . . . . . . . . 6-5
6-3 Assignment of pages to IM 308-C master interfaces . . . . . . . . . . . . . . . . . . 6-8
6-4 How page addressing works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-9
6-5 Structure of master diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-15
6-6 Appearance of master diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-16
6-7 Structure of slave diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-18
6-8 Structure of station status 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-19
6-9 Structure of station status 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-20
Goal After reading this chapter, you should know what the ET 200 distributed I/O
system is and you should be familiar with its principal components.
What is ET 200? When a conventional system is set up, the I/O modules are usually grouped
together in the programmable controller.
If the inputs/outputs are distant from the programmable controller, the cab-
ling may be complex and cumbersome, while reliability may be impaired by
disruptive electromagnetic fields.
Under these circumstances, Siemens recommends the use of the ET 200 dis-
tributed I/O system. The controller CPU is located at a central point, the in-
puts and outputs are distributed so as to be at their most efficient, and the
high- performance ET 200 bus system with its high data-transfer rates en-
sures excellent communication between the CPU and the I/O stations via the
PROFIBUS.
What does ET 200 The distributed I/O system consists of active (master) and passive (slave)
consist of? stations interconnected by the PROFIBUS.
ET 200 also includes the COM PROFIBUS parameterization software which
enables you to set up and commission the distributed configuration.
What is a master? A master is an active station on the PROFIBUS. This means that only a mas-
ter can send data to other stations on the PROFIBUS and request data from
them.
What is a slave? A slave is a passive station on the PROFIBUS. This means that it can only
exchange data with the master when requested to do so.
You can operate up to 124 slaves in the ET 200 distributed I/O system.
Addressing the When you use the control program, you access the distributed inputs/outputs
distributed I/Os in just the same way as those of the central programmable controller (e.g.
L PW/T PW).
If you use the IM 308-C master interface, FB IM308C is available for
straightforward data interchange (FB 230 is provided for the S5-95U).
What does the The PROFIBUS-DP transfers data at a maximum rate of 12 Mbaud, so
PROFIBUS do? reaction times are short, while the PROFIBUS-FMS transfers at up to
1.5 Mbaud for medium reaction times.
You can use either shielded, two-wire cables or fiber optics to set up your
PROFIBUS.
The maximum range with copper cabling is 10,000 meters; fiber optics ex-
tend the range to 90 km.
The bus connectors are of a design such that slaves can be linked to or dis-
connected from the bus without interrupting data traffic.
Reaction time of The average reaction time of the PROFIBUS-DP is approx. 1 ms under the
PROFIBUS-DP following conditions:
one DP master on the bus (IM 308-C)
up to 30 DP slaves with a total of 128 bytes inputs/128 bytes outputs
12 Mbaud transfer rate
no transfer of diagnostics data and consistent areas
What is a bus The ET 200 distributed I/O system consists of at least one bus segment. If the
segment? ET 200 consists of only one bus segment, this segment has at least two sta-
tions, one of which is a master.
A bus segment can consist of up to 32 stations, all physically connected by a
bus cable.
Cornerstone data You can interconnect a maximum of 32 stations in a single bus segment.
for a bus segment
The maximum physical length of a bus segment depends on the baud rate
used (see Table 1-1).
Table 1-1 Permissible cable length of a bus segment as a function of baud rate
Rules for more You must insert RS 485 repeaters between the bus segments:
than one bus
if you want to have more than 32 stations connected to the bus, or
segment
if the maximum permissible cable length per segment is exceeded (see
Table 1-1).
All the bus segments together must have at least one master and one slave.
Master No. 20
Segment 1
Segment 2
R Slave No. 10
Segment 3
Cornerstone data In the ET 200 distributed I/O system, you can operate a maximum of 126 sta-
for linking bus tions on a single bus. Of this total, a maximum of 124 can be DP slaves. The
segments maximum number of slaves you can address with an IM 308-C is 122.
The maximum number of stations per bus segment diminishes with each
RS 485 repeater inserted in the system (because of power consumption). This
means as that soon as you include an RS 485 repeater in a segment, the seg-
ment in question can accommodate a maximum of only 31 other stations.
Note that the number of RS 485 repeaters has no effect on the maximum
number of stations connected to the bus.
Up to 10 bus segments can be connected in series. The distance between the
two most widely separated stations must not exceed the appropriate value
shown in the table below.
Overview In the distributed I/O system, the following can function as masters:
In SIMATIC S5 and COM PROFIBUS:
S5-115U, S5-135U and S5-155U programmable controllers, each with
– one IM 308-C as DP master up to 12 Mbaud (COM PROFIBUS V 1.0
or later versions), or
– one IM 308-B as DP master up to 1.5 Mbaud (up to COM PROFIBUS
V 4.x), or
– one CP 5431 as Combimaster for PROFIBUS-FMS and PROFIBUS-
DP
S5-95U programmable controller with DP master interface (COM ET 200
V 2.0 or later versions),
In SIMATIC S7 and STEP 7:
CPU 315-2 DP with integrated DP interface or the SIMATIC NET com-
munications processor CP 342-5 in S7-300
CPU 413-2 DP/414-2 DP/416-2 DP with integrated DP interface or the
SIMATIC NET communications processor CP 443-5 in S7-400
In SIMATIC M7:
IF 964-DP interface module in M7-300 and M7-400
or ...
PG 720, PG 740, PG 760 programmers with integrated interface
PG 720, PG 730, PG 740, PG 750, PG 760, PG 770 programmers or AT-
PCs with the SIMATIC NET PC modules
– CP 5412 (A2) as FMS/DP master
– CP 5411 + SOFTNET for PROFIBUS as DP master
– CP 5511 + SOFTNET for PROFIBUS as DP master
PROFIBUS-DP master interface IM 180
SIMATIC 505-FIM (Field Interface Module) for connecting a SIMATIC
TI505
IM 329-N for SINUMERIK 840C and SINUMERIK 805SM
SIMADYN D digital control system
CP 581 TM-L2 as interface to TELEPERM M
Other Siemens or other-vendor masters.
Definition The IM 308-C master interface links the PROFIBUS-DP to the CPUs in the
S5-115U, S5-135U and S5-155U programmable controllers.
Backplane connector X1
Memory card
FLASH
Jumper X9
Mode selector
switch RN
ST
OFF
RN Backplane connector X2
OF
BF
LEDs IF
Additional See chapter 5 for a detailed description of the IM 308-C master interface.
information
Definition One version of the S5-95U has an integral interface for connecting the
S5-95U as a DP master to the PROFIBUS-DP.
DP master interface
Overview The following can be used as DP slaves in the distributed I/O system:
Distributed I/O stations: ET 200B, ET 200C, ET 200M, ET 200S,
ET 200X (up to 12 Mbaud) and ET 200U, ET 200L (up to 1.5 Mbaud)
Progammable controllers/automation systems, such as:
– S5-115U, S5-135U or S5-155U with IM 308-C as DP slave
– S5-95U with DP slave interface (up to 1.5 Mbaud)
– S7-300 with CPU 315-2 DP or CP 342-5 as DP slave
– S7-400 with CP 443-5 as DP slave
Interface to the actuator/sensor interface with the DP/AS-I link
Text displays and operator panels for local operator control and monitor-
ing
MOBY identification systems
Low- voltage switchgear
Siemens or other-vendor field devices, such as drives, valve islands, etc.
FMS slaves may be, for example, the ET 200U or SIMOCODE, the motor
protection and control unit.
ET 200B (DP slave) The ET 200B is a small, compact I/O station. It is a slimline module and its
degree of protection is IP 20. The ET 200B is particularly suitable for ap-
plications requiring a limited number of inputs/outputs or where space is at a
premium.
The ET 200B distributed I/O station consists of the terminal block (TB) for
the inhouse wiring and the electronics block (EB). The ET 200B connects to
the PROFIBUS-DP field bus by means of bus connectors.
ET 200C (DP slave) The ET 200C is a small, compact I/O station. The degree of protection is
IP 66/67. On account of its sturdy design, the ET 200C is eminently suitable
for use in harsh industrial environments.
The ET 200C distributed I/O station consists of a sturdy metal housing with
integrated inputs/outputs and the interface for the PROFIBUS-DP field bus.
ET 200L (DP slave) The ET 200L is a small, compact I/O station. The degree of protection is
IP 20 and it is suitable for baud rates up to 1.5 Mbaud.
On account of its compact, slimline design, the ET 200L is eminently suit-
able for applications where space is at a premium or where only a limited
number of inputs/outputs are required.
ET 200M (DP slave) The ET 200M is a slave interface for the modules of the S7-300 line.
The ET 200M is eminently suitable for applications requiring a large number
of locally installed inputs/outputs or modules from the S7-300 range.
The ET 200M consists of the IM 153 slave interface, the power supply unit
and up to 8 modules from the S7-300 range.
ET 200U (DP slave The ET 200U is a slave interface module for the I/O modules of the
and FMS slave) S5-100U.
The ET 200U distributed I/O station is compatible with both PROFIBUS-DP
and PROFIBUS-FMS.
The ET 200U is eminently suitable for applications requiring a large number
of locally installed inputs/outputs or modules from the S5-100U I/O range
(e.g. CPs and IPs).
The ET 200U consists of the IM 318-B or IM 318-C slave interface module
plus modules from the S5 I/O range.
ET 200S (DP slave) ET 200S is a fine-step modular I/O device that offers the highest possible
degree of flexibility.
You can connect virtually any number and combination of I/O modules next
to the interface module, which transfers the data to the DP master. This
means you can configure the system exactly to suit local requirements.
ET 200X (DP slave) The ET 200X is a small, modular I/O station. The degree of protection is
IP 66/67.
On account of its modular design and its integrated load feeders, e.g. direct-
on-line or reversing starters, the ET 200X is eminently suitable for use in
harsh industrial environments where only a limited number of inputs/outputs
are required.
DP/AS-I link (DP The DP/AS-I link connects the actuator-sensor interface to PROFIBUS-DP.
slave) Its degree of protection is high (IP 66/67), so the DP/AS-I link is ideal for use
in harsh industrial environments.
S5-95U (DP slave) One version of the S5-95U has an integrated interface for connecting the
S5-95U as a DP slave to the PROFIBUS-DP.
The S5-95U with DP slave interface is suitable for applications which require
local intelligent signal preprocessing.
Additional You can find additional information about the above-mentioned products in
information the Catalog ST PI (PROFIBUS & AS Interface) Components on the Field
Bus.
Definition The PROFIBUS interconnects all stations. The physical connection to these
stations is effected by means of bus connectors (exception: RS 485 repeaters
and programmer interface).
Definition You require the COM PROFIBUS parameterization software in order to plan
the layout of the distributed I/O system and to go operational when the sys-
tem is installed.
COM PROFIBUS
Export via
PROFIBUS
Memory card
DP master IM 308-C
Additional You will find a detailed description of COM PROFIBUS in the form of an
information electronic manual (PDF) on the COM PROFIBUS CD-ROM. You can print
out the COM PROFIBUS manual from the CD-ROM and insert it in Chap-
ter 12 (which is a placeholder) of this manual.
You will find the order number of the COM PROFIBUS CD-ROM in Appen-
dix G.
Connecting the The following options exist for connecting the bus to the station ...
bus ... For electrical networks (copper cable):
Bus connectors with IP 20 protection (see section 1.7.1)
Bus connectors with IP 66/67 protection (e.g. to the ET 200C)
... For optical networks (fiber-optic cables):
Fiber-optic cable Simplex connectors with IP 20 protection (see Sec-
tion 1.7.2)
Signal RS 485 repeaters are used to amplify the electric signal (see section 1.7.3).
amplification Optical link modules (OLMs) are used to amplify the optical signal up to
1.5 Mbaud.
Electrical/optical If you want to use the field bus for larger distances irrespective of the trans-
conversion mission rate, or if you do not want the data traffic on the bus to be impaired
by external interference fields, use fiber-optic cables instead of copper ca-
bles.
There are two ways to convert electrical cables to fiber-optic cables:
PROFIBUS nodes with a PROFIBUS-DP interface (RS 485) are connec-
ted to the optical network via an optical bus terminal (OBT) or via the
optical module link (OLM).
PROFIBUS nodes with an integrated fiber-optic cable interface (e.g.
ET 200M (IM 153-2 FO), S7-400 (IM 467 FO)) can be integrated in the
optical network directly.
The structure of optical networks with an optical link module (OLM) is des-
cribed in detail in the manual SIMATIC NET PROFIBUS Networks. You will
find the most important information on the structure of an optical PROFI-
BUS-DP network with PROFIBUS nodes that have an integrated fiber-optic
cable interface in Section 3.8 of this manual.
Definition The bus connector connects the bus cable (copper cable) with the station.
The bus connector enables you to isolate a station (under certain circum-
stances) without interrupting the data traffic on the bus.
Mechanical design There are various bus connectors with IP 20 protection, the different uses of
which are indicated in Table 1-3. There are also special bus connector types
with IP 65 protection. You will find a detailed description of the bus connec-
tors in Chapter 3.
Definition Simplex connectors connect the fiber-optic cable to the integrated fiber-optic
cable interface of the PROFIBUS device. In some Siemens modules (e.g. the
IM 153-2 FO and the IM 467 FO), two Simplex connectors (one for the sen-
der and one for the recipient) are inserted in the module via a special plug-in
adapter.
Mechanical design Two Simplex connectors (a sender and a recipient) and a plug-in adapter with
the following features are required for a fiber-optic cable connection:
IP 20 protection
Transmission rates of 9.6 kbps to 12 Mbps
Plug-in adapter
Recipient
Sender
Simplex Fiber-optic
connectors cables
Figure 1-6 Simplex connectors and the special plug-in adapter for the IM 153-2 FO and
IM 467 FO (assembled)
Additional You will find a detailed description of the fiber-optic cable connection sys-
information tem in Section 3.8.
Definition An RS 485 repeater regenerates data signals on the bus line (copper cable).
By inserting RS 485 repeaters, you can split the ET 200 distributed I/O sys-
tem into a number of segments, thus bridging longer distances.
Mechanical design The characteristics of the RS 485 repeaters with order numbers
6ES7 972-0AA01-0XA0 are as follows:
degree of protection IP 20
baud rates from 9.6 kbaud to 12 Mbaud
repeater adapters for connecting waveguides
Definition A PROFIBUS Terminator forms an active bus terminating element. The es-
sential benefit is that bus nodes can be disconnected, removed or replaced
without data transfer being impaired.
Mechanical design The PROFIBUS Terminator (order number: 6ES7 972-0DA00-0AA0) has the
following features:
IP 20 protection
Transmission rates of 9.6 kbps to 12 Mbps
Connectable cables: all SIMATIC NET PROFIBUS cables
SIEMENS
PROFIBUS
TERMINA-
TOR
L+M PE A1 B1
Additional You will find a detailed description of the PROFIBUS Terminator in Sec-
information tion 4.8.
Goal After reading this chapter, you should be familiar with the outlines of the
procedure for the distributed I/O system and know where to look for addi-
tional information in this manual.
Layout, planning The first thing to do when planning the layout is to draw up a site plan:
Overview This section indicates the points that must be borne in mind with regard to
the mechanical and electrical layout of the components.
Overview This section deals with the aspects you should consider before starting para-
meterization with COM PROFIBUS.
Decisions Before starting parameterization with COM PROFIBUS, decide on the fol-
lowing:
Overview This section provides a brief outline of the procedure for parameterization
with COM PROFIBUS.
Parameterizing the When you are ready to parameterize and save the configuration, proceed as
configuration follows:
STEP 5 application You must know the following in order to write the STEP 5 application pro-
program gram:
You must know the following in order to write the Additional information
STEP 5 application program ...
... the addresses that the various DP slaves will have in See COM PROFIBUS man-
the STEP 5 application program. ual
... how to access the distributed inputs and outputs in the IM 308-C:
STEP 5 application program: see sections 6.1 and B.7
S5-95U: see section 10.1
... how to use FB IM308C for the IM 308-C. See section 7
... how to interpret diagnostics messages. IM 308-C: see section 6.2
S5-95U: see section 10.4
... what the FREEZE and SYNC control commands See section 6.5
mean and how to send these commands to the DP
slaves.
Initial operation of The procedure for initial operation of the ET 200 distributed I/O system is as
the ET 200 follows:
Goal This chapter contains all the information that you must bear in mind with
regard to routing cables.
After reading this chapter you will know how to connect the bus connectors
and what you must bear in mind when routing the PROFIBUS cable.
Overview Certain rules and regulations apply to use of the ET 200 as a component in a
higher-order system. These rules and regulations vary from application to
application.
In this chapter The various sections of this chapter contain information on the following
topics:
Specific The rules and regulations for safety at work and accident prevention (e.g.
application machine-protection guidelines) must be observed in all instances.
EMERGENCY OFF IEC 204 EMERGENCY OFF facilities must remain effective in all operating
facilities modes of the plant or system.
System startup The table below lists the points to bear in mind when a system starts up after
after certain events certain events.
Mains power The important points are listed in the table below.
24 V DC supply The points to bear in mind with regard to the 24 V supply are as follows:
Protection against The points of importance with regard to protection against external electrical
external electrical effects and faults are shown below.
effects
Introductory The EMC rules with regard to in-building cable routing (inside and outside
remarks cabinets) require certain clearances to be maintained between individual line
groups. Table 3-1 shows the general rules with regard to spacing as they ap-
ply to cable selection.
How to read the If you want to know how two cables of different types should be routed, pro-
table ceed as follows:
1. Find the first cable type in column 1 (cables for ...).
2. Find the second cable type in the corresponding section of column 2 (and
cables for ...).
3. Read off the applicable guidelines in column 3 (route ...).
Cable routing rules The rules that apply to in-building routing and EMC also apply outdoors.
for EMC Outdoor cabling is also subject to the following rules:
Lay cables on metal cable carriers.
Galvanically connect the butting faces of cable-carrier sections.
Ground the cable carriers.
If necessary, ensure adequate potential equalization between the con-
nected devices.
Provide adequate lightning protection and grounding as applicable in your
case (see below).
Additional Section 3.2 contains additional information on lightning protection for the
information ET 200 distributed I/O system. If you have any questions, do not hesitate to
contact your local Siemens branch or a company specializing in lightning
protection.
When do Differences in potential can occur, for example, when different mains sup-
differences in plies are used. Damage may be caused to the system as a result of potential
potential occur? differences between various system parts if:
programmable controllers and inputs/outputs are connected by potential-
bonded couplings,
or
cable shields are connected at both ends and grounded to different parts of
a system.
Avoiding potential It is important to install potential equalization lines in order to minimize po-
differences tential differences and ensure the functionality of the electronic components.
Note
Equipotental bonding conductors are not necessary if the parts of the system
are connected to each other exclusively by means of fiber-optic cables.
Note
If a potential difference occurs between the grounding points, an equaliza-
tion current can flow through a shield connected at both ends.
In this case, install an additional potential equalization line.
Figure 3-1 Securing shielded cables with cable clamps and cable ties (schematic
diagram)
Installation and When the devices are installed, it is important to ensure that the inactive
grounding of metal components are correctly grounded with connectors having large con-
inactive metal tact areas. Correct grounding establishes a uniform reference potential for the
components control system and reduces the effects on spurious interference.
Grounding means the conductive connection of all inactive metal compo-
nents. The entirety of all interconnected inactive components is known as the
machine ground.
Inactive metal components are all conductive parts electrically isolated from
active parts by basic insulation at least and which can become charged only if
a fault occurs.
Even if a fault occurs, the ground may under no circumstances carry volt-
age that could cause injury in the event of accidental contact. The ground
must, therefore, be connected to the protective conductor. In order to avoid
ground loops, a star pattern must be adopted when grounded objects (cabi-
nets, parts of structures and machines) not immediately adjacent to each
other are connected to the protective conductor system.
Note the following:
1. When connecting the inactive metal parts, exercise the same meticulous
care and attention as with active parts.
2. Make sure that metal-to-metal connections are low-ohmic, i.e. use con-
nectors that are efficiently conductive and which have large contact areas.
3. If painted or anodized metal parts are included in grounding, these insu-
lating protective surface coatings must be penetrated. Use special contact
washers or remove the surface coatings down to bare metal.
4. Protect the assembled connections against corrosion, e.g. by applying a
coat of grease.
5. Use flexible grounding straps to connect moving grounded parts (e.g.
doors of cabinets). The grounding straps should be short and have a large
surface area, because the surface area is critical for the removal of high-
frequency interference.
- -
Circuit with A circuit incorporating diodes/Zener diodes has the following properties:
diodes/Zener
Shutdown overvoltages can be avoided completely
diodes
High shutdown delay (6 to 9 times higher than without protective cir-
cuitry)
~ ~
~ ~
Figure 3-3 Circuits with AC-actuated coils
Programming Each cabinet must feature a power point for connecting the programming
units: connection units to the mains supply. These power points must receive their supply via
to power supply the distribution board to which the protective conductor of the cabinet is con-
nected.
Cabinet lighting Use bulbs such as LINESTRAR bulbs for the cabinet lighting. Do not use
fluorescent tubes, because they generate interference fields. If there is no
alternative to fluorescent tubes, adopt the measures illustrated in Fig. 3-4.
Shielded cable
Metal-encapsulated switch
Figure 3-4 Measures for suppressing interference from fluorescent tubes in cabinets
In this chapter This chapter describes ways and means of protecting your automation system
against overvoltage surge and lightning strike.
Introduction Overvoltage is one of the most frequent causes of failure. These dangerous
voltage surges can be caused by:
switching operations in power-supply networks
atmospheric discharges, or
electrostatic discharges
In this context, it is important to understand the theory of overvoltage protec-
tion, in other words the concept of zoned lightning protection.
This chapter contains an outline of this concept, plus a discussion of the rules
governing the measures to be adopted at the interfaces between the individual
zones.
Note
This chapter merely indicates how to protect an automation system against
overvoltage.
Bear in mind that complete protection against overvoltage can be ensured
only if the entire structure which houses the system incorporates adequate
overvoltage-protection measures. This is especially significant for structural
measures intended for buildings in planning.
If you would like comprehensive information on overvoltage protection, we
strongly recommend that you consult your Siemens contact partner or a com-
pany which specializes in lightning protection.
In-depth literature The proposals advanced in this chapter are based on the concept of zoned
lightning protection as described in IEC standard 1024-2 Protection against
LEMP.
Principle of zoned The principle of zoned lightning protection requires that the volume (a fac-
lightning tory building, for example) to be protected against overvoltage be subdivided
protection into zones by the application of EMC criteria (see Fig. 3-5).
The individual lightning-protection zones are formed by
Lightning strikes Direct lightning strikes occur in lightning-protection zone 0, producing high-
and overvoltages energy electromagnetic fields that must be reduced or dissipated by suitable
lightning-protection elements/measures as they pass from one zone to the
next.
In lightning-protection zones 1 and higher, overvoltages may occur as the
result of switching operations, coupling operations, etc.
Building
External shield
lightning (steel re-
prot. Lightning-protection zone 1
inforcing)
Room shield
Internal
line
Principle of the At the interfaces between the lightning-protection zones, you must provide
interfaces between measures to prevent or hinder the passage of overvoltage surges.
the lightning-
The principle of establishing lightning-protection zones also requires that all
protection zones
lines capable of carrying the lightning pulse between the lightning-protection
zones be included in the potential equalization system for lightning protec-
tion.
Lines capable of carrying the lightning pulse include:
metal pipes (e.g. for water, gas and heat)
cables in power systems (e.g. mains supply, 24 V supply)
and
cables in information systems (e.g. bus line)
Rules for the 0 1 Suitable measures for potential equalization in the lightning-protection sys-
interface (potential tem at the interface between lightning-protection zones 0 1 are as follows:
equalization in
lightning
Use twisted metal straps or metal braids of sufficient current-carrying
protection system) capacity as cable shields, e.g. NYCY or A2Y(K)Y, and ground these
straps at both ends;
or
lay the cables in
– continuously connected metal conduits grounded at both ends, or
– in reinforced-concrete ducts with continuous reinforcing members, or
– on enclosed cable trays made of metal and grounded at both ends.
or
use fiber-optic waveguides instead of lines which are capable of carrying
the surge current.
Ser. Lines for ... ... install the following at the 0 ´ 1 inter- Order No.
No. face:
1 Three-phase TN-C system 3 pcs. DEHNport lightning diverter, phases 900 1001
L1/L2/L3 to PEN
Three-phase TN-S and TT systems 4 pcs. DEHNport lightning diverter, phases 900 1001
L1/L2/L3/N to PE
Alternating current TN-L, TN-S-, TT 2 pcs. DEHNport lightning diverter, phases 900 1001
systems L1+, N to PE
2 24 V DC supply 1 pc. Blitzductor KT, Type AD 24 V DSN: 919 2532
3 PROFIBUS bus line up to 500 kbaud: 1 pc. Blitzductor KT, DSN: 919 2322
Type ARE 8 V
over 500 kbaud: 1 pc. Blitzductor KT, Type DSN: 919 2702
AHFD 5 V
4 Inputs/outputs of digital modules
24 V DC 1 pc. Blitzductor KT, Type AD 24 V DSN: 919 2532
110/220 V AC 2 pc. DEHNguard 150 overvoltage diverter 900 6031
Inputs/outputs of analog modules
up to " 12 V 1 pc. Blitzductor KT, Type ALE 15 V DSN: 919 2202
up to " 24 V 1 pc. Blitzductor KT, Type ALE 48 V DSN: 919 2272
up to " 48 V 1 pc. Blitzductor KT, Type ALE 60 V DSN: 919 2222
1 Order components directly from: DEHN + Soehne, Elektrotechnische Fabrik, Hans-Dehn-Str. 1, D-92318 Neumarkt,
Germany
2 Order numbers as per catalog Service XV 10. The order number of this catalog is E89700-S1034-X-A3.
Rules for the 1 ´ 2 The rules for all lightning-protection zone interfaces 1 ´ 2 and higher are as
interfaces and follows:
higher
Provide local potential equalization at each lightning-protection zone in-
(local potential
terface.
equalization)
At all lightning-protection zone interfaces, include all lines (e.g. metal
pipes, etc.) in the local potential equalization measures.
Include all metal fittings inside the lightning-protection zone in the local
potential equalization system (e.g. metal components inside lightning
protection zone 2 must be included in measures implemented at the 1 ´ 2
interface).
Ser. Lines for ... ... at the 1 ´ 2 interface and higher, install: Order No.
No.
1 Three-phase TN-C system 3 pcs. DEHNguard 275 overvoltage diverter 900 6001
Three-phase TN-S and TT systems 4 pcs. DEHNguard overvoltage diverter 275 900 6001
Alternatiing current TN-L, TN-S, TT 2 pcs. DEHNguard 275 overvoltage diverter 900 6001
systems
2 24 V DC supply 1 pc. Blitzductor KT, Type AD 24 V DSN: 919 253 2
3 PROFIBUS bus line up to 500 kbaud: 1 pc. Blitzductor KT, Type DSN: 919 2322
ARE 8 V
over 500 kbaud: 1 pc. Blitzductor KT, Type DSN: 919 270 2
AHFD 5 V
4 Inputs/outputs of digital modules
24 V DC 1 pc. Blitzductor KT, Type AD 24 V DSN: 919 2532
110/220 V AC 2 pcs. DEHNguard 150 overvoltage diverter 900 6031
Inputs/outputs of analog modules
up to " 12 V 1 pc. Type FDK 12 V OV terminal DSN: 919 9992
up to " 24 V 1 pc. Type FDK 24 V OV terminal DSN: 919 9982
up to " 48 V 1 pc. Type FDK 60 V OV terminal DSN: 919 9972
1 Order components directly from: DEHN + Soehne, Elektrotechnische Fabrik, Hans-Dehn-Str. 1, 92318 Neumarkt,
Germany
2 Order numbers as per catalog Service XV 10. The order number of this catalog is: E89700-S1034-X-A3.
Introduction This section contains an example illustrating how the ET 200 distributed I/O
system can be protected against overvoltage surges.
Components for Table 3-4 refers to Fig. 3-6 and clarifies the items referred to by their serial
lightning numbers:
protection
Table 3-4 Example of configuration with adequate lightning protection (legend for
Fig. 3-6)
ÎÎÎ
Copper plate Shield
ÎÎÎ Clamp
6 Potential equalization cable, 16 mm2 –
7 Blitzduktor KT, type AHFD, for Fine protection against over-
building transition voltages for RS 485 interfaces
Order No.: DSN 919 2702 at interface 0 1
1 Order components directly from: DEHN + Soehne, Elektrotechnische Fabrik, Hans-
Dehn-Str. 1, 92318 Neumarkt, Germany
2 Order numbers as per catalog Service XV 10. The order number for this catalog is
E89700-S1034-X-A3.
Sample Fig. 3-6 is an example showing how the distributed I/O system must be con-
configuration figured for effective protection against overvoltage surges:
Lightning-protection zone 1
Cabinet 1 Cabinet 2
Lightning-prot. zone 2 Lightning-protection zone 2
Slave
PS, IM
CPU 308-C
6 mm2
A A
B B
10 mm2
PE 10 mm2
PE
Figure 3-6 Example showing lightning protection for the ET 200 distributed I/O system
Characteristics of Use a two-conductor, twisted, shielded cable with the following characteris-
the bus cable tics as the bus cable:
Designation Normal Normal with Buried cable Drum cable1 Normal cable
PE sheath with festoon 1
Order number 6VX1 ... 830-0AH10 830-0BH10 830-3AH10 830-3BH10 830-3CH10
Attenuation at
S 16 MHz < 45 dB/km < 52 dB/km
S 4 MHz < 22 dB/km < 25 dB/km
S 38.4 kHz < 5 dB/km < 5 dB/km
S 9.6 kHz < 3 dB/km < 3 dB/km
Characteristic impedance at
S 9.6 kHz 270 " 27 W
S 38.4 kHz 185 " 18,5 W
S 3 to 20 MHz 150 " 15 W
Rated value 150 W
Loop resistance v 110 W/km v 110 W/km v 132 W/km
Shield impedance v 9.5 W/km v 12 W/km v 14 W/km
Operating capacitance at 1 kHz approx. 28.5 nF/km
Operating voltage (rms value) v 100 V
Cable type (standard designation) 02Y (ST) 02Y (ST) 02Y (ST) 02Y (ST) 02Y (ST) C
CY C2Y CY2Y C11Y (ZG) 11Y
1 2 0.64/ 1 2 0.64/ 1 2 0.64/ 1 2 0.64/ 1 2 0.64/
2.55- 2.55- 2.55- 2.55- 2.55-
150 KF 40 150 SW 150 KF 40 150 LI petrol 150 LI petrol
FR VI SW
Sheath
S Material PVC PE PE PUR PUR
S Color violet black black petrol petrol
S Diameter (in mm) 8.0 " 0.4 8.0 " 0.4 10.2 " 0.4 8.5 " 0.4 9.7 " 0.4
Permissible ambient conditions
S Operating temperature –40 _C to +60 _C –40 _C to +60 _C
S Transport/storage temperature –40 _C to +60 _C –40 _C to +60 _C
S Laying temperature –5 _C to +50 _C –5 _C to +60 _C
Bending radius
S Single bending " 75 mm " 40 mm " 75 mm " 45 mm " 50 mm
S Multiple bending " 150 mm " 80 mm " 100 mm " 65 mm " 80 mm
Permissible tensile force 45 N 35 N
Weight 59 kg/km 52 kg/km 90 kg/km 74 kg/km 74 kg/km
Use of halogen Yes No Yes No No
Designation Normal Normal with Buried cable Drum cable1 Normal cable
PE sheath with festoon 1
Behavior in fire Flame-retar- Flammable Flammable Flame-retar- Flame-retar-
dant to VDE dant to VDE dant to VDE
0472 T804, 0472 T804, 0472 T804,
test type C test type B test type B
Resistance to oil Conditional resistance to mineral oils and Good resistance to mineral oils
greases and greases
Resistance to UV light No Yes Yes Yes Yes
1 Segment lengths restricted
Applications You need bus connectors to connect the PROFIBUS to a station. There is a
choice of IP 20 bus connectors; the uses of the various types are shown in
Table 3-6.
35_ outgoing
30_ outgoing
cable unit
cable unit
Recommended for:
S IM 308-B ~ (since release 6) ~ ~
S IM 308-C ~ ~ ~
S S5-95U ~ ~
S S7-300 ~ ~ ~
S S7-400 ~ ~ ~
S M7-300 ~ ~ ~
S M7-400 ~ ~
S CP 5412 (A2) ~
S CP 5411 ~
S CP 5511 ~
S CP 5611 ~
S ET 200B ~ ~ ~
S ET 200L ~ ~ ~
S ET 200M ~ ~ ~
S ET 200S ~ ~ ~
S ET 200U ~ ~ ~
S PG 720/720C ~ ~ ~
S PG 730 ~ ~ ~
S PG 740 ~ ~ ~
S PG 750 ~ ~ ~
S PG 760 ~ ~ ~
Technical data The technical data of the various bus connectors is shown in the table below:
Order numbers 6ES7 972- 6ES7 972- 6ES7 972- 6GK1 500-
... 0BA11-0XA0 ... 0BA40-0XA0 0BA30-0XA0 0EA00
... 0BB11-0XA0 ... 0BB0-0XA0
Programmer socket 0BA11: no 0BA40: no no no
0BB11: yes 0BB40: yes
Max. baud rate 12 Mbaud 12 Mbaud 1.5 Mbaud 12 Mbaud
Terminating resistor optionally optionally no optionally
activatable activatable activatable
Outgoing cable vertical inclined 35_ inclined 30_ axial
Interfaces
S PROFIBUS sta- 9-pole sub-D socket 9-pole sub-D socket 9-pole sub-D socket 9-pole sub-D socket
tion 4 terminal blocks for 4 terminal blocks for 4 insulation-piercing 4 terminal blocks for
S PROFIBUS bus wires up to 1.5 mm2 wires up to 1.5 mm2 connecting devices wires up to 1.5 mm2
cable for wires 0.644 "
0.04 mm
Connectable PROFI- 8 " 0.5 mm 8 " 0.5 mm 8 " 0.5 mm 8 " 0.5 mm
BUS cable diameter
Supply voltage (must DC 4.75 to 5.25 V DC 4.75 to 5.25 V DC 4.75 to 5.25 V DC 4.75 to 5.25 V
be obtained from ter-
minal device)
Current consumption max. 5 mA max. 5 mA max. 5 mA max. 5 mA
Permissible ambient
conditions
S Operating temper- 0 _C to +60 _C 0 _C to +60 _C 0 _C to +60 _C 0 _C to +55 _C
ature
S Transport/storage –25 _C to +80 _C –25 _C to +80 _C –25 _C to +80 _C –25 _C to +70 _C
temperature
S Relative humidity max. 75 % at +25 _C max. 75 % at +25 _C max. 75 % at +25 _C max. 95 % at +25 _C
Dimensions (in mm) 15.8 54 34 15.8 54 38 15 58 34 15 39 57
Weight approx. 40 g approx. 40 g approx. 30 g approx. 100 g
Bus connector not You do not require the IP 20 bus connectors for:
necessary
IP 65 slaves (e.g. ET 200C)
RS 485 repeaters
Disconnecting a Under certain circumstances, the bus connector enables you to disconnect a
station station from the bus without interrupting traffic on it.
Bus connector We recommend fitting at least one bus connector with a programmer socket
with programmer in each bus segment. This will make it easier for you to start up with a pro-
socket grammer or a PC.
Pin assignment of Table 3-8 shows the pin assignment of the 9-pole D-sub connector.
sub-D connector
The assignment of pin nos. 1, 2, 7 and 9 corresponds to that of the connected
device. Pins 4, 5 and 6 of the bus connector with order number
6ES7 972-0BA30 ... are not wired.
Rules for laying When you lay the bus cable, take great care to ensure that it is:
cables
not twisted
not stretched and
not compressed.
When laying the bus cable, moreover, you must observe the boundary condi-
tions stated in section 3.3.
Maximum cable The maximum cable lengths as stated in the table below are guaranteed only
length for PROFIBUS bus cables.
Table 3-9 Permissible cable lengths for a segment using RS 485 repeaters
Length of If you do not connect the bus cable directly to the bus connector (e.g. when
droplines using an PROFIBUS bus terminal), you must take the maximum permissible
length of a dropline into account.
The maximum lengths for droplines per bus segment are shown in the table
below.
At baud rates of 3 Mbaud and higher, connect the programmer or PCs by
means of programmer droplines having the order number
6ES7 901-4BD00-0XA0. You can use multiple droplines with this order num-
ber in a bus configuration. Other droplines are not permitted.
Appearance (6ES7 The bus connector with the order number 6ES7 972-0B.11 ... is illustrated
972-0B.11 ...) below:
Switch for
terminating resistor
Housing screws
Figure 3-7 Bus connector with order number 6ES7 972-0B.11 ...
Preparing the bus To connect the bus cable to a bus connector with order number
cable 6ES7 972-0B.11 ... proceed as follows:
1. Strip the ends of the cable conductors as shown in Fig. 3-8.
6 23 6
2. To open the housing of the bus connector, slacken the securing screws and
lift off the cover.
3. Insert the green and red conductors in the screw terminals as shown in
Fig. 3-9.
Make sure that you always connect the same conductors to the same ter-
minal A or B (e.g. always connect the green conductor to terminal A and
the red conductor to terminal B).
4. Press the cable sheath between the two retainers to hold the cable in posi-
tion.
5. Tighten the screws to secure the conductors in their respective terminals.
Bus cable connection for first Bus cable connection for all
and last stations on the other stations on the bus
bus1
A B A B A B A B
1: The bus cable can be connected to either the left or right set of terminals!
Figure 3-9 Connecting bus cable to bus connectors with order number
6ES7 972-0B.11 ...
Appearance (6ES7 Fig. 3-10 shows the bus connector with order number 6ES7 972-0BA30 ...:
972-0BA30 ...)
Housing screws
Figure 3-10 Appearance of the bus connector with order number 6ES7 972-0BA30 ...
Installing the bus To connect the bus cable to a bus connector with order number
cable 6ES7 972-0BA30 ..., proceed as follows:
1. Strip the ends of the bus cable as shown in Fig. 3-11.
3 27
A
B
29
3 35
A
B
36
2. Open the housing of the bus connector by slackening the housing screws
and lifting off the cover.
3. Press the bus cable into the strain relief device. The cable shield must lay
naked on the metal guide.
4. Insert the green and red conductors into the guides through the insulation-
piercing connection devices as shown in Fig. 3-12.
Make sure that you always connect the same conductors to the same ter-
minal A or B (e.g. always connect the green conductor to terminal A and
the red conductor to terminal B).
5. Press the red and green conductors gently into the insulation-piercing con-
nection devices with your thumb.
6. Screw the cover on tightly again.
Guides A BA B
Insulation-pierc-
ing connection
devices
Guides
Figure 3-12 Connecting bus cable to bus connector (6ES7 972-0BA30 ...)
Appearance (6ES7 The bus connector with the order number 6ES7 972-0B.40 ... is illustrated
972-0B.40 ...) below:
Figure 3-13 Bus connector with order number 6ES7 972-0B.40 ...
Installing the bus To connect the bus cable to a bus connector with order number
cable 6ES7 972-0B.40 ... proceed as follows:
1. Strip the ends of the cable conductors as shown in Fig. 3-14.
6XV1 830–0AH10
5
A1 B1
16 5
2. To open the housing of the bus connector, slacken the securing screws and
lift off the cover.
3. Insert the green and red conductors in the screw terminals as shown in
Fig. 3-15.
Make sure that you always connect the same conductors to the same ter-
minal A or B (e.g. always connect the green conductor to terminal A and
the red conductor to terminal B).
4. Press the cable sheath between the two retainers to hold the cable in posi-
tion.
Figure 3-15 Connecting the bus cable to the bus connector (6ES7 972-0B.40 ...)
Connecting the The procedure for connecting the bus connector is as follows:
bus connector
1. Push the bus connector into position on the module adapter.
2. Tighten the screws to secure the connector to the module.
3. If the bus connector is at the start or end of a segment, you must activate
the terminating resistor (set switch to ”ON) (see Fig. 3-16).
You can activate the terminating resistor for bus connectors with order
number 6ES7 972-0B.11-... or 6ES7 972-0B.40-... .
Make sure that the stations with active terminating resistors are always ener-
gized throughout power-up and operation.
Figure 3-16 Bus connector (6ES7 972-0B.11-...): positions of switch for terminating
resistor in circuit or not in circuit
Disconnecting bus If the bus cable is in a loop, you can disconnect bus connectors from the
connectors PROFIBUS-DP interface at any time without interrupting traffic on the bus.
Warning
! Danger of disrupting data traffic on the bus.
Each bus segment must always have a terminating resistor at each end. Note
that this requirement is not satisfied if the last slave with a bus connector is
deenergized. The bus connector receives its power supply through the sta-
tion, so the terminating resistor has no effect if the supply is shut off.
Take care to ensure an uninterrupted power supply to the stations in which
the terminating resistors are in circuit.
Alternatively, you can use the PROFIBUS Terminator as an active bus termi-
nating element (see Section 4.8).
PNO installation Please comply with the PROFIBUS-DP/FMS Installation Guideline of the
guideline PROFIBUS-Nutzerorganistation (user organization) when using electrical
networks. It describes important measures to be taken as regards the wiring,
cabling and commissioning of PROFIBUS networks.
Publisher PROFIBUS-Nutzerorganisation e. V.
Haid-und-Neu-Straße 7
D-76131 Karlsruhe
Tel: ++49 721 / 9658 590
Fax: ++49 721 / 9658 589
Internet: http//www.profibus.com
Guideline order number 2.111
Electrical/optical If you want to use the field bus for larger distances irrespective of the trans-
conversion mission rate, or if the data traffic on the bus is not to be impaired by external
interference fields, use fiber-optic cables rather than copper cables.
There are two ways to convert electrical cables to fiber-optic cables:
PROFIBUS nodes with a PROFIBUS-DP interface (RS 485) are con-
nected to the optical network via an Optical Bus Terminal (OBT) or via
the Optical Link Module (OLM).
PROFIBUS nodes with an integrated fiber-optic cable interface (e.g.
ET 200M (IM 153-2 FO), S7-400 (IM 467 FO)) can be directly integrated
in the optical network.
How to set up optical networks with the Optical Link Module (OLM) is de-
scribed in detail in the SIMATIC NET PROFIBUS Networks manual. You will
find below the most important information on setting up an optical PROFI-
BUS-DP network with PROFIBUS nodes that have an integrated fiber-optic
cable interface.
Benefits and areas Fiber-optic cables have the following advantages over electrical cables:
of application
Electrical isolation of the PROFIBUS-DP components
Insensitivity to electromagnetic interference (EMC)
No electromagnetic emission into the environment
Thus no need for additional grounding and shielding measures
No adherence to minimum clearances from other cables necessary for
EMC
No need for equipotential bonding conductors
No need for lightning conductors
Maximum permissible cable lengths independent of the transmission rate
Easy installation of the fiber-optic cable connections of the PROFIBUS-
DP components by means of standard fiber-optic cable connectors (Sim-
plex connectors)
Optical The optical PROFIBUS-DP network with nodes that have an integrated fiber-
PROFIBUS-DP optic cable interface has a partyline topology. The PROFIBUS nodes are
network in interconnected in pairs by means of Duplex fiber-optic cables.
partyline topology
Up to 32 PROFIBUS nodes with a fiber-optic cable interface can be series-
connected in an optical PROFIBUS-DP network. If a PROFIBUS node fails,
as a result of the partyline topology none of the downstream DP slaves can be
accessed by the DP master.
Programming S7-400 with IM 467 FO ET 200M with Other field devices without
device/PC/OP IM 153-2 FO fiber-optic cable interface
PROFIBUS
cable
Figure 3-17 Optical PROFIBUS-DP network with nodes that have an integrated fiber-optic cable interface
Transmission rate The following transmission rates are possible when the optical PROFIBUS-
DP network is operated with a partyline topology:
9.6 kbps, 19.2 kbps, 45.45 kbps, 93.75 kbps, 187.5 kbps, 500 kbps, 1.5 Mbps
and 12 Mbps
PROFIBUS Optical A PROFIBUS node can be connected to the optical PROFIBUS-DP network
Bus Terminal via a PROFIBUS Optical Bus Terminal (OBT) (6GK1 500-3AA00) without
(OBT) an integrated fiber-optic cable interface (e.g. programming devices (PGs) or
operator panels (OPs), see Figure 3-17).
The programming device/PC is connected to the RS 485 interface of the OBT
by means of the PROFIBUS cable. The OBT is integrated in the optical
PROFIBUS-DP line by means of its fiber-optic cable interface.
Features of the Use Siemens plastic and PCF fiber-optic cables with the following features:
fiber-optic cables
Table 3-11 Features of the fiber-optic cables
Description
p SIMATIC NET PROFIBUS
Plastic fiber-optic du- Plastic fiber-optic stan- PCF fiber-optic stan-
plex conductor dard cable dard cable
Standard designation I–VY2P 980/1000 I–VY4Y2P 980/1000 I–VY2K 200/230
150A 60A 10A17+8B20
Area of application Indoors with a low me- Indoors: Indoors:
chanical load, such as Cable lengths up to 50 m Cable lengths up to 300 m
laboratory test assem-
blies or in
cabinets:
Cable lengths up to
50 m
Fiber type Step-index fiber
Core diameter 980 µm 200 µm
Core material Polymethyl methacrylate (PMMA) Quartz glass
Cladding outer diameter 1000 µm 230 µm
Cladding material Fluorinated special polymer
Inner sheath
Material PVC PA –
Color Gray Black and orange (Without inner sheath)
Diameter 2.2 " 0.01 mm 2.2 " 0.01 mm
Outer sheath
Material – PVC PVC
Color Purple Purple
Number of fibers 2
Attenuation at v 230 dB/km v 10 dB/km
wavelength 660 nm 660 nm
Cable grip – Kevlar fibers Kevlar fibers
Maximum permissible tensile
force
Short-term v 50 N v 100 N v 500 N
Continuous Not suitable for continu- Not suitable for continu- v 100 N
ous tensile load ous tensile load (At cable grip only,
v 50 N at connector or
single conductor)
Description
p SIMATIC NET PROFIBUS
Plastic fiber-optic du- Plastic fiber-optic stan- PCF fiber-optic stan-
plex conductor dard cable dard cable
Resistance to lateral pressure per v 35 N/ 10 cm v 100 N/ 10 cm v 750 N/ 10 cm
10 cm cable length (short-term)
Bend radii
S Single bend (without tensile w 30 mm w 100 mm w 75 mm
force)
S Multiple bends (with tensile w 50 mm w 150 mm w 75 mm
force) (flat side only)
Permissible environmental con-
ditions
S Transport/storage tempera- –30 _C to +70 _C –30 _C to +70 _C –30 _C to +70 _C
ture 0 _C to +50 _C 0 _C to +50 _C –5 _C to +50 _C
S Laying temperature –30 _C to +70 _C –30 _C to +70 _C –20 _C to +70 _C
S Operating temperature
Resistance against
S Mineral oil ASTM no. 2, Conditional2 Conditional1 Conditional1
grease or water
S UV radiation Not UV-resistant Conditional1 Conditional1
Flame retardance Flame retardant in accordance with the VW-1 flame test to UL 1581
External dimensions 2.2 4.4 mm Diameter: Diameter:
" 0.01 mm 7.8 " 0.3 mm 4.7 " 0.3 mm
Weight 7.8 kg/km 65 kg/km 22 kg/km
1 Please ask your Siemens contact about specific applications.
Order numbers You can order the fiber-optic cables specified in Table 3-11 as follows.
Definition Simplex connectors allow you to connect the fiber-optic cable to the integra-
ted fiber-optic cable interface on the PROFIBUS device. In some Siemens
modules (e.g. IM 153-2 FO, IM 467 FO) two Simplex connectors (one for the
sender and one for the receiver) are inserted in the module by means of a
special connector adapter.
Prerequisite The PROFIBUS device must be equipped with a fiber-optic cable interface,
such as the ET 200M (IM153-2 FO) or the IM 467 FO for S7-400.
Structure Two Simplex connectors (a sender and a receiver) and a connector adapter
with the following attributes are required for a fiber-optic cable connection:
IP 20 protection
Transmission rates of 9.6 kbps to 12 Mbps
Connector adapter
Receiver
Sender
Simplex Fiber-optic
connectors cables
Figure 3-18 Simplex connectors and a special connector adapter for the IM 153-2 FO
and IM 467 FO (installed)
Order numbers You can order Simplex connectors and connector adapters as follows:
Cable lengths With fiber-optic cables, the length of the cable segment does not depend on
the transmission rate.
Each bus node in the optical PROFIBUS-DP network has repeater functional-
ity. The distances specified below are the distances between two neighboring
PROFIBUS nodes in the partyline topology.
The maximum cable length between two PROFIBUS nodes depends on the
type of the fiber-optic cable used.
Table 3-14 Permissible cable lengths on the optical PROFIBUS-DP network (party-
line topology)
Mixed use of To gain the maximum benefit from the different cable lengths you can mix
plastic fiber-optic the plastic and PCF fiber-optic cables.
and PCF fiber-
For example, you can use plastic fiber-optic cable for connections between
optic cable
DP slaves locally (distances t 50 m) and PCF fiber-optic cable for the con-
nection between the DP master and the first DP slave in the partyline topol-
ogy (distance u 50 m).
Laying PCF fiber- You can order PCF fiber-optic cables fitted with 2x2 connectors in specific
optic cable lengths from Siemens.
Lengths and order numbers: See Table 3-12
Laying plastic You can easily fit connectors to and install plastic fiber-optic cables yourself.
fiber-optic cable Please read the following information on how to do this and on the rules for
laying the cable.
Installation You will find detailed installation instructions and a series of photographs on
instructions for fitting plastic fiber-optic cables with Simplex connectors:
plastic fiber-optic
In the appendix of the SIMATIC NET PROFIBUS Networks manual
cable
(with photos) On the Internet
– German: http://www.ad.siemens.de/csi/net
– English: http://www.ad.siemens.de/csi_e/net
Click SEARCH on this page, enter the number “574203” under
“Entry-ID” and start the search function.
Enclosed with the Simplex connector/polishing set (see Table 3-13)
Title: Assembly instructions for SIMATIC NET PROFIBUS Plastic Fiber Op-
tics with Simplex connectors
Rules for laying When you lay plastic fiber-optic cable, please adhere to the following rules:
cable
Use only the Siemens fiber-optic cables specified in Section 3.8.1
Never exceed the maximum permissible stresses (tensile load, crushing,
etc.) of the cable you are using specified in Table 3-11. Impermissible
crushing can occur, for example, when screw clamps are used to fix the
cable in place.
Follow the steps specified in the installation instructions, and use only the
tools specified there. Grind and polish the fiber ends carefully.
Note
Polishing the fiber ends of the fiber-optic cable, as described in the installa-
tion instructions, reduces attenuation by 2 dB.
Grind and polish by pressing the connector only lightly against the abra-
sive paper or polishing foil in order to prevent the connector fusing with
the fiber.
Ensure that you maintain the bend radii specified in Table 3-11 during
grinding and polishing, particularly when cables are supported for me-
chanical strain relief. In this case, ensure an adequate whip length.
Ensure that there are no loops when cables are cut to length. Under tensile
load, loops can cause kinks to form in the cable and thus damage it.
Ensure that the outer and conductor sheathing of the cable and the fibers
are not damaged. Scoring and scratches can let light escape and thus lead
to higher attenuation values and line failure.
Never insert dirty connectors or connectors with protruding fibers in the
device sockets. This can destroy the optical sending and receiving ele-
ments.
Installing the The installation of the cut fiber-optic cable with connector on the PROFIBUS
connector adapter devices is module-specific, and it is therefore described in the manual for the
PROFIBUS device with an integrated fiber-optic cable interface.
Goal After reading this chapter, you will be able to identify the situations in which
you must use the RS 485 repeater.
You will also be able to install and use the RS 485 repeaters with order num-
ber 6ES7 972-0AA01-0XA0.
What is an RS 485 An RS 485 repeater amplifies data signals on bus lines and is the link be-
repeater? tween individual bus segments.
Rules When you set up a bus with RS 485 repeaters, the following rules apply:
You cannot connect more than nine RS 485 repeaters in a cascade.
If you use RS 485 repeaters the maximum cable length between two
nodes is subject to the limits stated in Table 4-2.
Á Á Shield clamp for strain relief and grounding the bus cable of bus seg-
ment 1 or bus segment 2
Note
Terminal M5.2 of the power supply (see Table 4-3, No. À) serves as a
ground reference for signal measurements in the event of a fault and must
not be wired.
Technical data The table below shows the technical data of the RS 485 repeater:
Technical data
Power supply
Rated voltage
g 24 V DC
Ripple (static limit) 20.4 V DC to 28.8 V DC
Current consumption at rated voltage
No consumer via
i programmer/OP
/O interface
i f 200 mA
A
Consumer via programmer/OP interface (5 V/90 mA) 230 mA
Consumer via programmer/OP interface 300 mA
(24 V/100 mA)
Galvanic isolation yes, AC 500 V
Connection of wave guides yes, via repeater adapters
Redundancy no
Transmission rate (detected automatically by the repeater) 9.6 kbaud, 19.2 kbaud,
45.45 kbaud,
93.75 kbaud,
187.5 kbaud, 500 kbaud,
1.5 Mbaud, 3 Mbaud,
6 Mbaud, 12 Mbaud
Degree of protection IP 20
Dimensions W H D (in mm) 45 128 67
Weight (including packaging) 350 g
Pin assignment of The pin assignment of the 9-pin sub-D adapter is as follows:
the sub-D adapter
(programmer/OP
Table 4-5 Pin assignment of the 9-pin sub-D adapter (programmer/OP interface)
interface)
View Pin No. Signal Designation
1 – –
2 M24V Ground 24 V
5
3 RxD/TxD-P Data line B
9
4 4 RTS Request to send
8
3 5 M5V2 Data reference potential (from station)
7
2 6 P5V2 Supply plus (from station)
6
7 P24V 24 V
1
8 RxD/TxD-N Data line A
9 – –
Segment 1 Segment 2
A1 A2
Logic
B1 B2
A1 A2
B1 B2
program-
mer/OP- 5V 1M 5V 1M
interface
24V 24V
L+ (24 V) L+ (24 V)
M M
A1
B1 PE
5V M 5.2
M5 V
Overview This section discusses the configuration options offered by the RS 485 re-
peater:
Segment 1 and segment 2 terminating at the RS 485 repeater
Segment 1 terminating at the RS 485 repeater and segment 2 looped
through the RS 485 repeater,
and
Segment 1 and segment 2 looped through the RS 485 repeater.
Terminating Fig. 4-2 shows the position of the selector switch for the terminating resistor:
resistor ON
(in circuit) or OFF
(not in circuit) Terminating resistor Terminating resistor
in circuit: not in circuit:
Segment 1 and 2 Fig. 4-3 shows the RS 485 repeater used to terminate two segments:
terminated
Segment 1
Segment 1 Terminating resistor
bus segment 1
on
R Segment 2
Terminating resistor
bus segment 2
on
Segment 2
Figure 4-3 Two bus segments connected to the RS 485 repeater (1)
Segment 1 In Fig. 4-4, one of the two segments connected to the RS 485 repeater is
terminated, looped through and one is terminated:
segment 2 looped
through
Segment 1 Segment 1
Terminating resistor
bus segment 1
on
Segment 2
Terminating resistor
bus segment 2
off
Segment 2
Figure 4-4 Two bus segments connected to the RS 485 repeater (2)
Segments 1 and 2 In Fig. 4-5, both segments connected to the RS 485 repeater are looped
looped through through:
Segment 1
Segment 1 Terminating resistor
bus segment 1
off
R
Terminating resistor
Terminating resistor
bus segment 2
Bus segment 2
off
Segment 2 off!
Segment 2
Figure 4-5 Two bus segments connected to the RS 485 repeater (3)
Installation on If you want to mount the RS 485 repeater on a special busbar for S7-300, you
busbar for S7-300 must first remove the clamp at the rear of the RS 485 repeater (see Fig. 4-6):
1. Insert the blade of a screwdriver under the lip of the latch (1) and
2. press the handle of the screwdriver toward the rear of the module (2).
Hold the screwdriver in this position.
Result: This releases the clamp from the RS 485 repeater.
3. Using your free hand, slip the clamp up as far as it will go (3) and disen-
gage it from the module.
Result: The clamp is released from the RS 485 repeater.
4. Place the RS 485 repeater in position on the busbar for S7-300 (4).
5. Push the bottom back as far as it will go (5).
6. Tighten the securing screw to between 80 and 110 Ncm (6).
Rear: Front:
4
2
1
6 80 to 110 Ncm
Figure 4-6 Mounting the RS 485 repeater on the busbar for S7-300
Releasing from To release the RS 485 repeater from a busbar for S7-300:
busbar for S7-300
1. Release the screw securing the RS 485 repeater (1) and
2. swing the RS 485 repeater up and away from the busbar (2).
1 2
Figure 4-7 Removing the RS 485 repeater from the busbar for S7-300
Installation on If you want to mount the RS 485 repeater on a standard-section busbar, make
standard-section sure that the clamp is in position on the rear of the RS 485 repeater:
busbar
1. Engage the RS 485 repeater on the standard-section busbar and
2. push it back until the clamp engages.
Releasing from To disengage the RS 485 repeater from the standard-section busbar:
standard-section
1. Using a screwdriver, press the clamp at the bottom of the RS 485 repeater
busbar
down and
2. swing the RS 485 repeater up and away from the busbar.
Non-grounded Non-grounded operation means that ground and PE are not connected.
operation
If you use the RS 485 repeater in non-grounded mode, the bus segments can
operate with potential isolation.
The way in which the RS 485 repeater influences potential on bus segments
is illustrated in Fig. 4-8.
Signals non-grounded
Signals grounded
Installing RS 485 To ensure non-grounded operation of the RS 485 repeater, ensure that the
repeater for non- power supply to this repeater is also non-grounded.
grounded
operation
Cable type For the 24 V DC voltage supply, use flexible cables with a cross-section from
0.25 mm2 to 2.5 mm2 (AWG 26 to 14).
Rules for routing See section 3.1 for details on cable routing (DC voltage 60 V, unshielded).
cables
Cable type The PROFIBUS bus cable must satisfy the requirements laid down in sec-
tion 3.5.
Connecting the Connect the PROFIBUS bus cable to the RS 485 repeater as follows:
PROFIBUS bus
1. Cut the PROFIBUS bus cable to length.
cable
2. Strip the ends of the PROFIBUS bus cable as shown in Fig. 4-9.
Fold back the braided shield over the end of the cable sheath. This is nec-
essary to ensure that the shield clamp can function as strain relief and as a
terminal for the shield.
ÇÇÇ ÇÇ
8.5 16 10 16 16 10
ÇÇÇ ÇÇ
ÇÇÇ ÇÇ
8.5
What is a The PROFIBUS Terminator forms an active bus terminating element. The
PROFIBUS essential benefit is that bus nodes can be disconnected, removed or replaced
Terminator? without data transfer being impaired. This applies particularly to the bus no-
des at both ends of the bus cable, at which the terminating resistors have had
to be connected and supplied up to now. The PROFIBUS Terminator can be
installed on a DIN rail.
Appearance of the Table 4-6 shows the appearance of the PROFIBUS Terminator:
PROFIBUS
Terminator
Table 4-6 Description and functions of the PROFIBUS Terminator
Grounding screw
972 0DA00 0AA0
6ES7 972–0DA00–0AA0
Shield clamp for strain relief on the cable for the power
supply
5
Technical Table 4-7 shows the technical specifications of the PROFIBUS Terminator:
specifications
Table 4-7 Technical specifications of the PROFIBUS Terminator
Technical specifications
Power supply
Rated voltage
g 24 V DC
Ripple (static limit) 20.4 V DC to 28.8 V DC
P
Power consumption
ti att rated
t d voltage
lt max. 25 mA
A
Cable type The PROFIBUS bus cable must meet the requirements specified in Sec-
tion 3.5.
Connecting a Connect the PROFIBUS bus cable to the PROFIBUS Terminator as follows:
PROFIBUS bus
1. Cut the PROFIBUS bus cable to the required length.
cable
2. Strip the insulation from the PROFIBUS bus cable as in Figure 4-10.
The shield braid must be folded back on the cable. If it is not, the shield
point cannot subsequently be used for the purpose of strain relief or
grounding the shield braid.
ÇÇ ÇÇ
8.5 16 10 16 16 10
ÇÇ ÇÇ
ÇÇ ÇÇ
8.5
Note
Ensure when installing that no terminating resistor is connected to the bus
connectors when the PROFIBUS bus system has 2 active PROFIBUS Termi-
nators.
Goal After reading this chapter, you will know what to bear in mind when instal-
ling the IM 308-C.
Purpose of the The IM 308-C enables you to connect the distributed I/O stations to the
IM 308-C S5-115U, S5-135U and S5-155U programmable controllers via the PROFI-
BUS-DP bus.
Backplane connector X1
Memory card
Jumper X9
FLASH
X9
1
Mode switch se-
lector
RN
ST
OFF
RN Backplane connector X2
OF
BF
LEDs IF
Controls and The controls and features of the master interface are as follows:
features
Table 5-1 Controls and features of the IM 308-C master interface
Designation Function
Backplane con- Backplane connectors X1 and X2 enable communication between the IM 308-C
nectors X1 and X2 and the CPU via the S5 I/O bus.
Memory card All important configuration data for the IM 308-C and the bus layout is stored on
the memory card.
Mode selector The mode selector switch is a three-position switch:
switch
it h
IM 308-C as DP master: IM 308-C as DP slave:
RN (RUN): normal operation; RN (RUN): normal operation; IM 308-C is
IM 308-C reads the inputs of the DP slave and exchanges data with the DP
slaves and sets the outputs. master.
ST (STOP): IM 308-C does not ST (STOP) or OFF:
exchange data with the slaves; it
IM 308-C is DP slave and does not exchange
may, however, receive the token
data with the DP master. No exchange of data
(send authorization) from
between the IM 308-C/DP slave and the slave
another master on the bus and
CPU.
pass on the token.
D di on parameterization
Depending t i ti withith COM
OFF: IM 308-C does not ex-
PROFIBUS, QVZ or PEU is reported to the
change data with the slaves and
master CPU.
cannot receive the token (send
authorization) from another Bit 0, station status 1, is set;
master on the bus.
LEDs The meanings of the LEDs are shown in Tables 5-2 and 5.3.
PROFIBUS-DP The bus connectors of the field bus connect to the IM 308-C via the
interface (X3) PROFIBUS-DP.
Jumper X10 PROFIBUS-DP grounded or not grounded (see section 5.3)
Jumper X9 PEU signal switched (power fail in expansion unit) (see section 5.2)
Meaning of ”BF” The ”BF” LED indicates bus-fault messages. It can indicate the following:
BF Meaning Remedy
Off Data exchanged with all –
parameterized slaves
On Bus fault 1 Check:
(physical fault) whether there is a short-circuit on the data
lines of the PROFIBUS (A and B)
the parameters set with COM PROFIBUS
(different baud rates)
whether the DP master receives the token
(HSA not correct in the bus parameters; the
HSA is lower than the PROFIBUS address
of the DP master)
Flashes No exchange of data with Check whether the bus cable is connected to the
at least one slave which IM 308-C.
is assigned to an Wait until the IM 308-C has powered up. If the
IM 308-C as DP master LED does not cease flashing, check the DP
slaves or interpret the diagnostics report for the
DP slaves.
Only if IM 308-C is DP slave: check whether the
DP master addresses the IM 308-C/DP slave.
1: During power-up, the ”RN”, ”OF” and ”IF” LEDs light up along with the ”BF” LED
for approx. 0.5 seconds.
Meaning of ”RN”, The meanings of the LEDs RN (= RUN), OF (= OFF) and IF (= IM FAULT)
”OF” and ”IF” are as follows:
RN OF IF Meaning Remedy
On On On IM 308-C is powering up (”BF” LED on). –
On Off Off IM 308-C as DP master: Status is RUN: –
IM 308-C reads the slave inputs and sets the outputs.
The IM 308-C can receive the token from another mas-
ter and pass it on.
IM 308-C as DP slave: normal operation; IM 308-C as
DP slave exchanges data with the DP master.
Flashes Off Off IM 308-C as DP master: IM 308-C parameterizes all –
slaves on the bus and checks their addressability.
Status is CLEAR:
Afterwards, the IM 308-C reads the inputs but sets all
outputs to ”0”. The IM 308-C can receive the token
from another master and pass it on.
IM 308-C as DP slave: CPU outputs BASP; bit 7, byte –
7 of the slave diagnostics is set.
Off Flashes Off IM 308-C as DP master: Status is STOP: –
IM 308-C does not exchange data with the slaves.
The IM 308-C can receive the token from another mas-
ter and pass it on.
IM 308-C as DP slave: IM 308-C as DP does not ex-
change data with the DP master.
Depending on parameterization with
COM PROFIBUS, QVZ, PEU or no error is reported at
the slave CPU and the master CPU.
Bit 0, station status 1, is set.
Off On Off IM 308-C as DP master: Status is OFF: –
IM 308-C does not exchange data with the slaves and
can neither receive nor pass on the token.
IM 308-C as DP slave: IM 308-C as DP slave does not –
exchange data with the DP master.
No exchange of data between the IM 308-C/DP slave
and the slave CPU
Table 5-3 Meanings of the LEDs on the IM 308-C master interface, continued
RN OF IF Meaning Remedy
Off Off On No memory card or wrong memory card inserted, or Insert a memory card with
the correct order number.
Read the notes in sec-
tion 5.4.
There is no master system on the memory card that was Delete the memory card
exported with COM PROFIBUS, or with COM PROFIBUS by
means of Service Delete
memory card.
Fault in the IM 308-C. Withdraw and reinsert the
IM 308-C. If the fault per-
sists, replace the module or
contact Siemens Support.
On Off On Empty memory card in the IM 308-C, or Check the memory card.
IM 308-C waiting for a master system to be exported
from COM PROFIBUS, or
Master system is being exported to IM 308-C from
COM PROFIBUS.
Off On On IM 308-C waiting for master system exported from –
COM PROFIBUS to be activated
(Service Activate parameters).
Flashes Flashes Off Operating system is being loaded from memory card. –
On On Off Operating system has been loaded from memory card. –
On On Flashes An error has occurred in importing the operating sys- Repeat the import proce-
tem from memory card. dure.
Check that the correct
memory card is inserted.
Memory card
5V X1
GND
RUN
Logic
STOP
PEU OFF
RUN
X2 TxD RxD OFF
BUS-FAULT
5V Isolation
IM-FAULT
GND
X3
5V
b18 1
GND
2 X9 1 B
z14 3 2 A
z18 X10 3
CPKLA
PE
PE
Technical data The table below contains the technical data of the IM 308-C.
Technical data
Rated voltage 5 V (via S5 I/O bus)
Current consumption (at 5 V) 0.7 A (typ. 0.4 A)
Output voltage X3 (external power source) 5 V / 90 mA (bus connector)
Voltage isolation yes, between logic and PROFIBUS-DP
Jumper X10 see section 5.3
in position
p 1-2 PROFIBUS-DP interface grounded
g
in position 2-3 (normal operation) PROFIBUS-DP interface not grounded
Jumper X9 Switches over ”PEU signal
in position 1-2 (normal operation) ”PEU” signal at pin X2/B18
in position 2-3 ”PEU” signal at pin X2/Z14
Status indicators RUN: green LED
OF: red LED
Diagnostic functions BF (bus fault): red LED
IF (IM fault): red LED
Heat loss typ. 2.5 W
Dimensions W H D (in
( mm)) 20 243.4 173
Weight with memory card and boxed approx. 350 g
Setting the You must set jumper X10 on the IM 308-C. Jumper X10 enables you to con-
jumpers figure bus segments in such a way that they are not grounded:
If you want to operate the PROFIBUS-DP as grounded, set the jumper to
position ”1-2”.
If you want to operate the PROFIBUS-DP as non-grounded, set the
jumper to position ”2-3”.
Slots in the The tables below show you where to insert the IM 308-C in the rack. The
S5-115U system gray hatching indicates the slots in which you can insert the IM 308-C.
Slots in the The tables below show you where to insert the IM 308-C in the S5-135U and
S5-135U and S5-155U systems. The gray hatching indicates the slots where you can insert
S5-155U the IM 308-C.
Purpose of the The memory card is used to store the following data:
memory card
Configuration data generated with COM PROFIBUS,
or
The operating system to be imported to the IM 308-C.
Changing the If you want to change the memory card, proceed as follows:
memory card
1. Set the mode selector switch on the IM 308-C to ”ST”or ”OFF”
2. Switch off the power supply to the IM 308-C.
3. Pull the memory card.
4. Insert the new memory card.
5. Switch on the power supply to the IM 308-C.
Usage You only need to load a new operating system on the IM 308-C if you are
working with COM PROFIBUS version 3.3 or lower and have installed a
new version of COM PROFIBUS.
The operating system of the IM 308-C is stored in the ”\BESY308C” direc-
tory in COM PROFIBUS.
If you need to upgrade the operating system of the IM 308-C, you can refer
to Siemens Information ”Kunden aktuell” for further details. If in doubt,
please consult Siemens Support.
Exception Since the IM 308-C release 3 is not hardware-compatible with release 2, and
release 6 is not hardware-compatible with release 5, the IM 308-C of these
releases can only be upgraded with the assistance of Siemens Support. You
cannot upgrade to release 3 or release 6 by loading the new operating system
from memory card.
Loading the If you want to load the operating system of the IM 308-C from memory card,
operating system proceed as follows (all order numbers are listed in Appendix G):
of the IM 308-C
1. Insert the memory card
from memory card
– in the memory-card interface of the programmer, or;
– in the E(E)PROM slot of the programmer with the associated pro-
gramming adapter, or
– in the external programmer connected to your PC.
2. Using the commands FileExport Operating system file, export the
operating system file to a memory card.
3. Select the operating system file (extension is .LFW) and confirm your
choice by answering the query with ”OK”.
Result: COM PROFIBUS exports the operating system for the IM 308-C
to the memory card.
4. Insert the memory card into the IM 308-C.
5. Set the IM 308-C to the ”OFF” position.
6. Switch on the power supply for the IM 308-C.
Result: The IM 308-C indicates the operating system version (on
IM 308-C and memory card) by means of LEDs (see below, Table 5-8).
7. Set the IM 308-C mode selector switch to RN.
Result: The IM 308-C automatically loads the operating system from the
memory card. The ”RN” and ”OF” LEDs flash.
8. Wait until the ”RN” and ”OF” remain on for at least 5 seconds. The oper-
ating system has now been loaded.
If the ”IF” LED lights up in this process, an error has occurred in loading.
Repeat the entire procedure once, and check that the correct memory card
is inserted.
Code for Before the IM 308-C operating system is loaded from the memory card, the
operating-system four LEDs on the IM 308-C output a flashing BCD code which indicates the
version current statuses of the operating system on the IM 308-C and on the memory
card.
You can call up the code indicating which version of the operating system is
currently available on the IM 308-C (see steps 1 through 6, Table 5-8), when
the mode selector switch of the IM 308-C is in the ”OFF” position and you
switch on the power supply.
The operating system version is not indicated if there is an empty memory
card in the IM 308-C.
Table 5-8 Flashing code output by LEDs on IM 308-C when the operating system
is loaded from memory card
RN 23 V x.y
OF 22
BF 21
IF 20 Version Release
Step LED sequence Duration
1 3 in sequence from bottom to top 3s
2 all LEDs are off 1s
3 BCD code indicating the current operating-system 4s
version of the IM 308-C
4 all LEDs are off 1s
5 BCD code indicating the current operating system 4s
release of the IM 308-C
6 all LEDs are off 1s
7 3 from top to bottom in sequence 3s
8 all LEDs are off 1s
9 BCD code indicating the operating-system version on 4s
the memory card
10 all LEDs are off 1s
11 BCD code indicating the operating-system release on 4s
the memory card
12 all LEDs are off 1s
In this section Section 5.6 summarizes everything you need to know about operating the
IM 308-C as DP slave.
The function of the mode selector switch and the meanings of the indicators
are discussed above, in section 5.1.
IM 308-C as DP You use the IM 308-C as a DP slave for fast data interchange between two
slave programmable controllers. The module functions as a high-speed I/O link
between the two programmable controllers.
Method of Fig. 5-3 illustrates the method of operation of the IM 308-C when it is used
operation as a DP slave.
The DP master sends outputs to the IM 308-C as DP slave. The DP slave
treats these outputs as inputs (DP slave inputs).
The IM 308-C as DP slave sends the CPU outputs to the DP master (DP
slave outputs). The DP master treats the DP slave outputs as inputs.
You define the addresses and the scope of the DP slave inputs and outputs
with COM PROFIBUS (see section G.8.8).
IM 308-C/
CPU DP master DP slave CPU
Inputs Inputs
Outputs Outputs
Preconditions If you want to use the IM 308-C as a DP slave, you require COM PROFIBUS
version 2.0 or later and an IM 308-C release 3 or higher. The IM 308-C run-
ning as DP slave requires a memory card containing parameters set with
COM PROFIBUS.
Restrictions You need a memory card in order to operate the IM 308-C as DP slave, so the
following restrictions apply:
The PROFIBUS address of the IM 308-C as DP slave is set by means of
the memory card.
The baud rate is set by means of the memory card and is invariable, i.e.
unlike other DP slaves the IM 308-C does not auto-detect the baud rate.
The IM 308-C as DP slave cannot process the FREEZE and SYNC con-
trol commands.
The slave CPU cannot read the slave diagnostics.
7 0 Bit No.
Byte 6 0 0 0 0 0 0 1 1
7
Byte 7 0 0 0 0 0 0 0
Goal After reading this chapter, you will be in possession of all the information
you need in order to write the STEP 5 application program.
6.1 Addressing
Configuration of The CPUs of the S5-135U and S5-155U series require you to generate a
the DB 1 DB 1 if you access consistent data areas in the P area. The rules governing
entries in the DB 1 are as follows:
Data consistency The table below shows the maximum data lengths for which data consistency
and the IM 308-C is still guaranteed, depending on the addressing mode:
Without consistency: ”byte” format and ”no module consistency”
With consistency: ”word” format and ”no module consistency” or ”byte”
or ”word” format and ”module consistency”
Table 6-1 Maximum data lengths and consistent areas in bytes for the IM 308-C
CPU 944 and The warning below applies to the use of the FB 250 and 251 function blocks
FB 250 and 251 and the CPU 944 in conjunction with ET 200:
Warning
!
There is a possibility of outputs of the distributed I/O being inadvertently
reset.
The FB 250 and 251 function blocks with the CPU do not comply with the
specified sequence for accessing the distributed I/O. This can cause an inter-
ruption in data traffic on the PROFIBUS-DP bus and a reset of the slave out-
puts. The IM 308-C may stop processing and the inputs/outputs are not up-
dated.
To avoid this difficulty, do not use the FB 250 and 251 function blocks with
the CPU 944 in the ET 200 distributed I/O system.
Address space By default, the IM 308-C uses the address space (F)F800H to (F)F9FFH for
used by IM 308-C addressing the distributed I/O. This address space is also required if you use
only linear or page addressing.
Caution
! Danger of double addressing!
The IM 308-C uses fully one or more of the address areas shown in
Table 6-2 under DP window (default: (F)F800H to (F)F9FFH).
No part of these address areas may be used by other modules such as CPs,
IPs in the CP area, central I/O in the IM3/IM4 area or the WF 470 position-
sensing module in the central programmable controller.
Address space Please note the following points if you are using the ASM 401 module:
used by ASM 401
Caution
Double addressing is allowed.
!
The ASM 401 module uses the entire page address range from (F)F400H to
(F)FBFFH and therefore accesses the two DP windows (F)F800H to (F)F9FF-
H (default) and (F)FA00H to (F)FBFFH.
If you use the ASM 401 module, you should set the DP address to (F)FC00H
for the CPUs in the S5-115U series and to (F)FE00H for the CPUs in the
S5-135U and S5-155U series.
RESTART The ”RESTART” mode is not allowed for the CPUs in the S5-135U and
S5-155U series!
QVZ during data If ”QVZ” occurs during a consistent data access, the data preceding this QVZ
access must not be interpreted. It will be inconsistent in relation to any data which is
read after the QVZ.
Alarm processing If you access a consistent data area, you must disable the process alarms be-
forehand with the ”AS” command and then enable them again after the data
access.
Addressing in The 13300 bytes used for addressing in the DP window represent the maxi-
DP window mum addressing volume – even if you use linear and page addressing in par-
allel. The maximum addressing volume depends on:
the number of bytes required per slave for inputs, outputs and diagnostics
data (rounded up to an even length), and
the configured data consistency. If the consistency is 16 bytes, you
must also add on the data length (rounded up to an even value) for each
consistent ID and for each data-transfer direction (inputs/outputs).
Options for Your options for addressing the distributed I/O system are as follows:
addressing
linear addressing (P and Q areas)
page addressing (P and Q areas)
or
function block FB IM308C (FB 192) in the DP window.
Table 6-2 shows the inputs and outputs at your disposal and the applicable
modes of addressing.
Definition Linear addressing is possible in the P and Q areas of the CPU. Each input or
output of a DP slave has one and only one address in the P or Q area, respec-
tively (i.e. linear addressing).
Advantages Linear addressing affords rapid access to the individual bytes of a DP slave.
You also have bit-serial access to input and output bytes 0 to 127 (63 with
941 CPU) via the process image (e.g. U E 1.0).
When should I use Use linear addressing when you do not need more than 512 bytes for inputs
linear addressing? and 512 bytes for outputs as the sum of all DP slaves in a host.
If you require more input or output bytes, use P-page addressing, Q-page ad-
dressing or the FB IM308C.
Definition of page In page addressing, 16 pages numbered from n to (n + 15) are created on
addressing each IM 308-C. The first page number n corresponds to the number of the
IM 308-C. The number of the IM 308-C is a multiple of 16 and is entered in
COM PROFIBUS as one of the master parameters.
In a maximum configuration, you can create 256 pages distributed across
8 IM 308-C master interfaces. The pages are assigned as follows:
Pages with numbers ... ... are on the IM 308-C with the num-
ber:
0 to 15 0
16 to 31 16
32 to 47 32
... ...
224 to 239 224
240 to 255 240
Definition of page Before you can use a page for data exchange, you must include the page in
selection address question in the address area of the CPU. To do so, you write the number of
the desired page into the page selection address (PY 255 for P-page addres-
sing, QB 255 for Q-page addressing).
Example: page The table below shows how page addressing works. Note that the mode
addressing shown here by way of example illustrates P-page addressing.
In the example, the I/O byte PY 193 is read from the page having the page
number 18. Page 18 is on the second IM 308-C, the number of which is 16.
Page 240
16th IM 308-C
(number of the
IM 308-C = 240)
P/Q-page P or Q addressing for distributed I/Os only functions in the ordinary I/O area.
addressing It is independent of page addressing for communications processors (CPs)
and intelligent I/O modules (IPs) (address range: (F)F400H to (F)F7FFH).
Definition of P- In P-page addressing, part of the P area is replicated. The part in question is
page addressing from PY 192 to PY 254.
You can use PY 0 to PY 191 to address the central I/O modules in the pro-
grammable controller.
Q-page addressing In Q-page addressing, the Q area is replicated. The Q area extends from QB 0
to QB 254.
Using the Q area You can use I/O bytes QB 0 to QB 254 for the I/O modules in the expansion
unit and for distributed I/O.
Warning
! There is a possibility of inputs or outputs receiving double assignments in
the Q area.
If an input/output module is inserted in the central programmable controller,
you must not assign any P or Q addresses with any page number for the IM
308-C if they are also used by this input/output module!
If you use the entire Q area for the IM 308-C, do not insert an input or output
module in the central programmable controller (host).
You can avoid the danger of inadvertent double assignments by reserving
input and output areas when setting the master parameters with COM PRO-
FIBUS (see section G.8.3).
Definition If you opt for addressing through the FB IM308C (FB 192) you use the
CP page area and the IM3/IM4 area to address the distributed inputs and out-
puts.
This address area is known as the DP window; by default, it occupies the ad-
dress area (F)F800H to (F)F9FFH.
See chapter 7 for an explanation of the parameters exported to the
FB IM308C for the individual functions.
When should I use Use the FB IM308C when the addressing volume of the DP slaves or the
the FB IM308C? IM 308-C is such that linear addressing is no longer adequate.
Overview You can access the addresses of the distributed I/O as follows:
Via the process image or with load/transfer commands
Via the standard function block FB IM308C
Process image or You cannot access inputs or outputs via the process image or load/transfer
load/transfer commands unless you assigned the inputs and outputs beforehand with
commands COM PROFIBUS.
Appendix B contains a list of all the commands for the various CPUs and
address areas. Appendix B also contains a list of rules that you must observe
in order to maintain data consistency.
Mixed-mode You can mix the various modes of addressing to suit your application. Define
addressing ”Linear”, ”P-page” or ”Q-page” as the addressing mode in the ”Master pa-
rameters” dialog box in COM PROFIBUS. This mode then applies for all
DP slaves assigned to the DP master in question.
If you mix the modes of addressing linearly or mix page addressing with
FB IM308C, the following applies:
Inputs can be read either with the FB IM308C or by linear or page ad-
dressing.
If you have addressed outputs using linear or page addressing, you cannot
simultaneously use the FB IM308C to address these outputs.
Overview Diagnostics means identifying and pinpointing errors. You require the
FB IM308C function block to read the diagnostics data.
the DP slave
Manufacturer ID ... provides information on the type
of DP slave
Slave-specific diagnostics
Reading master To request master diagnostics, call the FB IM308C with the function
diagnostics FCT = MD. The values for the other parameters in this call are shown in sec-
tion 7.
Result: The FB IM308C places the diagnostics data in the S5 memory area
specified in the FB IM308C call (data block or bit memory address area).
Byte Meaning
0 to 15 Overview diagnostics: A ”1” means that the corresponding DP slave has reported diagnos-
tics or that the DP slave cannot be addressed by the DP master.
16 to 31 Master status: Information on the operating modes of the IM 308-C and version releases.
32 to 47 Data-transfer list: A ”1” means that data has been exchanged with the station in question
within a time calculated by COM PROFIBUS (minimum response monitoring time).
48 to 63 Reserved
Diagnostics
g Byte Bit (corresponds to the DP slave with the PROFIBUS address:) Data for-
mat rec.
rec
7 6 5 4 3 2 1 0
Overview 0 7 6 5 4 3 2 1 – KM
diagnostics
1 15 14 13 12 11 10 9 8 KM
... ... KM
14 119 118 117 116 115 114 113 112 KM
15 – – – – 123 122 121 120 KM
Byte Value Meaning
Master sta- 16 C0H RUN: The IM 308-C reads the input data of the DP slaves cycli- KH
tus cally and passes output data to the DP slaves. The IM 308-C can
receive the token from another DP master and pass on the token.
80H CLEAR1: The IM 308-C reads the input data cyclically; output KH
data is set to ”0”. The IM 308-C can receive the token from
another DP master and pass on the token.
40H STOP: No data is exchanged between the IM 308-C and the KH
DP slaves. The IM 308-C can receive the token from another
DP master and pass on the token.
00H OFF: No data is exchanged between the IM 308-C and the KH
DP slaves. The IM 308-C can neither receive nor pass on the to-
ken. This means that the OFF status cannot be passed on to other
DP masters.
17 80H Manufacturer ID (high byte) KH
18 1CH Manufacturer ID (low byte) KH
19 __H Hardware version DDLM/user interface (e. g. 21H for V 2.1) KH
20 __H Firmware version DDLM/user interface KH
21 __H Hardware version user KH
22 __H Firmware version user KH
23 to 31 – Reserved –
Byte
y Bit (corresponds to the DP slave with the PROFIBUS address:)
7 6 5 4 3 2 1 0
Data trans- 32 7 6 5 4 3 2 1 – KM
fer list
33 15 14 13 12 11 10 9 8 KM
... ... KM
46 119 118 117 116 115 114 113 112 KM
47 – – – – 123 122 121 120 KM
48 to 63 Reserved –
1 The operating mode goes to CLEAR when the operating-mode selector switch of the IM 308-C is in the RUN
position and the CPU operating mode is STOP (see section 8.2).
Reading slave To request slave diagnostics, you must call the FB IM308C with the function
diagnostics FCT = SD. See section 7 for the values of the remaining parameters.
Result: The FB IM308C places the slave-diagnostics data in the S5 memory
area opened in the FB IM308C call (data block or marker area).
Diagnostics of With the exception of the diagnostics messages listed below, shared-input
shared-input slave diagnostics can be analyzed only by the parameterization master:
slaves
The following diagnostics messages are updated cyclically by the shared-in-
put master:
Overview diagnostics (station powerfail only)
Data transfer list
Station status 1: bit 0, 1, 2, 5, 6, 7
Station status 2: bit 0, 3, 7
Master PROFIBUS address of the parameterization master
Manufacturer ID
The status of all other bits in the diagnostics messages is frozen after startup
in the shared-input master.
Static diagnostics If a DP slave sets bit 1 in station status 2 (static diagnostics message), this bit
for shared-input is set only for the parameterization master and not for the shared-input mas-
slaves ter.
This can mean that if for example, an S5-95U with PROFIBUS-DP slave in-
terface goes to STOP, the shared-input master cannot recognize this status.
Consequently, the corresponding bits in the overview diagnostics and in the
data transfer list are not updated.
Structure of Station status 1 provides information on the DP slave. The structure is as fol-
station status 1 lows:
Bit Meaning
0 1: DP slave must be re-parameterized.
1 1: A diagnostics message has been received. The DP slave cannot resume until
the error has been rectified (static diagnostics message).
2 1: Bit is always ”1” if there is a DP slave with this PROFIBUS address.
3 1: Response monitoring is activated for this DP slave.
4 1: DP slave has received the ”FREEZE” control command. 1
5 1: DP slave has received the ”SYNC” control command. 1
6 0: Bit is always ”0”.
7 1: DP slave is deactivated, i.e. removed from current processing.
1 Bit is not updated unless a second diagnostics message is modified.
Structure of Bit 7 of station status 3 provides information on whether or not more diag-
station status 3 nostics information is available. The DP slave sets this bit, for example, if
there is more channel-specific diagnostics data than it can enter in its send
buffer. The DP master sets this bit if the DP slave sends more diagnostics in-
formation than the master can store in its diagnostics buffer.
Bit Meaning
0 to 7 PROFIBUS address of the DP master which parameterized the DP slave
and which has read and write access to the DP slave.
Structure of the See the manual on the DP slave for details of the manufacturer ID. The
manufacturer ID manufacturer ID consists of two bytes.
Overview On the IM 308-C master interface, the diagnostics data is stored in accor-
dance with EN 50 170, Volume 2, PROFIBUS.
The slave diagnostics data is stored separately for all slaves that do not com-
ply with the above standard (see section 6.4.2).
Structure of slave The structure of slave diagnostics varies from slave to DP slave. Not every
diagnostics slave diagnostics message is valid for each DP slave.
The header always indicates the type of diagnosis in question. The header
contains the type of slave diagnostics (station, module or channel diagnos-
tics) plus the length of the diagnostics bytes.
The first header is always in byte 6 of the slave diagnostics.
Table 6-11 shows the structure of the header for slave diagnostics:
Table 6-11 Structure of the header for station, module or channel diagnostics
Contents of The structure of the station, module and channel diagnostics is always spe-
slave-specific cific to the DP slave. See the manual on the DP slave for the meanings of
diagnostics these diagnostics.
Structure The structure of the slave diagnostics for DP Siemens slaves varies from
slave to slave:
Byte ET 200B (6ES5 ...) ET 200C (6ES5 ...) ET 200U (6ES5 ...) ET 200K SPM module
0 Station status 1
1 Station status 2
2 Station status 3
3 Master PROFIBUS address
4 Manufacturer ID (high byte)
5 Manufacturer ID (low byte)
6 Header, station Header, station Header, station Header, station Header, station
diagnostics diagnostics diagnostics diagnostics diagnostics
7 Header, station 0 Header, station 0 0
diagnostics diagnostics
8 0 0 Header, module 0 0
diagnostics
9 0 Channels 7 ... 0 Modules 7 ... 0 Channels 7 ... 0 Channels 7 ... 0
10 0 0 Modules 15 ... 8 Channels 15 ... 8 Channels 15 ... 8
11 0 0 Modules 23 ... 16 Channels 23 ... 16 Channels 23 ... 16
12 0 0 Modules 31 ... 24 Channels 31 ... 24 Channels 31 ... 24
What is a control The IM 308-C can send simultaneous commands to a group of DP slaves in
command? order to synchronize them.
The FREEZE and SYNC control commands enable you to synchronize
groups of DP slaves in response to events.
What is FREEZE? When it receives the FREEZE control command from the DP master, the
DP standard slave freezes the current status of the inputs and transfers these
inputs cyclically to the DP master.
After every new FREEZE control command, the DP standard slave again
freezes the status of the inputs.
The freeze remains in effect and the input data is not again updated until the
DP master sends the UNFREEZE control command.
What is SYNC? When it issues the SYNC control command to a DP standard slave, the
DP master is instructing the DP standard slave to freeze the states of the out-
puts at their current value. When it subsequently receives telegrams, the
DP standard slave stores the most recent output data, but the output status
remains unchanged.
After every new SYNC control command, the DP standard slave sets the out-
puts which it last received.
Cyclic updating of the outputs does not resume until the DP master sends the
UNSYNC control command.
Preconditions The FREEZE and SYNC control commands are not effective unless you have
structured the DP slaves in groups with the aid of COM PROFIBUS. You
must know which DP slave is assigned to which group and you must be in
possession of the group number before you can issue these control com-
mands. You can check these numbers in the ”group membership” listing.
When you send a control command, you must use the FB IM308C to ascer-
tain whether the control command has already been broadcast to all the
DP slaves concerned. Only then can you continue processing the inputs/out-
puts in question.
Issuing control In order to issue control commands to the groups of DP slaves, you must set
commands FCT = GC and the GCGR parameter to suit the control command in question.
See section 7 for the remaining parameters.
Result: In accordance with the parameter settings, the FB IM308C sends the
control commands to the groups of DP slaves.
Application For some DP standard slaves you set the PROFIBUS address by means of the
software, e.g. for the ET 200C distributed I/O station or the DP/AS-I link.
Note that the FB IM308C can be used to change the PROFIBUS addresses of
DP standard slaves only.
No application DP slaves whose PROFIBUS addresses can only be set by means of switches
set in the housing, or DP Siemens slaves: you cannot assign the PROFIBUS
addresses by means of the software.
CPU IM 308-C
6. Call the FB IM308C with FCT = CS. See chapter 7 for details of all re-
maining parameters.
If you are unaware of the original PROFIBUS address, program the
FB IM308C with all PROFIBUS addresses as a loop.
Result: The IM 308-C attempts to transfer the new PROFIBUS address to
the DP slave. The ”BF” LED goes out when the DP slave accepts the
PROFIBUS address. You should always check the ERR parameter of the
FB IM308C in order to ascertain whether transfer was successful.
7. Evaluate the master diagnostics and check whether the DP standard slave
has been removed from the overview diagnostics and entered in the data-
transfer list.
IM 308-C set to If you want to change the PROFIBUS address of a DP standard slave while
RUN the IM 308-C is set to RUN, note the following:
The new PROFIBUS address of the DP standard slave must be parameter-
ized with COM PROFIBUS
The old PROFIBUS address of the DP standard slave must not be para-
meterized with COM PROFIBUS
No other DP master accessing the DP standard slave.
Example The STEP 5 application program shown below is an example of how you can
assign a PROFIBUS address to a DP slave with the FB IM308C:
STL Explanation
OB 1
SEGMENT 1 0000
:C DB 70 Open data block No. 70
:
:JU FB 192
Name :IM308C
DPAD : KH F800 Default address area of IM 308-C
IMST : KY 0,126 IM No.=0: old PROFIBUS address.=126
FCT : KC CS Function: Change PROFIBUS address
GCGR : KM 00000000 00000000
TYP : KY 0,60 S5-Data block: DB 60
STAD : KF +1 As of data word 1
LENG : KF +4 Minimum length = 4 bytes
ERR : DW 0 Error code placed in DW 0 of the
: current data block
: (here DB 70)
:BE
Introduction This section describes the meanings of the terms mono-master mode, multi-
master mode and multiprocessor mode. The important points for each mode
are also discussed.
Definition: Monomaster mode means that there is one master in a host connected to the
mono-master bus. There are no other masters operating on the bus.
mode
Host system 1
IM 308-C No. 1
Master system 1
CPU
Definition Multimaster mode means that there are at least two masters on the bus, for
example an IM 308-C and a CP 5431 or two IM 308-C master interfaces.
If there are two IM 308-C master interfaces on the bus, they may be in the
same host or in two different hosts.
Host system 1
Rules COM PROFIBUS supports the generation of multiple IM 308-C master inter-
faces on one bus:
Enter the entire bus configuration before you start exporting the data to
memory card.
If you change the contents of one memory card, you must always re-trans-
fer all the data to each memory card.
You must leave a free PROFIBUS address between the PROFIBUS ad-
dress of one master and that of the next master. This address is only al-
lowed to be used by a slave.
So as not to sacrifice performance, assign the DP masters consecutive
PROFIBUS addresses that are as low as possible, e.g. 1, 3 and 5 for three
DP masters.
The highest PROFIBUS address (Highest Station Address, HSA) in the
”Bus parameters” dialog box should also be as low as possible.
Definition Multiprocessor mode means that two, three or four CPUs access one or more
IM 308-C master interfaces.
Host system 1
IM 308-C No. 1
Master system 1
CPU
CPU
Slave No. 9 Slave No. 10 Slave No. 11 Slave No. 12
S5-135U and Note that the following rules apply if you operate a series S5-135U CPU in
S5-155U multiprocessor mode in conjunction with a series S5-155U CPU:
Select the S5-135U as the host type in COM PROFIBUS.
Make sure that there are no entries in the DB1 (digital inputs, digital out-
puts) for the series S5-155U. You must use direct load/transfer commands
to enable the S5-155U CPU to access.
The process image may contain addresses in the case of S5-135U.
Goal After reading this chapter, you will be in possession of all the information
you need in order to carry out the following tasks with the standard function
block FB IM308C (FB 192).
Reading the inputs/outputs of slaves and writing the outputs
Interpreting diagnostics data
Sending control commands
Assigning a slave PROFIBUS address
Parameterizing the FB IM308C indirectly
Application The standard function block FB IM308C transfers data between a CPU
memory area (marker area, data-block area) and the IM 308-C master inter-
face. You can use the FB IM308C to:
Read the inputs
Read/write the outputs
Read the diagnostics
Send and monitor the FREEZE and SYNC control commands
Change the PROFIBUS address (e.g. for the ET 200C DP standard slave).
Memory area on The FB IM308C supports the following memory areas, always presuming
the CPU that they are supported by the CPU:
Data blocks DB
Extended data blocks DX (945, 928, 946/947, 948 CPUs only)
Marker area M
Extended marker area S (945, 928B, 946/947, 948 CPUs only)
Control commands You can use the FB IM308C to send a combination of the following control
commands to one or more groups of DP slaves:
FREEZE (freeze inputs of the DP slaves)
UNFREEZE (cancel the FREEZE command)
SYNC (simultaneously output and freeze the output states of the DP
slaves)
UNSYNC (cancel the SYNC command)
Check whether a control command issued beforehand has been completed
Changing You can use the FB IM308C in conjunction with the STEP 5 program to as-
PROFIBUS sign PROFIBUS addresses to DP standard slaves (e.g. for the ET 200C dis-
address tributed I/O station).
Parameterization You can directly or indirectly parameterize the function block FB IM308C. If
you prefer indirect parameterization, you require a parameter data block.
Calling the In the simplest form, the FB IM308C is called in cyclic program processing.
FB IM308C
If you call the FB IM308C in process-alarm or time-alarm processing, you
must make provision in the STEP 5 application program for ensuring that the
FB IM308C does not interrupt itself. To this end, you must block the alarms
for calling the FB IM308C and release them again after the FB IM308C call
has been implemented.
Note
If the FB IM308C accesses a DP slave for which the error-reporting mode is
”QVZ” (time-out), and this DP slave is not available, QVZ is not reported.
Instead, the corresponding error message is placed in the ”ERR” parameter
of the FB IM308C.
FB IM308C and You can issue read/write jobs to the DP/AS-I link via the FB IM308C. To do
DP/AS-I link so, you must parameterize the FB IM308C indirectly. You can find a descrip-
tion of the FB IM308C for the DP/AS link in section D.1.
The diskette also contains a demo program with a description of all the func-
tions of the FB IM308C.
COM PROFIBUS as of V 5.0:
The FB IM308C is no longer shipped with COM PROFIBUS. You can obtain
a current version of the FB IM308C on the Internet or intranet:
On the intranet (Siemens)
German: http://www.m30x.nbg.scn.de/extern/spiegeln/support/html_00
English: http://www.m30x.nbg.scn.de/extern/spiegeln/support/html_76
On the Internet
German: http://www.ad.siemens.de/support/html_00
English: http://www.ad.siemens.de/support/html_76
Versions of You can use the FB IM308C with the library number ...-A3 only with the
FB IM308C IM 308-C (as of release 6).
If you are using an FB IM308C with the library number ...-A2, you cannot
use the functions described in the ET 200 Distributed I/O System manual for
issuing a SYNC or FREEZE command (see Section 6.5) or the functions with
the DP/AS-I Link (see Section D.1).
If you have installed a version of COM PROFIBUS whose installation disk
contains an FB IM308C with the library number ..-A2, you can obtain a cur-
rent update of the FB IM308C with the library number ...-A3 on the Internet
or intranet.
Address space By default, the IM 308-C occupies the address space (F)F800H to (F)F9FFH
occupied by the for addressing distributed I/O. These 512 bytes of address space is the block
FB IM308C also accessed by the FB IM308C. This address space is also required if you
use only linear or page addressing.
Do not change this address space (DP window) unless absolutely necessary,
for example if there is a second IM 308-C in the programmable controller.
You can change the address space in COM PROFIBUS under the options for
master parameters.
Caution
! Danger of double addressing
The IM 308-C uses fully one or more of the address areas shown in
Table 6-2 under DP window (default: (F)F800H to (F)F9FFH).
No part of these address areas may be used by other modules such as CPs,
IPs in the CP area, central I/O in the IM3/IM4 area or the WF 470 position-
sensing module in the central programmable controller.
Technical data Table 7-2 shows the technical data of the FB IM308C:
Technical data CPU 941 to CPU 945 CPU 922 CPU 946/947
CPU 944 CPU 928A/B CPU 948
Module number 192
Module name IM 308C
Library number 5192-A3 3192-A3 8192-A3 6192-A3
P71200-S
Call length 10
Module length 1077 918 879 820
Layering depth 0 1 1 1
Assignment in MB 200 to MB 255
marker area
Assignment in Parameter data block (DW 0 to DW 12). The parameter data
data area block is required only for indirect parameterization.
Runtimes Table 7-3 shows the runtimes which occur when the FB IM308C is called.
These runtimes apply when the FB IM308C can access the IM 308-C master
interface when called. If the FB IM308C does not have access, the runtime is
extended by a maximum of 5 milliseconds. This can occur if a function is
repeated at a short interval for a DP slave. If the same function is pending for
another DP slave, the runtime is not increased.
Function Length
g Runtimes depending on CPU (in ms)
(bytes)
941B 942B 943B 944B 945 922 928A 928B 946/947 948
GC – 4.1 4.1 3.7 0.9 0.17 6.5 2.8 1.1 0.6 0.15
CC, CW, – 2.1 2.1 2.0 0.7 0.10 5.0 2.2 0.7 0.5 0.11
DR
CS 4 5.0 5.0 4.4 1.3 0.20 8.6 4.5 1.7 0.8 0.20
WO, DW 4 4.4 4.4 4.1 0.9 0.16 6.6 2.9 1.3 0.7 0.19
100 8.9 8.9 8.6 1.2 0.35 7.1 3.4 1.8 0.9 0.35
200 13.9 13.9 13.4 1.5 0.54 7.6 3.8 2.2 1.1 0.51
RO, RI, 4 3.4 3.4 2.9 0.8 0.13 5.9 2.8 1.0 0.6 0.15
MD, SD,
MD SD
100 8.3 8.3 7.8 1.1 0.31 6.4 3.2 1.4 0.8 0.33
CR
200 13.5 13.5 13.1 1.4 0.50 7.1 3.6 1.9 1.1 0.50
FB IM308C access While the IM 308-C is carrying out a reset (all four LEDs come on briefly),
to the IM 308-C the FB IM308C cannot access the IM 308-C. A reset is carried out after
during RESET power on, when a downloaded parameter set is activated and when the
IM 308-C is switched to OFF.
Block Parameters The table below shows the meanings of the block parameters which you must
transfer to the FB IM308C in the STEP 5 application program. You can call
the FB IM308C with either directly or indirectly entered parameters.
Note
LENG parameter: Always specify the joker length for the LENG parameter
for ”read slave diagnosis” (FCT = SD).
If the length specified is too great, this can lead to an error message in the
case of a variable device-specific slave diagnosis, for example.
Meaning of the Use the ”FCT” parameter to define which function the FB IM308C will
FCT parameter execute. The primary functions are:
WO: Write outputs of a DP slave (up to 244 bytes at once)
RI: Read inputs of a DP slave (up to 244 bytes at once)
MD: Read master diagnostics
SD: Read slave diagnostics
Assignment of the Table 7-5 lists the settings of the FCT parameters and their significance. The
FCT parameter two columns on the right show
which parameters you must set (other relevant parameters) and
which defaults you can leave, because the parameters in question are ir-
relevant.
Table 7-5 Meaning of the FCT parameter for IM 308-C as DP master, continued
Warning
! Outputs on the DP slaves may be set inadvertently.
If P-page addressing is selected, PROFIBUS addresess 120 to 123 are illegal.
With Q-page addressing, PROFIBUS addresses 108 to 123 are illegal. If
these PROFIBUS addresses do not exist on the bus, they cannot be addressed
through the FB IM308C.
S5 memory area This table shows how the S5 memory area is structured subsequent to
with WO, RO, RI FCT = WO, RO or RI:
S5 memory area This table shows how the S5 memory area must be structured for FCT = CS
with CS (change PROFIBUS address):
Assignment of the The FB IM308C does not read the GCGR parameter unless a control com-
GCGR parameter mand is sent with FCT = GC or CC. You define the group memberships of
the DP slaves with COM PROFIBUS.
If FREEZE and UNFREEZE are set simultaneously, only UNFREEZE is
executed. The same applies to simultaneous SYNC and UNSYNC.
Note
”00” is not permissible as the group selection byte.
GCGR parameter
Global Control
(control command) Group selection
GCGR parameter, Bits 15, 14, 9 and 8 are reserved for the GCGR parameter of the FB IM308C.
bits 15, 14, 9 and 8 If one of the bits is set for the GC and CC functions in spite of this, the
IM 308-C may go into IM fault mode. Although the module will restart wi-
thout problems after a subsequent power off and power on, this incorrect pa-
rameter assignment should be avoided in order to prevent system failure.
When is the When the control command is issued with the FB IM308C, it takes approxi-
control command mately one bus cycle (approx. 1TTR, target rotation time; calculated by
valid? COM PROFIBUS in bus parameters) before the control command is broad-
cast to all DP slaves concerned.
You must use FCT = CC to check whether the control command sent in the
GCGR parameter has already been broadcast to all the DP slaves concerned.
While ERR = DCH persists, the inputs affected by the control command can-
not be read or the outputs set.
Caution
! If you process the inputs or outputs affected by a control command before
the command has been broadcast along the bus to the DP slaves, incorrect
values may be read or set.
Consequently, always check beforehand with FCT = CC to ascertain whether
the control command you sent has already been processed by the DP slaves.
ERR parameter If an error occurs while the FB IM308C is running, the ERR parameter con-
tains information indicating the cause of the error. If no error occurs, the
group error bit in the ERR parameter is = 0.
Note
The ERR parameter must be re-evaluated after each FB IM308C call.
Group error
Bits Meaning
15 ... 8 The length byte indicates the number of bytes transferred by the FB IM308C.
The length byte is always updated when the FB IM308C is called with LENG = –1 (joker length).
When the length byte is updated, the group error bit is not set.
7 ... 0 Error byte: Information about an error (see Table 7-10)
The following bits have a special meaning:
Bit 7: Group error1 1: Error
Bit 6: Error in the 1: Error
IM 308-C
Bits 4 and 5: Parameter- 1: Parameterization error (at least one of the parameters for the FB IM308C call
ization error is invalid)
Bits 0 to 3: Error num- See Table 7-10
bers 1 to F
1 If the ”No error occurred” query is displayed, it is sufficient to query bit 7 (group error).
FB IM308C and If the FB IM308C accesses a DP slave for which the error-reporting mode is
QVZ ”QVZ” and the slave in question is not accessible, ”QVZ” is not reported:
instead, the corresponding error message is placed in the ”ERR” parameter of
the FB IM308C.
Exception: If you switch the IM 308-C from STOP to OFF at this time, the
CPU reports ”QVZ” for a short time.
Error numbers in Table 7-10 shows the meanings of the ERR parameter.
the ERR parameter
Table 7-10 Meanings of the error numbers in the ERR parameter
Table 7-10 Meanings of the error numbers in the ERR parameter, continued
Table 7-10 Meanings of the error numbers in the ERR parameter, continued
Table 7-10 Meanings of the error numbers in the ERR parameter, continued
Indirect With indirect parameterization (FCT = XX), the FB IM308C takes the para-
parameterization meterization data from a parameterization data block and not from the block
parameters.
You must open the parameter data block before calling the FB IM308C.
If the parameter data block is too short or if none exists, the programmable
controller goes to STOP. All subsequent errors are intercepted by the
FB IM308C and output in the parameter data block.
The parameter data block must be structured as follows: you can find a de-
scription of the block parameters in section 7.3.
Table 7-11 Structure of the parameter data block for the FB IM308C
S5-95U as DP If you use an S5-95U as DP master, skip chapter 8 and proceed to chapter 11.
master
Goal After reading this chapter, you will have all the information you need to start
up the ET 200 distributed I/O system with IM 308-C master interfaces as DP
masters.
Preconditions We assume:
that you have already inserted the memory card(s) in the corresponding
IM 308-C master interface(s) (see section 5.4)
It is an essential precondition of starting up the CPU that a memory card
with a parameterized master system be inserted. If there is no memory
card with a parameterized master system, the CPU will not boot.
that you have exported the data for each master system to the master (see
section G.11)
that you have checked the configuration of the distributed I/O system.
Note
If the status of the IM 308-C is CLEAR, outputs are set to ”0” but the inputs
are still read.
If the CPU issues BASP (command output lock) while the status of the
IM 308-C is CLEAR, the inputs are updated continuously but data consis-
tency is not ensured for the inputs.
Normal IM 308-C If there is not yet a master system on the memory card of the IM 308-C and
start you want to export the master system online via the PROFIBUS using COM
PROFIBUS, the following default parameters are set on the IM 308-C:
PROFIBUS address: 1
Baud rate: 19.2 kbaud
The ”RN” and ”IF” LEDs light up, i.e. the IM 308-C has started up with an
empty memory card and is now waiting for you to export a master system
with COM PROFIBUS.
Starting the ET 200 When you are ready to start the ET 200 distributed I/O system:
(switching on)
1. Test the wiring to the sensors and actuators of the individual DP slaves
using the ”Status of inputs/outputs” service function of COM PROFIBUS.
Result: After testing the DP slaves, you are sure that each DP slave is
fully operational.
2. Connect all DP slaves and DP masters with the PROFIBUS bus cable.
3. Switch on the power supply units of the DP slaves.
4. Set the STOP/RUN switches of the DP slaves (if fitted) to RUN.
5. Set the mode selector switches of the IM 308-C from OFF or ST to RN.
6. Switch on the power supply of the hosts.
Result: The IM 308-C powers up (BF (Bus Fault) LED flashes) and loads
the slave parameters entered in COM PROFIBUS to the DP slaves.
After loading the slaves, the IM 308-C compares the configuration para-
meterized with COM PROFIBUS with the actual configuration.
The ”BF” LED on each of the DP slaves connected to the bus must go
out. When data is exchanged between all the parameterized DP slaves and
the IM 308-C, the ”BF” LED on the IM 308-C goes out as well.
7. Use COM PROFIBUS or the FB IM308C to check the diagnostics mes-
sages (FCT = MD). These messages will tell you whether or not data ex-
change with the CP slaves is functioning correctly.
8. Restart the CPU.
9. Via COM PROFIBUS or the AS 511 interface of the programmable con-
troller, you can display the statuses of the inputs/outputs of the DP slaves.
Warning
! If you use the STATUS/CONTROL function to address consistent data areas
via the AS 511 interface, communication on the PROFIBUS may be inter-
rupted (outputs of DP slaves without response monitoring may be frozen).
Remedy: Switch the power supply of the IM 308-C off and then on again.
To avoid this difficulty, do not use the STATUS/CONTROL function to ad-
dress consistent data areas.
Overview The reactions of the distributed I/O system to certain events are described in
this section:
Switching on the The table below shows you how the ET 200 distributed I/O system responds
power supply when you switch on the power supply to the host.
PS
CPU and IM 308-C Fig. 8-1 illustrates CPU and IM 308-C power-up when the power supply is
power-up switched on. The CPU and IM 308-C switches are already set to RUN/RN
and the error-reporting mode is ”QVZ” (acknowledgment delay).
No
Power-up delay ex-
pired?
Yes
Operating modes Table 8-2 illustrates the meanings of the various operating modes of the
of the IM 308-C IM 308-C. Table 8-3 references these operating modes.
Note
When the IM 308-C changes its operating mode, there is a possibility that
consistency may be lost in data transferred while the change is in progress.
Reaction of the Table 8-3 indicates the reaction when the mode selector switch of the active
IM 308-C DP master on the bus is set to OFF, ST or RN.
Precondition: It is assumed that all DP slaves connected to the bus are ad-
dressable. If this is not the case, you must also make provision for the reac-
tions occurring when bus communication is interrupted or when a DP slave
fails (see section 8.2.4).
Note
If you have selected ”PEU” as the error-reporting mode and the IM 308-C is
OFF, ”QVZ” (acknowledgment delay) is reported instead of ”PEU” (power-
fail on expansion unit).
PS
Preconditions Reactions
CPU IM 308-C Error- CPU IM 308-C1 DP slaves
reporting
mode
STOP / St Off – No access to the inputs/outputs of the dis- OFF Status of outputs
RUN tributed I/O system. is sustained.
STOP / Off St QVZ2 No access to the inputs/outputs of the dis- STOP Status of outputs
RUN tributed I/O system. is sustained.
PEU2/None Inputs are set to ”0”, outputs cannot be set.
STOP / RN ST QVZ2 No access to the inputs/outputs of the dis- STOP Outputs are set to
RUN tributed I/O system. ”0”.
PEU2/ Inputs are set to ”0”, outputs cannot be set.
None
STOP ST RN – Inputs of the DP slave set to current val- CLEAR Outputs are set to
ues. ”0”.
RUN ST RN – Inputs of the DP slave set to current val- RUN Outputs are set to
ues. current values.
1 The modes of the IM 308-C are as defined in Table 8-2.
2 At least one DP slave must be configured for this error-reporting mode.
CPU reaction The table below shows the reactions when the mode selector switch of the
CPU is set to STOP or RUN while the bus is in operation.
Precondition: It is assumed that all DP slaves connected to the bus are ad-
dressable. If this is not the case, you must also make provision for the reac-
tions occurring when bus communication is interrupted or when a DP slave
fails (see section 8.2.4).
Note
If you switch the CPU to STOP or the CPU goes to STOP, the data trans-
ferred while the STOP is in progress is no longer consistent.
PS
Preconditions Reactions
CPU IM 308-C Error- CPU IM 308-C 1 DP slaves
reporting
mode
RUN STOP OFF – If you switch the CPU to STOP or the OFF Status of out-
STOP RUN CPU goes to STOP, the data transferred puts is sus
sus-
while the STOP is in progress is no tained.
longer consistent.
RUN STOP ST QVZ2
Q If you
y switch the CPU to STOP or the STOP Status of out-
STOP RUN CPU goes to STOP,
STOP the data transferred puts is sus-
sus
while the STOP is in progress is no tained.
longer consistent.
PEU2/ Inputs are set to ”0”, outputs cannot be set.
None
RUN STOP RN – Inputs of the DP slave set to current CLEAR Outputs are
values set to ”0”.
STOP RUN RN – Inputs of the DP slave set to current RUN Outputs are
values. set to current
values.
1 The modes of the IM 308-C are as defined in Table 8-2.
2 At least one DP slave must be configured for this error-reporting mode.
Note
If bus communication with a DP slave is interrupted, the DP slave fails or,
for example, the bus connector of the IM 308-C is pulled, there is a possibil-
ity of the most recently received data losing its consistency.
The same applies when bus communication is reestablished or the DP slave
is again addressable.
Remedy: If you require consistent data, you must re-address the data.
Table 8-5 Reaction to interruption of bus communication or failure of a DP slave (with QVZ)
Failed
DP slave Remaining DP slaves
Failed DP Reaction Reaction of failed DP slave(s): Reaction of remaining DP slaves:
slave(s)1: of CPU:
The inputs in the CPU are set to ”0”. The inputs in the CPU are updated as
Response moni-
The outputs of the DP slaves are ... before. The outputs on the DP slaves
toring
are ...
No RUN2 frozen. updated as before
Yes RUN2 set to ”0” when response time expires. updated as before.
No STOP frozen. set to ”0”.
Exception: If the CPU belongs to the
S5-115 7UB.. series, the outputs in the
process image up to byte 79 are set to ”0”
and frozen as of byte 80.
Yes STOP set to ”0” when response time expires. set to ”0”.
1 QVZ (acknowledgment delay) is triggered by default for the CPU. The reaction of the CPU to QVZ depends, for
example, on whether OBs 23 and 24 have been programmed and on the setting selected in the DX0 for the S5-135U
CPUs.
2 The ”QVZ” LED lights up.
PEU (powerfail in The I/O system reacts by issuing the PEU signal (powerfail in expansion
expansion unit) unit),
if a power failure occurs in an expansion unit
if a DP slave fails and PEU was selected as the error-reporting mode in
COM PROFIBUS.
Table 8-6 Reaction to interruption of bus communication or failure of a DP slave (with PEU)
Failed
DP slave Remaining DP slaves
Caution
! If you selected ”none” as the error-reporting mode, you can only detect an
error in the distributed I/O in the application program by means of diagnos-
tics analysis with the IM308C.
Consequently, we strongly recommend that ”none” be selected as the error-
reporting mode only for initial operation.
Table 8-7 Reaction to interruption of bus communication or failure of a DP slave (error-reporting mode ”none”)
Failed
DP slave Remaining DP slaves
Reaction The table below shows the reactions when bus communication is reestab-
lished or a failed DP slave is again addressable. The reactions depend on the
error-reporting mode selected.
Note
If bus communication with a DP slave is interrupted, the DP slave fails or,
for example, the bus connector of the IM 308-C is pulled, there is a possibil-
ity of the most recently received data losing its consistency.
The same applies when bus communication is reestablished or the DP slave
is again addressable.
Remedy: If you require consistent data, you must re-address the data.
Table 8-8 Reaction when bus interruption is rectified or DP slave is again addressable
Failed
DP slave Remaining DP slave
Failed Reaction of failed DP slave(s): Reaction of remaining
DP slave(s): DP slaves:
Response Error- The inputs in the CPU are set to ”0”. The outputs of the The inputs in the CPU
moni- reporting
p g DP slaves are ... are updated
p as before.
toring mode o tp ts on the DP
The outputs
Response monitoring Response monitoring time not yet
slaves are ...
time expired: expired:
No QVZ1/ ... set to the last value prior to the interruption and then up- ... updated as before.
None dated.
No PEU1 ... set to the last value prior to the interruption and then up- ... updated as again.
dated.
Yes QVZ1/ ... updated as again. ... set to the last value prior to the ... updated as before.
None interruption and then updated.
Yes PEU1 ... updated as again. ... set to the last value prior to the ... updated as again.
interruption and then updated.
1: At least one DP slave must be configured for this error-reporting mode.
Switching off the The procedure for shutting down the ET 200 distributed I/O system is always
ET 200 as follows:
1. Set the STOP/RUN switch of the CPU to STOP.
2. Set the mode selector switch of the IM 308-C from RN to ST or OFF.
3. Switch off the power supply of the host.
4. Switch off the power supply to the DP slaves and
5. Set the STOP/RUN switch on each DP slave (if fitted) to STOP.
Warning
! If response monitoring for DP slaves is deactivated and only the power sup-
ply for the host is switched off, outputs may be inadvertently set.
In this case, set the IM 308-C to ST before switching off the power supply of
the host, or always proceed in accordance with the shutdown sequence out-
lined above.
What do I do if the If you selected ”QVZ = Yes” as the error-reporting mode in COM PROFI-
power supply BUS, the CPU may refuse to restart when power is reapplied after a total
fails? power failure. The reasons are as follows:
If the power supply to the slaves fails just before that of the DP master,
the CPU with QVZ goes to STOP.
When mains power is reapplied, the CPU remains in STOP on account of
QVZ.
Remedy: Your options are as follows:
Restart the CPU
or
program the appropriate OBs for QVZ, e.g. OB 23/24
or
select ”PEU” as the error-reporting mode instead of ”QVZ”
or
buffer the power supplies to the DP slaves in such a way that the CPU
always goes down before the DP slaves if a total power failure occurs.
Goal After reading this chapter you will have basic knowledge of the design and
method of operation of the S5-95U with DP master interface.
Front view of the This is a front view of the S5-95U, showing all the indicators, controls and
S5-95U interfaces.
Indicators, The table below explains the indicators, controls and interfaces of the
controls S5-95U with DP master interface.
and interfaces
Table 9-1 The indicators, controls and interfaces of the S5-95U
Table 9-1 The indicators, controls and interfaces of the S5-95U, continued
Significance of the The significance of the ”BF”, ”RUN” and ”STOP” LEDs is as follows:
LEDs
Table 9-2 Significance of the ”BF”, ”RUN” and ”STOP” LEDs of the S5-95U
Purpose of the The DP master interface enables you to connect distributed I/Os to the
interface S5-95U via the PROFIBUS-DP bus.
Assignment The DP master interface is a 9-pole D-sub port in compliance with the PRO-
FIBUS-DP draft standard.
Parallel operation Parallel operation of the DP master interface and programmer interface (e.g.
SINEC L1 on programmer interface) is possible.
Exchange of data The S5-95U and the DP slaves exchange data through the agency of the con-
trol and communications processors in the S5-95U.
The link to PROFIBUS-DP is established via the DP master interface.
Functions of the The functions discharged by the control processor of the S5-95U with regard
control processor to communication via PROFIBUS-DP are as follows:
Load DP parameter set from 32 K EEPROM/ save to 32 K EEPROM
Ready output data for the DP slaves in the STEP 5 application program
Process the master and slave diagnostics in the STEP 5 application pro-
gram (diagnostics fetched by FB 230)
Process input data in the STEP 5 application program and pass on to the
I/O of the S5-95U
Functions of the The communications processor of the S5-95U handles the data traffic via the
communications PROFIBUS-DP parallel to the control processor. Its functions are as follows:
processor
Accept the token (send authorization) from a DP master and pass on the
token to another DP master
Parameterize DP slaves (send parameterization data to DP slaves)
Copy input data from the receive buffer of the communications processor
to the address space in the S5-95U (control processor)
Copy output data from the address space of the S5-95U (control proces-
sor) to the send buffer of the communications processor
Operating This illustration shows the principle of data exchange as implemented in the
principle S5-95U.
Outputs
Inputs
SINEC L2-DP
Receive Outputs
Inputs
buffer
PLC cycle The application program writes the output data into the appropriate address
space of the S5-95U .
The exchange of data between the control processor and the control processor
takes place at the cycle checkpoint of the S5-95U.
At the cycle checkpoint, the communications processor copies:
the output data from the address space to its send buffer
and simultaneously
the input data to the corresponding address space of the S5-95U .
The input data can be processed in the application program .
DP cycle The S5-95U receives data from the DP slaves. This data is written to the re-
ceive buffer of the communications processor . At the same time, the out-
put data is sent to the DP slaves .
The exchange of data between the DP master and DP slaves takes place cy-
clically and is independent of the cycle checkpoint of the S5-95U.
Technical data The technical data of the S5-95U with DP master interface is listed in the
table below. General technical data applicable to all versions of the S5-95U is
to be found in the system manual S5-90U/S5-95U Programmable Controller.
Technical data
Extension of alarm reaction time 0.5 ms
Maximum PLC cycle load time 0.5 ms
in PROFIBUS-DP operation (per
program cycle)
Internal power supply
Input voltage rated: DC 24 V
permissible range: 20 to 30 V
Current consumption at 24 V for the PLC: typ. 280 mA
full config. ext. I/O: typ. 1.2 mA
Output voltage U1 (for ext. I/O): + 9 V
U2 (for programmer/PROFIBUS-DP
interface): + 5.2 V
Table 9-4 Technical data of the S5-95U with DP master interface, continued
Technical data
Special PROFIBUS-DP data
Number of S5-95Us as DP mas- max. 124 DP masters
ters on the PROFIBUS-DP
Number of DP slaves per S5-95U max. 16 DP slaves
as DP master
Baud rates 9.6 kbaud to 1.5 Mbaud
Address volume for PROFIBUS- 128 bytes for outputs
DP
128 bytes for inputs
2 bytes overview diagnostics
Integrated organization blocks OB 1, OB 3, OB 13, OB 21, OB 22,
OB 31, OB 34, OB 251
Integrated function blocks FB 230, FB 240, FB 241, FB 242,
FB 243, FB 250, FB 251
Installing S5-95U You install the S5-95U with DP master interface in just the same way as any
other S5-95U version. The installation procedure for the S5-95U is described
in detail in the system manual S5-90U/S5-95U Programmable Controller,
Chapter 3.
32 K EEPROM for If you use the S5-95U as DP master, you need a special memory module, an
S5-95U EEPROM with 32 Kbytes capacity, included in the scope of supply of the
S5-95U with DP master interface.
On the 32 K EEPROM, 19.9 Kbytes are reserved for the STEP 5 application
program and 12 Kbytes are reserved for the configuration data (compressed
data).
In case you have to re-order the 32 K EEPROM, you will find the order num-
ber in Appendix G.
9.6 Saving to 32 K EEPROM in the S5-95U (File " Export " DP master)
32 K EEPROM for If you have the S5-95U as DP master, you use a special memory module, an
S5-95U EEPROM with a capacity of 32 Kbytes, supplied with the S5-95U with DP
master interface.
In case you have to re-order the 32 K EEPROM, you will find the order num-
ber in Appendix G.
Note
The data of a master system cannot be saved by inserting the 32 K EEPROM
in the EEPROM slot of the programmer or an external programming unit.
You can only save the data of a master system in the S5-95U when the 32 K
EEPROM is inserted in the S5-95U.
Saving data to You can only export the data you have parameterized with COM PROFIBUS
S5-95U to the S5-95U via the PROFIBUS-DP. The S5-95U automatically sets the
baud rate to 19.2 kbaud and the PROFIBUS address to ”1” after a general
reset (battery removed and POWER DOWN/POWER UP or programmer
command).
Tip: Save the application program on the 32 K EEPROM before you carry
out a general reset. In this case, the S5-95U will load the application program
after the POWER DOWN/POWER UP.
Saving The procedure for saving the configuration data to the 32 K EEPROM is as
configuration data follows:
to 32 K EEPROM
1. Set the S5-95U to STOP.
2. In COM PROFIBUS, select File " Export " DP Master.
3. Enter the current baud rate of the DP master (default after general reset =
19.2 kbaud). The current baud rate is available in EB 63 (value 05H is not
used):
EB 63 Baud rate
00H 9.6 kbaud
01H 19.2 kbaud
02H 93.75 kbaud
03H 187.5 kbaud
04H 500 kbaud
06H 1,500 kbaud
4. Enter the current station number of the DP master (default after general
reset = STN1). The current station number is available as a hexadecimal
value in EB 62.
Result: COM PROFIBUS exports the configuration data to the S5-95U. It
then asks whether you want to activate the exported configuration data
immediately in the S5-95U.
5. If there is only one S5-95U on the PROFIBUS, activate the exported con-
figuration data immediately.
If there are two or more DP masters on the PROFIBUS, answer ”No” to
the prompt instead. Export all the parameterization data to the DP masters
first, then activate it with Service Activate Parameters.
Result: If the configuration data is exported successfully, it is stored in
compressed form in the 32 K EEPROM (STOP LED flickers).
If the configuration data is not exported successfully, the S5-95U resumes
with the old bus parameters of the 32 K EEPROM. If the 32 K EEPROM
is blank, the default values are used.
If the export of the configuration data to the S5-95U is interrupted – e.g.
if the bus connector is withdrawn or an error occurs on the bus – you must
POWER DOWN/POWER UP.
6. Reset the S5-95U from STOP to RUN. After a STOP-RUN transition, the
S5-95U operates with the new configuration data.
General reset of If you perform a general reset (with a programmer command or by removing
the 32 K EEPROM the backup battery and using DB 1 parameter ”LNPG n”; see section 10.3),
only the configuration data on the 32 K EEPROM is deleted. The STEP 5
application program is deleted from the 32 K EEPROM if you then press the
”Copy” button.
IM 308-C as DP If you have an IM 308-C as DP master, skip chapter 10 and read chapter 6
master instead.
Goal After reading this chapter, you will be in possession of all the information
you need in order to write the STEP 5 application program.
Address areas Table 10-1 shows which address areas can be used in the S5-95U for distrib-
uted I/O, how access is implemented in the STEP 5 application program and
how many inputs/outputs are available.
Caution
! Danger of double address assignments.
Input/output bytes 64 to 127 are used by the local I/O (e.g. analog input/out-
put modules, slots 0 to 7) as well as the distributed I/O (DP slaves).
If you use local I/O (e.g. analog input/output modules), you must reserve the
address areas with COM PROFIBUS in the host parameters (see Table G-8,
section G.8.2).
Addressing If you use the S5-95U as DP master, linear addressing is the only option. You
options must assign one and only one address to each input/output of a DP slave.
Access to Once you have assigned the inputs and outputs of the distributed I/O with
addresses COM PROFIBUS, you can use the STEP 5 application program to access the
inputs and outputs of the distributed I/O:
access addresses v 127 via the process image
access addresses w 128 via load and transfer operations
Access operations The P-area is at your disposal for linear addressing. Table 10-2 shows the
operations you can use.
Data consistency There are two consistent areas, I/O address 64 to 127 and 128 to 191. If these
areas overlap in a DP slave the result is data inconsistency: overlap must
therefore be avoided. The S5-95U recognizes data consistency for a DP
slave. If you specify module-granular consistency for a DP slave, the S5-95U
still treats the data consistently for the DP slave as such.
Nesting depth If you exceed the maximum nesting depth (8) for the S5-95U, the CPU goes
to STOP with STUEB. At the same time, the data transfer via the PROFI-
BUS-DP master interface is terminated; the S5-95U is removed from the to-
ken ring.
Remedy: Modify the STEP 5 application program and then POWER
DOWN/POWER UP the system.
Parameters in DB 1 You must set the ”LNPG” parameter (= general reset with programmer only)
in DB 1 for the S5-95U as DP master (release 3 and later versions).
Meaning of You can use the ”LNPG” parameter (= general reset with programmer only)
”LNPG” to specify whether or not the S5-95U – and thus also the master system trans-
ferred with COM PROFIBUS – is completely reset if the power supply fails
and is subsequently restored, but there is no battery.
Note: The general reset does not affect the STEP 5 application program on
the EEPROM.
Overview Diagnostics means identifying and pinpointing errors. You require the inte-
grated function block FB 230 of the S5-95U to read the diagnostics data.
Overview
... indicates which DP slaves reports diagnostics (EW 56)
diagnostics
... current station number (EB 62) and baud rate (EB 63), see
STN / baud rate
section G.11.2
Slave diagnostics
status DP slave
Master stat. No. ... indicates which DP master parameterized
the DP slave
Manufacturer ID ... indicates the type of DP slave
Slave-specific diagnostics
Overview In diagnostics word EW 56, each bit is assigned to a DP slave. A ”1” means
diagnostics that the DP slave in question has reported diagnostics or that the DP slave
cannot be addressed by the DP master.
Diagnos- Input Bits correspond to the DP slaves with lowest to highest PROFIBUS Format of
tics byte addresses: data re-
(lowest PROFIBUS address: E 56.0 ceived
highest PROFIBUS address with 16 DP slaves: E 57.7)
7 6 5 4 3 2 1 0
Over- 56 7 6 5 4 3 2 1 0 KM
view
i
diagnos- 57 15 14 13 12 11 10 9 8 KM
tics
Interpreting Query the EW 56 in the STEP 5 application program and call the FB 230.
overview When you call the FB 230, the bits in EW 56 are reset.
diagnostics
In order to avoid resetting the bits in EW 56, you can start an additional FB
in each cycle which updates the slave diagnostics data, even if EW 56 is reset
by the FB 230 (see section D.2).
Example The STEP 5 application program below shows how overview diagnostics can
be interpreted.
AWL Explanation
.
. custom application program
.
: L KM 00000000 00000000
: L EW 56 load diagnostics word EW 56
: !=F no station with errors?
: BEB
: SPB FB230 if errors, then request station diag-
nostics with FB 230
What to do next On the basis of the overview diagnostics, you can see what kind of diagnos-
tics message you have to deal with. You should now analyze the slave diag-
nostics.
Requesting slave To request slave diagnostics, you must call the FB 230 in the STEP 5 applica-
diagnostics tion program.
Result: The FB 230 places the slave diagnostics data in a data block that you
created beforehand in the STEP 5 application program.
DW Meaning, DL Meaning, DR
0 Number of the slave station, which Number of diagnostics bytes
submitted diagnostics data
1 Station status 1 Station status 2
2 Station status 3 Master PROFIBUS address
3 Manufacturer ID
4 to 16 Other slave-specific diagnostics
(device-specific, ID-specific or channel diagnostics,
always depending on the DP slave, see sections 6.4.1 and 6.4.2)
Station status and The structure of the bytes for station statuses 1 to 3 and the master
master PROFIBUS PROFIBUS address is based on EN 50 170, Volume 2, PROFIBUS and is
address independent of the DP master used.
The meanings of the bits are explained in section 6.4, Tables 6-8, 6-9 and
6-10.
Function of the You must call the FB 230 in the STEP 5 application program in order to re-
FB 230 quest slave diagnostics.
Calling the FB 230 resets EW 56 (overview diagnostics). In order to avoid
resetting the bits in EW 56, you can start an additional FB in each cycle
which updates the slave diagnostics data, even if EW 56 is reset by the
FB 230 (see section D.2).
Calling the FB 230 In the simplest case, the FB 230 is called in cyclic program processing.
If you call the FB 230 in the process alarm or the time alarm processing, you
must implement measures in the STEP 5 application program to ensure that
the FB 230 does not interrupt itself. You do this by disabling the alarms be-
fore each FB 230 call and enabling the alarms again once the FB 230 has
been called.
Creating the DB Before you call the FB 230 in the STEP 5 application program, you must
create the data block for the diagnostics data: note that this data block must
be at least 17 data words in length.
See sections 10.4.2 and 6.4 for details of the structure of slave diagnostics.
Block parameters The table below shows the meanings of the block parameters which you must
send to the FB 230 in the STEP 5 application program. You can call the
FB 230 with direct or indirect parameterization.
If parameterization is indirect:
x = 2 to 255 DB No.
y = 0 to 255 DW No.
The PROFIBUS address and the DB No. of the target data
block for the diagnostics data are written, starting at the DW
you specify. The high byte of the PROFIBUS address param-
eter must have the value ”0”.
Example of an This STEP 5 application program is an example illustrating how you can re-
FB 230 call quest slave diagnostics with the FB 230 for the following DP slaves: STN 5,
STN 20, STN 110, STN 123.
STL Explanation
: U E 56.0 If station with lowest number (here STN 5) is errored,
: SPB FB230 then call the FB 230
Name : S_DIAG
S_NR : KY0,0 Direct parameterization, station with lowest
PROFIBUS address (here STN 5) on the PROFIBUS-DP
DBNR : KY230,0 Slave diagnostics data (18 DW) is written to DB 230 starting
at DW 0
: U E 56.2 If station with 3rd lowest PROFIBUS address (here STN 110) is
errored,
: SPB FB230 then call the FB 230
Name : S_DIAG
S_NR : KY1,y 1 = indirect parameterization, y = irrelevant
DBNR : KY11,10 Parameters stored in DB 11 starting at DW 10
Contents of DB 11
DW 10 = 0002H --> 02H = 3rd lowest station
must be 00H!
DW 11 = 0C0AH --> 0CH = 12 ––> DB 12
0AH = 10 ––> DW 10
Technical data The technical data of the FB 230 is listed in the table below:
Monomaster mode Monomaster mode means that there is one DP master on the bus. No other
DP master is operating elsewhere on the bus.
DP master
Master system 1
S5-95U
Multimaster mode Multimaster mode means that there are at least two masters on the bus, for
example an S5-95U and an IM 308-C, or two S5-95Us.
DP master 1 DP master 2
Master system 1 Master system 2
S5-95U S5-95U
IM 308-C as DP If you use the IM 308-C as DP master, skip chapter 11 and read chapter 8
master instead.
Goal After reading this chapter, you will have all the information you need to start
up the ET 200 distributed I/O system with S5-95U as DP masters.
Preconditions We assume:
that you have installed a backup battery in each S5-95U with DP master
interface or parameterized ”LNPG y” in DB 1 (see section 10.3).
that you have inserted the 32 K EEPROM(s) in the S5-95Us with DP mas-
ter interface (see section 9.5).
that you have used COM PROFIBUS to transfer the data of each master
system to the appropriate DP master.
that you have checked the configuration of the distributed I/O system.
Starting the ET 200 When you are ready to start the ET 200 distributed I/O system:
(switching on)
1. Test the wiring to the sensors and actuators of the individual DP slaves
using COM PROFIBUS and the ”Status” service function.
Result: After testing the DP slaves, you are sure that each DP slave is
fully operational.
2. Connect all DP slaves and DP masters with the PROFIBUS bus cable.
3. Switch on the power supply units of the DP slaves.
4. Set the STOP/RUN switches of the DP slaves (if fitted) to RUN.
5. Switch on the power supply of the S5-95U with DP master interface.
6. Set the ON/OFF switch on the S5-95U to ”I”.
7. Switch the S5-95U programmable controllers with DP master interface
from STOP to RUN.
Result: The S5-95Us power up. On the S5-95Us and the connected DP
slaves the ”BF” LEDs go out. Data exchange is possible between all para-
meterized DP slaves and the S5-95U.
Fig. 11-1 is a flowchart illustrating the power-up sequence of the S5-95U
on the bus.
8. Use the FB 230 or COM PROFIBUS to check the diagnostics messages.
These messages will tell you whether or not data exchange with the DP
slaves is functioning correctly.
9. Via the programmer interface of the S5-95U, you can execute the status/
control function for all DP slaves the addresses of which are contained in
the process image, or you can display the statuses of the inputs/outputs of
the DP slaves with COM PROFIBUS.
Power-up of the Fig. 11-1 is a flowchart explaining how the S5-95U with DP master interface
S5-95U powers up.
No
Backup battery OK?
Yes
Copy STEP 5 application program from 32 K
EEPROM to the S5-95U
DB 1: ”LNPG y” param- No
eter set?
Yes
Is DP parameter set No
available on 32 K EE-
PROM?
Yes
No
Have all DP slaves ac-
knowledged?
No
Yes Power-up delay timed
out?
Yes
Default parameter The S5-95U uses the default parameter set if it fails to find a DP parameter
set set on the 32 K EEPROM (see Fig. 11-1). The settings in the default parame-
ter set are as follows:
PROFIBUS address = 1
Baud rate = 19.2 kbaud
No DP slave parameterized
Highest active PROFIBUS address = 126
The baud rate and the PROFIBUS address of the station are stored in EW 62
(see section G.11.2).
Message in Operating system datum 17 of the S5-95U (absolute address 5D22H) contains
operating the following information on the DP parameter set:
system datum
00H = Default parameter set is valid
01H = DP parameter set loaded from 32 K EEPROM is valid
For more information on other system data in the S5-95U, see the system
manual S5-90U/S5-95U Programmable Controller.
Overview The reactions of the distributed I/O system with S5-95U as DP master to cer-
tain events are described in this section:
11.3.1 Reaction to switching the S5-95U for the first time from STOP to
RUN (programmable controller startup)
Switching on The table below shows you how the ET 200 distributed I/O system responds
power supply and when you switch on the power supply of the S5-95U and the S5-95U for the
S5-95U first time.
Table 11-1 Reaction to switching the S5-95U for the first time from STOP to RUN
PS S5-95U
Preconditions Reactions
S5-95U as DP S5-95U as DP master DP slaves
master
STOP You cannot access the inputs/outputs
p p of the distributed I/O system.
y Outputs
p are set to
”0”
”0”.
STOP RUN Diagnostics data, DP inputs and outputs are cleared. Inputs are read
Diagnostics data and DP inputs are updated. Outputs are up-
written
DP outputs are written. dated
DP outputs are set to defaults (if you programmed the startup OB 21).
You can access the inputs/outputs of the distributed I/O system.
Restoration of The status of the S5-95U when mains power failed was RUN and when mains
mains power power is restored the status is again RUN.
Response of bus The table below shows you how the ET 200 distributed I/O system responds
system to the restoration of mains power.
Table 11-2 Reaction after power failure in the S5-95U (restoration of mains power)
PS S5-95U
Preconditions Reactions
S5-95U as DP Master S5-95U as DP Master DP Slaves
Restoration of Backup battery present, Diagnostics data, DP inputs and outputs are clea- Inputs are read
mains power or DB 1 parameter red. Outputs are upda-
”LNPG y” Diagnostics data and DP inputs are updated. ted
DP outputs are written.
You can access the inputs/outputs of the distribu-
ted I/O system.
No backup battery, and Distributed I/O system configuration is lost (for –
DB 1 parameter selection of default parameter set see sec-
”LNPG n” tion 11.2).
11.3.3 Reaction when, with the bus running, you switch the S5-95U to
STOP or RUN
Precondition All DP slaves on the bus are addressable. If not, you must make provision for
the reactions to interruption of bus communication and failure of a DP slave
(see section 11.3.4).
Response of bus The table below shows you how the system responds if, with the bus running,
system the mode selector switch of the S5-95U is actuated to switch to STOP or
RUN.
Table 11-3 Reaction when, with the bus running, you switch the S5-95U to STOP or RUN
PS S5-95U
Preconditions Reactions
S5-95U as DP S5-95U as DP master DP slaves
master
RUN STOP You cannot access the inputs/outputs of the distributed I/O system. Outputs are set to
”0”.
STOP RUN You can access the inputs/outputs of the distributed I/O system. Inputs are read
Outputs are up-
dated
Error-reporting Unlike the IM 308-C, the S5-95U as DP master does not support an error-re-
mode ”none” porting mode (neither PEU nor QVZ).
Caution
! In the application program, you can detect an error in the distributed I/O
system only by analyzing the overview diagnostics or the slave diagnostics
with the FB 230.
Response of bus This table shows the reaction to an interruption in bus communication or the
system failure of one or more DP slaves.
S5-95U
Failed
DP slave Remaining DP slaves
Failed Reaction of the Reaction of the S5-95U and Reaction of the S5-95U and
DP slave(s): S5-95U as DP mas- the failed DP slave(s): the remaining DP slaves:
Response monitoring ter
No S5-95U remains in S5-95U: S5-95U:
RUN Inputs in the S5-95U are set to Inputs and outputs in the
”0” S5-95U are updated as before.
Outputs in the S5-95U are up- DP slaves:
dated internally Outputs are updated as before.
DP slave:
Outputs are frozen
Yes S5-95U remains in S5-95U: S5-95U:
RUN Inputs in the S5-95U are set to Inputs and outputs in the
”0” S5-95U are updated as before.
Outputs in the S5-95U are up- DP slaves:
dated internally Outputs are updated as before.
DP slave:
Outputs are set to ”0” when the
response monitoring time times
out.
Reaction The table below shows the reactions when bus communication is reestab-
lished or a failed DP slave is again addressable.
Table 11-5 Reaction when bus interruption is rectified or DP slave is again addressable
S5-95U
Failed
DP slave Remaining DP slaves
Failed DP slave(s): Reaction of the failed DP slave(s): The inputs in the S5-95U are up-
dated as before.
Switching off The procedure for shutting down the ET 200 distributed I/O system is always
ET 200 as follows:
1. SET the STOP/RUN switch of the S5-95U with DP master interface to
STOP.
2. Set the ON/OFF switch on the S5-95U to ”O”.
3. Switch off the power supply of the S5-95U.
4. Switch off the power supply to the DP slaves and
5. Set the STOP/RUN switch on each DP slave (if fitted) to STOP.
Monitoring The S5-95U has an integral failure-monitoring system which notifies the
mechanism communication processor of:
cycle monitoring time overshoot
control processor failure
Monitoring time When the DP master interface runs up, the communication processor in the
for control S5-95U starts a monitoring time of 0.5 s.
processor
When this monitoring time times out, the communication processor recog-
nizes a failure of the control processor. The S5-95U goes to STOP.
Monitoring time The monitoring time is cleared when the S5-95U goes from RUN to STOP.
characteristics
The monitoring time is started when the S5-95U goes from STOP to RUN.
The monitoring time is retriggered at the cycle checkpoint of the S5-95U and
when the OB 31 is called.
Accessing the The COM PROFIBUS manual is available only in electronic from (PDF) on
manual the COM PROFIBUS CD-ROM.
You can read the electronic manual on screen or print it out from the
COM PROFIBUS CD-ROM and insert it in Chapter 12 of this manual.
You will find the order number of the COM PROFIBUS CD-ROM in Appen-
dix G.
COM PROFIBUS For a limited transitional period COM PROFIBUS V 3.3 will be supplied in
V 3.3 parallel with the new version V 5.0. You will still find the description of
COM PROFIBUS V 3.3 in Appendix G of this manual.
Not in this chapter This chapter does not contain the general technical data relating to
the IM 308-C master interface,
the S5-95U with DP master interface
the PROFIBUS card
The IM 308-C is in compliance with the general technical data for the
S5-115U, S5-135U and S5-155U programmable controllers.
The general technical data for the S5-95U is in the system manual
S5-90U/S5-95U Programmable Controller. This information is applicable to
all versions of the S5-95U.
The PROFIBUS card is in compliance with the general technical data for the
programmers/PCs.
Goal After reading this chapter, you will be familiar with the environmental condi-
tions in which the ET 200 can be used.
Introduction This chapter contains the following information about the ET 200:
The most important standards for which the ET 200 satisfies the criteria
The certifications available for the ET 200.
PROFIBUS stan- The ET 200 distributed I/O system is based on the EN 50 170, Volume 2,
dard PROFIBUS standard.
IEC 1131 The ET 200 distributed I/O system fulfills the requirements and criteria of the
IEC 1131, Part 2 standard.
CE mark Our products meet the requirements and protection objectives of the follow-
ing EC Directives and comply with the harmonized European standards (EN)
that have been published in the Official Gazettes of the European Community
for programmable logic controllers:
89/336/EEC ”Electromagnetic compatibility” (EMC Directive)
72/23/EEC ”Electrical Equipment for Use Within Fixed Voltage Ranges”
(Low-Voltage Directive)
The EC declarations of conformity are being kept available for the cognizant
authorities at:
Siemens Aktiengesellschaft
Bereich Automatisierungstechnik
A&D AS E4
Postfach 1963
D-92209 Amberg
EMC Directive SIMATIC products are designed for use in industrial environments.
SIMATIC products issued with an individual approval can also be used in
residential environments (private housing or small-scale trades and commer-
cial premises). You must obtain this special approval from an appropriate
authority or certificate-issuing agency, for example in Germany from the
Federal Office of Posts and Telecommunications or one of its branches.
FM approval Factory Mutual Approval Standard Class Number 3611, Class I, Division 2,
Groups A, B, C, D.
Warning
! Personal injury and material damage may be incurred.
Personal injury and material damage may be incurred in hazardous areas if
you disconnect plug and socket connections while the ET 200 is operating.
Always deenergize the ET 200 in hazardous areas before disconnecting plug
and socket connections.
Pulse interference Table A-1 lists the details of electromagnetic compatibility with regard to
pulse interference.
Sinusoidal RF radiation onto the device to ENV 50140 (corresponds to IEC 801-3):
interference
Electromagnetic RF field, amplitude-modulated
– from 80 to 1000 MHz
– 10 V/m
– 80 % AM (1 kHz)
Electromagnetic RF field, pulse-modulated
– 900 5 MHz
– 10 V/m
– 50 % ED
– 200 Hz repetition frequency
RF coupling on signal and data lines, etc. to ENV 50141 (corresponds to
IEC 801-6), radio frequency, asymmetrical, amplitude-modulated
– from 0.15 to 80 MHz
– 10 V rms, unmodulated
– 80 % AM (1 kHz)
– 150 Ω source impedance
Transport and The bus connectors and RS 485 repeaters described in this manual comply
storage conditions with the requirements of IEC 1131, Part 2. The figures below are applicable
to modules transported and stored in their original packaging.
Bus connectors The storage temperature for the bus connectors is determined by other condi-
tions. They are specified in Table 3-7 in section 3.4.
Ambient operating The bus connectors and RS 485 repeaters described in this manual are de-
conditions signed for stationary use in sheltered locations. Ambient operating conditions
to IEC 1131-2.
Where the Unless additional protective measures are implemented, the bus connectors
modules should and RS 485 repeaters should not be used:
not be used
S where they would be exposed to a high proportion of ionizing radiation
S where operating conditions are harsh, for example due to:
– dust
– aggressive vapors or gases
S in systems which require special monitoring, for example:
– elevators
– electrical systems in high-risk zones
Installation in cabinets counts as an additional protective measure.
Climatic The bus connectors and RS 485 repeaters are suitable for use under the fol-
conditions lowing climatic conditions:
Mechanical The mechanical conditions are listed in the table below as sinusoidal vibra-
conditions tions.
Reducing vibration If the modules are subjected to severe shocks or vibrations, you must imple-
ment suitable measures to reduce the acceleration or amplitude.
We recommend installation on suitable dampers (e.g. rubber-metal elements).
Tests for Table A-2 lists the nature and scope of the tests to establish the mechanical
mechanical conditions.
conditions
Test voltages The insulation strength was verified by application of the following test volt-
ages to VDE 0160:
Protection class Class I to IEC 536 (VDE 0106, Part 1), i.e. requires connection of protective
conductor to busbar.
Ingress of foreign Degree of protection IP 20 to IEC 529, i.e. proof against contact with stan-
matter and water dard test fingers.
In addition: Proof against ingress of foreign matter of diameter in excess of
12.5 mm.
Not specially protected against the ingress of water.
Goal This is a ready-reference chapter. It tells you which access commands are
available for which CPUs and what you must bear in mind with regard to the
individual commands.
What is The term ”consistent data” refers to all areas containing more than one byte
consistency? of data that belongs together, e.g. a single word constitutes a consistent area
of 2 bytes.
Consistent data is processed, for example, by analog modules, CPs, IPs in an
ET 200U, or by the S5-95U with PROFIBUS-DP interface.
Example: The following are consistent on account of their contents:
the high byte and the low byte of an analog value (word consistency)
the job number and the associated parameters of this job, e.g. in a CPU
job addressing a CP (consistency across 4 words)
Note
If you process consistent data, define the addresses in the range from
PY 128 to PY 255 or in the Q area.
Access byte-consistent areas using byte commands, and word-consistent
areas using word commands.
If the addresses are located in the range from PY 128 to PY 255 or in the
Q area, you should always access the consistent area decrementally, e.g.
first PY 5 and then PY 4, PY 3 and PY 2.
Always access all the bytes or words in a consistent area.
Always try to create consistent data areas that are as small as possible. If
you have two digital bytes, for example, you should address them as indi-
vidual bytes and not as a word.
If you want to access any address in the P or Q area from an alarm pro-
cessing level, you must disable the alarms and then enable them again
prior to each consistent data access.
Linear addressing When you use linear addressing for the 941 to 944 CPUs, you can access the
P area and – via FB 196/197 – the Q area:
The FB 196/197 requires the IM 308-C release 2 or higher.
Inputs
I/O address Address for direct Access commands
access
941 CPU (P area): A I x.y / AN I x.y
0 to 63 F000H to F03FH O I x.y / ON I x.y
L IB x
942 to 944 CPUs L IW x
(P area): L PY x
0 to 127 F000H to F07FH
941 to 944 CPUs: L PY x
(P area) L PW x*
128 to 255 F080H to F0FFH
0 to 255 F100H to F1FFH FB 196/197
(Q area)
Outputs
I/O address Address for direct Access commands
access
941 CPU (P area): S Q x.y R Q x.y
0 to 63 F000H to F03FH = Q x.y
T QB x T QW x
942 to 944 CPUs T PY x
(P area):
0 to 127 F000H to F07FH
941 to 944 CPUs: T PY x
(P area) T PW x*
128 to 255 F080H to F0FFH
0 to 255 F100H to F1FFH FB 196/197
(Q area)
*: Word-consistent data only
P-page addressing If you choose P-page addressing, you must use PY 255 (F0FFH) as the page
selection address.
Q-page addressing If you choose Q-page addressing, you must use QB 255 (F1FFH) as the page
selection address and then address the Q area via the FB 196/197.
The FB 196/197 requires IM 308-C release 2 or higher.
Other access Other access commands can be used only under certain conditions. These
commands conditions are listed in section B.7.1.
Linear addressing When you use linear addressing for the 944 CPU, you can access the P area
and – via FB 196/197 – the Q area:
Inputs
I/O address Address for direct Access commands
access
CPU 941 (P area): U E x.y / UN E x.y
0 to 63 F000H to F03FH O E x.y / ON E x.y
L EB x
CPU 942 to 944 L EW x
(P area): L PY x
L PW x
0 to 127 F000H to F07FH
LIR TNB
CPU 941 to 944: L PY x
(P area) L PW x
128 to 255 F080H to F0FFH LIR TNB
P-page addressing If you choose P-page addressing, you must use PY 255 (F0FFH) as the page
selection address.
Q-page addressing If you choose Q-page addressing, you must use QB 255 (F1FFH) as the page
selection address and then address the Q area via the FB 196/197.
The FB 196/197 requires IM 308-C release 2 or higher.
Linear addressing When you use linear addressing for the 945 CPU, you can access both the P
area and the Q area:
Inputs
I/O address Address for direct Access commands
access
0 to 127 0F000H to 0F07FH A I x.y / AN I x.y
(P area) O I x.y / ON I x.y
L IB x L IW x
L ID x L PY x
128 to 255 0F080H to 0F0FFH L PY x L PW x*
(P area)
0 to 255 (Q area) 0F100H to 0F1FFH L QB x L QW x*
Outputs
I/O address Address for direct Access commands
access
0 to 127 0F000H to 0F07FH S Q x.y R Q x.y
(P area) = Q x.y
T QB x T QW x
T QD x T PY x
128 to 255 0F080H to 0F0FFH T PY x T PW x*
(P area)
0 to 255 (Q area) 0F100H to 0F1FFH T QB x T QW x*
P-page addressing If you choose P-page addressing, you must use PY 255 (F0FFH) as the page
selection address.
Q-page addressing If you choose Q-page addressing, you must use QB 255 (F1FFH) as the page
selection address.
Other access Other access commands can be used only under certain conditions. These
commands conditions are listed in section B.7.3.
Linear addressing When you use linear addressing, you can access both the P area and the Q
area.
Inputs
I/O address Address for direct Access commands
access
0 to 127 0F000H to 0F07FH A I x.y / AN I x.y
(P area) O I x.y / ON I x.y
L IB x L IW x
L ID x
L PY x
128 to 255 0F080H to 0F0FFH L PY x L PW x*
(P area)
0 to 255 0F100H to 0F1FFH L QB x L QW x*
(Q area)
Outputs
I/O address Address for direct Access commands
access
0 to 127 0F000H to 0F07FH S Q x.y
(P area) R Q x.y
= Q x.y
T QB x T QW x
T QD x
T PY x
128 to 255 0F080H to 0F0FFH T PY x T PW x*
(P area)
0 to 255 0F100H to 0F1FFH T QB x T QW x*
(Q area)
*: Word-consistent data only
P-page addressing If you choose P-page addressing, you must use PY 255 (F0FFH) as the page
selection address.
Q-page addressing If you choose Q-page addressing, you must use QB 255 (F1FFH) as the page
selection address.
Other access Other access commands can be used only under certain conditions. These
commands conditions are listed in section B.7.4 for the 922 CPU and in section B.7.5 for
the 928 CPU.
Linear addressing When you use linear addressing, you can access both the P area and
the Q area:
Inputs
I/O address Address for direct Access commands
access
0 to 127 0F000H to 0F07FH A I x.y / AN I x.y
(P area) O I x.y / ON I x.y
L IB x L IW x
L ID x
L PY x
128 to 255 0F080H to 0F0FFH L PY x L PW x*
(P area)
0 to 255 0F100H to 0F1FFH L QB x L QW x*
(Q area)
Outputs
I/O address Address for direct Access commands
access
0 to 127 0F000H to 0F07FH S Q x.y R Q x.y
(P area) = Q x.y
T QB x T QW x
T QD x
T PY x
128 to 255 0F080H to 0F0FFH T PY x T PW x*
(P area)
0 to 255 0F100H to 0F1FFH T QB x T QW x*
(Q area)
*: Word-consistent data only
Other access Other access commands can be used only under certain conditions. These
commands conditions are listed in section B.7.6.
Overview This section describes the rules you must observe in order to maintain data
consistency in direct access to the distributed I/O system.
Structure of the ID COM PROFIBUS enables you to define IDs to select the consistency for a
module.
When parameterizing a DP slave such as the ET 200U or the S5-95U, enter
the ID in COM PROFIBUS by selecting Configure " Slave Parame-
ters " Configure" ID.
The ”ID” dialog box is opened:
ID
OK
Type: Inputs
Length: 1 Cancel
Format: Byte
Help
Module consistency
Figure B-1 ID
Sections B.7.1 to B.7.6 refer to this ”ID” dialog box in COM PROFIBUS.
Switch-on and Bytes with which you switch on consistency (switch-on bytes) are always
switch-off bytes shown as white fields below. Bytes with which you switch off consistency
(switch-off bytes) are shown as gray-hatched fields.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over one word
Table B-14 Word consistency over one word
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
access L PW x/T PW x L PW x/T PW x FB 196/197
commands
Byte consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-15 Byte consistency over m bytes (total length)
Length: [m]
Format: Byte
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–11
access L PY x/T PY x TNB FB 196/197
commands
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-16 Word consistency over m/2 words (total length)
Length: [m/2]
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–11
access L PW x/T PW x L PW x/T PW x FB 196/197
commands
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over one word
Table B-17 Word consistency over one word
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
access L PW x/T PW x L PW x/T PW x FB 196/197
commands TNB TNB TNB
Byte consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-18 Byte consistency over m bytes (total length)
Length: [m]
Format: Byte
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–11
access TNB TNB FB 196/197
commands TNB
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-19 Word consistency over m/2 words (total length)
Length: [m/2]
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–11
access L PW x/T PW x L PW x/T PW x FB 196/197
commands TNB TNB TNB
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over one word
Table B-20 Word consistency over one word
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
access L PW x/T PW x L PW x/T PW x L QW x/T QW x
commands TNW TNW TNW
Byte consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-21 Byte consistency over m bytes (total length)
Length: [m]
Format: Byte
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–11
access L PY x/T PY x TNB TNB
commands
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-22 Word consistency over m/2 words (total length)
Length: [m/2]
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–11
access L PW x/T PW x L PW x/T PW x L QW x/T QW x
commands TNW TNW
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over one word
Table B-23 Word consistency over one word
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
Byte consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-24 Byte consistency over m bytes (total length)
Length: [m]
Format: Byte
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–11
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-25 Word consistency over m/2 words (total length)
Length: [m/2]
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–11
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over one word
Table B-26 Word consistency over one word
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
Byte consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-27 Byte consistency over m bytes (total length)
Length: [m]
Format: Byte
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–11
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-28 Word consistency over m/2 words (total length)
Length: [m/2]
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–11
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over one word
Table B-29 Word consistency over one word
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
access L PW x/T PW x L PW x/T PW x L QW x/T QW x
commands
Byte consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-30 Byte consistency over m bytes (total length)
Length: [m]
Format: Byte
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–1 1
access L PY x/T PY x TNB TNB
commands
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Word consistency The following is based on the ”ID” dialog box in COM PROFIBUS:
over module
Table B-31 Word consistency over m/2 words (total length)
Length: [m/2]
Format: Word
Module consistency
Byte P area: 0 to 127 P area: 128 to 255 Q area: 0 to 255
n
n+1
...
n + m–11
access L PW x/T PW x L PW x/T PW x L QW x/T QW x
commands
1 m corresponds to the length in bytes you defined in the ”ID” dialog box.
Basis The information in this section is based on the ”PROFIBUS-DP” bus profile.
The computations of reaction times do not take delays such as those caused
by diagnostics telegrams into account.
Goal After reading this chapter, you will be familiar with the reaction times and
mechanisms of the ET 200 distributed I/O system.
You will also be in a position to dimension time-critical bus segments.
Reaction times in Fig. C-1 shows the reaction times of the ET 200 distributed I/O system. The
ET 200 aggregate reaction time is the mean reaction time which elapses between the
switching of an input and the associated switching of an output:
tcons
tprog
tslave tslave
tDP tDP
Importance Table C-1 shows the relative importance of the reaction times introduced in
the above illustration. The individual reaction times are described in detail
below.
Table C-1 Importance of reaction times in the ET 200 distributed I/O system
Definition tp rog is the reaction time of the application program in the CPU. There are
two cases for tprog:
Output data
Output
data
PIO
At the start of the application program cycle, the process image of the in-
puts is transferred from the IM 308-C to the PII.
At the end of the application program cycle, the process image of the out-
puts is transferred from the PIO to the IM 308-C.
If you access the process image, tprog equals the duration of the application
program.
tprog for direct access CPU IM 308-C Negligible
(load/transfer com-
mands) Application program Dual-port RAM
PII
OB 1 Input
data
L PY 30 Input data
:
: Output
: data
T PY 30 Output data
PIO
If you access the dual-port RAM of the IM 308-C directly using load/trans-
fer commands, reaction time tprog is negligible.
Definition tcons is the reaction time for data transfer between CPU and IM 308-C. tcons
can be up to 0.08 ms long.
tcons
Reaction times in Fig. C-1 shows the reaction times of the ET 200 distributed I/O system. The
ET 200 aggregate reaction time is the mean reaction time which elapses between the
switching of an input and the associated switching of an output:
tprog + tinter
tslave tslave
tDP tDP
Figure C-3 Reaction times in the ET 200 distributed I/O system (S5-95U)
Importance Table C-1 shows the relative importance of the reaction times introduced in
the above illustration. The individual reaction times are described in detail
below.
Table C-3 Importance of reaction times in the ET 200 distributed I/O system
(S5-95U)
Definition tprog is the reaction time of the application program in the CPU. tprog is negli-
gible if you access directly (load/transfer commands).
Outputs
Output
data
PIO
At the start of the application program cycle, the process image of the in-
puts is transferred to the PII.
At the end of the application program cycle, the process image of the out-
puts is transferred from the PIO to the outputs address area.
If you access the process image, tprog equals the duration of the application
program.
For calculating cycle time and reaction time, see the system manual
S5-90U/S5-95U Programmable Controller, chapter 6)
Definition tinter is the interrupt delay time for the DP data transfer between the control
processor and the communication processor in the S5-95U. tinter has a
constant value of 0.5 ms and occurs in every data transfer between the con-
trol processor and the communication processor.
tinter
Definition tDP is the reaction time on the PROFIBUS-DP bus between master and slave.
tDP tDP
tslave tslave
tslave for The delay tslave for the IM 308-C as DP slave (see section C.1) is:
IM 308-C/DP slave tslave = tprog + tcons
tslave for S5-95U tslave is the reaction time in the DP slave. The way in which this reaction time
affects the S5-95U programmable controller with PROFIBUS-DP interface is
described in detail in the system manual S5-90U/S5-95U Programmable Con-
troller, chapter 6 (”Calculating the cycle and reaction times”).
tslave for ET 200U tslave is the reaction time in the DP slave. As regards the ET 200U distributed
I/O stations, three different reaction times must be taken into account:
IM 318 processes an
incoming data
telegram
Time
tI/Obus between IM 318 and Data is transferred between the input/output modules and the Important as number
I/O modules IM 318 on the serial I/O bus. of I/O modules in-
The length of this reaction time t depends on the num- creases
I/Obus
ber of I/O modules inserted (or more precisely on the number
of ”bytes inserted”).
IM
318
tI/O The input/output modules have specific reaction times. Important for analog
For input modules, tI/O is the time between a signal change at modules
the input and the status change on the I/O bus.
For output modules, tI/O is the time between a status change
on the I/O bus and the signal change at the output.
For details of the reaction times of the input/output modules,
see the manual ET 200U Distributed I/O Station.
Overview This section contains a worked example illustrating how to calculate the
reaction times tprog, tcons, tDP and tslave in the ET 200 distributed I/O system
with IM 308-C as DP master.
DP master CPU IM
308-C
Slave 1
ET
200U
8DA 8DE
Slave 2
ET 200B-8DI
Slave 3
ET 200B-8DO
Slave 4
ET 200C-8DI
An input of the ET 200B-8DI must set an output on the ET 200U. The baud
rate is 500 kbaud.
tcons Only the process image is accessed (see above, ”Calculating tprog”), so tcons
is negligible.
tcons = 0 ms
Components of tDP The reaction time tDP comprises the following components. The constants A,
B and Tbyte depend on the baud rate (see Table C-8).
tDP = constant A
+ (constant B + (number of I/O bytes Tbyte)) [slave 1]
+ (constant B + (number of I/O bytes Tbyte)) [slave 2]
+ (constant B + (number of I/O bytes Tbyte)) [slave 3]
+ (constant B + (number of I/O bytes Tbyte)) [slave 4]
+ ...
+ (constant B + (number of I/O bytes Tbyte)) [slave n]
Calculating tDP The reaction time tDP comprises the following components:
tDP = 1.6 ms
+ (0.49 ms + 2 0.022 ms) [slave 1]
+ (0.49 ms + 1 0.022 ms) [slave 2]
+ (0.49 ms + 1 0.022 ms) [slave 3]
+ (0.49 ms + 1 0.022 ms) [slave 4]
tDP = 3.67 ms
Note
If there is at least one ET 200U distributed I/O station or S5-95U with DP
slave interface on the PROFIBUS-DP bus, tDP is at least 2 ms. Consequently,
you must substitute 2 ms for any calculated result that is less than 2 ms.
Slave tslave
ET 200B 0 ms
ET 200C 0 ms
ET 200U tIM 318 + tI/Obus + tI/O
IM 308-C/DP-Slave tprog + tcons
Let us calculate tslave for the ET 200U. tslave for the ET 200U is the sum of
three different reaction times, namely tIM 318, tI/O bus and tI/O:
Calculating tIM 318 tIM 318 is the reaction time in the ET 200U caused by a data telegram.
Table C-9 Basic values at different baud rates for calculating the reaction
time tIM 318 of the ET 200U
Calculating tI/Obus tI/Obus is the duration of the transfer between the IM 318 and the I/O modules
via the I/O bus.
Calculating tI/O The manual ET 200U Distributed I/O Station provides us with an average
figure of 5 ms:
tI/O = 5 ms
Final calculation The figures already obtained can now be used to calculate tslave for the
ET 200U:
tslave, ET 200U = tIM 318 + tI/Obus + tI/O = 0.03 ms + 0.33 ms + 5 ms
tslave, ET 200U = 5.36 ms
What is reaction The reaction time tR is the time which elapses between the switching of an
time tR? input on a DP slave and the corresponding switching of an output.
Components of the The reaction time tR is calculated on the basis of the reaction times deter-
reaction time tR mined beforehand. The ET 200 distributed I/O system operates on the basis
of an asynchronous communication mechanism, so two cases can be distin-
guished:
Typical reaction time and
Worst-case reaction time
Table C-11 lists the multiplication factors for the reaction times:
tR =
Calculating the The reaction time tR for a typical situation is calculated below. The values
typical reaction used are those calculated in the worked example in the preceding section.
time tR
Table C-12 Calculating the typical reaction time
tR = 159.03
tR = 213.03
Result of reaction When an input on the ET 200B-8DI sets an output on the ET 200U, the typi-
time tR cal reaction time is approx. 159 ms. The worst-case reaction time is approx.
213 ms.
Fig. C-8 shows how the PROFIBUS-DP field bus contributes to the reaction
time.
Delay of PROFIBUS-
2.3 % DP 3.4 %
3.4 % ET 200U 2.7 %
Overview The preceding section dealt with the principles of calculating reaction time tR
under normal circumstances (mono-master mode, ET 200U not in slow
mode, steady-state operation).
This section shows how the reaction time tR changes when:
the bus configuration is loaded (station connecting cycle)
diagnostic data is transferred from the slave (diagnostics cycle)
there is more than one DP master on the PROFIBUS-DP bus
(token-passing cycle)
or
the ET 200U is operating in slow mode.
Overview of data Fig. C-9 illustrates how the DP master and the DP slaves exchange data. In
exchange the station connecting cycle, the DP master ascertains which stations are
available on the bus. If a station has failed, the IM 308-C detects this state in
the station connecting cycle.
In the data cycle, the IM 308-C sends output data to the slaves and receives
input data.
In the diagnostics cycle, the DP slaves that have experienced a change in
their diagnostic message report this change to the IM 308-C.
The DP master then passes the token (send authorization) to the next DP
master (if there is more than one in the system) = token passing.
Start
Steady-state operation
Data cycle
no
Token passing
Figure C-9 Block diagram illustrating exchange of data between DP master and DP
slave
Power-up phase/ As regards the exchange of data between DP master and DP slave, a
steady-state distinction is drawn between the power-up phase and steady-state opera-
operation tion.
Power-up phase: The DP master runs the program shown in Fig. C-10
once, starting with the station connecting cycle. This is followed by
steady-state operation.
Steady-state operation: The DP master runs the program repeatedly, the
only change being the station connecting cycle. The station connecting
cycle is repeated only in the event of an error.
The individual program parts are described below, along with the effects they
have on the reaction time tR.
Contribution of the Table C-14 lists the events which cause the DP master to run the station con-
station connecting necting cycle. The table also shows how this response affects the reaction
cycle to tR time.
Data cycle In the data cycle the DP master sends output data to the DP slaves and re-
ceives their input data.
Only those DP slaves which were identified as addressable in the station con-
necting cycle are taken into account in the data cycle.
The reaction time tR corresponds to the actual reaction time (see section C.5)
when only the data cycle is run (in error-free operation).
Conditions for A diagnostics cycle takes place only if the diagnostic report of at least one
diagnostics cycle DP slave has changed.
What is a token? If there is more than one DP master on the PROFIBUS-DP bus (i.e. two or
more DP masters), at any given time only one DP master can have permis-
sion to access the bus.
Access permission (the token) is passed to each DP master in turn. In the pe-
riods in which it does not have the token, a DP master cannot address its DP
slaves.
How does token Fig. C-10 illustrates how the token is passed from one master to another
passing work? (Steps 1 to 4 are repeated again and again). The same principle applies for
any multimaster configuration.
Token
1. Master No. 1 has the token and Master No. 1 Master No. 2
thus can address its slaves. Mas- AG AG
ter No. 2 cannot access its slaves.
Token
2. Master No. 1 passes the token to
Master No. 1 Master No. 2
master No. 2. At this point neither
master can access its slaves. AG AG
Token
3. Master No. 2 has the token and Master No. 1 Master No. 2
thus can address its slaves. Mas- AG AG
ter No. 1 cannot access its slaves.
Token
4. Master No. 2 passes the token to Master No. 1 Master No. 2
master No. 1. At this point neither AG AG
master can access its slaves.
When does the If, for example, the IP 265 is inserted in the ET 200U, the ET 200U must
ET 200U operate in operate in slow mode. The reaction time tI/Obus is prolonged accordingly.
slow mode?
Worked example This example refers to section C.5. Let us assume that the ET 200U contains
an IP 265 instead of an 8DI.
tI/Obus is calculated as follows:
Preconditions You require the following functions of FB IM308C for the DP/AS-I link only
(release 3 and later versions).
Important note Please note the following special feature of the CPU 945:
Note
If FB IM308C is used with the CPU 945, the first job to be processed is not
run. The error flag 00B0H (QVZ) entered in DW 8 must be ignored.
All subsequent jobs are of course processed and run in the normal way.
Calling FB IM308C With FB IM308C you can access the DP/AS-I link via the IM 308-C. You
must parameterize FB IM308C indirectly in order to do so, i.e. all the re-
quired parameters must be saved in a data block (y).
The call for FB IM308C is shown below. You can find a detailed description
of the block parameters in section 7.3.
STL Meaning
:A DB y Opens data block y
:SPA FB 192 Calls FB 192
Name :IM308C
DPAD : KH0000
IMST : KY0,0
FCT : KCXX XX: Indirect parameterization
GCGR : KM 00000000 00000000
TYP : KY0,0
STAD : KF+0
LEN : KF+0
ERR : DW 0
Data block (y) If FB IM308C is parameterized indirectly (FCT = XX), DB y has the follow-
ing structure, starting at data word 0:
FCT parameter The functions of the DP/AS-I link can only be activated by indirect parame-
terization. The FCT parameter (DW 3) entered in the data block is used to
activate them.
FCT Description
DW Initiates a write job and writes data (Data_Write)
CW Reads the acknowledgment for the previously initiated write job
(Check_Write)
DR Initiates a read job (Data_Read)
CR Reads the data and acknowledgment of the previously initiated read
job (Check_Read)
Note
You should observe the following rules in order to ensure that the read and
write jobs are processed correctly.
A check job (CW) is necessary after every write job (DW).
A check job (CR) is necessary after every read job (DR).
FCT = DW You can use this function to change the address of an AS-I slave or to write
parameter parameters to the AS-I slaves. The FCT = DW function can only be activated
by indirect parameterization. The data block which is used has the following
structure:
Allocation of S5 If you have selected FCT = DW, you must allocate the S5 memory area as
memory area follows:
FCT = CW This function reads the acknowledgments for the previously initiated FCT =
parameter DW function. The acknowledgments indicate how the FCT = DW function
was terminated (DW 8: ERR parameter of FB IM308C; DW 11: error codes 1
and 2).
The FCT = CW function can only be activated by indirect parameterization.
The data block which is used has the following structure:
Note
If you change the address of an AS-I slave with the FCT = CW function, the
original data of the AS-I slave remains valid (i.e. it is not reset).
FCT = DR This function reads the parameters of the DP/AS-I link. The FCT = DR func-
parameter tion can only be activated by indirect parameterization. The data block which
is used has the following structure:
FCT = CR This function shows the parameter echo, the version ID and the acknowledg-
parameter ments for the DP/AS-I link following the previously initiated FCT = DR
function. The acknowledgments indicate how the FCT = DR function was
terminated (DW 8: ERR parameter of FB IM308C; DW 11: error codes 1 and
2).
The FCT = CR function can only be activated by indirect parameterization.
The data block which is used has the following structure:
Data in S5 memory The table below shows the allocation of the S5 memory area. The first 16
area bytes represent the parameter echo; each nibble corresponds to one slave. In
the following nine bytes firmware version and the release date of the DP/
AS-I Link are specified in ASCII code.
ERR parameter If an error occurs when FB IM308C is processed, information about its cause
can be found in DW 8. Please refer to section 7.3.3 for a detailed description
of the ERR parameter and the associated error numbers.
If you use the functions of the FB IM308C with the DP-AS-I link, the mea-
nings of the subsequent error numbers of the ERR parameter differ from
those specified in Section 7.3.3.
Error code 1 The left byte of data word DW 11 contains error code 1. Here you can find
parameter general information about any read or write errors that have occurred. The
following error numbers are output:
DFH: An error has occurred during a write job (Data_Write)
DEH: An error has occurred during a read job (Data_Read)
01H: A previous job is still running; repeat the last job
Error code 2 The right byte of data word DW 11 contains error code 2. You can find more
parameter detailed information about any errors that have occurred here.
Demo FB: When FB 30 is called, the bits in EW 56 (overview diagnostics) are reset.
application You thus cannot tell from EW 56 whether the slave is functioning again (see
section 10.4.1).
The demo FB 30 shown below (”SLAVEINF”) can be used instead of EW 56
to determine a possible slave failure.
Purpose of the If a slave can no longer be addressed, the corresponding bit in the ”INF”
demo FB 30 parameter is set in accordance with the overview diagnostics (EW 56). As
soon as the slave can be addressed again, the corresponding bit in the ”INF”
parameter is reset.
Calling FB 230 FB 230 is called during cyclic program processing. The following STEP 5
application program shows how FB 230 is called with four DP slaves:
STL Description
: U E 56.0 Lowest station
: SPB FB230
S_NR : KY0,0
DBNR : KY230,0 Slave diagnostics saved in DB 230,
starting at DW 0
Contents of DB DB 230 contains the slave diagnostics of the slaves you fetched via FB 230.
230 230 In this case it has the following contents:
Data word DL DR
DW 0 PROFIBUS address of DP slave Number of diagnostic bytes
(lowest DP slave)
DW 1 Station status 1 Station status 2
DW 2 ... ...
... ... ...
DW 20 PROFIBUS address of DP slave Number of diagnostic bytes
(2nd lowest DP slave)
DW 21 Station status 1 Station status 2
DW 22 ... ...
... ... ...
DW 40 PROFIBUS address of DP slave Number of diagnostic bytes
(3rd lowest DP slave)
DW 41 Station status 1 Station status 2
DW 42 ... ...
... ... ...
DW 60 PROFIBUS address of DP slave Number of diagnostic bytes
(4th lowest DP slave)
DW 61 Station status 1 Station status 2
DW 62 ... ...
... ... ...
Calling the demo The following example shows how the demo FB 30 (”SLAVEINF”) is called
FB 30 during cyclic program processing.
(”SLAVEINF”)
STL Meaning
OB 1
: L KF 230 Loads DB number
: TMB 10 Saves DB number in MB 10
: SPA FB 30 Branches to FB 30 SLAVEINF
Contents of the The following demo FB 30 (”SLAVEINF”) was written for four slaves, but
demo FB 30 can be adapted if necessary for any other number of slaves.
(”SLAVEINF”)
STL Meaning
Network 1 0000
Name :SLAVEINF
Des :DBNR E/A/D/B/T/Z: B
Des :INF E/A/D/B/T/Z: E BI/BY/W/D: W
Des :ST01 E/A/D/B/T/Z: E I/BY/W/D: BY
Des :ST02 E/A/D/B/T/Z: E BI/BY/W/D: BY
Des :ST03 E/A/D/B/T/Z: E BI/BY/W/D: BY
Des :ST04 E/A/D/B/T/Z: EI/BY/W/D: BY
:
:
:B =DBNR A DBxx (xx => number)
: Check for lowest slave
:L =ST01 Station status 1 of lowest slave (see
: E 56.0)
:L KH 0001 corresponds to => slave cannot be ad-
: dressed (=> slave failure)
:!=F If slave failure => branch
:SPB =M001
:L =INF If no slave failure => reset
:L KH FEFF bit 0 of INF parameter
:UW via UW link
:T =INF
:
:L =ST02 Check for 2nd lowest slave (see E
:L KH 0001 56.1)
:!=F
:SPB =M002
:L =INF
:L KH FDFF
:UW
:T =INF
:
:L =ST03 Check for 3rd lowest slave
:L KH 0001
:!=F
:SPB =M003
:L =INF
:L KH FBFF
:UW
:T =INF
:
:L =ST04 Check for 4th lowest slave
:L KH 0001
:!=F
:SPB =M004
:L =INF
:L KH F7FF
:UW
:T =INF
:
:
:BEA etc. for all other slaves
:
Example The interpretation with FB 30 (”SLAVEINF”) is shown below with the aid of
an example.
Assumptions:
Four stations with the following PROFIBUS addresses: 5, 20, 110, 123.
Station 110 has failed.
The overview diagnostics (EW 56) thus have the following appearance:
Input
p byte
y Bit position
7 6 5 4 3 2 1 0
56 0 0 0 0 0 1 0 0
57 0 0 0 0 0 0 0 0
1 Bits correspond to the DP slaves ranging from the lowest to the highest PROFIBUS ad-
dress: (lowest PROFIBUS address: EB 56.0; highest PROFIBUS address with
16 slaves: EB 57.7).
1. You can fetch the slave diagnostics via FB 230 and save them in DB 230,
starting at DW 40, for station 110 (--> EB 56 = 00H).
2. You can evaluate the slave diagnostics with the aid of FB 30 (”SLA-
VEINF”)and set the corresponding bits in the ”INF” parameter (MW
230).
Result: MW 230 now has the following appearance (cf. Table 10-4, EW 56):
This tells you that the 3rd lowest station (station 110) has failed.
192.7
160
5.5
234
243
182
192
25
48
45
189.4 20
5
25
25
64
64
10 10
on on
off off
15 4 Contact sur-
34
face of D-sub
connector
25
35
58
10
30°
15,8 38 15,8 38
8-0.1 8-0.1
5
25
25
54
54
10 10
35° 35°
45 73
128
125
Figure E-5 RS 485 repeater on standard-section busbar
45 70
125
SIEMENS
PROFIBUS
TERMINATOR
DC
24 V
70
L+ M PE A1 B1
29.6
6ES7 972–0DA00–0AA0
40.3
60 44.5
Note
You can find additional order numbers in Catalog ST PI, PROFIBUS & AS
Interface, Components on the Field Bus. Your SIEMENS partner will be
glad to help you.
* This memory card is also shipped with the IM 308-C (6ES5 308-3UC11).
COM PROFIBUS: COM PROFIBUS V3.3 has the following new functions and features that
from V3.2 to V3.3 were not available in V3.2:
S The “control” function is now available for the station type ET 200L-SC,
ET 200L-SC IM-SC.
S You can use the Help " Info via DP card menu command to check the
installed DP card and any associated ressources.
S The CP 5412 (A2) now supports automatic transmission rate detection.
S The CP 5412 (A2) as DP master supports the “Overview diagnostics” on-
line function.
COM PROFIBUS: COM PROFIBUS V3.2 has the following new functions and features that
from V3.1 to V3.2 were not available in V3.1:
S Under the Windows 95 operating system, the online functions are also
possible using the CP5611 adapter (PCI). This adapter handles all PROFI-
BUS transmission rates up to 12 Mbps.
S Before each online function is started, COM PROFIBUS determines the
current transmission rate on the PROFIBUS and sets it. You no longer
need to know in advance the current transmission rate of a bus system you
want to diagnose using the programming device/PC.
Restrictions:
– The CP 5412 (A2) does not support automatic transmission rate detec-
tion.
– The MPI cards can detect transmission rates of up to 1.5 Mbps, but
note that under COM PROFIBUS the MPI cards can only be run up to
a maximum of 500 kbps.
S Stations of the type ET 200L-SC IM-SC can also be configured.
S If you have started one of the online functions (overview diagnosis, slave
diagnosis, status of the DP slave inputs/outputs), you can use the F1 key
to obtain context-sensitive help.
S In the ”Master parameters” dialog box, you can activate the AUTO-
CLEAR functionality for SIMATIC NET PC modules. In AUTOCLEAR
mode, the CP 5412 (A2) or Softnet DP automatically switches to CLEAR
mode (the DP system is powered down) if a malfunction occurs in one or
more DP slaves during the productive phase.
In CLEAR mode, the DP master sends data with a value of 0h to the DP
slaves in the output direction. The DP master does not exit this mode in-
dependently; the user has to explicitly initiate a return to OPERATE
mode.
COM PROFIBUS: COM PROFIBUS V3.1 has the following new functions and featuresthat
from V3.0 to V3.1 were not available in V3.0:
– Brief Overview –
S The full functionality of the online status and error diagnostic functions
(overview diagnostics, slave diagnostics, status of the DP slave inputs/
outputs) can be used.
S The new online function “Control” allows you to set the outputs of the DP
slaves (see next page).
S The File " Export " ASCII file and File " Import " ASCII file menu
commands allow the configuration of a master system to be saved and
loaded in ASCII format.
S Device master files can be created for connecting DP slaves of the ET 200
family to DP masters that are not configured using COM PROFIBUS (see
next page).
S Additional parameters are offered in the “Bus parameters” dialog box for
optimizing bus and response times: “Number of repeaters”, “Number of
OLMs” (optical link modules), “Line length (CU)” and “Line length
(FO)”.
S A baud rate of 45.45 kbaud can be parameterized for PROFIBUS-PA (DP/
PQ coupler).
S All online functions are also supported for the CP 5412 (A2) in DP mode.
S When working with the CP 5412 (A2), you can use the “Overview” but-
ton in the “Master parameters” dialog box to display an overview of all
the configured FMS connections together with the most important param-
eters.
S When working with the CP 5412 (A2), you can use the “Cyclical frames”
button in the “Groups and their properties” dialog box to configure the
cyclical sending of the FREEZE and SYNC control commands.
S S5 function blocks for the analog modules of an ET 200M are shipped
with this version of COM PROFIBUS. After installation you will find the
S5 functions together with a detailed description (readme.doc) in the
COM PROFIBUS directory ...\ANALOG.
Controlling the As of version 3.1 of COM PROFIBUS you can control the outputs of the DP
Outputs slaves on the PROFIBUS-DP from the programming device/PC.
Proceed as follows:
1. Select the DP slave in the graphical editing window.
2. Choose the Service Status/control menu command or the Status/con-
trol command from the pop-up menu for the slave (by clicking the slave
with the right mouse button).
6. You click to switch from control back to the current status display of
the inputs/outputs. The connection to the master (class 1) is re-estab-
lished.
Note: If there is no master (class 1) on the bus, “Status” is not possible.
Note: The “Control” function is not available for the PROFIBUS card
“MPI_ISA_Karte” and for the station types DP/AS-I Link and ET 200L-SC.
Creating a Device- As of version 3.1 of COM PROFIBUS, you can create device master files for
Master File connecting DP slaves of the ET 200 family to DP masters of other manufac-
turers.
Principle: You use COM PROFIBUS to configure the DP slave in the usual
way. COM PROFIBUS creates a device master file on the basis of the config-
uration data. The device master file contains the configuration data of the
DP slave optionally in the form of a compact station or a modular station.
You copy the device master file to the device master directory of the other
manufacturer’s configuration tool. This gives the configuration tool a DP
slave with fixed parameterization; the only thing left to do is address assign-
ment.
Proceed as follows:
1. Choose the File New menu command.
2. Select ”Default master” as the master station type in the “Master host
selection” dialog box.
Result: The graphical editing window appears with a default as the mas-
ter.
3. Configure the DP slaves in this window in the same way as you do for a
full configuration with COM PROFIBUS (except for addressing).
4. Select a DP slave in the window.
5. Choose the File Create device master file menu command.
6. In the ”Create device master file” dialog box, specify the device name,
the identifier format type and the modularity of the station and then con-
firm you entries.
Note
Select only an identifier format type and station modularity that can be inter-
preted by the non-Siemens configuration tool or DP master (non-Siemens
master).
7. In the ”Save as” dialog box, specify the directory and name of the device
master file and then confirm your entries.
Result: COM PROFIBUS stores the device master files in the ...\PROGDAT
directory.
”Create GSD File” Two check boxes in the ”Create GSD File” dialog box (below) allow you to
Dialog and specify the identifier format type and modularity in which the configuration
Examples is entered in the device master file.
...
Module=”Cfg–Data” 0x00, 0x00, 0x00, S7 header (3 bytes),
0x11, 0x63 16DI, 4AO
EndModule
...
...
Module=”Cfg–Data” 0x04, 0x00, 0x00, S7 header (15 bytes),
0xAD, 0xC4, 0x04, 0x00, 0x00, 0x8B,
0x41, 0x04, 0x00, 0x00, 0x8F, 0xC0,
0x43, 0x01, 0x00, 0x9F, 0xC2, 16DI,
0x83, 0x43, 0x00, 0x25, 0xE0 4AO
EndModule
...
...
Module=”Module 1” 0x00 S7 header
EndModule
Module=”Module 2” 0x00 S7 header
EndModule
Module=”Module 3” 0x00 S7 header
EndModule
Module=”Module 4” 0x11 16DI
EndModule
Module=”Module 5” 0x63 4AO
EndModule
...
...
Module=”Module 1” 0x04, 0x00, 0x00, 0xAD, 0xC4 S header
EndModule
Module=”Module 2” 0x04, 0x00, 0x00, 0x8B, 0x41 S7 header
EndModule
Module=”Module 3” 0x04, 0x00, 0x00, 0x8F, 0xC0 S7 header
EndModule
Module=”Module 4” 0x43, 0x01, 0x00, 0x9F, 0xC2 16DI
EndModule
Module=”Module 5” 0x83, 0x43, 0x00, 0x25, 0xE0 4AO
EndModule
...
PROFIBUS Monitor PROFIBUS Monitor is also shipped with COM PROFIBUS. PROFIBUS Mo-
nitor appears after installation in the COM PROFIBUS program group. It is
supplied free of charge, and no claims can therefore be made if it is not bug-
free.
There is no description of PROFIBUS Monitor in the ET 200 Distributed I/O
Device manual. There is a detailed description of its functions in the Moni-
tor.wri file, which you will find next to the PROFIBUS Monitor icon in the
program group.
The CP 5412 (A2) does not support the PROFIBUS Monitor shipped with
COM PROFIBUS.
COM PROFIBUS, When you enter the DP parameters, please note the following in connection
online functions with the online functions of COM PROFIBUS:
S The online functions are not supported by COM PROFIBUS under
MS Windows NT. They can be run under MS Windows 3.x or MS Win-
dows 95 on the basis of the CP 5411, the CP 5412 (A2), the CP 5511 and
the MPI cards (integrated MPI interface for Siemens programmers,
MPI_ISO card).
S The CP 5511 cannot be withdrawn during online operation.
S All open MS-DOS applications must be closed before you activate an
online function in Windows 95. Otherwise, there is a danger that inter-
rupts will be lost and COM PROFIBUS will crash.
S When you select the overview diagnostics, the set program file must coin-
cide with the current master parameters. If not, the information which is
displayed will not match the actual bus configuration.
S When you select the Import " DP master function, the bus profile you
have defined and the baud rate of the DP card must coincide with the ac-
tual bus parameters. If not, you will not be able to set up a connection to
the selected station.
If you encounter any errors in connection with the baud rate or the bus
profile, the reaction times on the programmer/PC may be as much as sev-
eral minutes.
Tip: You can shorten this time by disconnecting the PROFIBUS cable
from the programmer/PC.
S If a sequence error is indicated for the Export " DP master or Import "
DP master function, you must wait for a standard period of at least 65 s
before attempting to activate the function again.
S You must close all online applications before you exit COM PROFIBUS.
S Permanent virus checks may impair the online functions.
Creating program If you use COM PROFIBUS V3.3 to edit a program file created using
files with COM PROFIBUS < V3.2, the following host type errors occur when the pro-
COM PROFIBUS < gram file is read in:
V3.2
Why you need You need the COM PROFIBUS parameterization software:
COM PROFIBUS
to parameterize the bus configuration, the hosts, the masters and the
slaves
to read the data from a memory card/master or write data to a memory
card/master, and
to start up the bus configuration
to generate detailed system documentation
Preconditions for COM PROFIBUS runs under the MS-Windows GUI. We assume that you are
working with familiar with MS-Windows.
COM PROFIBUS
Preconditions for in order to use the full functionality of COM PROFIBUS, you require:
using
The MS-DOS operating system, V 5.0 or higher
COM PROFIBUS
The MS-Windows GUI (V 3.1x or higher) or Windows 95
At least 8 Mbytes free RAM
Approx. 10 Mbytes free space on hard disk
386 CPU or faster
DP online You can use your PC or programmer online on the PROFIBUS with COM
functions of the PROFIBUS V3.0 or higher, in other words the PC/programmer takes part in
PC/programmer data communication on the PROFIBUS as an active bus station with PROFI-
BUS address 0.
You need the online functions for the service functions of COM PROFIBUS
(e.g. diagnostics) as well as for transferring a master system directly to the
master via PROFIBUS.
Preconditions for You require one of the PROFIBUS cards for PCs/programmers shown in
using the DP on- Table G-1 in order to use the online functions of COM PROFIBUS or the
line functions diagnostic functions.
Detailed installation instructions are enclosed with the PROFIBUS cards.
You must use the programming adapter with order number
6ES7 901-4BD00-0XA0, for example, to connect the programmer/PC to the
PROFIBUS. You do not need to take account of any spur capacitances with
this programming adapter (see section 3.5).
In the majority of situations, the PROFIBUS cards work correctly with the
default setups. If this is not the case, please check the following setups, to
make sure there are no conflicts with other plug-in cards.
Table G-1 Possible setups on the PROFIBUS card for the online functions of COM PROFIBUS
Card type Card setups Permissible in- Required ad- Memory area Memory area which
for COM terrupts (IRQ) dress range which must be ex- must be excluded in
stored in the in the cluded with Windows system.ini
following sec- memory area emm386.exe in file in [386enh] sec-
tion of the below 1 config.sys file tion
<...\ker- Mbyte:
nel\comet.ini>
file:
Integrated MPI [MPI_1] Possible IRQs: Length 100h Occupied memory Occupied memory
interface (Sie- 5, 10, 11, 12, 15 area area
mens program-
Default: 11 Default Default: Default: EMMEX-
mers only)
address: X=CC00-CCFF CLUDE=
0xCC000 1 CC00-CCFF
MPI_ISA card [MP1_1] Possible IRQs: Length 100h Occupied memory Occupied memory
5, 10, 11, 12, 15 area area
Default: 11 Default Default: Default: EMMEX-
address: X=DC00-DCFF CLUDE=
0xDC000 DC00-DCFF
CP5411 card [DPI_1] Possible IRQs: No No No
5, 10, 11, 12, 15
Default: 11
CP5511 card [DPP_1] This card is started up automatically when the Card and Socket Services are
(PCMCIA) 2 installed.
1 The set address can be checked and altered if necessary using the BIOS Setup program.
2 The Card and Socket Services, which are essential for operation, do not form part of the scope of supply of COM
PROFIBUS. Please call the hotline to order the Card and Socket Services for Siemens programmers.
You can find more information about the CP5511 card in the file called ”\kernel\online.wri” in the COM PROFI-
BUS directory, providing you have installed the online functions with the CP5511 card.
Note
Please note that with COM PROFIBUS the MPI cards (integrated MPI inter-
face, MPI-ISA card) can only be operated up to a transmission rate of
500 kbaud.
Making a backup Before you install COM PROFIBUS, you should use MS-DOS, the File Man-
copy ager under MS-Windows or the Explorer under Windows 95 to create a
backup copy of the system disks.
Thereafter, you use only the backup copy.
Installing the DP Pay attention to the following points when you install the online functions of
online functions COM PROFIBUS:
If you forget to install the online functions, you can also load them later
on without having to repeat the complete installation procedure. To do so,
simply select the ”Add Online Functions” option.
The online functions take up a lot of space in your RAM. Do not install
them unless you actually need them!
If you install the online functions by mistake, you can uninstall them
again without having to repeat the complete procedure. To do so, simply
start the <setup.exe> program and mark ”Add Online Functions” under
Options. You can then specify ”Application Without Online Functions”
during the installation procedure.
Please also read the additional information about using your particular
PROFIBUS card in the programmer/PC which is contained in section G.2.
Overview The COM PROFIBUS GUI incorporates the following standard elements (for
example):
Pop-up window for selecting Address range used for inputs and
slaves for configuration outputs in P area
Title bar The title bar always contains the name of the application, in this case
”COM PROFIBUS”.
Status bar The status bar contains outline information indicating the currently active
command, the current activity of COM PROFIBUS or notes referring to oper-
ator inputs.
The status bar also indicates the amount of address space already assigned for
inputs and outputs.
Menu bar The menu bar contains the names of the various pull-down menus. By open-
ing a pull-down menu, you can call certain functions:
Mouse The mouse buttons have the following functions in COM PROFIBUS:
Function Meaning
Click left mouse button once Select
Click left mouse button twice Open window for selection
Click right mouse button and hold Pop-up menu with most important
down functions
Toolbar The toolbar contains icons that you can use to select commands without
working through the menus:
ÅÅ
the open program file
Edit Copy Help Contents
ÅÅ
Copies the selected DP Opens online help
slave(s)/FMS station(s)
with S5 addresses
Application Working in an application window, you construct the bus using icons. Each
window application window contains a master to which you assign slaves graphically.
By double-clicking on the icon or designation, you automatically switch to
the dialog box for entering the individual parameters. The gray highlighting
in Fig. G-3 indicates the active areas:
Overview This section contains a short example showing how to parameterize a config-
uration with COM PROFIBUS:
Start COM PROFIBUS
Enter the bus parameters
Enter the host parameters
Enter the master parameters
Enter the slave parameters for the ET 200B and the ET 200M
Print the system documentation
Save the configuration and export it to the DP master
and
Display the status of the inputs/outputs.
Parameterization You can find a similar parameterization example for an FMS configuration in
example for an section G.6.
FMS configuration
COM PROFIBUS
Å
File Edit Configure Service Documentation Window Help
Å Slaves
I: 0% O: 0% Offline
Figure G-6 Example showing how the master system is displayed on screen
Bus Parameters
Parameters
Repeaters on Bus
Host Parameters
OK
Host Description: Host system <1> Cancel
Reserv. I...
Power-up Delay: 20 [ s]
Reserv. O...
Addresses...
Help
Master Parameters
OK
PROFIBUS Address: 1 Cancel
Number of IM 308-C: 0
Multiprocessor Mode:
Defaults
Error-Reporting: QVZ
Response Monitoring for slaves
2. Select the values as shown above and press the ”OK” button to confirm.
Result: The master parameters you entered are saved and you are re-
turned to the application window.
Slave Parameters
3. Select ”ET 200B” as the family and the ET 200B-16DO with order num-
ber 6ES7 132-0BH00-0XB0 as the station type, and enter a designation.
Press the ”OK” button to confirm.
Result: The master system in the application window is extended accord-
ingly.
4. Click on the first white field in the ”ID” column and then on ”Order
Number” in order to enter a signal module of the ET 200M.
Result: A pick list of all signal modules with order numbers appears.
5. Select, for example, a digital input module 8DE with order number
6ES7 321-1FF0*-0AA0 and press the ”OK” button to confirm.
Result: The digital input module is entered in the ”Configure ET 200M”
dialog box.
6. Close the list of signal modules by clicking on ”Close”.
7. Click the empty field under ”I Addr.” and then press the ”Auto Addr.”
button.
Result: The start of the address area for the digital input module is auto-
matically defined.
You can also overwrite the empty field under ”I Addr.” with any address
of your choice.
8. Press ”OK” twice to confirm.
9. In the ”Slaves” window, deselect station selection by pressing the but-
ton.
All the important parameters have now been entered.
Saving the file It is now time to save the data with COM PROFIBUS.
1. Save the entire configuration in a program file by selecting File Save
as.
2. Enter a file name and confirm it by pressing the ”OK” button.
Printing the You can print documents that will show you, for example, which STEP 5
system address is assigned to which DP slave. This entails printing the station-ori-
documentation ented address assignments with Documentation Station- oriented address
assignment.
Exporting data to The last step is to save the data with COM PROFIBUS and export it to the
the DP master DP master. You must have installed the online functions (see section G.3) in
order to use the File Export DP master function.
1. Switch the IM 308-C to STOP.
2. Connect the PC/programmer (with the PROFIBUS card) to the PROFI-
BUS DP interface of the IM 308-C using the programming adapter.
3. Insert the memory card in the IM 308-C if it is not already inserted.
4. In COM PROFIBUS, click on the master system that you want to export
to the IM 308-C.
5. Select File Export DP master.
6. Enter the currently active baud rate and the PROFIBUS address of the
IM 308-C and confirm them by pressing ”OK”.
Result: The data of the master system is exported to the memory card
that is installed in the IM 308-C. The switch position you selected on the
IM 308-C remains set.
COM PROFIBUS then asks whether you want to activate the parameter
record immediately or later on.
7. Activate the master system you exported to the IM 308-C.
Result: The IM 308-C works with the new parameterization data.
Status of the You can display the status of the inputs/outputs with COM PROFIBUS, pro-
inputs/outputs viding you have installed the online functions (see section G.3).
1. Load the master system you exported to the DP master with COM PRO-
FIBUS.
2. Click on the slave whose input/output states you want to display.
3. Select Service Status.
Result: COM PROFIBUS displays the status of the selected slave.
Overview This section contains a short example showing how to parameterize an FMS
master system with COM PROFIBUS.
Sample Fig. G-12 contains an example showing how an FMS master system is para-
configuration meterized with COM PROFIBUS:
COM PROFIBUS
Å
File Edit Configure Service Documentation Window Help
Å Station
I: 0% O: 0% Offline
Figure G-14 Example showing how the FMS master system is displayed on screen
Bus Parameters
Parameters
Repeater on Bus
2. Select a baud rate of ”500” kbaud and confirm it by pressing the ”OK”
button.
Result: The bus parameters you entered are saved and you are returned to
the application window.
Host parameters The host parameters are irrelevant for SIMATIC NET PC modules.
Master parameters The master parameters are irrelevant for this example, which entails entering
an FMS master system.
FMS connections To configure the FMS connections to the FMS SIMOCODE device:
for SIMOCODE
1. In the ”Station” window, click on the icon for ”SWITCHG.” and by hold-
ing down the left mouse button, drag it to the bottom of the bus.
Result: A selection list allowing you to choose the PROFIBUS address of
the station is opened.
Description: Help
Help
PROFIBUS Addr.: 3
Figure G-16 Example of the ”FMS Station Properties SIMOCODE” dialog box
Help
5. Confirm the FMS connections by pressing the ”OK” button, then confirm
the FMS station parameters by pressing ”OK” again.
FMS connections To configure the FMS connections to the FMS ET 200U device:
to ET 200U
1. In the ”Station” window, click on the icon for ”ET 200” and by holding
down the left mouse button, drag it to the bottom of the bus.
Result: A selection list allowing you to choose the PROFIBUS address of
the station is opened.
2. Select ”3” and press the ”OK” button to confirm.
Result: The ”FMS Station Properties” dialog box is opened.
3. Select the ET 200U (FMS) and branch to ”Connections”, the next dialog
box, by clicking ”Connections ...”.
Result: The ”Edit FMS Connections” dialog box is opened.
4. Click ”New”.
Result: COM PROFIBUS enters the default connections.
Help
5. Confirm the FMS connections by pressing the ”OK” button, then confirm
the FMS station parameters by pressing ”OK” again.
All the parameters for the FMS stations have now been entered.
Saving the file It is now time to save the data with COM PROFIBUS.
1. Save the entire configuration in a program file with File Save as.
2. Enter a file name and confirm it by pressing the ”OK” button.
Printing the You can print documents that will show you an overview of the FMS master
system system. This entails printing the station list with Documentation Station
documentation list.
Saving in a binary You require a binary database in NCM format for the CP 5412 (A2):
database
1. Select File Export NCM file and enter a name for the NCM data-
base.
Result: COM PROFIBUS converts the configuration you have generated
and creates, amongst other things, a non-resident, binary database (NCM
file) with an .LDB extension.
2. Load the binary database on the CP 5412 (A2) using the SIMATIC NET
Setup program.
Device mas- A device master file contains all the parameters of a DP slave in accordance with .GSD
ter file for EN 50 170, Volume 2, PROFIBUS. .GSX
DP slaves Note: If COM PROFIBUS contains both the type file and the device master file under a
particular manufacturer ID, it only ever imports the device master file. The type file is no
longer relevant! (Exception: old parameterizations which were created using type files.)
Directory: \GSD
Operating- The operating-system file contains the IM 308-C operating system which belongs to COM .LFW
system file PROFIBUS. Once the operating-system file has been exported to a memory card, it can
then be imported to the IM 308-C.
Directory: \BESY308C
Importing data There are various ways of loading or importing the data of a master system
with COM PROFIBUS, depending on the master:
COM PROFIBUS
File " Import " File " Import " File " Import " File " Import "
DP master. Memory card. NCM file. Binary file.
e.g. from IM 308-C, e.g. from memory e.g. databases generated e.g. for saving a
DP master card for IM 308-C with COML-DP or COML- master system on
FMS for CP 5412 (A2) the PC
Note
You cannot reconstruct the entire bus system configuration and store it in a
single program file until you have loaded all the master systems that to-
gether make up this configuration (from the DP master, the memory card,
the NCM file and the binary file).
Importing data If you want to import data directly from the DP master:
from DP master
S The programmer/PC must be connected to the DP master either via PRO-
FIBUS or directly (see Table G-1, section G.2)
S A master system must already have been exported to the master pre-
viously
S The memory card must be connected if the DP master is the IM 308-C
S The 32 K EEPROM must be installed in the S5-95U if the S5-95U is the
DP master.
To load the data, select File " Import " DP Master.
Result: The data of a master system is available in the program file opened
by these commands.
Importing data Using the File " Import " NCM File function, you can load databases in
from an NCM file COM PROFIBUS that you have generated using the SIMATIC NET PC para-
meterization tools, e.g. COML-DP or COML-FMS.
Importing data You need the ”Import data from binary file” function only if the original pro-
from a binary file gram file was previously saved as a binary file and is now lost.
If you want to import data from a binary file
1. Select File " Import " Binary File:
2. Select a file with a ”.2BF” extension.
Result: The binary file is converted into a format compatible with COM
PROFIBUS and imported. The contents of a binary file correspond to a mas-
ter system. The data of the binary file is available in the program file opened
by these commands.
Starting point If you have opened a new program file and entered the parameter settings in
the ”Master host selection” dialog box, COM PROFIBUS has already created
a window for the new master system (see section G.7) and the master is de-
picted in this window as an icon.
It is advisable to set the bus, host and master parameters before setting the
slave parameters, because otherwise it is not easy to change certain settings.
3. Click on the line representing the bus to insert the slave ().
Result: COM PROFIBUS prompts you for the PROFIBUS address of this
slave.
4. Select a PROFIBUS address and confirm it by pressing the ”OK” button.
Result: The ”Slave Parameters” dialog box is opened.
5. Enter the slave parameters. See sections G.8.4 and G.8.5 for details. Re-
peat steps 2 to 4 until you have entered all the slaves for this master sys-
tem.
Note
Any slaves that have not yet been configured appear in italics in the applica-
tion window.
6. Deselect the slave by clicking on the arrow in the ”Slaves” pop-up win-
dow ().
C+M
VALVES
CONTROL
IDENT
ENCODERS
Others
Building the FMS If you enter an FMS configuration instead of a DP configuration, the above
configuration input rules apply analogously.
You can find more information about entering a PROFIBUS FMS configura-
tion in section G.8.6.
Meanings The meanings of the individual bus parameters are shown in Table G-6:
1: RESET the slaves not incorporated in the bus after a bus-profile change.
Customizing bus If you select ”DP with S5-95U” as the bus profile for the DP master or DP
times to suit your slaves, you must change the bus times. The rule of thumb is:
configuration
S Always set the slowest bus time of all bus stations.
S Set the following bus times:
Table G-7 Bus times that must be set for a ”DP with S5-95U” bus profile
Meanings The meanings of the individual host parameters are shown in Table G-8:
Definition Not all master parameters are relevant for all masters. COM PROFIBUS
masks out any irrelevant master parameters automatically. You define the
following master parameters, among others:
The description of the master
The host to which the master is assigned
How the distributed I/O is addressed
Whether the master is addressed by the CPU in multiprocessor mode, and
Which error messages will be generated (QVZ or PEU and response mon-
itoring of slaves)
FMS master If you parameterize an FMS master system, the only relevant parameters are
system the PROFIBUS address, the station type and the station description.
Meanings The meanings of the individual master parameters are shown in Table G-9:
Response monitor- PROFIBUS-DP: Response monitoring enables you to define how the DP slave Yes
ing reacts to a master error or a break in the data traffic on the bus.
If the DP slave is not addressed within the response monitoring time you define,
it goes to the safe condition (all outputs are set to ”0”).
If you set response monitoring to ”Yes” (by checking the box), the setting applies
to all DP slaves assigned to the master. Note, however, that you can switch off
response monitoring for individual slaves, for example during initial operation
(slave parameters).
Danger
If you switch off response monitoring, there is a possibility
! that the outputs of a particular slave may not be set to ”0” if
an error occurs!
Consequently, we strongly recommend that response moni-
toring be switched off only for initial operation.
See section 8.2 for a detailed description of response monitoring for the IM
308-C and section 11.3 for the S5-95U.
Configure ... If the master is also used as a slave, you can open the ”Configure slave” dialog box
by clicking this button (see section G.8.7).
LSAPs ... If CP 5412 (A2), the SIMATIC NET PC module, is used as FMS and/or DP mas- –
ter, you can open the ”Reserve LSAPs ...” dialog box by clicking on this button.
Enter the LSAP disable list there.
VFDs ... If CP 5412 (A2), the SIMATIC NET PC module, is used as FMS master, you can –
open the ”Edit VFDs ...” dialog box in order to parameterize the VFDs by clicking
on this button.
LSAPs ... (CP 5412 Local service access points (LSAPs), which are not allowed to be used by
(A2) only) another protocol at the same time, are defined at the FDL interface. You must
therefore disable the LSAPs that are reserved for the FDL interface in the
”Reserve LSAPs ...” dialog box.
1. Click on the ”Reserve LSAPs ...” button in the ”Master Parameters” dia-
log box.
Result: The ”Reserve LSAPs” dialog box is opened.
All the LSAPs which are already used by the PROFIBUS DP and the
PROFIBUS FMS are grayed and can no longer be selected.
2. Reserve the LSAPs for FDL.
3. Confirm the reserved LSAPs and close the dialog box by pressing the
”OK” button.
VFDs ... (CP 5412 COM PROFIBUS automatically creates a virtual field device (VFD) as de-
(A2) only) fault whenever you parameterize an FMS master.
You can edit this VFD as necessary in the ”Edit VFDs” dialog box.
Meanings The meanings of the individual DP slave parameters are shown in Table
G-10:
Error-reporting You can switch the error-reporting mode PEU or QVZ on or off for each slave. QVZ
mode The switch for setting the error-reporting mode for all DP slaves assigned to a DP
master is in the ”Master Parameters” dialog box (see sections G.8.3 and 8.2).
PROFIBUS address The PROFIBUS address is a bus-wide unique number for the DP slave. (Assigned
PROFIBUS
address)
FREEZE-able The ”FREEZE-able” and ”SYNC-able” parameters indicate whether the DP slave –
SYNC-able can receive and respond to the FREEZE and SYNC control commands respec-
tively.
Note
You can switch to the ”Configure” and ”Parameterize” dialog boxes for the
DP slave directly from the graphical parameterization mode.
S To open the ”Configure” dialog box: press and hold down the ”Shift” key
and double-click on the icon for the DP slave.
S To open the ”Parameterize” dialog box: press and hold down the ”Ctrl”
key and double-click on the icon for the DP slave.
Meanings: The meanings of the individual FMS station properties are shown in
Table G-11:
Selecting FMS There are several ways of entering FMS station properties:
station properties
S Via the menu bar:
Select Configure " FMS Station Properties and confirm the desired
PROFIBUS address by pressing the ”OK” button.
Result: The ”FMS Station Properties” dialog box is opened.
S Via the ”Stations” window:
In the ”Stations” window, click on the icon for the appropriate FMS sta-
tion and attach it to the bottom of the bus by clicking the mouse button.
Confirm the desired PROFIBUS address by pressing the ”OK” button.
Result: The ”FMS Station Properties” dialog box is opened.
S Via the icon for the FMS station (if the FMS station is already displayed
in the application window):
Double-click on the icon for the FMS station or select the FMS station
properties by clicking the right mouse button.
Result: The ”FMS Station Properties” dialog box is opened.
Entering FMS Proceed as follows to enter the FMS station properties for an FMS station:
station properties
1. Set the FMS station properties. Click on ”Help” for more information.
2. Press the ”Connections ...” button to switch to the ”Connections” dialog
box and enter the FMS connections for the selected FMS station (see
Table G-12).
Result: The ”Edit FMS Connections” dialog box is opened.
3. Select a new connection with the ”New” button.
Result: COM PROFIBUS enters the default connections.
4. Edit the FMS connections and confirm them by pressing the ”OK” button.
5. Confirm the FMS station properties and close the dialog box by pressing
”OK”.
Note
Even if originally you only decided to use a DP master system, you can
create an FMS master system at any time with Configure FMS Paramete-
rization.
The same applies analogously if at first you only selected an FMS master
system. In this case, you can create a DP master system with Configure
DP Parameterization.
Definition Each master plus the stations assigned to it constitutes a master system.
You have to create a new master system if you have at least two masters con-
nected to a physical bus.
If you parameterize a slave that can also be a master, COM PROFIBUS auto-
matically creates a new master system for this slave (e.g. the IM 308-C/DP
slave).
COM PROFIBUS
Å
ÅÅ
File Edit Configure Service Documentation Window Help
Slaves
I: 0% O: 0% Offline
Starting point 1 The IM 308-C only operates as a DP slave and not as DP master:
(DP slave only)
Note
What happens if the IM 308-C operates as a DP slave in a master system
whose master is not entered with COM PROFIBUS?
Simply create a master system with any master, e.g. a CP 5412 (A2), and
parameterize the IM 308-C as a DP slave in this master system.
COM PROFIBUS automatically creates a separate master system for the IM
308-C/DP slave, which you can then export to the IM 308-C.
Procedure for The procedure for configuring an IM 308-C as a DP slave only is as follows:
starting point 1
1. Select the IM 308-C/slave as a DP slave (e.g. by selecting Configure
Slave Parameters ).
2. Select a PROFIBUS address and press the ”OK” button to confirm.
Result: The ”Slave Parameters” dialog box is opened.
3. Select ”SIMATIC” as the family and ”IM 308-C DP Slave” as the station
type.
4. Press the Configure ... button to switch to the ”Master Host Selection”
dialog box.
5. Select the host station type and press the ”OK” button to confirm.
Result: The ”Configure: IM 308-C/Slave” dialog box is opened.
6. Press the ”ID” button and enter the input and output data quantities and
the addresses. Remember:
– Inputs: input data of the DP slave CPU
= outputs of the DP master
Outputs: output data of the DP slave CPU
= inputs of the DP master
– The maximum block size is 16 words.
7. Press the ”OK” button twice to confirm:
Result: COM PROFIBUS automatically creates a new master system for
the IM 308-C as a DP slave.
8. Switch to the master system in which the IM 308-C/DP slave is the DP
master (the master system is indicated by an ”s”).
9. Edit the host and master parameters of the IM 308-C/DP slave.
10. Once you have completed all the entries for the bus configuration, export
the data of this master system for the IM 308-C/DP slave to the
IM 308-C.
Starting point 2 The IM 308-C operates as master and as a slave. You have already parame-
(DP master and DP terized the IM 308-C as master, and entered all the host and master parame-
slave) ters, and now want to parameterize it as a slave.
Procedure for If you have already parameterized the IM 308-C as master, proceed as fol-
starting point 2 lows to parameterize it as a slave:
1. Switch to the master system in which you want the IM 308-C to be ad-
dressed as a DP slave.
2. Select Configure New Slave in this master system.
3. Enter the PROFIBUS address of the IM 308-C as master manually.
4. Confirm it by pressing ”OK” and ”Yes”.
Result: COM PROFIBUS opens the ”Slave Parameters” dialog box for
the IM 308-C as a DP slave.
5. Press the Configure ... button to switch to the ”Configure IM 308-C DP
Slave” dialog box.
Result: The ”Configure: IM 308-C/Slave” dialog box is opened.
6. Press the ”ID” button and enter the input and output data quantities and
the addresses. Remember:
– Inputs: input data of the DP slave CPU
= outputs of the DP master
Outputs: output data of the DP slave CPU
= inputs of the DP master
– The maximum block size is 16 words.
7. Press the ”OK” button twice to confirm:
Result: COM PROFIBUS automatically creates a new master system for
the IM 308-C as a DP slave (indicated by ”m + s”).
8. Once you have completed all the entries for the bus configuration, export
the data of this master system for the IM 308-C/DP slave to the
IM 308-C.
Definition If you want to send the FREEZE or SYNC control commands to DP slaves,
you must arrange the DP slaves in groups.
Each group consists of at least one DP slave. Note, however, that each DP
slave can belong to several different groups.
You can form a maximum of 8 groups in each master system.
Precondition The DP master must be able to send the FREEZE and SYNC control com-
mands and the DP slave must be able to process them.
2. In this dialog box, define whether the groups can process FREEZE and/or
SYNC commands, and
3. Click on the ”Grouping ...” button in the next dialog box and define
which DP slaves with which PROFIBUS addresses belong to which
group. Define the group members by double-clicking on the empty fields.
4. Confirm your entries by pressing the ”OK” button.
Result: The DP slaves are now assigned to between one and eight groups.
You require the group numbers when you send control commands in the
STEP 5 application program with FB IM308C.
Preconditions Another DP master requiring read access to a DP slave must satisfy the fol-
lowing preconditions:
Before you assign the DP slave to a shared-input master:
You must have already completely parameterized the DP slave in a mas-
ter system and defined all the slave parameters (see section G.8.4)
You must have already created a new master system (see section G.8.7)
Definition If the bus includes masters other than those entered with COM PROFIBUS,
you must make provision for these in the target token runtime.
Note
If you have parameterized all the masters that together make up a bus system
with COM PROFIBUS, the system automatically calculates the total target
token runtime. In this case, you do not need to make provision for any addi-
tional target token runtimes.
Making provision To make provision for other-vendor masters (i.e. not entered with COM PRO-
for other-vendor FIBUS) in the target token runtime, proceed as follows:
masters
1. Parameterize both the master systems completely. A target token runtime
TTR results for each master system:
– TTR1: calculated with COM PROFIBUS
– TTR2: calculated with another software tool
The sum of the two target token runtimes TTR corresponds to the actual
target token runtime.
2. Select Configure Bus Parameters in COM PROFIBUS and then click
on the Set Parameters button.
Result: The ”Bus Parameter Settings” dialog box is opened.
3. Make a note of the target token runtime TTR calculated by COM PROFI-
BUS.
4. Set the ”Delta Ttr” parameter to the time in bit-time units. This setting is
the target token runtime you calculated for the other-vendor master.
Result: When you click the ”Calculate” button, COM PROFIBUS calcu-
lates the new target token runtime Ttr in bit-time units.
5. In the other-vendor master system, add the target token runtime you noted
in 3. to the target token runtime of this other-vendor system.
Subsequent If you want to make changes after you have already customized the target
changes token runtime, proceed as follows:
1. Cancel out the additive target token runtimes again in all the master sys-
tems.
2. Repeat steps 1 to 5 above in order to calculate the new target token run-
time.
Introduction Each PROFIBUS device requires a device master file or a type file so that it
can be mounted in COM PROFIBUS. All new devices are described by
means of device master files. COM PROFIBUS loads the data needed for old
devices from type files.
If there is both a device master file and a type file, COM PROFIBUS uses the
device master file automatically.
What is a device A device master file contains all the DP slave descriptions in a standard for-
master file? mat in accordance with EN 50 170, Volume 2, PROFIBUS.
Device master files are stored in the directory called ”\GSD”.
What is a DP type COM PROFIBUS reads the data required for old DP slaves from the DP type
file? file. A DP type file describes a slave with regard to the number of inputs and
outputs, the number of diagnostic bytes, FREEZE/SYNC-ability, possible
parameter values and so on.
COM PROFIBUS can only process those DP type files which are in the
”TYPDAT5X” directory. Non-language-specific type files are identified by
an ”*X.200” extension, while English-language type files are identified by an
”*E.200” extension.
What is an FMS COM PROFIBUS reads the data required for old FMS stations from the FMS
type file? type file. An FMS type file describes the parameters of an FMS station (e.g.
the value ranges for the FMS connection parameters).
COM PROFIBUS can only process those FMS type files which are in the
”FMSTYPES” directory. Non-language-specific type files are identified by
an ”*X.FMS” extension, while English-language type files are identified by
an ”*E.FMS” extension.
Reading a device If you copy new device master files or new DP type files into the appropriate
master file/type file directory while COM PROFIBUS is running, you must then update the
directory with File Read Device Master Files.
Opening a device To open and read an existing device master file/DP type file:
master file/DP type
1. Select File Open Device Master File.
file
Result: A list box appears containing the names of all the device master
files/type files.
2. Select the file name of your choice and confirm it by pressing the ”OK”
button.
Result: A window containing the filled-in device master file/type file
appears on the screen.
Options for sav- You have several options for saving and exporting data with COM PROFI-
ing/exporting BUS.
Saving more than COM PROFIBUS exports the data of only one master system to the master or
one master system to a binary file. This has the following consequences if you have more than
one master system:
If your bus configuration consists of more than one master system and
you want to modify the parameters of one of these systems, you must also
re-parameterize the other masters. If not, you may encounter errors or the
bus system may not work at all (e.g. because the response monitoring
time has been changed).
If you want to reconstruct the entire configuration of a program file, you
must re-import all the associated binary files or the master systems of all
masters.
Example 1: No There is no master system on the DP master as yet. To export data to the DP
master system on master (e.g. to the IM 308-C):
the DP master
S The online functions of COM PROFIBUS must be installed (see sec-
tion G.2).
S The programmer/PC must be connected either to the PROFIBUS or di-
rectly to the DP master (see Table G-1, section G.2).
S There must be no other stations on the PROFIBUS with PROFIBUS ad-
dress 1, and no other baud rates must be set, because the default parame-
ters are saved on the DP master (IM 308-C: baud rate = 19.2 kbaud and
PROFIBUS address = 1).
S The memory card must be inserted in the IM 308-C as DP master. If the
memory card contains data not generated with COM PROFIBUS, delete
the memory card in COM PROFIBUS with Service " Delete Memory
Card.
Note
The IM 308-C always works with the last parameters to have been exported
if the system is powered down and powered up again!
Example 2: Over- There is already a master system on the DP master and you want to overwrite
writing a master it. To export data to the DP master (e.g. to the IM 308-C):
system on the DP
S The online functions of COM PROFIBUS must be installed (see sec-
master
tion G.2)
S The programmer/PC must be connected either to the PROFIBUS or di-
rectly to the DP master (see Table G-1, section G.2)
Note
The IM 308-C always works with the last parameters to have been exported
if the system is powered down and powered up again!
DP master)
32 K EEPROM for If you have the S5-95U as DP master, you use a special memory module, an
S5-95U EEPROM with a capacity of 32 Kbytes, supplied with the S5-95U with DP
master interface.
In case you have to re-order the 32 K EEPROM, you will find the order num-
ber in Appendix G.
Note
The data of a master system cannot be saved by inserting the 32 K EEPROM
in the EEPROM slot of the programmer or an external programming unit.
You can only save the data of a master system in the S5-95U when the 32 K
EEPROM is inserted in the S5-95U.
Saving data to You can only export the data you have parameterized with COM PROFIBUS
S5-95U to the S5-95U via the PROFIBUS-DP. The S5-95U automatically sets the
baud rate to 19.2 kbaud and the PROFIBUS address to ”1” after a general
reset (battery removed and POWER DOWN/POWER UP or programmer
command).
Tip: Save the application program on the 32 K EEPROM before you carry
out a general reset. In this case, the S5-95U will load the application program
after the POWER DOWN/POWER UP.
Saving The procedure for saving the configuration data to the 32 K EEPROM is as
configuration data follows:
to 32 K EEPROM
1. Set the S5-95U to STOP.
2. In COM PROFIBUS, select File Export DP Master.
3. Enter the current baud rate of the DP master (default after general reset =
19.2 kbaud). The current baud rate is available in EB 63 (value 05H is not
used):
EB 63 Baud rate
00H 9.6 kbaud
01H 19.2 kbaud
02H 93.75 kbaud
03H 187.5 kbaud
04H 500 kbaud
06H 1500 kbaud
4. Enter the current station number of the DP master (default after general
reset = STN1). The current station number is available as a hexadecimal
value in EB 62.
Result: COM PROFIBUS exports the configuration data to the S5-95U. It
then asks whether you want to activate the exported configuration data
immediately in the S5-95U.
5. If there is only one S5-95U on the PROFIBUS, activate the exported con-
figuration data immediately.
If there are two or more DP masters on the PROFIBUS, answer ”No” to
the prompt instead. Export all the parameterization data to the DP masters
first, then activate it with Service Activate Parameters.
Result: If the configuration data is exported successfully, it is stored in
compressed form in the 32 K EEPROM (STOP LED flickers).
If the configuration data is not exported successfully, the S5-95U resumes
with the old bus parameters of the 32 K EEPROM. If the 32 K EEPROM
is blank, the default values are used.
If the export of the configuration data to the S5-95U is interrupted – e.g.
if the bus connector is withdrawn or an error occurs on the bus – you must
POWER DOWN/POWER UP.
6. Reset the S5-95U from STOP to RUN. After a STOP-RUN transition, the
S5-95U operates with the new configuration data.
General reset of If you perform a general reset (with a programmer command or by removing
the 32 K EEPROM the backup battery and using DB 1 parameter ”LNPG n”; see section 10.3),
only the configuration data on the 32 K EEPROM is deleted. The STEP 5
application program is deleted from the 32 K EEPROM if you then press the
”Copy” button.
G.11.3 Saving to memory card for IM 308-C (File " Export "
Memory Card)
Applications You require binary databases in NCM format for SIMATIC NET PC mod-
ules. The procedure for exporting the master system configured with COM
PROFIBUS to a SIMATIC NET PC module is as follows:
1. Generate the database for the SIMATIC NET PC module (.LDB) using
the File " Export " NCM file command.
2. Choose a name for the NCM database and give it an ”.LDB” extension.
3. Follow the instructions provided by COM PROFIBUS and confirm your
inputs by pressing the ”OK” button.
Result: COM PROFIBUS converts the configuration you have generated
and creates the following files:
– NCM file, loadable binary database (.LDB)
– Error file (.ERR)
4. Load the binary database (NCM file) onto the SIMATIC NET PC module
using the SIMATIC NET Setup program (please also refer to the Installa-
tion Manual for the FMS-5412, DP-5412 or SOFTNET for PROFIBUS).
Overview COM PROFIBUS can generate the following lists to document the parame-
terized configuration:
View documenta- To view the area-oriented address assignments, for example, select Docu-
tion mentation Area-oriented Address Assignment.
What can I print? You can print all the lists that are named in the ”Documentation” box.
Definition of The overview diagnostics indicate which slave has reported a diagnosis – in
diagnostics other words detected an error.
The slave diagnostics provide more detailed information about the slave with
regard to
The station status of the slave
The master PROFIBUS address
The device-specific, ID-specific and channel-specific diagnostics, de-
pending on the slave type
View slave You have several ways of viewing the slave diagnostics:
diagnostics
S If the mouse is pointing to an empty field for a slave in the ”Overview
Diagnostics” dialog box, you can display the slave diagnostics either by
clicking the right mouse button or by double-clicking (not if S5-95U is
DP master)
or
S Click on the appropriate slave and select Service " Slave Diagnostics
or
S Click on the appropriate slave with the right mouse button and select
Slave Diagnostics.
Result: COM PROFIBUS opens the ”Slave Diagnostics” box.
Status of inputs With Version 3.0 of COM PROFIBUS, you can display the status of the in-
and outputs puts and outputs of the slaves on the PROFIBUS.
You have several ways of viewing the status of a slave:
1. Click on the appropriate slave and select Service " Status
or
Click on the appropriate slave with the right mouse button and select Sta-
tus.
Result: COM PROFIBUS opens the ”Status” box
2. Using the right mouse button in the ”Format” column, select the field
containing the format in which you want the inputs and outputs to be dis-
played.
Result: COM PROFIBUS updates the status of the inputs and outputs
online.
Preconditions of The following preconditions must be fulfilled in order to change the PROFI-
changing the BUS address with COM PROFIBUS:
PROFIBUS
S It must be possible to change the PROFIBUS address of the slave using
address
the software. This is not the case with slaves whose PROFIBUS address
can only be set directly with a switch on the housing.
S The slave must behave like a DP slave in accordance with EN 50 170,
Volume 2, PROFIBUS.
S The slave must not be in the process of communicating with the DP mas-
ter.
Activating If you have exported the data of a master system to the DP master directly
parameters using the File Export DP Master function, the new parameters are not
valid immediately.
After the data has been exported, COM PROFIBUS asks you whether you
want to activate the exported parameters immediately in the DP master. If
there is only one DP master on the PROFIBUS, activate the parameters im-
mediately.
If there are two or more DP masters on the PROFIBUS, answer ”No” to the
prompt instead. Export all the parameterization data to the DP masters first,
then activate it with Service Activate Parameters. You can thus activate
the parameters synchronously.
Bus parameters of Using Service Bus Parameters DP Card you can define the bus profile
the PROFIBUS and the baud rate of the PROFIBUS card.
card
Data cycle times Using Service Data Cycle Times you can tell COM PROFIBUS to output
the data cycle times, such as the response monitoring time for the configura-
tion you have entered.
Offline If you want to use a programmer/PC offline on the PROFIBUS, e.g. in order
to display diagnostic messages or states, and at the same time disconnect the
programmer/PC from the PROFIBUS in a defined manner, select Service
Offline.
Deleting the If you want to delete the memory card for the IM 308-C, select Service
memory card Delete Memory Card.
Baud rate The speed of data transmission, expressed as the number of bits transferred
per second (baud rate = bit rate).
Baud rates from 9.6 kbaud to 12 Mbaud are possible on the PROFIBUS-DP,
while the PROFIBUS-FMS permits rates from 9.6 kbaud to 1.5 Mbaud.
Binary file If, after transferring data to the DP master, you wish to save this data on the
programmer/PC as well, you must create a binary file. The binary file con-
tains all the bus, slave and master parameters of a master system configured
with COM PROFIBUS.
Bus Common transmission path interconnecting all nodes; the bus has two de-
fined terminating points.
The bus for the ET 200 system is a two-conductor cable or a fiber-optic wa-
veguide.
Bus system The set of all stations physically connected by a bus cable forms a bus sys-
tem.
CLEAR An operating mode of the DP master. The DP master reads the input data
cyclically, the outputs remain set to ”0”.
The DP master participates in the token ring.
Consistent data Data which, on account of its content, belongs together and cannot be sepa-
rated is known as consistent data.
The values of analog modules, for example, must always be treated as consis-
tent data, i.e. the value of an analog module must not be falsified by being
read at two different times.
Control command The IM 308-C can send commands simultaneously to a group of DP slaves in
order to synchronize the DP slaves.
The control commands FREEZE and SYNC enable event-driven syn-
chronization of the DP slaves.
Device master data Device master data contains DP slave descriptions in a standard format. It is
easier to parameterize the master and the DP slave using the device master
data.
Distributed I/O sta- An I/O unit not installed in the central device. A distributed I/O station can
tion be located at a considerable distance from the CPU. Distributed I/O stations
include:
ET 200B, ET 200C, ET 200L, ET 200M, ET 200U
DP/AS-I link
S5-95U with PROFIBUS-DP interface
other DP slaves from Siemens or other-vendor products
The PROFIBUS-DP bus connects the distributed I/O stations to the IM 308-C
master interface or the S5-95U with DP master interface.
DP Siemens The bus protocol developed by Siemens. With the cooperation of the PROFI-
BUS User Forum, this bus protocol has been extended into an open, vendor-
independent system. The extended bus protocol has been ratified as European
Standard EN 50 170, Volume 2, PROFIBUS ( DP standard).
DP standard The bus protocol of the ET 200 distributed I/O system, as defined in
EN 50 170, Volume 2, PROFIBUS.
DP window The DP window is the address space addressed by the FB IM308C on the
IM 308-C. Multiple DP windows are available for addressing the distributed
I/O system, beginning with address (F)F800H, (F)FA00H, (F)FC00H and
(F)FE00H.
When you use DP windows, you must ensure that the address space is not
also occupied either totally or in part by CPs and IPs in the central program-
mable controller.
Earth The conductive soil where the potential at all points can be assumed to be
zero.
ET 200 ET 200 distributed I/O system with the PROFIBUS-DP protocol is a bus for
connecting distributed I/O stations to the S5-115U, S5-135U and S5-155U
programmable controllers or other suitable master. The ET 200 is character-
ized by fast reaction times, as only small volumes of data (bytes) are trans-
ferred.
ET 200 is based on the European Standard EN 50 170, Volume 2, PROFI-
BUS.
ET 200 operates on the master/slave principle. The DP master can be, for
example, the IM 308-C master interface, the S5-95U with DP master inter-
face or a programmer/PC with a SIMATIC NET PC module.
The DP slaves can be, for example, the ET 200B, ET 200C, ET 200L,
ET 200M or ET 200U distributed I/O stations, the S5-95U programmable
controller with PROFIBUS-DP slave interface, other Siemens DP slaves or
other-vendor slaves.
Floating On a floating I/O module the reference potentials of the control and load cir-
cuits are galvanically isolated from each other. The input and output circuits
are not grouped, in other words they have no common reference potential
(1-to-1 grouping). Not to be confused with ”isolated”.
FMS master A master which functions in accordance with EN 50 170, Volume 2, PRO-
FIBUS with the FMS protocol is known as an FMS master.
FMS service The master can exchange data with FMS services.
There are confirmed and unconfirmed FMS services. In the case of confirmed
FMS services (e.g. MSAZ), the slave sends an acknowledgment back to the
master to confirm that the services have been received. With unconfirmed
FMS services (e.g. broadcast), the slave does not send an acknowledgment to
the master.
FMS slave A slave operating on the PROFIBUS with the PROFIBUS-FMS protocol
and functioning in accordance with EN 50 170, Volume 2, PROFIBUS is
known as an FMS slave.
Gap factor Gap-update factor. The distance between the own PROFIBUS address of the
DP master and the next PROFIBUS address is known as the gap. The gap
update factor, in turn, indicates the number of token runs that must be per-
formed before the DP master checks whether there is another DP master in
the gap.
If, for example, the gap updating factor is 3, each DP master checks after 3
token runs whether there is another DP master between its own PROFIBUS
address and that of the next DP master.
Ground electrode One or mode conductive parts making good contact with the ground.
Group You must assign the DP slaves to groups and send the FREEZE and SYNC
control commands to the groups.
Multiple DP slaves can be assigned to a group. A given DP slave can be as-
signed to more than one group, but can belong to only one master system.
Grouping On grouped modules, multiple input and output circuits share a common con-
nection. The common connection may carry either the (L-) potential (M-
grouping) or the (L+) potential (P-grouping).
Host A host is a system or device containing at least one DP master, for example
the programmable controller with the CPU is the host and the IM 308-C is
the DP master.
ID A unique code identifying the S5-100U I/O modules in the ET 200U distrib-
uted I/O station. These unique codes are assigned to the S5-100U I/O mod-
ules under COM PROFIBUS.
IM 308-C A DP master for the ET 200 distributed I/O system. The IM 308-C can be
used together with COM PROFIBUS and can be inserted in the S5-115U,
S5-135U and S5-155U programmable controllers.
IP 20 DIN 40050 degree of protection: protection against finger contact and ingress
of solid bodies measuring in excess of 12 mm in diameter.
Isolated On an isolated I/O module the reference potentials of control and load cir-
cuits are galvanically isolated, e.g. by optocouplers, relay contacts or trans-
formers. Input and output circuits may be grouped. Not to be confused with
”floating”.
Lightning arrester A device capable of wholly or partially diverting a lightning pulse without
losing its integrity.
Machine ground The entirety of all interconnected inactive parts of a device. The machine
ground cannot carry a hazardous contact voltage even in the event of a fault.
Master When in possession of the token, the master may send data to other nodes
and request data from other nodes.
Master interface Module for distributed I/O. The distributed inputs/outputs are connected to
the programmable controller via the IM 208-C master interface.
Master PROFIBUS The ”master PROFIBUS address” parameter of the PROFIBUS-DP contains
address the PROFIBUS address of the master to which a DP slave is assigned and
which has parameterized the DP slave.
Master/slave Bus access procedure in which only one node is the master and all other
procedure nodes are slaves.
Master system The master plus all the slaves to which it has read and write access form a
master system.
Max. retry limit A bus parameter defining the maximum number of call retries addressed to a
DP slave.
max_TSDR A bus parameter defining the maximum protocol processing time of the re-
sponding node (Station Delay Responder).
min_TSDR A bus parameter defining the minimum protocol processing time of the re-
sponding node (Station Delay Responder).
Mode selector The mode selector switch is on the IM 308-C master interface. It is a three-
switch position switch for the modes RUN, STOP and OFF.
Non-floating On a non-floating I/O module the reference potentials of control and load
circuits are electrically connected.
Offline When the programmer is connected to the bus by the bus cable but is not ac-
tive as master, it is said to be offline on the bus.
Online When the programmer is active as DP master on the bus, it is said to be on-
line on the bus.
Overvoltage Device for limiting overvoltages from remote strikes or induction effects (or
arrester switching operations). The currents diverted by overvoltage arresters are sig-
nificantly lower than lightning pulses with regard to peak values, charges and
specific energy.
Parameterization Each DP slave has one parameterization master. In the power-up procedure,
master the parameterization master transfers the parameters to the DP slave, it has
read and write access to the DP slave and may modify the configuration of a
DP slave.
The FREEZE and SYNC control commands, for example, can be sent to the
DP slave only by the parameterization master.
The opposite of the parameterization master is the shared-input master.
Parameterizing The act of transferring the slave parameters from the master to the slave.
Process image A process image of all inputs (= PII) or all outputs (= PIO) at a given time.
You can access the process image in the control program.
PROFIBUS PROcess FIeld BUS, European process and field bus standard defined in the
PROFIBUS standard (EN 50 170, Volume 2, PROFIBUS).
The standard defines functional, electrical and mechanical characteristics for
a bit-serial field bus system.
PROFIBUS is a bus system which links PROFIBUS-compatible program-
mable controllers and field devices on cell and field level. PROFIBUS runs
the protocols DP (= distributed I/O system), FMS (= field bus message speci-
fication), PA (= process automation) and TF (= technological functions).
PROFIBUS ad- Each station must be assigned a unique PROFIBUS address for identification.
dress
The programmer or the ET 200 Handheld has the PROFIBUS address ”0”.
DP masters and DP slaves are assigned PROFIBUS addresses in the range 1
to 123, with the following exceptions:
PROFIBUS-DP The PROFIBUS bus system with the DP protocol. DP stands for distributed
I/O system.
The primary function of PROFIBUS-DP is to sustain the high-speed cyclic
exchange of data between the central DP master and the distributed I/O sta-
tions.
PROFIBUS-FMS The PROFIBUS bus system with the FMS protocol. FMS stands for field bus
message specification.
Protocol data unit The information which is exchanged between two stations on the bus is
packed in a PDU (= protocol data unit).
Reaction time The reaction time is the average time which elapses between the change of
an input and the corresponding change of an output.
Redundancy The provision of duplicates for the sake of reliability. If one component fails
the duplicate assumes the role of the original.
Redundant remote The duplication of a bus line monitored at both ends by two 485 repeaters in
operation remote mode:
R R
Remote segment
(redundant segment)
R R
Reference poten- Potential to which the voltages of the circuits are referenced and the datum
tial for measurement of these voltages.
RS 485 repeater Device for amplifying bus signals and linking segments over large dis-
tances.
Segment The bus line between two terminating resistors constitutes a segment. A seg-
ment includes 0 to 32 stations. Segments can be linked by RS 485 re-
peaters.
Shared-input Other DP masters can have read access to a DP slave assigned to a parame-
master terization master. The other DP masters are known as shared-input masters.
In COM PROFIBUS masks, DP slaves assigned to a shared-input master ap-
pear gray.
Shield impedance AC impedance of the cable shield. Shield impedance is a characteristic of the
cable used and is usually specified by the manufacturer.
Short-circuit A conductive path established by a fault between two conductors that are
normally energized in operation when the fault circuit thus created does not
include a working resistance.
SIMATIC NET PC SIMATIC NET PC modules are used to link the PC to bus systems, e.g.
modules PROFIBUS or Industrial Ethernet.
Slave A slave can exchange data with a master only when requested to do so by
the master.
Slaves are, for example, all DP slaves such as ET 200B, ET 200C, etc.
SOFTNET for SOFTNET for PROFIBUS is the protocol software for the CP 5411, CP 5511
PROFIBUS and CP 5611 SINEC NET PC modules.
Station Device which can send, receive or amplify data on the bus, e.g. master, slave,
RS 485 repeater, star hub.
STOP Operating mode of the master. No data is exchanged between master and
slaves. The master participates in the token ring.
Terminating A resistance for matching to the impedance of the bus cable; invariably, a
resistor terminating resistor must be installed at each end of the bus cable or segment.
In the ET 200, the terminating resistors are activated/deactivated in the
bus connectors.
TID1 A bus parameter; idle time 1 is the idle time which elapses after receipt of a
response.
TID2 A bus parameter; idle time 2 is the idle time which elapses after sending of a
call without response.
Token A telegram representing the send authorization in a network. The token sig-
nals the states ”seized” and ”free”. The token is passed from master to mas-
ter.
Token ring Each master physically interconnected by a bus receives the token and passes
it to the next master in turn. The masters participate in what is known as a
token ring.
Token runtime The time that elapses between the receipt of two consecutive tokens.
TQUI Quiet time for modulator; the time for switching from send to receive. The
quiet time for modulator allows for the operation of switching off the trans-
mitter and switching on the receiver.
TSET Setup time. The setup time is the time that may elapse between reception of a
telegram and the associated reaction.
TSL Slot time. The slot time is the maximum time the transmitter allows for a
response from the station it addresses.
TTR Target rotation time. Each master compares the target rotation time with the
actual token runtime. The difference is the factor which determines the time
that the DP master can use to send its data telegrams to the slaves.
UNFREEZE FREEZE
UNSYNC SYNC
VFD A VFD (virtual field device) is a map of a real field device, the purpose of
which is to obtain a standard view of any device.
Connecting bus cable, To bus connector with Device master data. See GSD
order number 6ES5 ..., 3-31 Device master file, Definition, G-30, G-54
Connection profile, G-45 Device-specific diagnostics, 10-6
Connections, FMS station parameters, G-44 Diagnostics, Glossary-2
Consistency, B-2 Channel-specific, 6-13, 10-6
Rules, B-14 Device-specific, 6-13, 10-6
Consistent data, Glossary-2 ID-specific, 6-13, 10-6
Control command, Glossary-2 Master diagnostics, 6-13
See also SYNC Overview diagnostics, 10-6
Issuing, 6-23 Requesting, 10-10
Control processor, 9-6 Slave diagnostics, 6-13, 10-6
Failure, 11-13 Structure, 6-13, 10-6
Controls of the S5-95U, 9-2 With STEP 5, 6-13, 10-6
Correct shield installation, 3-11 Diagnostics cycle, C-20, C-21
Courses, vi Diagnostics word, 10-7
CP 342-5, 1-8 Differences in potential, Causes, 3-8
CP 443-5, 1-8 Dimensional drawings, E-2
CP 5411, 1-8, G-11 Diode, 3-14
CP 5412 (A2), 1-8 Disposal, v
CP 5431, 1-8 Distributed I/O, Access commands, 6-12
CP 5511, 1-8, G-11 Distributed I/O device, ET 200S, 1-12
CP 581 TM-L2, 1-8 Distributed I/O station, Glossary-3
CPU 315-2 DP, 1-8 ET 200B, 1-11
CPU 413-2 DP/414-2 DP, 1-8 ET 200L, 1-11
CPU and IM 308-C power-up, 8-6 ET 200M, 1-12
CR, G-45 ET 200U, 1-11, 1-12
Creating files in COM PROFIBUS, G-31 ET 200X, 1-12
CSA certification, A-3 Documenting a configuration, With COM PRO-
Cycle checkpoint, 9-7 FIBUS, G-64
In S5-95U, 11-13 DP card. See PROFIBUS card
Cyclic processing, Glossary-2 DP cycle, 9-7
DP master, Glossary-3
See also IM 308–C
D Importing (loading) data from, G-32
DP master interface, 1-10
Data consistency, 6-2, B-2
Pin assignment, 9-5
S5-95U, 10-3
Purpose, 9-5
Data cycle, C-20, C-21
DP Siemens, Glossary-3
Data cycle times, G-68
DP slave
Data exchange
Addressable after failure, 8-14, 11-11
Method of operation, C-20
Failure of a DP slave, 8-10, 11-10
Operating principle, 9-7
DP slaves, Possible DP slaves, 1-11
Data exchange between S5-95U and DP slaves,
DP standard slave, Glossary-3
9-6
DP window, Glossary-3
Data-transfer list, 6-13
Master parameters, G-39
Structure, 6-15
DP standard, Glossary-3
DB 1, Parameters for S5-95U as DP master,
DP/AS-I link, 1-11
10-4
DPAD, Block parameters of FB IM308C, 7-8
DC-actuated coils, 3-14
Droplines, Length, 3-30
Default parameter set, S5-95U, 11-5
Detecting errors with STEP 5, 6-13
E FB IM308C
Address space occupied, 7-5
Edit VFDs, Master parameters, G-40
Application, 7-2
Electromagnetic compatibility. See EMV
Assignment of ERR parameter, 7-14
EMC, Technical data, A-4
Assignment of FCT parameter, 7-9
EMC and cable routing, 3-7
Assignment of the GCGR parameter, 7-12
EMC Directive, A-2
Block parameters, 7-7
EMERGENCY OFF facilities, 3-3
Call, 7-7
EN 50 170, Volume 2, PROFIBUS, 1-2
Calling, 7-3, 10-10
ERR, Block parameters of FB IM308C, 7-8
Calling in multiprocessor mode, 6-28, 7-3
Error recognition with STEP 5, 10-6
Changing PROFIBUS addresses, 7-2
Error-reporting mode
Error numbers in ERR parameter, 7-15
Master parameters, G-40
Form of delivery, 7-4
Slave parameters, G-42
For DP/AS-I link, 7-3, D-2
ET 200, Glossary-4
Indirect parameterization, 7-19
Response of ET 200, 8-4, 11-6
Memory areas occupied in the CPU, 7-2
Starting, 8-2, 11-2
Parameterizing configuration, 7-2
Switching off, 8-15, 11-12
Runtimes, 7-6
Switching on, 8-2, 11-2
S5 memory area with CS, 7-11
What does ET 200 consist of?, 1-2
S5 memory area with WO, RO, RI, 7-10
What is ET 200, 1-2
Sending control commands, 7-2
ET 200 distributed I/O system, 1-2
Technical data, 7-5
ET 200B, 1-11
FCT, Block parameters of FB IM308C, 7-8
ET 200C, 1-11
FDL, Glossary-4
ET 200L, 1-11
Features of the IM 308-C, 5-3
ET 200M, 1-12
Field devices as DP slaves, 1-11
ET 200S, 1-12
Field bus: PROFIBUS-DP, 1-3
ET 200U, 1-12
Floating, Glossary-4
ET 200X, 1-12
FM approval, A-3
Example of parameterizing DP configuration
FMS connection, Glossary-4
with COM PROFIBUS, G-17
FMS connections, Entering – example, G-26,
Example of parameterizing FMS configuration
G-28
with COM PROFIBUS, G-24
FMS master, Glossary-4
Export, Glossary-4
FMS service, Glossary-4
Exporting data to DP master, Example, G-23
FMS slave, Glossary-5
External electrical effects, Protection against,
FMS slaves, 1-11
3-4
FMS station, Glossary-5
External power supply, Glossary-4
FMS station properties
Definition, G-44
Entering, G-45
F Meanings, G-44
Failure of a DP slave, 8-10, 11-10 FREEZE, Glossary-5
Failure response of the S5-95U, 11-13 Definition, 6-23
Family Preconditions, 6-23, G-51
FMS station parameters, G-44 FREEZE-able, Slave parameters, G-42
Slave parameters, G-42 Function block FB IM308C. See FB IM308C
FB 230
Block parameters, 10-11
Call in the STEP 5 application program,
10-12
Function, 10-10
Technical data, 10-12
G IM 318-B, 1-12
IM 318-C, 1-12
Gap factor, Glossary-5
IM 329-N, 1-8
GCGR, Block parameters of FB IM308C, 7-8
Import, Glossary-6
General technical data, A-1
Importing data, G-31
Graphical user interface of COM PROFIBUS,
From binary file, G-32
G-14
from DP master, G-32
Ground, Glossary-3
from memory card, G-32
Ground electrode, Glossary-5
From NCM file, G-32
Grounding, Glossary-5
IMST, Block parameters of FB IM308C, 7-8
Grounding of inactive metal components, 3-13
In host, Master parameters, G-39
Group, Glossary-5
In-building, Cable routing, 3-5
Group membership, Glossary-6
Individual diagnostics, 6-13, 10-6
Defining, G-51
Ingress of foreign matter, A-9
Grouping, Glossary-5
Ingress of water, A-9
Groups, Assigning slaves to groups, G-51
Initial operation, 8-2, 11-2
Of the ET 200 – procedure, 2-7
Installing bus cable, On bus connector 6ES7
H 972-0BA30, 3-33
Host, 1-14, Glossary-6 Installing COM PROFIBUS, G-12
Host designation, Host parameters, G-37 Insulation strength, A-9
Host parameters Interface module IF 964-DP, 1-8
Definition, G-37 Interfaces between lightning-protection zones,
Entering, G-38 3-18
Entering – example, G-19, G-26 Interference, Sinusoidal, A-5
Meanings, G-37 Interference immunity, A-4
Host type, Host parameters, G-37 Interference voltages, Measures to prevent, 3-12
Interference-proof operation, 3-14
IP 20, Glossary-6
I IP 65, Glossary-6
IP 66, Glossary-6
ID, B-14, Glossary-6
IP 67, Glossary-6
ID of manufacturer, 6-13
Isolated, Glossary-6
Identification systems MOBY, 1-11
Isolation monitoring, Glossary-6
IEC 1131, A-2
IF 964-DP, 1-8
IM 180, 1-8
IM 308-C, Address space used by ASM 401, 6-3 J
IM 308-C, 5-2, Glossary-6 Jumper on the IM 308-C setting, 5-9
Appearance, 5-2 Jumper X10, 5-3
Block diagram, 5-7 Jumper X9, 5-3
Controls and LEDs, 5-3
Definition and functions, 1-9
Dimensional drawing, E-2 L
Loading operating system from memory
LEDs of the IM 308-C, 5-3
card, 5-12
LEDs of the S5-95U, 9-2
Operating modes, 8-7
LENG, Block parameters of FB IM308C, 7-8
Operating system version, 5-13
Lightning arrester, Glossary-7
Purpose, 5-2
Lightning protection
Setting the jumper, 5-9
Example, 3-22
Switching to OFF, STOP or RUN, 8-8
Rules, 3-19
Technical data, 5-8
Operation of the ET 200, General rules and reg- Power supply, switching on, 8-5
ulations, 3-3 Power-up delay, Host parameters, G-37
Operator panels, 1-11 Powerfail in the S5-95U, 11-8
Optical link modules, 1-16 Power-up of the S5-95U on the bus, 11-4
Order numbers, F-1, G-1 Preconditions, 11-3
Overview diagnostics, 6-13, 10-6 Power-up phase, C-21
Definition, 10-7 Preconditions, Using COM PROFIBUS, G-10
In the STEP 5 application program, inter- Printing, G-64
preting, 10-7 Printing system documentation, Example, G-23,
Structure, 6-15, 10-7 G-28
With COM PROFIBUS, G-66 Procedure
Overvoltage, definition, 3-17 From planning to initial operation of the ET
Overvoltage arrester, Glossary-8 200, 2-1
Initial operation of the ET 200, 2-7
Parameterization with COM PROFIBUS,
P 2-5
Planning the layout, 2-2
P-page addressing, 6-5
STEP 5 application program writing, 2-6
Definition and restrictions, 6-9
Structuring the ET 200, 2-3
Page addressing, Definition, 6-8
What to consider before parameterization
Parameterization, Glossary-8
with COM PROFIBUS, 2-4
Parameterization master, Glossary-8
Process image, Glossary-8
Parameterization software: COM PROFIBUS,
PROFIBUS, 1-2, Glossary-9
1-3
PROFIBUS address, Glossary-9
Parameterization with COM PROFIBUS, Proce-
FMS station parameters, G-44
dure, 2-5
Master parameters, G-39
Parameterize, Slave parameters, G-43
Slave parameters, G-42
Parameterizing, Glossary-8
PROFIBUS addresses, Changing, 6-24
Parameterizing configuration with COM PRO-
PROFIBUS card, G-11
FIBUS, G-33
Bus parameters for PROFIBUS card, G-68
Parameterizing ET 200 configuration with COM
PROFIBUS standard, A-2
PROFIBUS, G-33
PROFIBUS-DP, Glossary-9
Parameterizing PROFIBUS FMS configuration
PROFIBUS-DP, 1-2, 1-3
with COM PROFIBUS, Example, G-24
Characteristics, 1-14
Parameterizing PROFIBUS-DP configuration
PROFIBUS-DP field bus. See PROFIBUS-DP
with COM PROFIBUS, Example, G-17
PROFIBUS-FMS, 1-2, Glossary-9
PC/programmer, Offline on PROFIBUS, G-68
Program file
PCMCIA, G-11
Creating, G-31
PDU, Glossary-8
Definition, G-30
Programmer interface. See PROFIBUS card
Opening, G-31
Programming adapter, G-11
Programmable controller S5-95U with PROFI-
Planning the layout, Procedure, 2-2
BUS-DP interface, 1-12
PLC cycle, 9-7
Programmers, As master, 1-8
Pollutant concentration, A-7
Programming units, Power supply, 3-15
Potential differences, Avoiding, 3-8
Protection class, A-9
Potential equalization, 3-8
Protocol data unit, Glossary-9
Power failure, Handling a power failure, 8-15
Provision for other masters, G-53
Power restored in the S5-95U, 11-8
D–92209 Amberg
Federal Republic of Germany
From:
Your Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Your Title: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Company Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Street: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
City, Zip Code:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Country: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Phone: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Automotive Pharmaceutical
Chemical Plastic
Electrical Machinery Pulp and Paper
Food Textiles
Instrument and Control Transportation
Nonelectrical Machinery Other _ _ _ _ _ _ _ _ _ _ _ _ _
Petrochemical
Please give each of the following questions your own personal mark within the range
from 1 (very good) to 5 (poor).
1. Do the contents meet your requirements?
2. Is the information you need easy to find?
3. Is the text easy to understand?
4. Does the level of technical detail meet your requirements?
5. Please rate the quality of the graphics/tables:
Additional comments:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
D–92209 Amberg
Federal Republic of Germany
From:
Your Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Your Title: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Company Name: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Street: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
City, Zip Code:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Country: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Phone: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Automotive Pharmaceutical
Chemical Plastic
Electrical Machinery Pulp and Paper
Food Textiles
Instrument and Control Transportation
Nonelectrical Machinery Other _ _ _ _ _ _ _ _ _ _ _ _ _
Petrochemical
Please give each of the following questions your own personal mark within the range
from 1 (very good) to 5 (poor).
1. Do the contents meet your requirements?
2. Is the information you need easy to find?
3. Is the text easy to understand?
4. Does the level of technical detail meet your requirements?
5. Please rate the quality of the graphics/tables:
Additional comments:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _