Configuration of FOUNDATION Fieldbus H1 With Simatic Pcs 7

Download as pdf or txt
Download as pdf or txt
You are on page 1of 40

Application description 11/2014

Configuration of
FOUNDATION Fieldbus H1
with SIMATIC PCS 7
SIMATIC PCS 7 as of V8.0 Upd1

http://support.automation.siemens.com/WW/view/en/64329637
Warranty and liability

Warranty and liability

Note The Application Examples are not binding and do not claim to be complete
regarding the circuits shown, equipping and any eventuality. The Application
Examples do not represent customer-specific solutions. They are only intended
to provide support for typical applications. You are responsible for ensuring that
the described products are used correctly. These application examples do not
relieve you of the responsibility to use safe practices in application, installation,
operation and maintenance. When using these Application Examples, you
recognize that we cannot be made liable for any damage/claims beyond the
liability clause described. We reserve the right to make changes to these
Application Examples at any time without prior notice.
If there are any deviations between the recommendations provided in these
application examples and other Siemens publications – e.g. Catalogs – the
contents of the other documents have priority.

We do not accept any liability for the information contained in this document.

Any claims against us – based on whatever legal reason – resulting from the use of
the examples, information, programs, engineering and performance data etc.,
described in this Application Example shall be excluded. Such an exclusion shall
not apply in the case of mandatory liability, e.g. under the German Product Liability
Act (“Produkthaftungsgesetz”), in case of intent, gross negligence, or injury of life,
Siemens AG 2014 All rights reserved

body or health, guarantee for the quality of a product, fraudulent concealment of a


deficiency or breach of a condition which goes to the root of the contract
(“wesentliche Vertragspflichten”). The damages for a breach of a substantial
contractual obligation are, however, limited to the foreseeable damage, typical for
the type of contract, except in the event of intent or gross negligence or injury to
life, body or health. The above provisions do not imply a change of the burden of
proof to your detriment.

Any form of duplication or distribution of these Application Examples or excerpts


hereof is prohibited without the expressed consent of Siemens Industry Sector.

Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, solutions, machines, equipment and/or
tion networks. They are important components in a holistic industrial security
concept. With this in mind, Siemens’ products and solutions undergo continuous
development. Siemens recommends strongly that you regularly check for
product updates.
For the secure operation of Siemens products and solutions, it is necessary to
take suitable preventive action (e.g. cell protection concept) and integrate each
component into a holistic, state-of-the-art industrial security concept. Third-party
products that may be in use should also be considered. For more information
about industrial security, visit http://www.siemens.com/industrialsecurity.
To stay informed about product updates as they occur, sign up for a product-
specific newsletter. For more information, visit
http://support.automation.siemens.com.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 2
Preface

Preface
Objective of the document
This description guides you through the steps necessary to implement
FOUNDATION Fieldbus H1 segments in SIMATIC PCS 7: From planning and
design through to configuration and commissioning.

Main contents
This document discusses the following key issues:
Selection of components
Architecture
Considering electrical quantities (SIMATIC Fieldbus Calculator)
System limits or constraints
Configuring cyclic communication
Configuring acyclic communication (SIMATIC PDM)
Certification to Level HOST 61b (PCS 7 V8.1 with SIMATIC PDM V8.2)
Configuring Control in the Field (CiF)

Validity
Siemens AG 2014 All rights reserved

This application refers to the implementation with PCS 7 V8.0 Update 1 and the
FOUNDATION Fieldbus hardware released for this version. In addition, SIMATIC
PDM V8.0 SP1 with the field devices of the associated device catalog tested for
this software is used for configuring. The application is applicable to PCS 7 V8.1
without restrictions.

Note For all FF projects, contact your regional Siemens contact. To find your contact,
visit Industry Online Support and in “Contacts”, select “Contacts worldwide”.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 3
Table of contents

Table of contents
Warranty and liability................................................................................................... 2
Preface .......................................................................................................................... 3
1 Task and Solution .............................................................................................. 5
1.1 Task ...................................................................................................... 5
1.2 Solution................................................................................................. 5
1.3 Hardware and software components used........................................... 7
2 Basics ................................................................................................................. 9
2.1 Topology ............................................................................................... 9
2.2 FF communication .............................................................................. 10
2.3 Certification to Level HOST 61b ......................................................... 10
2.4 Configuration in HW Config ................................................................ 10
2.5 Parameterization in PDM ................................................................... 12
2.6 Design of closed-loop controls and local display ............................... 13
3 Installation and Mounting ............................................................................... 17
3.1 Software installation ........................................................................... 17
3.2 Hardware installation .......................................................................... 18
4 Configuration, Project Engineering and Parameter Assignment ............... 19
4.1 Interface parameter assignment ........................................................ 20
4.2 Hardware configuration ...................................................................... 21
Siemens AG 2014 All rights reserved

4.3 Device parameterization with SIMATIC PDM .................................... 24


5 Operation of the Application .......................................................................... 27
5.1 Scenario A – Expanding the project by an FF segment..................... 27
5.2 Scenario B – Device replacement with download scenarios ............. 33
5.3 Scenario C – Implementing a local display ........................................ 34
6 Further notes, tips and tricks, etc. ................................................................. 36
7 Related literature ............................................................................................. 39
7.1 Bibliography........................................................................................ 39
7.2 Internet links ....................................................................................... 39
8 History............................................................................................................... 40

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 4
1 Task and Solution
1.1 Task

1 Task and Solution


1.1 Task
Its flexible architecture and seamless integration into Totally Integrated Automation
(TIA) from Siemens allows SIMATIC PCS 7 to be used in various applications and
sectors. SIMATIC PCS 7 allows the implementation of requirements at all hierarchy
levels of industrial automation, from the corporate management level through the
control level to the field level.
An important requirement at the field level is to plan and configure FOUNDATION
Fieldbus H1 segments (in the following referred to as FF).

1.2 Solution
Thanks to the seamless integration of FF technology in SIMATIC PCS 7, you are
provided with an ideal standard solution.
This description gives you a practical procedure for planning and configuring FF
segments in the PCS 7 environment. This application provides a quick introduction
to the topic and supports you with numerous step-by-step instructions (Getting
Started character).

Overview
Siemens AG 2014 All rights reserved

The figure below shows the most important components of the FF solution.
Figure 1-1

HW Config PDM SIMATIC


Fieldbus Calculator

3
Modification

2 1

1. Planning and checking a segment configuration


2. Configuring an FF segment in HW Config and parameterizing it in PDM
3. Changing and extending an FF segment

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 5
1 Task and Solution
1.2 Solution

The automation task requires the following steps:


Configuring FF Links and FF field devices in HW Config
Parameterizing FF field devices in SIMATIC PDM
Checking and setting the bus parameters

This description guides you through FOUNDATION Fieldbus engineering in PCS 7


and includes guidance on the following focal points:
Basic knowledge such as architecture, FF terms, etc.
Selection of suitable components
Considering electrical quantities (SIMATIC Fieldbus Calculator)
System limits or constraints
Parameterizing and configuring the workbench in PCS 7

Scope
This application does not include a description of the following:
Basic SIMATIC PCS 7 configuration
Design of closed-loop controls (control engineering)
Working and parameterizing with SIMATIC PDM
Siemens AG 2014 All rights reserved

Process-specific device parameterization in SIMATIC PDM


Basic knowledge of these topics is required.

Advantages
The solution presented here offers you the following advantages:
Quick development of FF know-how
Description of typical scenarios, e.g. complete configuration, commissioning
and device replacement on FF segments
This reduces the planning and configuration overhead

Typical fields of application


Typical industries which use FOUNDATION Fieldbus are:
Chemical industry
Pharmaceutical industry
Oil & gas industry
Metals & mining industry

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 6
1 Task and Solution
1.3 Hardware and software components used

1.3 Hardware and software components used


The application was created with the following components:

Hardware components
Table 1-1 – Automation components
Component Order no.
AFDiS 6ES7157-0AG83-0XA0
SIPART PS 2 FF 6DR5611-0EG00-0AA0
SITRANS P DS III 7MF4035-1CA00-1BB1-Z
SITRANS TH400 FF 7NG3215-0AN0
SITRANS LR250 7ML5431-XXX30-XXXX
Rosemount 3051 3051SxxxxxxxxFxx
IM 153-2 FF 6ES7153-2DA80-0XB0
FDC 157 6ES7157-0AC84-0XA0
CPU 417-5 H PN/DP 6ES7417-5HT06-0AB0
CP 443-5 Ext 6GK7443-5DX05-0XE0
CP 5512 C79459-A1890-A10
Siemens AG 2014 All rights reserved

Table 1-2 – Engineering computer


Component Note
SIMATIC PCS 7 ES/OS IPC547D W7 Engineering station with PCS 7 V8.0
Upd. 1/SP1/SP2
SIMATIC PCS 7 ES/OS IPC547E Engineering station with PCS 7 V8.1
LIFEBOOK E series Computer for workbench
configuration

Note When using different hardware, please observe the minimum requirements for
installing the software components. The minimum requirements can be found in
the PCS 7 readme file.

Software components
Table 1-3
Component Order no. Note
SIMATIC PCS 7 V8.0 Part of Industrial PC
Incl. Upd1/SP1/SP2
SIMATIC PCS 7 V8.1 Part of Industrial PC
SIMATIC PDM PCS 7- 6ES7658-3MD08-0YA5 Not part of PCS 7 V8.0
FF V8.0 (incl. SP1) Upd1/SP1/SP2
SIMATIC PDM PCS 7- 6ES7658-3MD28-0YA5 Not part of PCS 7 V8.1
FF V8.2

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 7
1 Task and Solution
1.3 Hardware and software components used

Licenses
The following licenses are required for operating FF in PCS 7 and PDM
parameterization.
Table 1-4
Component Order no. Note
SIMATIC PDM PCS 7- 6ES7658-3MD08-0YA5 For PCS 7 V8.0
FF V8.0 (100 TAGs) Includes
SIMATIC PDM
Basic and Extended
Integration in
STEP 7 / PCS 7
Routing via
S7-400
FOUNDATION
Fieldbus
communication
100 TAGs
SIMATIC PDM PCS 7- 6ES7658-3MD28-0YA5 For PCS 7 V8.1
FF V8.2 (100 TAG) Includes
SIMATIC PDM
Basic and Extended
Integration in
Siemens AG 2014 All rights reserved

STEP 7 / PCS 7
Routing via
S7-400
FOUNDATION
Fieldbus
communication
100 TAGs

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 8
2 Basics
2.1 Topology

2 Basics
2.1 Topology
The IM 153-2 FF interface module is required to integrate an FF segment into
PCS 7. The combination of IM 153-2 FF and FDC 157 (Field Device Coupler) is
called FF Link. The FF Link is the link or gateway between the higher-level
communication system, for example PROFIBUS DP, and the lower-level FF
segment. The following figure shows the FF topologies possible for PCS 7.
Figure 2-1

S7-400 automation system

Line architecture Line architecture with coupler redundancy


FF H1 segment

FF Link
FF Link

FF H1 segment
Plant bus

FF H1 trunk
AFS
Siemens AG 2014 All rights reserved

FF H1 trunk

Ring architecture with coupler and media redundancy


FF Link

FF H1 segment

FF H1 trunk

AFD AFDiS

Technical data
Table 2-1
Maximum Typical
Number of FF Links on the plant bus
123 (124) between 30 and 40
(PROFIBUS DP)
FF segments per FF Link 1 1
FF devices per FF segment 31 8 to 12
I/O data per FF Link 244 bytes each -
I/O data per FF device 64 bytes each -
Current 1A 200 to 300 mA

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 9
2 Basics
2.2 FF communication

2.2 FF communication
LAS (Link Active Scheduler)
For FF, communication (which device is allowed to send data and when) is defined
in a schedule and controlled by an LAS-capable device. In normal operation, the
FF Link performs this LAS function.

Macro cycle
The macro cycle is the calculated deterministic period required for processing the
cyclic and acyclic data of an FF segment.

NOTICE The macro cycle (schedule) changes with each change to the FF segment
(e.g., number of devices or data volume).

Communication
PCS 7 distinguishes between cyclic and acyclic communication. During cyclic
(continuous) communication, defined tasks and responses are processed in a
specified period. One example is closed-loop process control in which a measured
value, e.g. boiler pressure, is acquired and reduced with the configured logic in the
CFC by opening a drain valve.
Siemens AG 2014 All rights reserved

During acyclic communication, in contrast, an action is performed one or more


times upon request, but not continuously. One example is reading out the
parameterization of a field device.

2.3 Certification to Level HOST 61b


SIMATIC PCS 7 V8.1 certified to HOST 61b of Fieldbus Foundation.
Based on this certification, SIMATIC PDM V8.2 also supports the following
functions of FF field devices:
Cross Block references
Enhanced Function Blocks
Multi Capability Level
Dynamic Block Instantiation
Profiled Custom Function Blocks
Configuration of Scheduled Control Function Blocks
DD V5.1 Device-Level Access

2.4 Configuration in HW Config


Integrating the device catalog as described in Chapter 3.1 is the prerequisite for
configuring FF devices. All devices integrated using the “Device Integration
Manager” can be found in the HW Config device catalog.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 10
2 Basics
2.4 Configuration in HW Config

Figure 2-2

Note When configuring FF devices in HW Config, the basic procedure (drag and drop)
is identical with the configuration of PROFIBUS PA devices.

To configure the cyclic data, the required function blocks must be provided with I/O
addresses in HW Config. In addition, the associated function blocks (FBs) in the
Siemens AG 2014 All rights reserved

device have to be configured with SIMATIC PDM.


Figure 2-3
HW Config PDM parameters

AO
BKCAL_OUT
CAS_IN

AI AI AI PID

Function blocks

SITRANS P DS III – pressure transmitter

One example of configuring an FF segment in PCS 7 is shown in Chapter 5.1


“Scenario A – Expanding the project by an FF segment”.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 11
2 Basics
2.5 Parameterization in PDM

2.5 Parameterization in PDM


In general, we recommend that a device be parameterized before integrating it into
the productive sector. This includes the following device parameters:
Resource block (device block)
Device- and manufacturer-specific information such as device type, firmware,
etc.
Transducer blocks
Form the interface between the sensor/actuator and the field device.
Function blocks
Form the interface between the field device and the FF bus and contain
device-specific blocks for, e.g., analog (AI / AO) and digital communication (DI
/ DO) or closed-loop (PD / PID) and open-loop control functions.
Chapter 4 “Configuration, Project Engineering and Parameter Assignment”
describes all the steps necessary for the basic parameterization of a field device.
Siemens AG 2014 All rights reserved

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 12
2 Basics
2.6 Design of closed-loop controls and local display

2.6 Design of closed-loop controls and local display


In PCS 7, all process-relevant closed-loop controls are implemented in the
automation system and operated and monitored in the operator station. For this
purpose, all the necessary blocks are interconnected and compiled for process
visualization as shown in the figure below.
Figure 2-4

PID closed-loop control in the AS


Field device AS Field device
AI PIDConL AO

Level CFC Positioner

The FOUNDATION Fieldbus option allows to move closed-loop controls that do not
Siemens AG 2014 All rights reserved

require, for example, operator control and monitoring in the OS, to the relevant FF
segment. The diagrammatic representation below shows a PID closed-loop control
in the FF segment.
Figure 2-5

PID closed-loop control in the FF segment


AO
BKCAL_OUT
PID
AI OUT CAS_IN
OUT IN
CPU BKCAL_IN

Level Positioner

Furthermore, measured values from other FF segment nodes can also be viewed
on an FF device. A typical application is the local display of measuring points that
are difficult to access, e.g. the level reading of a container.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 13
2 Basics
2.6 Design of closed-loop controls and local display

Figure 2-6

Local display of process values


in the FF segment
PID
AI
OUT IN
CPU

44%

44%

Level Pressure

In order to design a Control in the Field (CiF) closed-loop control or a local display,
the PID blocks of the devices must be additionally connected in the Connection
Editor and parameterized in SIMATIC PDM.
To interconnect the CiF closed-loop control, follow the instructions in the table
below.
Siemens AG 2014 All rights reserved

Table 2-2
Action
1. Open HW Config.
2. Select the FF Link of the FF segment for which you configure the CiF closed-loop
control and in the FF Link context menu, select “SIMATIC PDM > Start
Connection Editor”.

3. In the Connection Editor, interconnect the inputs and outputs relevant to your
closed-loop control in the FF segment. In the left window, select an input to
establish the interconnection and in the right window, select an output and select
the “Add interconnection” button to add the interconnection to the segment.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 14
2 Basics
2.6 Design of closed-loop controls and local display

Action

The blocks for level control (level transmitter with positioner) were interconnected
in the Connection Editor.
Note
To add interconnections, the schedule must be downloaded to the devices. In
Siemens AG 2014 All rights reserved

addition, CiF interconnections can influence the macro cycle time of a segment.
4. To apply the interconnections, select “Save” and then “Close”.
5. Select the FF subsystem and in the context menu, select “Object Properties…”.
6. In the FF subsystem object properties, select the “Properties” button.
7. In the next window, select the “Macro cycle” tab.
8. Select the “Calculate schedule” button. Customize the macro cycle to your
requirements and schedule a reserve for future extensions.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 15
2 Basics
2.6 Design of closed-loop controls and local display

Action
9. Select the “Station > Save and Compile” menu option to compile the entire
hardware configuration.
10. Select the “PLC > Download to Module…” menu option to download the
configuration to the automation system. First the configuration is downloaded to
the automation system. Then the scheduler is transferred to each FF node in the
FF segment.
11. Adjust the parameters (scaling, limits, controller constants, etc.) of the blocks
necessary for level control in the positioner.

Note All CiF interconnections made are now visible in the Connection Editor.
Siemens AG 2014 All rights reserved

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 16
3 Installation and Mounting
3.1 Software installation

3 Installation and Mounting

3.1 Software installation


To operate, configure and parameterize FF, SIMATIC PDM must be installed, incl.
the associated device catalog.

Note Before installing SIMATIC PDM, uninstall the previous PDM installation
completely from your system. To do so, use the Microsoft Windows uninstall
routine.

Reinstall PDM as described in the “SIMATIC Process Control System PCS 7 Help
for SIMATIC PDM (V8.2)” operating manual using the Entry ID 90682678 and in
the software selection step, select the “FOUNDATION FIELDBUS” option.
After SIMATIC PDM has been successfully installed, the device descriptions (PDM
device catalog) have to be integrated using the “Device Integration Manager”.
To integrate the device descriptions, follow the instructions in the table below.
Table 3-1
Siemens AG 2014 All rights reserved

Action
1. Go to the Start menu and select “SIMATIC > SIMATIC PDM > Device Integration
Manager” to start the “Device Integration Manager”.
2. Read the license agreement and select the “I accept the License Agreement”
button.
3. Select “File > Read device descriptions…”.
4. Select the data medium with the device descriptions (device DVD) of the
associated PDM version and select the “OK” button.
5. After reading the available device descriptions of the data medium, check the
“Foundation Fieldbus” and “PROFIBUS PA” check boxes.

Recommendation
Selecting all device descriptions allows you to parameterize a large number of
devices from many different manufacturers with PDM. In addition, manufacturer-
independent PROFIBUS PA profile descriptions will also be integrated.
6. Select the “Catalog > Integrate” menu option to import the selected device
descriptions.
Note
After integrating, you will find all integrated devices (device descriptions) in the
HW Config device catalog.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 17
3 Installation and Mounting
3.2 Hardware installation

3.2 Hardware installation


Ensure that the installation follows the “Automation System S7-400 Hardware and
Installation” installation manual and the “FF Link Bus Link” operating instructions. In
addition, follow the installation guidelines, notes and recommendations of the
manuals of the respective field devices.
The following table lists the manuals and operating instructions used.
Table 3-2
Component / Title Entry ID:
device
S7-400 Automation System S7-400 1117849
Hardware and Installation
FF Link, FDC Bus Links 47357205
157, FF Link Bus Link
AFD, AFDiS Bus Links 1142696
DP/PA Coupler, Active Field Distributors, DP/PA Link
and Y Link
SIPART PS2 FF SIPART PS2 FF – Electropneumatic Positioner with 17914342
FOUNDATION Fieldbus
SITRANS P DS Pressure Transmitter 19316208
III SITRANS P – DS III FF series
Siemens AG 2014 All rights reserved

7MF4*35-...

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 18
4 Configuration, Project Engineering and Parameter Assignment
3.2 Hardware installation

4 Configuration, Project Engineering and


Parameter Assignment
Configuration, project engineering and parameter assignment are recommended
for each field device in the form of workbench commissioning (lab setup). For this
purpose, a device is prepared, i.e. basic configuration and parameterization, for
later integration into a plant in operation using minimum hardware. The figure
below shows the parts of the workbench configuration also described in the
following chapters.
Figure 4-1

ES with PDM

PROFIBUS DP
FF Link
CP5512
Siemens AG 2014 All rights reserved

AFD
FF-H1

SITRANS P DS III

Note In workbench configuration, basic configuration and parameterization of multiple


devices is also possible. Please note that a controller (PLC) is required to
configure a CiF closed-loop control.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 19
4 Configuration, Project Engineering and Parameter Assignment
4.1 Interface parameter assignment

4.1 Interface parameter assignment


To establish communication as a DP master Class 2 (acyclic communication) with
an FF device in workbench configuration, change the PG/PC interface settings as
described in the following table.
Table 4-1
Action
1. Open the configuration window of the PG/PC interface either from the SIMATIC
Manager by selecting “Options > Set PG/PC Interface…” or go to the
Start menu and select “SIMATIC > SIMATIC NET > Set PG-PC Interface”.
2. In the “Access path” tab, select the communications processor for PROFIBUS
DP. In this example, the CP5512 is used for PROFIBUS communication.
Siemens AG 2014 All rights reserved

3. Select the “Properties…” button and in the Properties of the communications


processor, check the “PG/PC is the only master on the bus” check box.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 20
4 Configuration, Project Engineering and Parameter Assignment
4.2 Hardware configuration

Action
4. To test the interface, select the “Diagnostics…” button and in the Diagnostics
window, select the “Test” button.

2 3

The Diagnostics window provides you with the following information:


1. The interface functions properly on PROFIBUS DP (“OK” in the output field)
2. The engineering computer is the active node with address “0”
3. The FF Link is the passive station on the bus and has address “6”
Siemens AG 2014 All rights reserved

NOTICE Use “operation as the only master on the bus” only for workbench
commissioning. For operation with a controller, use “PC internal (local)”.

4.2 Hardware configuration


This chapter includes the configuration steps to create an FF segment. The
components consisting of the configuration computer with the PROFIBUS DP
interface card, FF Link and FF field device have been physically installed and
cabled.

Note Before you start configuring, you should create a list that defines the clear
devices names (TAG names) that are unique project-wide and the addresses to
be configured for the FF devices. For FF field devices, use an address in the
range from 20 to 35. This address range is valid for each FF segment.
Addresses outside this range are only permitted in exceptional cases. For more
information on the address ranges, please refer to the “SIMATIC Process Control
System PCS 7 FOUNDATION Fieldbus” commissioning manual, Chapter
“Device addresses”, Entry ID 70235901.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 21
4 Configuration, Project Engineering and Parameter Assignment
4.2 Hardware configuration

The following instructions describe the steps necessary to configure an FF


segment with a SITRANS P DS III pressure transmitter. The configuration list
defines FF address “21” and device name “PT111” for the device.
Table 4-2
Action
1. Use the PCS 7 Wizard to create a new PCS 7 project with a CPU of your choice.
Note
Workbench configuration requires that a controller be configured in HW Config,
but not physically connected.
2. Go to HW Config and in the hardware device catalog (profile: PCS7_V80) in the
PROFIBUS DP tree, select the FF Link (IM 153-2 FF). Add the FF Link to the
PROFIBUS DP segment.
Note
The configured address of the FF Link must match the physical address of the FF
Link.
3. Add the FF field device (SITRANS P DS III) from the hardware device catalog,
from the FOUNDATION FIELDBUS tree, to the FF subsystem. Assign an address,
according to your configuration list, in the range from 20 to 35 to the device. FF
address “21” is used in this example.
4. Double-click on the device icon (HW Config object) in HW Config to open the
SITRANS P DS III.
5. In PDM, select the top hierarchy folder of the device and in the context menu,
select “Object Properties”.
Siemens AG 2014 All rights reserved

6. In “Object name:”, enter the device name “PT111” and select the “OK” button.
Note
After saving, the changed device name is displayed uniformly in both PDM and
HW Config.
7. Select the FF Link in HW Config to open the LifeList and in the FF Link context
menu, select “SIMATIC PDM > Start LifeList”. Select the “Start” button to start the
device search.
It searches the FF subsegment and displays all accessible nodes.

Note
In the condition at delivery from the plant, FF field devices have an address in the
range from 248 and higher. In this example, the FF Link has FF address “16” and
the SITRANS P DS III FF has address “248”.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 22
4 Configuration, Project Engineering and Parameter Assignment
4.2 Hardware configuration

Action
8. Follow the instructions below to assign an HW Config object to the device:
1. In the LifeList, select “PT111”.
2. Select the “Assign address and TAG” button.
3. Click on the “Select object” button.
4. Select the respective HW Config object and click on the “OK” button.
5. To change the address and name of the device, select the “Transfer>>”
button.

3
2

5
Siemens AG 2014 All rights reserved

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 23
4 Configuration, Project Engineering and Parameter Assignment
4.3 Device parameterization with SIMATIC PDM

4.3 Device parameterization with SIMATIC PDM


The following instructions describe the configuration steps necessary for a basic
configuration of an FF device using the example of the SITRANS P DS III.
Table 4-3
Action
1. Double-click on the device icon (HW Config object) in HW Config to open the
SITRANS P DS III (“PT111”).
2. In PDM, select the top hierarchy folder of the device and in the context menu,
select “Upload to PG/PC…”.
Siemens AG 2014 All rights reserved

Note
All device parameters will be read out and displayed in PDM.
3. In the PDM tree structure, go to the RB (resource block) area and change the
“Alert Key” parameter to greater than “0”.

Note
The value “0” means that the device was not commissioned, i.e. it was not
initialized.
4. To download the changed parameterization, select the RB and in the context
menu, select “Download to device …”.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 24
4 Configuration, Project Engineering and Parameter Assignment
4.3 Device parameterization with SIMATIC PDM

Action
5. To change the RB mode, use the “Device > Modes” menu option and in the Block
Mode Target area, select “Auto”.

Note
Only one mode may be selected in this area. One exception, “Cas” and “Auto”
activated simultaneously, is allowed. The “OOS” state has the highest priority.
Siemens AG 2014 All rights reserved

6. Use the “Transfer” button to transfer the changes to the device. “Block Mode
Actual” changes to “Auto” mode.
Note
If an error occurs, “OOS” (Out Of Service) mode will be displayed. The Block
Error area provides specific information on troubleshooting that can also be read
in the manual.
7. Go to the TB1 (Transducer Block 1) area and change the “Alert Key” parameter
to greater than “0”.
8. Set the device-specific parameters such as primary value type, sensor value and
temperature ranges.
9. To download the parameters and change the mode, follow steps 4 to 7 with TB1.
10. Go to the TB2 (Transducer Block 2) area and change the “Alert Key” parameter
to greater than “0”.
11. Set the device-specific parameters on the device display, e.g. value type
displays.
Note
If a measured value configured with CiF is to be displayed by another device,
select the interconnected block (Connection Editor) in select values.
12. To download the parameters and change the mode, follow steps 4 to 7 with TB2.
13. Go to the FB1 (Function Block 1) area and change the “Alert Key” parameter to
greater than “0”.
14. Set the device-specific parameters for, e.g., analog (AI / AO) and digital
communication (DI / DO) or closed-loop (PD / PID) and open-loop control
functions.
Note
Use the same factors and settings for measured value and output scaling. In the
CFC, you can define scaling for the measured value later in the configuration
procedure.
15. Change the “Linearization type” parameter to direct, indirect or indirect square
root.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 25
4 Configuration, Project Engineering and Parameter Assignment
4.3 Device parameterization with SIMATIC PDM

Action
16. The process-relevant limits (alarms and warnings) are not parameterized in the
device; they are configured centrally for the respective measured value in the
CFC and monitored and operated via the OS.
Note
For some devices, it is possible to parameterize maintenance requests. In this
case, the maintenance request is parameterized if necessary and operated using
PCS 7 Asset Management.
17. To download the parameters and change the mode, follow steps 4 to 7 with the
relevant FBs.
18. Follow steps 14 to 19 for the remaining FBs to which you have already assigned
input or output addresses in HW Config.
Note
The parameterization of FB2 and FB3 in PDM allows you to use the sensor and
electronics temperature or the measured value in modified form, e.g. in another
unit of measurement, for the configuration in the CFC.

Note Use “File > Export” to export the parameters of a device. You can use this export
file for basic parameterization of several identical devices or if replacement is
necessary.
Siemens AG 2014 All rights reserved

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 26
5 Operation of the Application
5.1 Scenario A – Expanding the project by an FF segment

5 Operation of the Application


The following chapters discuss and describe two typical FF scenarios.

5.1 Scenario A – Expanding the project by an FF segment


In this scenario, an existing PCS 7 project is expanded by an FF segment with five
field devices (using the example of the SITRANS P DS III, SIPART PS2, SITRANS
TH400, 3051 pressure transmitter and SITRANS LR250).

Preparation
Parameterize the field devices as described in Chapter 4.2 “Hardware
configuration” and Chapter 4.3 “Device parameterization with SIMATIC PDM” and
ensure that the names and addresses of the following configuration list are correct.
Table 5-1
Plant Device Name Address
1. RMT1 SITRANS P DS III PT111 21
2. RMT1 3051 PT112 22
3. RMT1 SITRANS TH400 TT111 23
4. RMT1 SIPART PS2 VP111 24
Siemens AG 2014 All rights reserved

5. RMT1 SITRANS LR250 LT111 25

To check the segment configuration (electrical quantities of the segment and


quantity framework), the FF segment is calculated using the SIMATIC Fieldbus
Calculator. In addition, the user data volume for the FF segment is considered.

Note The SIMATIC Fieldbus Calculator is available as an application example, Entry


ID 53842953.

The following configuration is used to check the segment.


Figure 5-1

Plant bus

200 m

100 m 100 m

40 m 30 m

20 mA 11.5 mA 11 mA 12.5 mA

17.5 mA

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 27
5 Operation of the Application
5.1 Scenario A – Expanding the project by an FF segment

Checking the cyclic data volume and the segment configuration


To check the user data volume (value and status), one measured value is assumed
for each device.
Table 5-2
Segment Number of User data volume
field devices (5 bytes per device)
FF-1 5 25 bytes

The number of field devices of the example corresponds to a smaller FF


configuration. The small number of devices and user data volume results in the
following advantages:
The segment can be extended by additional devices.
A fast macro cycle can be implemented.
Additional measured values of existing devices can be additionally configured
in HW Config.
The FF segment can be extended by CiF closed-loop controls and
interconnections.
The figure below shows the calculation and evaluation of the electrical quantities of
the FF segment in the SIMATIC Fieldbus Calculator.
Siemens AG 2014 All rights reserved

Figure 5-2

The evaluation of the data entered provides you with the information that the
configuration can be operated with the quantity framework and line lengths.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 28
5 Operation of the Application
5.1 Scenario A – Expanding the project by an FF segment

Configuring the hardware


In order to proceed, the device parameterization and hardware addressing of the
FF Link must have been completed.
Table 5-3
Action
1. Go to HW Config and in the hardware device catalog (profile: PCS7_V80) in the
PROFIBUS DP tree, select the FF Link (IM 153-2 FF). Add the FF Link to the
PROFIBUS DP segment.
Note
The configured address must match the physical address of the FF Link.
2. Select the FF Link and open the Object Properties of the FDC 157. In the Object
Properties, select the “Parameters” tab and set your FDC 157 configuration.
Siemens AG 2014 All rights reserved

You can choose between the following configurations:


No redundant configuration
Coupler redundancy
Ring redundancy
3. By selecting the FF bus cable, you can adjust the preset bus profile for the FF
segment.
Note
Change bus profile parameters only if you have enough fieldbus knowledge and if
changes are necessary. Incorrect bus parameters can cause malfunctions on the
FF segment. For more information, please refer to the “SIMATIC Process Control
System PCS 7 FOUNDATION Fieldbus” commissioning manual, Chapter “Bus
parameters”, Entry ID 70235901.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 29
5 Operation of the Application
5.1 Scenario A – Expanding the project by an FF segment

Action
4. Add all relevant FF devices from the hardware device catalog to the “FF-
Subsystem” and assign an address according to your configuration list.

Note
When being inserted, the HW Config object names receive a default object name
(initial values).
5. Go to the SIMATIC Manager and select “View > Process Device Network View”.
Siemens AG 2014 All rights reserved

6. In the “Process Device Network View”, select the FF subsegment with the added
devices within your automation system.
Note
If communication with the device has not yet taken place, the device icon (PDM
object) will be displayed in blue.
7. Select a PDM object and in the context menu, select “Object Properties…”.
8. Change the object name according to your configuration list and select the “OK”
button.

9. Follow steps 6 and 7 for each FF device (except the FF Link) and return to HW
Config.
10. Physically connect a device to the FF segment. Start the LifeList and assign this
device to the respective HW Config object. In the assignment dialog box, use the

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 30
5 Operation of the Application
5.1 Scenario A – Expanding the project by an FF segment

Action
object names from your configuration list.
Note
The assignment is not necessary if the object names and addresses of the HW
Config object are identical with the device information in the LifeList.
For instructions for assigning field devices to HW Config objects, please refer to
Chapter 4.2 “Hardware configuration”.
11. Repeat step 4 for each device of the FF segment until you have assigned all
devices.
Note
If you are sure that there will be no address conflict, you can simultaneously
connect all devices to one FF segment. Then assign each device to an HW
Config object.
12. For the FBs to be configured, assign an I/O address (input or output address) to
each device.
Note
When addressing multiple device FBs in HW Config, parameterize the same FBs
for the respective device also in SIMATIC PDM.
13. Assign a symbolic name to each input and output address. To do so, select the
address and in the context menu, select “Edit symbols…”.
14. In the next window, enter a device-specific name, e.g. for a pressure transmitter
for the measured value (e.g., PT111_PV) and the associated measured value
status (PT111_QC). The abbreviation “PV” means primary value and “QC” stands
for quality code. Select “OK” or “Apply” to apply the entries.
Siemens AG 2014 All rights reserved

Note
For the names of the devices, please refer to the plant’s planning documents and
derive the symbolic names from them.
15. Select the FF subsystem and in the context menu, select “Object Properties…”.
16. In the FF subsystem object properties, select the “Properties” button.
17. In the next window, select the “Macro cycle” tab.
18. Select the “Calculate schedule” button and check if the values meet your project
requirements (also in graphical form). Customize the macro cycle to your
requirements and schedule a reserve for future extensions.
Note
The following changes require macro cycle calculations:
Number of devices on the FF segment
Device FB configuration
Interconnections in the Connection Editor
19. Select the “Station > Save and Compile” menu option to compile the entire
hardware configuration.
20. Select the “PLC > Download to Module…” menu option to download the
configuration to the automation system. First the configuration is downloaded to
the automation system. Then the scheduler is transferred to each FF node in the
FF segment.
21. Select the FF Link to read out and save the device parameters and in the FF Link
context menu, select “SIMATIC PDM > Upload to PC/PG …”. Select the “Object
with all subordinate objects and networks” option to read out all devices of the FF
segment.
Note
Alternatively, you can also open each individual device and read out, check and
save all parameters.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 31
5 Operation of the Application
5.1 Scenario A – Expanding the project by an FF segment

Action
22. Select the FF Link and in the FF Link context menu, select “Object Properties…”.
23. In the next window, select the “Load FF segment” tab.
24. Select the “Only load FF Link and FF devices when modified” option.
Note
By selecting this option, an FF segment will only be loaded when configuration
changes are made to the FF segment.

NOTICE The following behavior occurs when loading an FF segment:


Loading parameters: When loading the device parameters, the relevant
device cannot be accessed while loading.
Redundant configuration and single CPU: When loading the scheduler, the
entire segment cannot be accessed.

CFC configuration
The symbolic names of the input and output addresses for the FBs of the FF
devices are necessary to continue the configuration process.
In the CFC, the channel blocks of the Advanced Process Library (APL) are used to
interconnect the hardware (symbolic names). Depending on the signal type, you
Siemens AG 2014 All rights reserved

can use the following blocks.


Table 5-4
Signal type Block name FB number
Analog input FbAnIn FB 1813
Analog output FbAnOut FB 1814
Digital input FbDiIn FB 1815
Digital output FbDiOut FB 1816

The further configuration steps, i.e. interconnecting the channel blocks with, e.g.,
measured value display blocks or designing closed-loop controls, are identical with
the configuration for PROFIBUS PA, HART and conventional field devices.

Note For configuring, use the detailed configuring guides, for example:
“SIMATIC Process Control System PCS 7 Compendium Part A – Configuration
Guidelines”, Entry ID 63187279
“SIMATIC Process Control System PCS 7 Engineering System (V8.1)”, Entry ID
90663380
“SIMATIC Process Control System PCS 7 Compendium Part D – Operation and
Maintenance”, Entry ID 63200194

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 32
5 Operation of the Application
5.2 Scenario B – Device replacement with download scenarios

5.2 Scenario B – Device replacement with download


scenarios
The following scenario describes the procedure for replacing an FF device with an
identical device, i.e. the same type and the same firmware version.

Note The device replacement description describes the configuration and


parameterization options. For the environment-specific requirements and rules to
be followed, please contact the plant operator.

A device can be replaced in different ways. In this scenario, workbench


commissioning is performed to prevent an address conflict. If you can exclude an
address conflict, continue with “Parameterization”.

Address assignment
Assign the address as described in Chapter 4.2 “Hardware configuration” using the
name and address of your configuration list.

Parameterization
Replace the defective device in the field (FF segment) with the replacement device.
Siemens AG 2014 All rights reserved

The following instructions describe the steps necessary to integrate the


replacement device.

Table 5-5
Action
1. Go to HW Config and assign the address and device name as described in
Chapter 4.2 “Hardware configuration”.
Note
It is mandatory that you use the HW Config object.
2. Double-click on the device icon in HW Config to open the device.
3. In PDM, select the top hierarchy folder of the device and in the context menu,
select “Load to Devices…”.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 33
5 Operation of the Application
5.3 Scenario C – Implementing a local display

Action
4. In the “Load to Devices” window, check the “Load Schedule to Devices” check
box (1) and select the “Start” button (2).

2
Siemens AG 2014 All rights reserved

The device parameters and the scheduler are loaded to the replacement device.
Note
As no additional data is parameterized and loaded, it is not necessary to
recalculate the macro cycle.

5.3 Scenario C – Implementing a local display


The following scenario describes the procedure for the configuration of a local
display. This shows the temperature of a SITRANS TH400 on the display of a
pressure transmitter, alternating with the pressure value.
This scenario focuses in the configuring of the necessary connections via the
connection editor and the parameter assignment of the pressure transmitter display
via SIMATIC PDM.
The following example assumes that all the FF segment nodes are already
preconfigured in the HW Config and pre-parameterized.

Configuration
Table 5-6
Action
1. Switch to the HW Config.
2. Select the FF link of the FF segment for which the local display is being configured
and select "SIMATIC PDM > Start connection editor" in the context menu of the FF
link.
3. Select the parameters:
"IN" from input "FB 4 (PID)" of SITRANS P DS III
"OUT" from input "FB 1 (AI)" of SITRANS TH400
4. Press the "Save" button and then "Close" to accept the connections.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 34
5 Operation of the Application
5.3 Scenario C – Implementing a local display

Action
5. Select the "FF subsystem" and choose "Object properties..." in the context menu.
6. Press the "Properties" button in the object properties on the FF subsystem.
7. Select the "Macro cycle" tab in the next window.
8. Press the "Calculate schedule" button and check whether the values (even the
graphics) coincide with your project requirements. Adjust the macro cycle to your
requirements and plan a back-up for future expansions.
9. Compile the entire hardware configuration via the menu command "Station> Save
and compile".
10. Upload the configuration to the automation system via the menu command "Target
system> Load into module...". First, the configuration is loaded into the automation
system. Then the scheduler is transmitted to each FF node in the FF segment.
11. Open the SITRANS P DS III ("PT111") by double-clicking the device icon (HW
Config object) in the HW Config.
12. Select the hierarchy folder "021 TB 2 (Custom)" and then "Load into PG/PC..." in
the context menu.
Note
All device parameters of the Transducer Block 2 are read out and displayed in
PDM.
13. In a free display range in the "Collection Direction" area, select the PID block input
(IN parameter) for the temperature of the SITRANS TH400.
Note
Siemens AG 2014 All rights reserved

In addition to this, you can also enter a unique name (maximum 5 characters) for
the on-screen display.
14. Select the hierarchy folder for the TB 2 and then "Load into device..." in the context
menu.
Note
The display of the SITRANS P DS III switches continuously between the pressure
reading and the temperature of the SITRANS TH400.
15. Save the parameters and close SIMATIC PDM.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 35
6 Further notes, tips and tricks, etc.

6 Further notes, tips and tricks, etc.


PDM – Downloading all parameters
For a device with basic parameterization, you can transfer all parameter changes in
different blocks to the device in one step.
To download the parameters, select the top hierarchy folder of the device in PDM
and in the context menu, select “Download to device…”.
Figure 6-1
Siemens AG 2014 All rights reserved

Note All blocks (RB, TB and FB) will be transferred to the device, whose “Alert Key” is
set to “1” or greater.

PDM – Changing the device name


If the device name (object name) in the device differs from the device name
parameterized in PDM and HW Config, you can use the “Assign address and TAG”
dialog box to write the parameterized device name to the device as described in
the following table.
Table 6-1
Action
1. Double-click on the device icon in HW Config to open the device.
Note
The configured device address must match the actual device address. In
addition, the selected device (device icon in HW Config) must be compatible with
the connected device.
2. In PDM, select the top hierarchy folder and select the “Device > Assign address
and TAG” menu option.
The assignment dialog box opens.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 36
6 Further notes, tips and tricks, etc.

Action
3. The assignment dialog box displays the offline project data (1) and the online
device data (2).

1 2

Note
In area (2), no information is available except the default setting of the FF
address, as the device was not identified at address 21. Here, an address other
than FF address “21” can also be entered.
4. Follow the steps below to assign the configured device name to the device:
Siemens AG 2014 All rights reserved

1. Select the “Find” button to identify the device connected at address “21”.
2. The read information (object name, FF address and device information) is
displayed.
3. To write the offline address and offline name to the device, select the
“Transfer>>” button.

3
2

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 37
6 Further notes, tips and tricks, etc.

Macro cycle
The following information can be derived from the graphical representation of the
macro cycle display.
Figure 6-2 – Representation of macro cycle

1 2 3

1 4
Siemens AG 2014 All rights reserved

1 5

Table 6-2
Color Description
1. Yellow Acyclic communication percentage
2. Light green Reserve percentage for cyclic communication
3. Dark green Cyclic communication percentage
4. Orange Downloading the configuration possible only with AS stop and
generates high bus load
5. Red Downloading the configuration not possible

NOTICE When changes to the macro cycle are not made in the macro cycle window,
use the “Cancel” button to close the window. If you use the “OK” button
without any changes, compile and download AS will be required.

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 38
7 Related literature

7 Related literature
7.1 Bibliography
This list is by no means complete and only presents a selection of related
references.
Table 7-1
Topic Title / Link
/1/ Industrial Catching the Process Fieldbus -
communication An Introduction to PROFIBUS for Process Automation
Publisher: Siemens Milltronics
ISBN 978-0978249519

7.2 Internet links


In addition to the list of installation and mounting documents in “Hardware
installation”, the table below provides an additional selection of sources of
information. This list is by no means complete and only provides a selection of
useful information.
Table 7-2
Siemens AG 2014 All rights reserved

Topic Title / Link


\1\ Siemens Industry Online http://support.automation.siemens.com
Support
\2\ Download page of this entry http://support.automation.siemens.com/WW/view/en/
64329637

\3\ SIMATIC Process Control http://support.automation.siemens.com/WW/view/en/


System PCS 7 Compendium 63187279
Part A – Configuration
Guidelines
\4\ SIMATIC Process Control http://support.automation.siemens.com/WW/view/en/
System PCS 7 Compendium 63200194
Part D – Operation and
Maintenance
\5\ Fieldbus Foundation website http://www.fieldbus.org
\6\ PCS 7 Quick Access http://support.automation.siemens.com/WW/view/en/
63481413
(landing page)
\7\ Calculation and Design of http://support.automation.siemens.com/WW/view/en/
Fieldbus Segments with the 53842953
SIMATIC Fieldbus Calculator
\8\ SIMATIC Process Control http://support.automation.siemens.com/WW/view/en/
System PCS 7 FOUNDATION 70235901
Fieldbus

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 39
8 History

8 History
Table 8-1
Version Date Modifications
V1.0 01/2013 First version
V1.1 11/2014 Released for PCS 7 V8.1, scenario 3 “Implementing a local
display” added
Siemens AG 2014 All rights reserved

FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 40

You might also like