How can you set up the online connection again between the PG and the CPU?
In some cases it can happen that an online connection cannot be set up between the PG and the module and an error message is displayed. Most causes can be determined through the notes in the Online Help which you reach by clicking on "Help". The table below describes some measures and remedies that can be applied when communication or an online connection is not possible between the programming device and the CPU. The most common reasons for loss of the online connection are as follows:
- Incorrectly configured module in the HW Config
- Incorrectly configured address
- Incorrectly set PG/PC interface
- Baud rate doesn't match the network baud rate
- Not enough memory on the hard disk for the swap file
- Incorrectly set PROFIBUS DP interface
- Incorrectly set MPI interface
- Differences in the program between online and offline
- Permitted cycle time increase set too low
- Incorrectly set bus profile
- More than one Ethernet interface in the same IP subnetwork
|No.||Remedies for setting up the online connection|
|1||Incorrectly configured module in the HW Config|
Check whether the modules slotted in the rack (CPU, CPs) have the correct hardware configuration. The CPU and CP types must match the configuration. If you have configured an incorrect module, the system block loading procedure might be aborted and you get an error message like:
|2||Incorrectly configured address|
If you have configured an MPI or PROFIBUS address in the Hardware Configuration which doesn't correspond to the node address (CPU), you get the following error message:
Execute the function "PLC > Show Accessible Nodes". In the "Accessible Nodes" window are the addresses for MPI and PROFIBUS under which the module can be accessed. If, for example, the address MPI=2 is shown in the window, then the MPI address 2 must also be set for the CPU in the Hardware Configuration.
More detailed information on the error message mentioned above is available in the Online Help. For this click on the "Help" button in the error message and follow the description for clearing the fault, e.g.
|3||Incorrectly set PG/PC interface|
If the parameters of the PG/PC interface do not match the online connection or the interface has yet been installed, then you get the following
Open the PG/PC interface via the menu "Tools > Set PG/PC interface..." and in the "Interface Parameter Assignment Used:" window, check whether you have set the correct interface for your online connection.
If the required interface is not available, click on the "Select" button and install the relevant driver in the "Install/Remove Interfaces" dialog. In this case mark the required interface in the "Selection:" window on the left and click on the "Install -->" button. After installation the interface is shown in the "Installed:" window on the right.
Then close the dialog and select the interface in the "Interface Parameter Assignment Used:" dialog. Close the PG/PC interface with OK.
|4||Baud rate doesn't match the network baud rate|
If you have set a baud rate for the module in the HW Config that doesn't match the network baud rate, you get the following error message:
Open the PG/PC interface via the menu command "Tools > Set PG/PC interface..." and click on the "Diagnostics..." button. By clicking on the "Test" button you receive the PROFIBUS/MPI network diagnostics. Fig. 04 shows an example of when the baud rate or interrupt doesn't match (error 0x0313).
In the "Hardware" tab you can use the "Test" button to diagnose which resources are used by the module. Before running the diagnostics refer to the now in the Online Help (under "Help" and close all other applications and save your data before the test.
Close the dialog with OK and in the "Set PG/PC interface" dialog click on the "Properties" button. In the "Properties" dialog you select the correct transmission rate for the network.
|5||Not enough memory on the hard disk for the swap file|
Check the virtual main memory and refer to the relevant notes in the readme file (section 3.2 Memory Requirements). We recommend setting 1000 MB to 1500 MB. More information on setting the virtual main memory in the various Windows operating systems is also available in Entry ID: 20440472 (Notes on optimizing performance).
|6||Incorrectly set PROFIBUS DP interface|
You want to set up an online connection via the PROFIBUS DP interface of a CPU 317-2-PN/DP, for example, and there is also PROFIBUS DP interface configured in the Hardware Configuration. The online connection setup will be aborted in the interface parameters are not correct or the PROFIBUS address in the HW Config is incorrect. The following error messages are displayed:
Via "PLC > Show Accessible Nodes" you get a display of the accessible address (e.g. "PROFIBUS = 2"). You must set the address for the CPU module in the Hardware Configuration in order to reach the CPU online.
|7||Incorrectly set MPI interface|
If the MPI interface is not set in the PG/PC interface, the online connection setup is aborted in the LAD/STL/FBD editor and in the Hardware Configuration accompanied by the error messages described in Point 6. Most likely the interface for the PROFIBUS is still configured in the PG/PC interface for the MPI connection configured.
|8||Differences in the program between online and offline|
If you can no longer activate the "Monitoring" function during the program test in online mode, then please check whether there are differences in the program between the online representation and offline representation. In this case the button with the spectacles used to select this function is inactive or grayed out.
If you make changes in offline mode, then you must first load your program into the CPU before you can activate the "Monitoring" function.
|9||Permitted cycle time increase set too low|
In the processing operation only the cycle time is required for processing the program, but for testing the program with the variables table (VAT) you need an additional increase in the cycle time. If you just have short program and in comparison a large variables table with a short cycle time increase, then when monitoring and controlling the variables table the program aborts with the error message "(D0AA) Time limit exceeded in processing operation".
Acknowledge all the dialogs with OK and save and compile the hardware configuration.
Load the hardware configuration into the CPU and then you can test the program using the variables table.
|10||Incorrectly set bus profile|
If the bus profile setting in the PG/PC interface is different to the bus profile configuration in the Hardware Configuration, setup of the online connection is aborted with the following error message:
For your PROFIBUS DP interface, check whether bus profile of your configured CPU matches the setting in the PG/PC interface. In the Hardware Configuration, open the properties of the DP interface of the configured CPU and select the dialog "Properties - PROFIBUS" via
The configuration for the profile (e.g. "DP" or "Standard") must also be set in the PG/PC interface.
In the SIMATIC Manager, open the PG/PC interface and click on the "Properties" button. Select the relevant profile (e.g. "DP" or "Standard") for your PROFIBUS DP interface.
|11||More than one Ethernet interface in the same IP subnetwork|
The error message (33:16656) described under point 2 can also be displayed if for a TCP/IP connection you have set up more than one Ethernet interface in the same IP subnetwork. In order to set up the selected Ethernet interface for an online connection, you must first disable the unused Ethernet interface.
More information on setting up the online connection is available in our FAQs:
- "How do Diagnostics and Remedy work in in STEP 7 when an online connection with the CP5511 is not possible?"
Entry ID: 11492532
- "Why can't you set up an online connection any more after installing STEP 7 version V5.4 with a PC/TS adapter?"
Entry ID: 23933965
- "Is there a check list for implementing a PC adapter?"
Entry ID: 10420976
Connection setup, Communication setup, Program development