show the entry list

PROFIBUS general -- Setting up and parameterizing hardware -- Initializing and parameterizing modules 
What should you watch out for when adding components or changing their parameters using CiR (Configuration in Run)? 
What should you pay attention to when operating a DP slave temporarily on a PROFIBUS DP network? 
How do you connect the SIMATIC Field PG to the bus system to parameterize and diagnose the distributed I/O devices? 
Which options are available for configuring the ET 200 stations? 
Configuration of the alarm mode in STEP 7 for the diagnostics repeater (6ES7 972-0AB01-0XA0) 
Correction to bus time calculations 
Basic knowledge for configuring PROFIBUS-DP networks 
What are the conditions for assigning the addresses of I/O modules (central or distributed) to an S7 CPU? 
Cyclic program processing only once all the DP stations have signaled that they are finished 
Which parameters must be taken into account when planning an electrical network? 
How can you calculate the bus cycle time on the PROFIBUS DP with STEP 7? 

What should you watch out for when adding components or changing their parameters using CiR (Configuration in Run)?Go to beginning
Part number:

Description
There are some process cells that must not be shut down during operation. Using CiR (Configuration in RUN) to make changes to a plant during operation it is possible to make certain changes to the configuration in RUN mode.

When adding components or changing their parameters using CiR (Configuration in Run) the station with the highest PROFIBUS address

  • Must be an S7-compatible DP slave (DPS7 slave).
  • Must not be configured with GSD file.

Otherwise the component added or reparameterized with CiR is not parameterized by the CPU and is therefore not ready for operation although the station supports CiR and the CiR elements are configured.

In the Hardware Configuration you can see whether a DP slave has been configured with GSD file. Double-click the DP slave configured to open the Properties dialog of the DP slave. In the "General" tab the name of the GSD file is displayed if the DP slave has been configured with GSD file.


Fig. 01

This applies for the S7-400 Standard CPUs and PROFINET CPUs up to the firmware versions below:

  • V3.1.4
  • V4.1.1
  • V5.3.1
  • V6.0.2

This applies for the fault-tolerant S7-400 CPUs is you have configured S7-400 as standard system and not H system S7-400H up to the firmware versions below:

  • V3.1.5
  • V4.0.12
  • V4.5.3

Note
Assign a DPS7 slave not configured with GSD file the highest PROFIBUS address.

Further Information
More information about configuring the CiR function (Configuration in Run) is available in the manual "SIMATIC STEP7 V5.5 Modifying the System during Operation via CiR". The manual is available for downloading in Entry ID: 45531308.

What should you pay attention to when operating a DP slave temporarily on a PROFIBUS DP network?Go to beginning
Part number:

Configuration notes:
Proceed as follows if you want to operate a DP slave temporarily on a PROFIBUS DP network or want to implement this DP slave flexibly at different points of a DP master system.

  • Configure the slave as usual in the STEP 7 Hardware Configuration.
  • When disabling, it is irrelevant whether the DP slave is connected to the PROFIBUS during the job or is not on the bus.
  • If you wish to disconnect the slave, then you disable it by calling the system function SFC12 "D_ACT_DP".
    Note:

    A sample program for enabling and disabling DP slaves is available in Entry ID: 5608020.
  • Reconnect the slave and enable it again via the system function SFC12 "D_ACT_DP".

Important:

  • If the DP slave is at the end of the line, refer to the appropriate information in Entry ID: 2157453.

How do you connect the SIMATIC Field PG to the bus system to parameterize and diagnose the distributed I/O devices?Go to beginning
Part number:

Configuration Notes
From STEP 7 V5.4 SP2 onwards, STEP 7-external tools (Device Tools) are integrated for parameterizing and diagnosing distributed I/O devices via the Tool Calling Interface (TCI) in STEP 7. The following distributed devices are concerned:

  • PROFIBUS DP V1 Slave
  • PROFINET IO devices

Requirements

  • The device tool must support the TCI specification. TCI is a calling interface specified by PROFIBUS & PROFINET International (PI). You can use the TCI calling interface to transfer configuration from the Engineering Tool to the Device Tool.
  • The device tool and STEP 7 have to be installed on the same computer.

You have the following options for connecting the SIMATIC Field PG to the bus system to parameterize and diagnose the distributed I/O devices via the TCI calling interface.

SIMATIC Field PG is connected to the same bus system as the distributed I/O devices


Fig. 01: SIMATIC Field PG and distributed I/O devices in the same bus system

SIMATIC Field PG is not connected to the same bus system as the distributed I/O devices
It is possible to parameterize and diagnose the distributed I/O devices from a different bus system via the TCI calling interface.
Here you need a data record gateway. The modules below support the data record routing function and can thus be implemented as data record gateway.
 
Module Order number Firmware
IE/PB Link 6GK1411-5AB00
6GK1411-5AA00
-
CPU412-2 PN 6ES7412-2EK06-0AB0 from V6.0
CPU414-3 PN/DP 6ES7414-3EM05-0AB0 from V5.1
CPU414-3(F) PN/DP 6ES7414-3EM06-0AB0
6ES7414-3FM06-0AB0
from V6.0
CPU416-3(F) PN/DP 6ES7416-3ER05-0AB0
6ES7416-3FR05-0AB0
from V5.1
CPU416-3(F) PN/DP 6ES7416-3ES06-0AB0
6ES7416-3FS06-0AB0
from V6.0
CP443-5 Extended 6GK7443-5DX04-0XE0 from V3.0
CPU319-3(F) PN/DP 6ES7318-3EL00-0AB0
6ES7318-3FL00-0AB0
from V2.7
CPU319-3(F) PN/DP 6ES7318-3EL01-0AB0
6ES7318-3FL01-0AB0
from V3.2
CPU317-2(F) PN/DP 6ES7317-2EK14-0AB0
6ES7317-2FK14-0AB0
from V3.1
CPU315-2(F) PN/DP 6ES7315-2EH14-0AB0
6ES7315-2FJ14-0AB0
from V3.1
IM151-8(F) PN/DP CPU with DP master module 6ES7138-4HA00-0AB0 6ES7151-8AB00-0AB0
6ES7151-8FB00-0AB0
from V2.7
IM151-8(F) PN/DP CPU with DP master module 6ES7138-4HA00-0AB0 6ES7151-8AB01-0AB0
6ES7151-8FB01-0AB0
from V3.2
IM154-8(F) CPU 6ES7154-8AB01
6ES7154-8FB01
from V3.2

You can parameterize DP slaves connected to the PROFIBUS from the MPI network or from the Industrial Ethernet via the data record gateway.


Fig. 02: Parameterizing DP slaves from MPI / Industrial Ethernet

Which options are available for configuring the ET 200 stations?Go to beginning
Part number:

Configuration Notes:
The "SIMATIC Selection Tool" configurator guides you conveniently and simply through the configuration of an ET 200S, ET 200M, ET200pro, ET200eco or ET 200iSP station and supports you in selecting the various components and matching accessories. As a result you receive a list with order numbers and quantities as a basis for your order. The "SIMATIC Selection Tool" configurator also supports you in keeping to limit values for load currents, slots and parameters, for example.

The "SIMATIC Selection Tool" is in the configuration tool overview of the Industry Mall under Automation Technology.

Industry Mall

Configuration of the alarm mode in STEP 7 for the diagnostics repeater (6ES7 972-0AB01-0XA0)Go to beginning
Part number:

QUESTION:
Which mode do I have to adjust at the diagnostics repeater, in order to call the organization block OB82?

ANSWER:
If the diagnostics Repeater is run with DPV1 mode at a S7 CPU, the DP alarm mode of the repeater has nevertheless to be set to DPVO in STEP 7. The diagnostics alarm OB (OB82) will then be called continously in the S7-CPU.

In the register "Parameter assignment" in the object properties of the diagnostics repeater, the "DP-alarm mode" can be set.

Choosing the DPV1 mode, the diagnostics alarm OB (OB82) will not be called in case of diagnostics occurences in the S7 controller. Therefore it is recommended to keep the pre-adjustment DPV0.

Note:
Further notes about the configuration can be found in chapter 6 "Commissioning" of the manual "SIMATIC diagnostics repeater for PROFIBUS-DP" under entry-ID: 7915183.

Keywords:
Watchdog interrupt, Hardware configuration


Correction to bus time calculationsGo to beginning
Part number:

 

QUESTION:
Where and how are the STEP7 bus time calculations corrected?

ANSWER:  
When you configure the PROFIBUS DP/PA link connections in your hardware configuration, it may be necessary to correct the bus time calculations afterwards. This affects connection modules IM157 (MLFB: 6ES7 157-0AA81-0XA0, 6ES7 157-0AA80-0XA0 and 6ES7 157-0AA00-0XA0). Configurations with more than five DP/PA links should also be checked for this.   

Select the connection module with your cursor in STEP7 hardware configuration, then click the right mouse button and select "Properties" to open the following dialog box.  

 
Fig. 1: Dialog box for Properties of DP slave  

In the "DP Slave Properties" box click "PROFIBUS". This takes you to the screen called "PROFIBUS Interface IM157".  
Fig. 2: Dialog box for Properties of IM 157  

Click "Properties" to open the dialog box "PROFIBUS Properties". Here select the "Network Settings" tab and set the profile to "User Defined".  
Fig. 3: PROFIBUS Properties dialog box  

Then click "Bus Parameters" and in the "Bus Parameters" box increase the value for the TTR (Target Rotation Time).

 
Fig. 4: Setting the bus parameters

We recommend calculating the Ttr (Target Rotation Time) using the following formula:

Ttrnew = Ttrold + (n * 11 t_bit + 680 t_bit) * 2 * k 

n := number of all input and output bytes on the PROFIBUS PA segment concerned.

k := number of DP/PA links on the PROFIBUS segment. In H systems k corresponds to the number of slaves on a segment, even if the slave has two connections.

Please also note that increasing the Ttr (Target Rotation Time) affects the DP transfer time and the DP error recognition time of the SIMATIC H station.

If you change the Ttr, then you also have to change the response monitoring accordingly.

Response monitoring_new = Response monitoring_old * Ttr_new / Ttr_old

Keywords:
PROFIBUS parameters, Bus parameters, Bus setting

 

Basic knowledge for configuring PROFIBUS-DP networksGo to beginning
Part number:

QUESTION:
With what and how do I configure the hardware for a PROFIBUS-DP master/slave communication?

ANSWER:
Basically you have two options for configuring a PROFIBUS-DP master-slave communication. For this you can use either COM PROFIBUS or STEP 7. . Both configuration tools provide a wide range of devices for DP masters and slaves. If your slave is not available, then you can add this slave to the hardware catalog of each tool via a GSD file. You can procure the GSD files from the Internet pages of Customer Support under
"Automation Systems > SIMATIC Distributed I/O > GSD Files" in the "Download" tab.

Note:
PROFIBUS-DP master devices cannot be added subsequently in this way. For this you always have to install the latest version of STEP 7 or COM PROFIBUS.

Further information can be obtained from the manual "Configuring Hardware and Communication Connections with STEP 7 V5.3" under Entry-ID: 18652631. It lists important notes for the configuration of PROFIBUS-DP Networks. Moreover,you get detailed information on your DP slave from internet pages of the Customer Support under:
"Automation systems > SIMATIC Distributed Periphery  > /your DP-Slave/" in tab "manuals/BA".

Keywords:
Hardware configuration, System configuration


What are the conditions for assigning the addresses of I/O modules (central or distributed) to an S7 CPU?Go to beginning
Part number:

Configuration Notes:
When assigning addresses in the Hardware Configuration you must note that a data area created (e.g. a double-word) must not be configured on the limit of the process image (i.e. a part of the area within and the rest of this area outside the double-word).

Example:
If, with a process image of 256 bytes in size (address area 0 to 255), you configure an input double-word to the addresses 254 to 257, you must match the size of the process image accordingly (can be set in the Properties of the CPU).


Fig. 01


Fig. 02
 

The following table lists the S7 CPUs that have a variably settable process image:
 
S7-300 CPU Order number Restriction
IM154-8 CPU 6ES7 154-8AB00-0AB0 Firmware versions from V2.5 onwards
CPU 315-2 PN/DP 6ES7 315-2EH13-0AB0 Firmware versions from V2.5 onwards
CPU 317-2 6ES7 317-2AJ10-0AB0 Firmware versions from V2.5 onwards
CPU 317-2 PN/DP 6ES7 317-2EK13-0AB0 Firmware versions as from V2.3
CPU 317-2 PN/DP 6ES7 317-2EJ10-0AB0 Firmware versions as from V2.3
CPU 318-2 DP 6ES7 318-2AJ00-0AB0 -
CPU 319-3 PN/DP 6ES7318-3EL00-0AB0 -
S7-400 CPU Order number Restriction
CPU 4xx.. 6ES7 41..

Firmware versions from V1.1 onwards

CPU 416-2
6ES7 416-2XK00-0AB0 only selection between
512 and 1024 bytes possible
6ES7 416-2XK01-0AB0
6ES7 416-2XL00-0AB0
6ES7 416-2XL01-0AB0

Note:
From STEP 7 V5.3 onwards this configuration of the I/O addresses is checked and an error message is output if necessary.

Error message "The address you entered is invalid":
If the address area of a module is set so that the addresses would lie partly inside and partly outside the process image, then the addressing is rejected with the following message:


Fig. 03

Remedy:
In this case you correct the address of the module or the area of the process image so that the address area is either entirely inside or entirely outside the process image.

Error message (13:4919):
If, on the other hand, a valid address is first configured for the I/O module and then the size of the process image of the CPU is changed, then when you save and compile the configuration, it is reported that the system data could not be generated; after clicking on "Details..." the following explanations are displayed:


Fig. 04

Remedy:
By clicking on "Go To" you select the module and correct its address so that the address area is either entirely inside or entirely outside the process image, or correct the size of the process image.

Keywords:
Message 13:4919, OB1-PI, PIP, PII, PIQ

Cyclic program processing only once all the DP stations have signaled that they are finishedGo to beginning
Part number:

QUESTION:  
Can I configure the parameters for the S7-CPU in such a way that it does not start the cyclic program until all the DP stations have signaled that they are finished?

ANSWER:  
An S7-CPU always goes into RUN mode if all the PROFIBUS stations have been detected during power-up. OB1 (cyclic user program) is only run through when the CPU is in RUN mode.

If you use PROFIBUS stations which have not been started or are not present yet at the time the CPU is powered up, the CPU response is dependent upon the Startup if target configuration is not identical to actual configuration setting in the parameters for the CPU.

In order to prevent the CPU going into STOP mode if there is a slave missing, Startup if target configuration is not identical to actual configuration must be selected.

The cyclic program (OB 1) is to be kept locked until the BF LED for the CPU goes out.
The status of the BF LED can be read out via the SZL-ID xy19 by means of SFC 51 "RDSYSST". Via a programmed loop in the start-up OBs (OB 100, OB 101 and OB 102), this enables cyclic processing to be blocked until all the PROFIBUS stations have signaled that they are finished.

There is information available on the SFC 51 in the manual entitled "System software for S7-300/400 system and standard functions" under Entry ID 1214574 or in the STEP 7 documentation via Start > SIMATIC > Documentation.

The following sample project contains a completed hardware configuration with the procedure described above in the user program.

DP_Anlauf.exe ( 368 KB )  

Copy the "DP_Anlauf.exe" file into a separate folder and then start the file with a double-click. The project which is created with STEP 7 V5.3 SP1 is now extracted with all the associated subfolders. You can use the SIMATIC Manager to open and process the extracted project.

Which parameters must be taken into account when planning an electrical network?Go to beginning
Part number:

Configuration Notes:

Parameters:

  • Transmission rate required for the task (only one uniform transmission rate can be used in any one network).
  • Required number of nodes.
  • Type of network components required (bus terminals, bus connectors, plug-in connecting cables).
  • Bus cables that are to be used.
  • Segment lengths desired.
  • Electromagnetic and mechanical environment of the cables (e.g. overvoltage protection, cable ducts).
  • Number of RS485 repeaters between any two terminal devices is limited to a maximum of 9.
  • In the case of extensive structures with repeaters there are longer transfer times which must be taken into account where appropriate when configuring the network.

Configuring electrical networks with RS485 repeaters:

  • To increase the number of nodes (>32) in a network or increase the cable lengths between two nodes you can connect segments into a network using RS485 repeaters. Fig. T-1 shows a possible combination of several segments connected in a network using repeaters.
  • The RS485 repeaters support all transmission rates from 9.6 kbit/s to 12 Mbit/s.


Fig. T-1 (1 terminator activated)  
 

The following conditions must be met when configuring an electrical network with RS485 repeaters:

  • You must keep to the maximum segment length specified for a transmission rate.
  • The maximum of bus couplings (nodes, RS485 repeaters, OLMs) on one segment is limited to 32. Other restrictions are possible with the transmission rate of 1.5 Mbit/s.
  • The maximum number of nodes in one network is limited to 127.
  • A maximum of 9 RS485 repeaters can be installed between two nodes.

Message runtime:

The system response time of a PROFIBUS network depends decisively on

  • The system version (mono- or multi-master system).
  • The maximum response time of each individual bus node.
  • The volume of data to be transferred.
  • The bus configuration (topology, cable lengths, active network components).

Adapting the bus parameters to the PROFIBUS network concerned (configuration) is done using configuration software such as COM PROFIBUS or STEP 7.
Because of message delays through cables and network components as well as through monitoring mechanisms in the network components, when configuring you must adapt the PROFIBUS network parameter "Slot time" to the network size, the network topology and the transmission rate.

More information is available in the manual in Entry ID 1971286.


How can you calculate the bus cycle time on the PROFIBUS DP with STEP 7?Go to beginning
Part number:

Description:  
In STEP 7 you can only calculate an average bus cycle time in a pure PROFIBUS DP network. In a pure PROFIBUS DP network, the bus cycle time can be equated with the value "Ttr typical". Please proceed as follows to determine this value for your system:
  1. Insert you setpoint configuration into the HW Configuration of STEP 7.
  2. Double-click a node.
  3. In the "General" tab you click on the "PROFIBUS" button to open the Properties of the interface.
  4. Now in the "Parameter" tab you click the "Properties" button to open the Properties of the subnetwork.
  5. In the "Network Settings", the calculated value is then located in "Bus Parameters" under "Ttr. typical".

The bus cycle time is limited by the "Ttr" value. Changing the configuration or adding nodes - for example a PG - also changes the "Ttr typical" and "Ttr" values.

Note:
More information on this topic is also available in Entry ID 21178141. - "System Utilities: Practical simulation of DP configurations: Determining the DP response time and the DP bus cycle time for typical configurations on the PROFIBUS DP".


 Entry ID:22820159   Date:2011-04-27 
I regard this article....as helpfulas not helpful                                 






























related links
What are the requirements for usi ...
STEP 7 Basic V11.0 SP1
STEP 7 Professional V11.0 SP1
WinCC Professional V11.0 SP1
WinCC Basic V11.0 SP1
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour