System planning
Engineering
Commissioning
SIMATIC
Process Control System PCS 7
FOUNDATION Fieldbus
Commissioning Manual
03/2012
A5E03880935-01
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the relevant information is not taken into account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will be
used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property
damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions. Qualified
personnel are those who, based on their training and experience, are capable of identifying risks and avoiding
potential hazards when working with these products/systems.
Trademarks
All names identified by are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software described.
Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in
this publication is reviewed regularly and any necessary corrections are included in subsequent editions.
Siemens AG
Industry Sector
Postfach 48 48
90026 NRNBERG
GERMANY
A5E03880935-01
04/2012 Technical data subject to change
Table of contents
1
Introduction...................................................................................................................................................5
2.1
2.2
2.3
Device addresses..........................................................................................................................9
2.4
System planning.........................................................................................................................................13
3.1
3.2
Configuration...............................................................................................................................14
Engineering................................................................................................................................................17
4.1
4.1.1
Prepare........................................................................................................................................17
How to integrate a device description..........................................................................................17
4.2
4.2.1
4.2.2
4.2.3
4.2.4
4.2.5
Configuring..................................................................................................................................18
How to place FF devices on the FOUNDATION Fieldbus...........................................................18
Additional notes on configuration................................................................................................22
How to assign addresses for FF device signals..........................................................................23
Interconnection Editor" dialog box..............................................................................................24
How to configure FF internal interconnections (Control in the field)............................................25
4.3
4.3.1
4.3.2
4.3.3
4.3.4
Parameter assignment................................................................................................................26
How to assign parameters of the FF devices..............................................................................26
Bus parameters...........................................................................................................................28
How to set the bus parameters....................................................................................................33
How to plan the macrocycle........................................................................................................36
4.4
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.4.6
Commissioning...........................................................................................................................................45
5.1
5.1.1
5.2
5.2.1
Diagnostics options.....................................................................................................................48
How to perform diagnostics.........................................................................................................48
Redundancy................................................................................................................................51
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Table of contents
6.2
Index...........................................................................................................................................................53
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Introduction
(WKHUQHW
352),%86'3
)281'$7,21)LHOGEXV
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Introduction
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
2.2
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Additional information
IEC 61804-2
IEC 61804-3
Section "Block model of device parameters (Page 10)"
2.3
Device addresses
0 to 15
16 to 19
20 to 35
36 to 231
232 to 247
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
248 to 251
252 to 255
2.4
10
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Block types
Resource block
The resource block contains device-specific information from the manufacturer.
Examples are:
Manufacturer
Device type
Device number
Serial number
Hardware version
Firmware version
Function block
Function blocks provide information about the functions available in an FF device as well
as their tasks. The schedules of the clocked data transmission defined in the Schedule are
based on these function blocks. Accesses to the functions and their inputs and outputs are
defined via the function blocks. Each FF device has at least one function block.
Standard function blocks are defined in the FF specifications. The basis functions can be
described using these standard function blocks.
Examples are:
AI: Analog input
AO: Analog output
B Offset (bias)
CS Control selector
DI: Digital input
DO: Digital output
ML: Manual loader
PD: PD controller (proportional/derivative)
PID: PID controller (proportional/integral/derivative)
RA: Ratio controller
Transducer block
You use transducer blocks to manipulate the input and/or output variables of a function
block.
Examples are:
Calibration and conversion of measured and control data
Linearization of characteristic curves
Conversion of physical quantities using other process data
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
11
12
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
System planning
3.1
Nodes in an FF segment
The maximum number of nodes in an FF segment depends on the system requirements with
regard to update times. Typically, 3 to 7 FF devices (maximum 31) are integrated in an FF
segment.
The time for a macrocycle is influenced primarily by the share of cyclic communication. This
share depends on the following factors:
Properties of the FF devices which are used on the FF segment.
Number of input values and output values of all components connected to the FF segment.
You may indicate a target value for the macrocycle as well as the ratio between cyclical and
acyclic share. The schedule is calculated for these conditions.
If a mean time of approximately 30 ms is assumed for the output of a value from FF devices,
and the block run time is considered as acyclic bus time, then the minimum macrocycle for 15
transmitted values will be approximately 1 second. The time for output of a value depends on
the device in question.
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
13
System planning
3.2 Configuration
Sample calculation
15 x 30 ms = 450 ms, corresponds to the cyclic bus time
reserved bus time for acyclic communication
1050 ms (recommended 70 %), 450 ms (recommended, at least 50%)
recommended macrocycle = between 1500 ms and 900 ms
I/O data
The parameters, inputs and outputs of FF devices are distributed over function blocks. An FF
device can have several function blocks. Only configure the required I/O data of an FF device.
The number of processed function blocks has an effect on the macrocycle.
3.2
Configuration
Hardware
Always connect an FF segment to the automation system via PROFIBUS DP .
You need an FF Linkfor the transition between PROFIBUS DP and the FF segment.
You can operate an FF Link at the integrated chain of the CPU if the CPU supports the
data record gateway. Possible CPU versions:
Standard CPU as of V5.1
H-CPU as of V6.0
Network configuration
The configuration of FF segments in the following topologies is common in PCS 7:
Line
Redundant configuration (see also section "Redundancy (Page 51)")
Line lengths
An FF segment is limited to 1900 meters. These figures only apply when you use suitable
cables. Branch lines should also be taken into account when calculating the bus line to the
FF devices.
The maximum permitted length of a branch line is 120 meters. The length depends on the
cable type.
Recommendation:
You can optimize performance by using shielded bus cables (type A) as this reduces
sensitivity to interference.
14
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
System planning
3.2 Configuration
Number of branch lines (longer than 1 m)
1-12
120 m
13-14
90 m
15-18
60 m
19-24
30 m
25-31
1m
Additional information
Operating instructions SIMATIC; Bus links; FF Link bus link
Manual Process Control System PCS 7; Fault-tolerant Process Control Systems
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
15
Engineering
Overview
You configure the FOUNDATION Fieldbus (FF) and set up the FF devices in HW Config.
You configure an FF Link on PROFIBUS DP . FF Link will automatically create a
"Foundation Fieldbus: FF subsystem" object with standard bus parameters.
Set the parameters of the FF devices with SIMATIC PDM.
4.1
Prepare
4.1.1
Requirement
SIMATIC PDM is installed.
Procedure
1. Go to the Windows start menu and select the menu command SIMATIC PDM > Device
Integration Manager under Siemens SIMATIC programs.
To be able to use the Device Integration Manager, you must accept the license agreement.
2. Select the menu command File > Read device descriptions ... .
3. Navigate to the folder with the device descriptions in the tree structure.
Note on "Device Library" DVD:
The "Device Library" DVD is supplied with SIMATIC PDM. Select the drive containing the
DVD.
4. Click "OK".
The device descriptions in the folder are displayed in the "Devices" list.
5. Select the check box for the devices whose device descriptions you want to import.
The default directory is "Foundation Fieldbus".
6. Click "Integrate".
The device descriptions are transferred to the computer.
Additional information
Online help for SIMATIC PDM
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
17
Engineering
4.2 Configuring
4.2
Configuring
4.2.1
Example of an FF configuration
(WKHUQHW
352),%86'3
)281'$7,21)LHOGEXV
Requirement
SIMATIC PCS 7 is installed.
SIMATIC PDM is installed.
A project has been created in the SIMATIC Manager. An automation system with a
PROFIBUS DP master system has been created in HW Config.
Additional information is available in the manual SIMATIC; Process Control System PCS
7; Getting Started Part 1; section "First Steps in the Project".
The device descriptions of the FF devices have been imported.
You can find information on this in section "How to integrate a device description
(Page 17)".
You are familiar with the functions and signals required by the FF device.
Information must be contained in the FF device documentation.
18
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.2 Configuring
Procedure
1. In the component view, select the SIMATIC station and double-click the "Hardware" object
in the detail window.
HW Config opens.
2. If the hardware catalog is not visible, select the View > Catalog menu command.
The hardware catalog opens.
3. Open the PROFIBUS DP > FF Link folder in the current PCS 7 profile.
4. Drag the IM 153-2 FF interface module to the PROFIBUS DP master system.
5. Enter the participant address for the PROFIBUS DP in the "Parameters" tab of the
Properties dialog.
A free address is suggested by the system.
Note
"Configuration via PDM" option
In PCS 7, you configure the FF Link and FF devices via SIMATIC PDM. If the
"Configuration via PDM" option is activated, you can open SIMATIC PDM with a doubleclick on the FF Link .
6. Click "OK".
The interface module is created with a Foundation Fieldbus: FF subsystem.
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
19
Engineering
4.2 Configuring
7. Optional steps for a redundant Foundation Fieldbus:
Select the IM 153-2 FF.
Double-click the slot of the first "FDC 157" in the table.
The "Properties - Coupler" dialog box opens.
Select the "Parameters" tab.
Select the redundancy type in the "Value" column:
- No redundant configuration (default)
- Coupler redundancy
- Ring redundancy
8. Click "OK".
The settings are applied.
9. Double-click the FOUNDATION FIELDBUS in the current PCS 7 profile.
10.Select the FF device in the folder <Manufacturer> > <Device Group> > <Device Type>.
11.Drag the required FF device to the FF subsystem.
The "Properties FF interface FF device" dialog box opens.
12.Enter the address of the FF device in the system in the "Parameter" tab.
13.Click "OK".
You may receive the message that changes have to be made.
14.Select the inserted FF device.
15.For devices to be operated as Backup Link Master :
Select the menu command Edit > Object Properties.
Select the "Parameters" tab.
Activate the "Backup Link Master" check box.
Click "OK".
16.Select the inserted FF device.
17.Select the required I/O data in the address table of all function blocks.
Multiple selection is typical for Windows.
18.Select the menu command Assign address from the shortcut menu.
Addresses are assigned for the selected functions.
You may have to change the start address.
You can find information on this in section "Device addresses (Page 9)".
20
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.2 Configuring
19.Assign symbolic names for all addresses.
This measure makes for easier configuration:
Select a required row (function) again in the address table.
Select the menu command Edit > Symbols.
The "Edit symbols - ..." dialog box opens.
Assign a name in the "Symbol" list. You can automatically add the symbols.
Click "OK".
Repeat this step for all required functions of the FF device.
20.Select Station > Save and Compile from the menu.
Note
Downloading
The device can be downloaded, provided that the "Address" and "TAG" in the configuration
correspond the settings of the FF device.
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
21
Engineering
4.2 Configuring
Additional information
Manufacturer information of the FF device.
Section "How to assign parameters of the FF devices (Page 26)"
Section "Nodes in the FOUNDATION Fieldbus (Page 13)"
Section "How to configure FF internal interconnections (Control in the field) (Page 25)"
SIMATIC; SIMATIC PDM documentation; chapter "Working with the LifeList"
4.2.2
22
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.2 Configuring
Interconnections between the FOUNDATION Fieldbus and the automation system can be
restored.
Address conflicts caused by interim configuration will be detected. A dialog box shows
options for resolving the address conflicts.
Deleting FF segment
When you delete an FF segment in HW Config, observe the following:
The FF segment and all FF devices configured there will be removed.
The interconnections with the I/O blocks of the FF Link will be removed.
4.2.3
Requirements
FF devices have been created in HW Config.
The necessary FF device signals are known.
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
23
Engineering
4.2 Configuring
4.2.4
Structure
The "Interconnection Editor" dialog box is divided into the following columns:
"Inputs and interconnections" area
"Input" column
This column shows the FF devices and the available inputs in the network view of the
FF segment. Inputs are the target of an interconnection.
"Interconnection" column
This column displays a list of interconnections that were configured for the FF segment.
Layout: Output of the FF device > Function Block > Signal
"Outputs" area
"Output" column
This column shows the FF devices and the available outputs in the network view of the
FF segment. Outputs are the source of an interconnection.
Buttons
24
Button
Function
"Add
interconnection"
"Delete
interconnection"
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.2 Configuring
Button
Function
"Close"
"Save"
Icons
Icon
Displayed object
FF segment
FF Link
FF device
Block within an FF device
Inputs and outputs
Status
Analog input
Not interconnected
Analog input
Interconnected
Digital input
Not interconnected
Digital input
Interconnected
Analog output
Not interconnected
Analog output
Interconnected
Digital output
Not interconnected
Digital output
Interconnected
See also
How to configure FF internal interconnections (Control in the field) (Page 25)
4.2.5
Requirements
FF devices have been created in the project.
Addresses were assigned for signals required from the function blocks of the FF devices.
Procedure
1. Open configuration in HW Config.
2. Select the interface module for the FF Link (IM 153-2 FF).
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
25
Engineering
4.3 Parameter assignment
3. Select the SIMATIC PDM > Start Interconnection Editor command from the shortcut menu.
The "Interconnection Editor" dialog opens.
4. Search for the source of an interconnection for each interconnection in the tree structure
"Outputs" and search for the target in the tree structure "Input".
5. When you have selected an interconnection, click "Add interconnection".
The FF-internal interconnection is added to the "Interconnection" column.
Note
Deleting an interconnection
Select a row in the "Inputs and interconnections" list.
Click "Delete interconnection".
6. Repeat steps 4 and 5 for other interconnections.
7. When you have created all interconnections, click "Save".
The interconnections will be saved in the project.
Downloading
The schedule for the FOUNDATION Fieldbus is calculated automatically during the download
to the FF devices.
Additional information
Online help for SIMATIC PDM
4.3
Parameter assignment
4.3.1
Requirements
SIMATIC PDM is installed together with the licenses.
The device descriptions of the FF devices have been integrated.
26
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.3 Parameter assignment
The FF devices have been created in the PCS 7 project.
The Engineering Station has a communication connection with the FF devices.
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
27
Engineering
4.3 Parameter assignment
Procedure
1. Select an FF device in one of the following views:
In SIMATIC Manager in HW Config
In the Process device plant view
In the process device network view
2. Double-click the FF device in HW Config, or select the Edit > Open object menu command
in the process device plant view or process device network view.
SIMATIC PDM starts.
In the structure view, select the function block in which you want to change the
parameters.
Make your changes in the parameter table.
3. Select the Station > Save command.
These changes are applied to the PCS 7 project.
Note
Offline parameter assignment data
SIMATIC PDM enables offline parameter assignment data to be downloaded to one or
more FF devices (download to devices) or enables device parameters to be uploaded
from the FF devices to the computer and saved on request (upload to PG/PC).
Additional information
Manufacturer information of the FF device.
Online help for SIMATIC PDM
4.3.2
Bus parameters
Faultless operation of the components on the FF subsystem is only ensured if the parameters
for the bus profile are compatible with each other. You should therefore only change the default
values if you are familiar with parameter assignment of the bus profile for FF.
28
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.3 Parameter assignment
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
29
Engineering
4.3 Parameter assignment
Bus parameters
T1
Inter Sequence
Timer
(480 000
The parameter T1 specifies the number of clock cycles that an interface module
(or an LAS) waits for a response from an FF device.
corresponds to
approximately 15 s)
If the set number of clock cycles is exceeded, the service for this FF device will
terminate with an error message.
T2
Set Addr
(2880000
Sequence Timer corresponds to
approximately 90 s)
FF devices newly connected to the FF segment can only be detected if the value
T2 is sufficiently dimensioned.
T3
(1 440 000
On expiration of this waiting time the interface module (or LAS) checks the FF
devices that are recognized as new on the FF.
corresponds to
approximately 45 s)
First Unpolled
Node
FirstUnpolledNodeId (FUN)
(Default setting in SIMATIC STEP 7 / PCS 7: FUN = 36)
This parameter specifies the first device address that is not processed (not
polled) by the LAS.
Number of
Consecutive
Unpolled Node
NumConsecUnpolledNodeId (NUN)
(Default setting: NUN = 232 - 36 = 196)
Range of consecutive device addresses not in the polled range.
In SIMATIC STEP 7 / PCS 7 (Unpolled Bereich):
Default setting of 36 - 231
30
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.3 Parameter assignment
Bus parameters
Slot Time
1 - 512
This parameter specifies how fast the FF device can reply upon receipt of a
PDU. The required setting can be derived from the EDD of the FF devices.
(8)
Assign parameters to this value in such a way that the minimum value is greater
than the maximum Slot Time of every FF device on the FF segment.
ST >= ST of each FF device of the segment
2 - 63
(2)
The parameter defines the delay between the following data records of a
connection to the FF segment:
End of the last octet
Beginning of the first octet of other data records
Maximum
1 - 11
Response Delay (10)
This parameter specifies how fast the FF device can reply upon receipt of a
PDU. The required setting can be derived from the EDD of the FF devices.
Determine requirement for each FF device:
MRD(FF device)=MRDST/ST
Assign parameters to this value in such a way that the minimum value is greater
than the ratio of Maximum Response Delay Slot Time and Slot Time of every
FF device on the FF segment.
MRD(FF segment):
MRD >= MRD of each FF device of the segment
Selection: 1 to 11
Minimum Inter
DLPDU Delay
0 - 120
(16)
This parameter specifies the minimum interval between two frames on the FF
segment. Each FF device has a minimum value of MinInterPDUDelay. This
value is stored in the EDD.
Assign parameters to this value in such a way that it corresponds to at least the
maximum value of Minimum inter DLPDU Delay of all the FF devices on the FF
segment.
Minimum inter DLPDU Delay (segment) > max Minimum inter DLPDU Delay
(FF device)
The minimum value for this parameter is determined by the maximum value of
all the FF devices in the FF segment.
Preamble
Extension
0-7
(2)
Each data record of an FF connection starts with a preamble octet which is used
by the FF devices (receiving nodes) for clock synchronization. The number of
preambles (s) can be extended when setting this parameter. The default value
in PCS 7 is 2; networks including digital repeaters may require larger values.
Selection: 0 to 7
This parameter defines the quality of the clock accuracy of an FF device. Thus
it also defines the periods for time synchronization of an FF device.
The maximum value supported by an FF device is stored in the EDD.
Set this value to the lowest common class of all FF devices on the FF segment
(slowest time).
Class: 0 to 7 (4 equal to 1 ms)
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
31
Engineering
4.3 Parameter assignment
Bus parameters
Maximum
Scheduling
Overhead
16
This parameter extends the time that may be used by the LAS for processing
the schedule. The parameters unit is the transmission duration of one octet.
The following times should be included in the duration:
The time allocated for each scheduled activity
The time to determine whether a device on the FF segment can serve as an
LAS.
The time for the organization of the schedule.
The parameter will be checked with the configured value in the LAS domain
during downloading of the FF segment.
The minimum value for this parameter is determined by the maximum value of
all the LAS-capable FF devices in the FF segment.
0-7
(0)
This parameter indicates the maximum permitted time offset of the data that a
device receives from several ports (redundant routes) via an H1 connection.
Select a value between 0 and 7 4-bit transmission times.
The value range is (0 .. 7) * 4 * Tb.
Selection: 0 to 7
0-7
(0)
Default
32 - 32767
Minimum Token (86)
Delegation Time
The time required for an FF device to process all tasks. The parameters unit is
the transmission duration of one octet.
Keeping to the schedule (controlled by LAS ) has the highest priority on the FF.
The time available for an FF device should be sufficiently dimensioned (greater
than Default Token Holding Time).
An FF device can only be processed if it keeps the token for longer than
stipulated by the "Default Minimum Token Delegation Time" parameter.
Default Token
Holding Time
276 - 65000
Time period assigned to an FF device by the LAS for the following tasks:
(276)
Target Token
Rotation Time
1 - 60000
(60000)
Within this time all FF devices must have received the token for acyclic data
transfer once. If the actual token rotation time is higher than the configured value
for Target Token Rotation Time, the LAS will increase the token priority.
A Target Token Rotation Time value that is too small causes the failure of lowpriority services. The following are low-priority services:
System Management
acyclic bus traffic (client-server connections)
Link
Maintenance
Token Holding
Time
292 - 65000
Time
Distribution
Period
10 - 55000
(5000)
Time distribution PDU's will be sent on the bus in 95% or less of that time period.
32
(336)
Period of time which the LAS uses within a token rotation for checking a link.
This time period contains the following processes:
find new FF devices
send LAS status telegrams
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.3 Parameter assignment
Bus parameters
Maximum
1 - 4095
Inactivity to
(100)
claim LAS Delay
LAS Database
Distribution
Period
100 - 55000
(5000)
This time period covers the times for the following processes:
Establishment of the connection to LAS-capable FF devices in the FF
segment
Distribution of the LAS database to FF devices in the FF segment
Recommendation: Set a value between 1000 and 5000.
Ap Clock Sync
Interval
0..255
(10)
Start-up time
20 s
Stale Count
Limit
0 - 255
(3)
4.3.3
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
33
Engineering
4.3 Parameter assignment
Requirements
The FF devices have been created in the PCS 7 project.
Interconnections via the FF have been configured.
Procedure
1. Select the FF subsystem in the SIMATIC Manager in HW Config.
2. Select the menu command Edit > Object Properties.
The "Properties FF Subsystem" dialog box opens.
3. Set the FF subsystem number of the FF segment, if necessary.
A modification is usually not required.
4. Click "Properties...".
The "Properties - Foundation Fieldbus" dialog box opens.
5. Select the "Bus parameter" tab. Enter the settings.
You can find information on this in section "Bus parameters (Page 28)".
Note
Identification of all FF devices on the FF segment
Set the value "First Unpolled Node" to 232 (default = 36).
For performance reasons, no addresses in the address range 36 to 231 should be
assigned to FF devices in a system.
Following a scan of the "Unpolled Bereiches", you should set the default value (36)
again.
6. Select the File > Save menu command.
These changes are applied to the PCS 7 project.
34
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.3 Parameter assignment
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
35
Engineering
4.3 Parameter assignment
4.3.4
"Macrocycle" tab
Whether the configuration is consistent is determined on the basis of the output values and
the required interconnections. The result is displayed graphically.
"Calculate Schedule" button"
Click this button to calculate the time for cyclic communication.
"Optimize macrocycle" button
Click this button to set the macrocycle as follows:
Depending on the cyclical component (depending on the configured hardware), a minimum
macrocycle is set with a specified acyclical percentage.
Graphical display
Before downloading, click the "Calculate schedule" button. With the help of the display you
can check whether the configuration is consistent. The result is displayed graphically.
Display from left to right:
Left-hand area
The colored area on the left-hand side indicates the percentage of acyclic communication.
Left thin dividing line (50% of the bus load)
The lower limit of the percentage of acyclic communication of the bus load recommended
in the FF specifications.
Thick dividing line
The limiting value set in the entry field "Percentage of acyclic communication".
Right thin dividing line (70% of the bus load)
The upper limit of the percentage of acyclic communication of the bus load recommended
in the FF specifications.
Right-hand area
The colored area on the right-hand side indicates the percentage of cyclic communication.
Meaning of the colored areas
Yellow
Percentage of acyclic communication
Dark green
Percentage of cyclic communication Configuration is free from errors.
36
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.3 Parameter assignment
Light green and dark green
Configuration is free from errors. The percentage of cyclic communication is displayed in
dark green. The light green percentage indicates the time that has been reserved for cyclical
communication but is not required.
You can reduce the time for the macrocycle of a specified acyclic portion.
Amber
Downloading the configuration with the selected settings results in a high bus load.
Recommendation:
Change the value marked in orange to modify the configuration in accordance with the
recommendations of the Fieldbus Foundation.
Note
Restrictions to acyclic communication are possible.
Red
Downloading the configuration with the selected settings results in a very high bus load.
Recommendation:
Change the value marked in red to modify the configuration in accordance with the
recommendations of the Fieldbus Foundation.
Note
Acyclic communication errors are possible.
Do not download this configuration.
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
37
Engineering
4.4 Using the applications
Calculate schedule
The schedule is calculated in PCS 7 with the following actions:
The schedule is automatically calculated when you download the configuration.
When you click the "Calculate schedule" button in the "Properties - Foundation Fieldbus"
on the "Macrocycle" tab.
Interconnection dependency
Only interconnected function blocks are edited and added to the schedule calculation.
Changes made with SIMATIC PDM become effective only for interconnected function
blocks.
The following blocks are considered when diagnosing FF devices:
Resource blocks
Transducer blocks
Interconnected function blocks
4.4
4.4.1
Overview
In HW Config you have reproduced the configuration of the FF segment in the system.
With FF devices, you have to interconnect the signals of the function blocks individually. The
created symbolic names facilitate further configuration.
Create the charts for the automation system in CFC.
You have to interconnect the signals to technological blocks so that they are available on
the operator station.
You can then commission them. When all the components have been compiled and
downloaded, the functions of the FF devices are available on the operator station.
38
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.4 Using the applications
4.4.2
Requirements
SIMATIC PDM including the required license keys is installed on a computer.
The computer is connected to an automation system.
There is a communication connection between the automation system and the FF segment.
Additional information
Online help for SIMATIC PDM
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
39
Engineering
4.4 Using the applications
4.4.3
How to define the device ID of the FF devices (TAG name and address)
With SIMATIC PDM, you can find the FF devices that are connected to the FF segment with
the Start LifeList menu command. Use the "Assign address and TAG..." button to change the
following parameters for device identification:
Address (device address).
TAG (device designation in the system).
Use this procedure, for example, to detect a connected backup device after replacement of a
device. Then assign the parameters for device identification to the FF device.
Requirement
FF devices have been created.
An online connection to the FF segment is possible.
The bus parameters may be set in such a way that all addresses are in the "polled range"
(FUN = 232).
Note
Unpolled range
In SIMATIC STEP 7 / PCS 7 , the FF devices with addresses from 36 to 231 are not
processed by default (unpolled range). This range can be reduced by changing the bus
parameters.
You can find information on this step in section "How to set the bus parameters
(Page 33)".
Procedure
1. Open the project in the process devices network view.
2. Open the network view of the automation system.
3. Select the FF Link in the tree structure.
4. Select the shortcut menu command Open Object.
The "SIMATIC PDM" dialog box opens.
5. Select the FF Link.
6. Select the menu command Edit > SIMATIC PDM > Start LifeList .
The "LifeList" dialog window opens.
7. Select the "Start" menu command.
All detected FF devices are displayed in the table.
8. Select the FF device (backup device) in the tree structure.
40
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.4 Using the applications
9. Click the "Assign address and TAG ..." button.
Input boxes for the current and new parameters are displayed in the dialog.
Enter the current and new address of the FF device in the plant configuration.
Enter the current and new device designation (TAG) of the FF device in the system
configuration.
10.Click "Transfer".
Note
Restart
Changing the address will restart the device.
Note
Address or tag occupied
If the address or TAG is occupied, then the action will not be performed. An appropriate
message will be displayed.
LifeList
The changes to the parameters for device identification are only online changes.
Changes are not applied to the PCS 7 project.
Example:
You have moved an FF device in the LifeList from address 25 to address 30 . The configuration
is only consistent if the FF device has address 30 in HW Config.
Downloading
To ensure that all configured parameters and connections are available for the FF device, you
will have to download the FF device.
4.4.4
Requirements
The project is open in SIMATIC Manager in the component view.
Symbolic names were assigned for the inputs and outputs during configuration of the FF
devices.
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
41
Engineering
4.4 Using the applications
Procedure
1. Select the folder <ProjectAS> > <CPU> > <S7 Program> in the tree structure.
2. Select the "Symbols" object in the list.
3. Select the menu command Edit > Open Object.
The "Symbol Editor" dialog box opens.
4. Make your changes.
Note
A maximum of 24 characters is permitted for a symbol.
Example: Symbol = "Status_Measurement"
5. After editing, select the menu command Table > Save.
4.4.5
Address range
Block name
Function block
Block I/O
Analog
Input
FbAnIn
FB 1813
PV
Output
FbAnOu
FB 1814
SP
Input
FbDiIn
FB 1815
PV
Output
FbDiOu
FB 1816
SP
Digital
Requirements
FF devices have been configured.
Symbols have been created.
42
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Engineering
4.4 Using the applications
Procedure
You have the following options for configuring interconnections:
Configure the interconnections in the PCS 7 Import/Export Assistant using templates.
Create your own CFC charts.
Additional information
You can find additional information and step-by-step instructions in the configuration manual
Process Control System PCS 7; Engineering System.
4.4.6
Configuring the OS
Information about the configuration of process pictures and diagnostics with operator stations
is available in the Process Control System PCS 7; Operator Station Configuration Manual.
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
43
Commissioning
Commissioning begins with connecting and downloading the hardware. Next, carry out the
connection and function test. Finally, the system is optimized. Values have to be simulated for
some tasks.
Information which supports you in these tasks is available found below.
Additional information
Refer to the device-specific documentation for information on connecting the FF devices.
5.1
Compile
The central function for this can be obtained by selecting the menu command PLC > Compile
and Download Objects... in the SIMATIC Manager.
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
45
Commissioning
5.1 Compile and download
Additional information
You can find additional information and detailed step-by-step instructions in the following
documentation:
Configuration manual Process Control System PCS 7; Engineering System
Configuration Manual Process Control System PCS 7; Operator Station
5.1.1
Replacing devices
Note that you have several options for replacing devices with SIMATIC PDM.
Replacement of a device with one of the same type
Replacement of a device with a similar one
Replacement via address change
Requirement
You will have to read in the device parameters to the Engineering System before you assign
the parameters of the FF devices for the first time.
Note
Observe the following if you have inserted new FF devices on the FF segment or if you want
to use parameters of additional function blocks.
The FF segment is stopped for a short time during download.
First, you have to configure all the interconnections.
If required, correct the macrocycle settings.
Note
Downloading function blocks
It is not necessary to download an entire device if there are only minor changes. You can
download a group of function blocks or one individual function block for an FF device.
46
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Commissioning
5.1 Compile and download
Downloading
Use the following menu commands to download the respective data to the system.
Menu Command
CPU data
Schedule, bus
parameters and
interconnections
Hardware
configuration is
downloaded
Downloading
Program and
connections are
loading
Device parameters
The FF device is
downloaded
NOTICE
You can download changes to the automation system in "RUN" mode (CIR). The FF segment
will always be stopped if the schedule or CiF interconnections will be altered by the download.
Downloading
It is not possible to exclude the FF segment when downloading, e.g. if the configuration in the
FF segment was not changed. Follow these steps to disable the download function:
1. Open the hardware configuration in SIMATIC Manager.
2. Open the object properties of the FF Link.
3. In the "Load FF segment" tab, select the "Only load FF Link and FF devices when modified"
check box.
NOTICE
Check boxes on the "Download FF segment" tab
Before a complete download of an FF segment, the "Always load FF Link and FF devices"
check box must be selected in the "Load FF segment" tab.
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
47
Commissioning
5.2 Diagnostics options
See also
How to assign parameters of the FF devices (Page 26)
5.2
Diagnostics options
Additional information
Configuration Manual Process Control System PCS 7; Operator Station
Section "How to identify FF devices with SIMATIC PDM (Page 39)"
SIMATIC;FF Link Operating Instructions
FF devices documentation
5.2.1
48
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Commissioning
5.2 Diagnostics options
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
49
Redundancy
The basic configuration of redundant FF segments is the same as the configuration of
PROFIBUS PA. During configuration, the necessary couplers are part of the FF Link.
Additional information is available in the SIMATIC; Process Control System PCS 7; Faulttolerant Process Control Systems documentation in the section "Redundant PROFIBUS PA".
Possible redundancy when using AFD/AFS:
Ring redundancy
Coupler redundancy
Configuration
You configure only the FF devices and the FF Link on PROFIBUS DP. The necessary
configuration steps are described in section "How to place FF devices on the FOUNDATION
Fieldbus (Page 18)".
S7-400H as DP Master
The following AS components can operate as DP Master:
CP443-5 ext.
PROFIBUS DP connection of the CPU
The following requirements are met regarding DP Master systems:
The DP Masters edit the same user program.
The DP Masters have the same parameter settings and configuration for the interface
modules.
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
51
Additional information
You can find more information on redundant design of the PROFIBUS PA in the
documentation SIMATIC; Process Control System PCS 7; Fault-Tolerant Process Control
Systems chapter "Redundant PROFIBUS PA".
Information on the hardware design of the FOUNDATION Fieldbus is available in the
documentation SIMATIC; Bus links; FF Link bus link.
Information on the design of the redundant fieldbus with AFD/AFS is available in the
documentation SIMATIC; Bus links; DP/PA coupler, active field distributors, DP/PA-Link
and Y-Link.
6.2
Changes in run
The following changes are possible:
Changing the DP Master system
Changing parameters of the FF devices
Inserting or removing entire FF segments
Changes in run
Note
The CPU will stay in RUN with the following actions, but communication with the FF segment
will be interrupted.
Inserting or removing FF devices
Changing connections between FF devices
Changing bus parameters
CAUTION
STOP of CPU required
Inserting new blocks of an existing FF device.
Additional information
The whole sequence of a system modification and the requirements that must be met for it are
described in detail in the documentation SIMATIC; Modifying the System during Operation via
CiR.
52
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
Index
O
Field device in SIMATIC PDM
Integrate, 40
XE \* MERGEFORMAT , 25
A
Address, 40
C
CiF, 25
Configuration via PDM, 19
D
Downloading, 47
Option
Configuration via PDM, 19
P
PROFIBUS device in SIMATIC PDM, 19
Integrate, 19
Publisher, 7
S
Schedule, 7
SIMATIC Manager
Start Interconnection Editor, 24
SIMATIC PDM, 19
Integrate field device, 40
Integrating a PROFIBUS device, 19
Start Interconnection Editor, 24
Subscriber, 7
HW Config
Start Interconnection Editor, 24
Tab
Load FF segment, 47
TAG, 40
Integrate, 19, 40
Field device in SIMATIC PDM, 40
PROFIBUS device in SIMATIC PDM, 19
Interconnection Editor, 25
Starting, 24
L
Load FF segment
Tab, 47
N
Name, 40
FOUNDATION Fieldbus
Commissioning Manual, 03/2012, A5E03880935-01
53