Problem When you have activated DSC (Dynamic Serve Control) for a axis in S7T Config and select "Load side" for "Mounting of encoder" then "Save and compile all" will fail and show the error meassage: "(3311) Error while creating the system data."
The consistency check in S7T Config creates an error (in the detail view "Compile/check output") like the following:
"Error Technology: [Name of the axis]: Illegal configuration (parameter TypeOfAxis.NumberOfDataSets.DataSet_1.ControllerStruct.PV_Controller.enableDSC, value 173, Parameter: TypeOfAxis.NumberOfEncoders.Encoder_1.AssemblyBase. assemblyBase, value 1)"
Cause / Explanation DSC can only be used with encoders mounted on the motor side.
Deactivate the DSC functionality.
Siemens provides products and solutions with industrial security functions that support the secure operation of plants, solutions, machines, equipment and/or 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.
T-CPU 317T 315T 317TF PLCopen
How do you have the web pages updated automatically in STEP 7 (TIA Portal) and how do you incorporate the user-defined web pages with relative path names?
Description For S7-CPUs you can create web pages yourself, so-called "user-defined web pages". Or you can use standard CPU web pages already stored in the CPU. There are three ways of updating user-defined web pages:
Manual updating with "F5"
Updating using HTML code
Automatic updating using HTML
Press the F5 key to reload the page
An update time is defined in the header of the HTML file
No compilation required.
Regular updating, little data required.
No automatic updating.
Whole web pages are reloaded (data, possible flickering).
Programming required for the algorithm.
Automatic updating of user-defined web pages using HTML
You enable automatic updating of user-defined web pages by making an entry in your HTML web page.
Insert the code below into the header of the HTML file:
<meta http-equiv="refresh" content="30"/>
The "content" parameter contains the time (in seconds) after which the page is to be updated. In the example described above, the web page is updated every 30 seconds.
The figure below shows the updating principle.
A sample web page is available for downloading below. There are two files in the archive:
Main_Webpage.html (main page)
Update_Page.html (inline frame web page for updating)
The "Update_Page.html" file includes two tables. The first table is used to set the updating time. The time is entered in milliseconds in the second line. The left column of the second table (the first line is not taken into account) shows the individual AWP commands of the variables to be updated. The right column shows the associated ID names (IDs) which determine at which point of the main page this variable is to be updated. The IDs must be unique.
The source text of the main page contains the IDs (VarId1, VarId2, VarId3) predefined in the sample page. In a table, VarId1 is used with a DIV element, VarId2 with a SPAN element and VarId3 with a TD element. In order to use an element for updating you must insert the "ID" attribute and predefine it with the associated ID name. This can be used for all HTML elements that support the ".innerHTML" method.
Open the "STEP_7_Update_Main_Webpage.zip" file attached below and unpack the files in a directory on your hard disk.
Open the "Update_Page.html" file with Microsoft FrontPage, for example, and enter the updating time in milliseconds (20000, for example) in the second line of the first table.
In the second table, in the left column starting at the second line, you insert the AWP commands (:="VarName1":, for example) for the variables to be read. If more or less than 3 variables (as on the sample page) are used, you can delete or insert lines as required.
You need the HTML code below to embed the "Update_Page.html" in your page:
<iframe src="Update_Page.html" style="display:none;" />
Generate the web DBs with the TIA Portal or in STEP 7 V5.5 with the Web2PLC tool and load your configuration data into the CPU.
Note The writing of variables continues to be programmed by means of the main web page.
The error message "parent.document.getElementById(...) is zero or not an object" indicates that no element with a specific ID can be found in the main web page. In this case you check the IDs used in the update page and the main web page.
Automatic updating of standard CPU web pages You can enable automatic updating for standard CPU web pages in the CPU properties. Follow the instructions in the table below.
In the project navigation you right-click the PLC folder and open the "Properties" in the pop-up menu that opens.
In the "Properties" dialog, in the "General" tab click "Web server". The web server properties are displayed in the window on the right.
Under "Automatic update" you enable the "Enable" option (the check mark must be set). The default setting for the update interval is 10s. Now you can change this to suit your requirements.
You must enable the web server before you can enable automatic updating. You cannot change the update interval in the S7-1200.
Click OK to close the dialog.
Save and compile your project.
Download your project into the CPU.
Embedding user-defined web pages with relative path names
In STEP 7 (TIA Portal) V12+SP1 onwards you have the option for S7-300, S7-400, S7-1200 and S7-1500 of embedding user-defined web pages with relative path names.
Open your STEP 7 project directory in the Windows Explorer and insert a new folder in the project path as shown in Fig. 03.
Assign a name, "Web pages" for example, and insert your user-defined web pages into the new folder.
Open the device configuration and then the Properties of the CPU.
In the area navigation of the inspector window you navigate to "Web server" so that you have the input field for the "User-defined web pages" available as in Fig. 04.
In the HTML directory you select the "Web pages" folder you have just created (input: ".\Web pages").
For "Start HTML page" you enter the HTML page that is to be opened when the web application starts.
Finally you must save and compile you project once again and load it into the CPU.
The STEP 7 (TIA Portal) project and the HTML files are one unit.
The user-defined web pages can be archived with the STEP 7 (TIA Portal) project V12.
The user-defined web pages are also copied into the new path using the menu command "Project > Save as...".
Copying of the project from one path to another in Windows Explorer does not require renewed specification of the HTML path to generate new HTML DBs.
Multiple controllers in a project using the same HTML pages have the same HTML path name.
The screens in this FAQ response were created with STEP 7 (TIA Portal) V12+SP1.
Refresh, Image regeneration
Why must you never remove a memory card when the S7-300/S7-400/S7-1200 CPU is in operation (RUN)?
If you remove the memory card from the CPU during a write process, this can make the content of the memory card invalid. The memory area retentivity might be lost as well. Under circumstances you might have to delete the memory card on the PG and reload the program. Observe the notes below before removing the memory card:
Always remove the SIMATIC memory card only in STOP mode.
Switch off the power supply.
If there is no write access through the PG, you can also remove the memory card when the power is switched on in STOP mode. In this case it is better to disconnect all communication connections beforehand.
More information is available in the TIA Portal Online Help under
"Accessing memory cards"
"Add user-defined card reader"
"Information about memory cards (S7-1200)"
"Information about memory cards for S7-300 (S7-300/400)"
Additional Keywords Memory cards
How do you configure the SIMATIC MV440 / MV420 code reader device with STEP 7 (TIA Portal) as a PROFINET IO device on the PROFINET IO system of a SIMATIC S7-300?
Description The documentation included in this entry describes how to connect a SIMATIC MV440 code reader device to a SIMATIC S7-300 using PROFINET IO.
In this example, a CPU315-2PN/DP is used as PROFINET IO controller.
The figure below illustrates this device configuration.
Sample programs The downloadable "MV4x0_PROFINET_sample_project_V1_0.zip" file provides you with the following sample program including all the necessary components:
The "MV4x0_PROFINET_sample_project_V1.0.ap11" project that was created with STEP 7 (TIA Portal)V11 and includes the configuration of a CPU315-2PN/DP as PROFINET IO controller and a SIMATIC MV440 code reader device as PROFINET IO device.
Block "FB79_Application[FC1]", which is called in the user program of the CPU.
Creation environment The screens and downloads in this FAQ were created with STEP 7 (TIA Portal)V11.
Note on security
Caution The functions and solutions described in this article confine themselves predominantly to the realization of the automation task. Furthermore, please take into account that corresponding protective measures have to be taken in the context of Industrial Security when connecting your equipment to other parts of the plant, the enterprise network or the internet. Further information can be found in Entry ID: 50203404.
How do you connect the SIMATIC Field PG to the bus system to parameterize and diagnose the distributed I/O devices?
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
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.
IM151-8(F) PN/DP CPU with DP master module 6ES7138-4HA00-0AB0
IM151-8(F) PN/DP CPU with DP master module 6ES7138-4HA00-0AB0
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
How do you configure the SIMATIC MV440 code reading system as PROFINET IO device on the PROFINET IO system of a SIMATIC S7-300?
Description The documentation included in this entry describes how to connect a SIMATIC MV440 code reading system to a SIMATIC S7-300 via PROFINET IO.
In this example, a CPU319-3PN/DP is used as PROFINET IO controller.
The following figure illustrates this device configuration.
Sample programs The "41726666_PROFINET_IO_with_MV440.zip" file provides the following sample programs and the components required as a download.
The STEP 7 project "MV440.zip" that includes the configuration of a CPU319-3PN/DP as PROFINET IO controller and a SIMATIC MV440 code reading system as PROFINET IO device. The sample program "Example.zip" is integrated in the STEP 7 application program of the CPU319-3PN/DP.
The sample program "Example.zip" that is on the CD included in the delivery package of the SIMATIC MV440 code reading system.
The GSD file of the SIMATIC MV440 code reading system, which is on the CD included in the delivery package of the SIMATIC MV440 code reading system.
Description With the S7 program available for download in this FAQ document you can acquire the UTC time and date information from a GPS signal. This is effected with the help of a GPS mouse which receives the GPS signal in the form of an NMEA protocol and transmits it to a
SIMATIC S7-300/400 CPU for further processing.
The current time and date information is used to set the CPU module clock.
Description If you are using an Industrial Ethernet CP that supports the "IP access list" function in the S7-300/400, you can prevent unauthorized access via the LAN (local area network).
The following modules support the "IP access list" function:
6GK7 343-1GX20-0XE0 - from V1.0 (CP343-1 IT) 6GK7 343-1GX21-0XE0 - from V1.0 (CP343-1 Advanced) 6GK7 343-1GX30-0XE0 - from V1.0 (CP343-1 Advanced) 6GK7 343-1EX21-0XE0 - from V1.0 (CP343-1) 6GK7 343-1EX30-0XE0 - from V2.0 (CP343-1)
6GK7 443-1EX10-0XE0 - from V2.3 (CP443-1)
6GK7 443-1EX11-0XE0 - from V2.3 (CP443-1) 6GK7 443-1EX20-0XE0 - from V1.0 (CP443-1)
6GK7 443-1EX40-0XE0 - from V1.0 (CP443-1 Advanced)
6GK7 443-1EX41-0XE0 - from V1.0 (CP443-1 Advanced)
6GK7 443-1GX20-0XE0 - from V2.0 (CP443-1 Advanced)
IP access list
The IP access list is configured in the Properties dialog of the Industrial Ethernet CP concerned.
In the configuration, it is possible to define a list of IP addresses that are permitted access to the module. For example, in the configuration you can enter all the IP addresses of the programming devices that are authorized to have access. This then prevents unauthorized access from PCs, for example, to the S7-300/400 via the LAN.
The CP works on the following principle Every time a message is received via the LAN, a check is made to see whether the sender's IP address is on the IP access list. If not, the message is discarded, and the partner receives neither a positive nor a negative response. If the IP address is on the IP access list, i.e. it has access authorization, the message is forwarded and processed.
Special feature of the IP access list If you want double IP addresses to be recognized in the network, then you must enter the IP address of the Industrial Ethernet CP in the IP access list.
Otherwise, no reply is made to the PING sent by the partner module, because the IP access list check reveals that it does not have access authorization. The double IP address in the network is not recognized otherwise.
Configuration of the IP access list
Open the HW Config of your S7-300/400.
Double-click on the Industrial Ethernet CP. The Properties dialog opens.
Select the "IP Access Protection" tab.
Check the "Activate access protection for IP communication" function to activate the IP access list.
Now enter the IP addresses or IP address bands of the devices that have access authorization.
Note The IP Access List is only effective in TCP / UDP or ISO-on-TCP communication. It does not take into account messages sent via the ISO transport protocol and MAC addresses.
Loading the configuration into the module
You have the following options for loading the configuration data.
Loading via the MPI interface of the CPU.
Loading via the LAN (ISO protocol or TCP/IP protocol).
The following points should be noted here.
Loading via MPI There are no restrictions for loading configuration data via MPI.
Loading via ISO protocol The Industrial Ethernet CP, via which the configuration data is to be loaded, must support the ISO protocol.
Loading via the TCP/IP protocol If the configuration is to be loaded with the IP access list into the module via TCP/IP, the IP address of the configuration PC/PG has to be entered in the IP access list! The IP access list becomes effective before the loading into the module procedure has been terminated. The IP address of the PC/PG then suddenly no longer has access authorization to the S7-300/400. STEP 7 then reports a faulty loading procedure and the CPU reports inconsistent configuration.
Remedy Enter the IP address of the configuration PC/PG into the IP access list and the load the configuration again via ISO protocol or MPI.
Note If the IP address of the PC/PG is not to be entered in the IP access list, then the configuration usually has to be loaded via MPI or ISO protocol.
You can choose between three protection levels:
Protection level 1: corresponds to the default behavior
Protection level 2: read-only access possible
Protection level 3: neither read nor write-access possible
You can assign a CPU password within the hardware configuration of your S7 station. Open the Properties dialog box of the CPU there. The protection level 2 (read-only access) and a password assignment are recommended inside the Properties dialog box.
A user who does not know the password can then read the program in the CPU, without entering a password. However, he cannot make changes within the program.
Fig. 1: Setting CPU protection
Block protection (Know_How_Protect) can be assigned for self-created STEP 7 blocks. You can find more information about this under "Block protection (Know_How_Protect) for DBs, FBs and FCs" - entry ID: 10025431.
If you forget your password:
If you forget the password, you do not have write-access (or read-access in level 3) in the password-protected CPU.
To restore access, you have to reset the CPU and reload the program into the CPU.
The password only becomes active once the changed data has been downloaded into the S7-CPU.
Keywords: Block protection
Master / Slave (SIMOVERT) communication on the DP PROFIBUS
What are the options for communication between a SIMOVERT and a PROFIBUS DP master?
You have the following options for connecting a SIMOVERT as PROFIBUS DP slave to a PROFIBUS DP master:
1. Interfacing the slave to the integrated DP connection of an S7-300 CPU
When configuring your SIMOVERT slave in the HW Config you are requested to make a choice regarding the setpoint configuration. If you decide for the PPO type 5, then you have the choice between: "PPO 5: 4 PKW | 4 + 4 + 2 PZD"
and "PPO 5: 4 PKW | 10 PZD".
In both case the sum of all parameter and process data words is identical. There is however a difference in the communication process due to the different distribution of the consistent data areas.
If you select the configuration "PPO 5: 4 PKW | 4 + 4 + 2 PZD", then you must program the communication via three calls of the SFC 15 (DPWR_DAT) and SFC 14 (DPRD_DAT). You always use the SFC 15 and SFC14 when your data length is either 3 bytes exactly or greater than 4 bytes. Since in this case three data blocks of 8 bytes each and one data block of 4 bytes have been selected, it is necessary to have the three SFC calls. The fourth data block is 4 bytes long and can therefore be read directly. Note: the format of the data length in the HW Config is of the "WORD" type.
If you select the configuration "PPO 5: 4 PKW | 10 PZD", then you only need two calls each of the SFC 15 (DPWR_DAT) and the SFC 14 (DPRD_DAT). One call for the parameter data block (PKW) and one for the process data block (PZD).
2. Using the CP342-5 as DP master
If you use the CP342-5 as DP master, it doesn't matter which setpoint configuration you choose. You can only use the functions FC1 (DP_SEND) and FC2 (DP_RECV). The system functions SFC14 and SFC15 are not available to you in this case.
Note: if you configure a SIMOVERT CBP together with a CP342-5, then the data block is two bytes longer than predefined in the HW Config (PKW+PZD). These two extra bytes are needed for diagnostics.
What can you do if new modules, e.g. CPUs, are missing in the STEP 7 module catalog?
Description: As from STEP 7 version V5.2 you have the option of updating your module catalog.
If the PG/PC on which STEP 7 is installed has a direct Internet access, you can download the required software components (Hardware Support Packages) directly from the relevant Internet page. The individual steps for integration in the module catalog of the HW Config are described in Entry ID 17581199.
If the PG/PC on which STEP 7 is installed does not have direct Internet access, the download "STEP 7_HSP.zip" is available in Entry ID 23183356 for updating the hardware catalog of your STEP 7 installation. The download contains the software components (Hardware Support Packages) needed for the modules and can be transferred to the PC with the STEP 7 installation, for example with a memory stick.
The individual steps for integration in the module catalog of the HW Config are described in Entry ID 22374877.
HSP, Hardware Support Packages, Hardware updates
Where can I procure the GSD files for my S7-300 CPUs?
Description: If you wish to connect a PROFIBUS DP slave, e.g. a CPU, to an external master, you need the GSD file. On an S7 master you can configure this directly via HW Config.
You can procure the GSD files for Siemens products directly via the Internet if the information is not in the module catalog of HW Config:
You can reach the PROFIBUS GSD files: SIMATIC in Entry ID 113652. The language is coded in the file designation, e.g. "xxxx.gse" stands for English. Please note how the order numbers of the CPUs, e.g. CPU 315, are assigned to the station types.
If you want to include the DP devices in the module catalog of HW Config, the GSD files must be stored on a data medium that you can access from STEP 7. How to do this is described in detail in Entry ID 2383630.
In an automation network of multiple SIMATIC stations you have the option of synchronizing the clocks of all the CPUs. For this, you parameterize the clock of one CPU as the "master clock" and set the interval at which synchronization is to take place. You parameterize the CPUs to be synchronized as "slave clocks". You set the parameters via the CPU properties.
Fig. 01: Setting synchronization on a CPU 315-2DP as example
You can set synchronization separately:
in the PLC (i.e. internal)
on an MPI (i.e. external)
on an MFI (i.e. external via 2nd interface)
Detailed information on time synchronization is available from the following sources:
For S7-300 CPUs - the manual "S7-300 CPU 31xC and CPU 31x, Technical Data", "Interfaces" chapter, in Entry ID:12996906
For S7-400 CPUs - the manual "Automation System S7-400 CPU Specifications", "Time Synchronization" chapter, in Entry ID:23904550
For CP 343-1 - the device manual "Part B CP 343-1", "Time Synchronization" chapter, in Entry ID:24485272
For CP 443-1 - the device manual "Part B CP 443-1", "Time Synchronization" chapter, in Entry ID:27013386
A description of time synchronization via Industrial Ethernet with the SIMATIC procedure is available in Entry ID:18130164.
A description of time synchronization via PROFIBUS in the SIMATIC environment is available in Entry ID:17544115.
A description of time synchronization via MPI subnetwork in the SIMATIC environment is available in Entry ID:17521938.
What is the startup behavior of an S7-300/400 CPU when you have configured an "empty" DP master system with "Startup when expected/actual configuration differ", but no slave is incorporated?
If you have configured an S7-300 CPU as DP master without incorporating a slave, then in the Hardware Configuration, in the Properties of the CPU, you have to activate the "Startup when expected/actual configuration differ" option in the "Startup " tab.
This option has to be activated because the DP interface expects a "Finish" message from all the slaves before startup. If there is no slave, then this "Finish" message doesn’t come and the monitoring time expires. The CPU then goes into STOP with a parameterization error.
Fig. 1: Setting the Startup behavior
The Startup behavior of an S7-400 CPU is not identical to that of an S7-300 CPU. If you have configured an "empty" DP master system, the S7-400 CPU starts up even though the "Startup when expected/actual configuration differ" option is not activated. If, however, a configured slave is not available, there is no startup of the S7-400 CPU. Startup cannot be blocked individually for the DP master systems.
What are the conditions for assigning the addresses of I/O modules (central or distributed) to an S7 CPU?
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).
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).
The following table lists the S7 CPUs that have a variably settable process image:
Firmware versions from V2.5 onwards
CPU 315-2 PN/DP
Firmware versions from V2.5 onwards
Firmware versions from V2.5 onwards
CPU 317-2 PN/DP
Firmware versions as from V2.3
CPU 317-2 PN/DP
Firmware versions as from V2.3
CPU 318-2 DP
CPU 319-3 PN/DP
Firmware versions from V1.1 onwards
only selection between
512 and 1024 bytes possible
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:
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:
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.
Message 13:4919, OB1-PI, PIP, PII, PIQ
How do you connect a SIMATIC S7-300 as DP slave to a Y link in the hardware configuration of STEP 7?
Description This entry shows how to connect a SIMATIC S7-300 CPU as DP slave to a Y link in the hardware configuration of STEP 7. The connection of the SIMATIC S7-300 CPU as DP slave to a Y link is down by means of the GSD file.
Note When handling CPU I slaves with the GSD file, you as user must ensure that the input/output data areas match.
Download the GSD file of the SIMATIC S7-300 CPU from the internet to your STEP 7 system. Skip this step if the GSD file is already integrated in your hardware configuration.
The GSD files for the SIMATIC S7-300 CPUs are located in the internet in Entry ID: 113652.
In the hardware configuration you select the menu "Tools > Install GSD files..." to integrate the GSD file of the SIMATIC S7-300 CPU in the hardware configuration.
Open the hardware configuration again and configure the IM153-2 module with order number 6ES7153-2BA02-0XB0. The IM153-2 module is located in the hardware catalog in the "PROFIBUS-DP > DP/PA Link" directory. You can drag-and-drop the IM153-2 module to a segment of the redundant PROFIBUS DP master system of an S7-400H. This automatically opens the "Properties - PROFIBUS interface IM153-2" dialog.
In the "Properties - PROFIBUS interface IM153-2" dialog you specify the PROFIBUS address of the IM153-2 module and accept the setting with "OK". The "Define Master System" dialog opens.
Select the "Interface module for PROFIBUS DP" option.
Once you have installed the GSD file of the SIMATIC S7-300 CPU, the module is located in the hardware catalog in the "PROFIBUS-DP > Other FIELD DEVICES > PLC > SIMATIC" directory.
Drag-and-drop the selected SIMATIC S7-300 CPU to the PROFIBUS DP master system of the IM153-2 module. The "Properties - PROFIBUS interface CPU 315-2 DP V3" dialog opens automatically.
Specify the PROFIBUS address of the SIMATIC S7-300 CPU and under Subnet select the PROFIBUS DP master system of the Y link. In this example it is the subnet PROFIBUS(3).
Apply the settings with "OK".
In the hardware configuration the SIMATIC S7-300 is connected as DP slave to the IM153-2 module.
Create the hardware configuration for the SIMATIC S7-300 CPU being operated as DP slave. Usually with a DP standard slave you only have to set the PROFIBUS address and the baud rate.
Create a SIMATIC S7-300 station according to your hardware configuration.
Assign the same PROFIBUS address to the PROFIBUS DP interface as you assigned to the SIMATIC S7-300 CPU that is connected to the IM153-2 module as DP slave.
Assign a newly created PROFIBUS subnet to the PROFIBUS DP interface. You must not assign the PROFIBUS subnet that is already on the IM153-2 module because the PROFIBUS address has already been assigned for the DP slave, that is to say for the SIMATIC S7-300 CPU.
In the hardware configuration you double-click the PROFIBUS DP interface of the SIMATIC S7-300 CPU. The Properties dialog of the PROFIBUS DP interface opens.
Switch to the "Operating Mode" tab and select "DP Slave" as the operating mode.
Disable the PG functions by disabling the "Test, commissioning, routing" option.
Set the bus parameters for the PROFIBUS subnet. Use the same bus parameters that you set for the secondary side of your IM153-2 module.
Load the hardware configuration into the SIMATIC S7-300 CPU that is connected as DP slave to the IM153-2 module.
Further Information More information about the configuration of the Y link is available in Entry ID 43688632.