Configuration of FOUNDATION Fieldbus H1 With Simatic Pcs 7
Configuration of FOUNDATION Fieldbus H1 With Simatic Pcs 7
Configuration of FOUNDATION Fieldbus H1 With Simatic Pcs 7
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
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
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
FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 4
1 Task and Solution
1.1 Task
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
3
Modification
2 1
FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 5
1 Task and Solution
1.2 Solution
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
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
FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 6
1 Task and Solution
1.3 Hardware and software components used
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
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
FF Link
FF Link
FF H1 segment
Plant bus
FF H1 trunk
AFS
Siemens AG 2014 All rights reserved
FF H1 trunk
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
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
AO
BKCAL_OUT
CAS_IN
AI AI AI PID
Function blocks
FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 11
2 Basics
2.5 Parameterization in PDM
FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 12
2 Basics
2.6 Design of closed-loop controls and local display
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
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
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
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
7MF4*35-...
FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 18
4 Configuration, Project Engineering and Parameter Assignment
3.2 Hardware installation
ES with PDM
PROFIBUS DP
FF Link
CP5512
Siemens AG 2014 All rights reserved
AFD
FF-H1
SITRANS P DS III
FF Engineering
Entry-ID: 64329637, V1.1, 11/2014 19
4 Configuration, Project Engineering and Parameter Assignment
4.1 Interface parameter assignment
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
NOTICE Use “operation as the only master on the bus” only for workbench
commissioning. For operation with a controller, use “PC internal (local)”.
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
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
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
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
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
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
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.
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
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
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
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.
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.
Note All blocks (RB, TB and FB) will be transferred to the device, whose “Alert Key” is
set to “1” or greater.
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
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