Using this diagnostics function in the PG/PC interface you can check whether your communications module is ready for operation. If the CP5511 is ready for operation, the module's bus parameters and version data are displayed. You get to the PG/PC interface mask in the SIMATIC Manager via the menu item "Tools > Set PG/PC Interface".
Then please click on the "Diagnostics..." button to open the "SIMATIC NET diagnostics" mask.
Click on the "Test" button to check the operating status. If the module is not ready for operation, an error message is displayed with error number and error text. The table below describes the error messages and remedies that are possible.
0x0300 module not found:
Check whether the CP5511 is installed/slotted correctly.
Check the interrupt and address assignments. Information on the further procedure is also available in the STEP 7 Online Help under "Set PG/PC Interface", in the paragraph entitled: "Check the interrupt and address assignments". More information is also available in the STEP 7 readme file ("Start > SIMATIC > Product notes"), section 4.4.1 under "Integrated MPI on-board and the MPI PC module -> Set interrupt and address".
0x0312 incorrect configuration parameters:
Uninstall the CP5511 and then reinstall it. For this you click on the "Select..." button in the Set PG/PC Interface dialog (Fig. 01). Mark the CP5511 with the cursor in the right window (Fig. 03) and then click on the "Uninstall" button. Restart STEP 7 and then in the left window you mark the CP5511 and click on the "Install" button. For this activity you must have administrator rights on your PC (see STEP 7 - readme file, section: 3.1).
If this first recommendation does not help, if you are using STEP 7 up to version V5.2 SPx, we recommend completely uninstalling STEP 7 (including the options packages) as described in the FAQ "Complete uninstallation of STEP 7" in Entry ID 189025 in the Internet. Then reinstall your SIMATIC software.
0x0313 Baud rate doesn't match the network or incorrect interrupt:
Check the transmission rate (baud rate) in the PG/PC interface and in the hardware configuration. The baud rate must not be greater than the baud rate supported by the slowest node. The PROFIBUS addresses configured in the hardware configuration must match the addresses of the system configuration.
Check the interrupt and address assignments. Information on the further procedure is available in the STEP 7 Online Help under "Set PG/PC Interface", in the paragraph entitled: "Check the interrupt and address assignments" (Index: Check interrupt assignment). More information is also available in the STEP 7 readme file, section 4.4.1 (Integrated MPI on-board and the MPI PC module -> Set interrupt and address).
0x0316 Hardware resource already occupied:
If you get this error message after installing the CP5511 in "Set PG/PC Interface", proceed as described in Entry ID: 9853739 .
0x031a Cannot find active PB/MPI network:
Activate the function "PG/PC is the only master on the bus" in the Properties dialog of the PG/PC interface (see Fig. 04). In doing so you deactivate an additional function that protects against bus errors. You get to this mask by clicking on the "Properties" button - see Fig. 01. The requirement is that the interface used is set to: "CP5511(MPI)".
If the first remedy doesn't help, in the PG/PC interface you should set the parameters of the interface used to "CP5511(Auto)" - automatic recognition of the bus parameters. You then parameterize the bus parameters via the "Properties" button (Fig. 05). More information on this is available in the Online Help (F1 key).
0x0318 Interrupt occupied:
This message occurs in most cases in Windows NT. In your computer's BIOS, change the "PnP" setting to "No". You get to your computer's BIOS by restarting your PC and pressing the F2 key.
If this message occurs when using the CP5511 in Windows XP SP2, then disable IRQ Sharing. Refer to the Microsoft Support and Help website for how to disable IRQ Sharing. http://support.microsoft.com/kb/279256
0x031b Synchronization error:
Check the bus parameters on the bus. They must match the bus parameters configured in the hardware configuration.
Check the installation of the bus cable.
0x031c AMPRO2 system error:
Activate the function "PG/PC is the only master on the bus" in the Properties dialog of the PG/PC interface (see Fig. 04).
Where applicable, check whether all the terminators are switched correctly in the PROFIBUS network.
It is also possible that not all the STEP 7 are installed or some have been deleted, or that a wrong driver is installed. In this case we recommend sending the CITAMIS.str file to Customer Support for inspection.
Another possible cause would be defective hardware.
0x0320 DLL/VXD not found as file:
If the 0x0320 message appears indicating a file with the extension "dll" or "vxd" (e.g. <file_name>.dll), we recommend the following remedy.
On your PC, find the file specified (<file_name>.dll or <file_name>.vxd) in the Windows Explorer via "Options > Search > Files/Folders". Either the file is not on your computer or you'll find it twice. If the file specified by the system is not available, we recommend installing the driver again. But if this file is found twice in the Explorer, you must rename the file in the Windows system folder and then restart Windows.
The references to this file are missing in the Registry. It is not possible to access the parameters required from the Registry. You might not have the access authorization required or the system database is damaged.
The drivers don't match the operating system.
More information is available in the Diagnostics function (Fig. 02) and in the Online Help (F1 key) under the keyword "Error message".
Notes on utilization with CP5511:
The more recent notebooks have card bus interfaces with 32 bits, which no longer support CP5511 (only for 16 bits). You must use the CP5512 (for 32 bits). Please also refer to the information in the "Readme" file:
You cannot operate the CP5511 in notebooks that are equipped with a PCMCIA controller of the Omega Bridge II or TI1130 type.
Apart from that, the CPU5511 (Advanced Configuration and Power Interfaces) not complete.
The CP5511 is not supported in MS Windows Server 2003 and MS Windows Vista.
We also recommend reading the information in our FAQs that are available in the following Entry IDs in the Internet:
QUESTION: With the PG/PC how can I read out the slave diagnostics via the
To read out the slave diagnostics you need a PG/PC with PROFIBUS
interface and the software STEP 7. Connect the PG/PC to the DP bus
by plugging the MPI cable into a PROFIBUS DP connector with PG
socket. Warning: With baud rates > 1.5 Mbd spur lines are not allowed.
Start the SIMATIC Manager and open the interface settings dialog
in the "Access Path" tab under "Tools > Set PG/PC
interface...". In the selection window "Interface Parameter
Assignment Used:" select your interface card with the extension
Now click the "Properties..." button. In this window
under "Station Parameters" disable the setting "PG/PC is
the only master on bus". In addition please specify the Network
Settings "Transmission Rate:", "Highest Station
Address:" and "Profile:". These parameters must match
the configuration of the current project in the HW Config.
Then close the "Properties" and "Set PG/PC
interface" windows with "OK".
Now start the HW Config with the current project and setup the
ONLINE connection via the button marked below.
Note: If the error message "DP bus fault" appears, this
indicates that bus parameters have been set incorrectly.
Mark the required slave in the HW Config and open the module
status via "PLC". The diagnostics messages of this slave are
then displayed in plain text and hexadecimal code.
Message: "CP5613/CP5614 has already started" - SIMATIC NET CD 07/2001
QUESTION: Why, when programming the CP5613 or CP5614, do I get the
message that the CP has already started? I have installed the
drivers for the SIMATIC NET CD 07/2001.
ANSWER: When calling the function DP_start_cp() on the DP Base
programming interface, you get the above message.
Contrary to the earlier SIMATIC NET software versions, the CP
already activates during the booting-up procedure so as to allow
remote loading of the PC configuration on the PROFIBUS. So it is
not necessary to call this function in the user program.
CPU switches to STOP when a PG/PC goes online via PROFIBUS
QUESTION: Why does the CPU goes into STOP when I run ONLINE functions
with my PG or PC via PROFIBUS?
The CPU goes into STOP possibly for the following reasons:
You attempt to go online with your PG or PC. However you have
not configured your PG or PC in your project. Now, as soon as the
PG or PC becomes active (i.e. is included in the Token Ring), the
bus cycles are increased, which leads to STOP.
Another reason might be that a great amount of diagnostics data
is requested via ONLINE functions, which the increases CPU cycle
time beyond the parameterized limit. A remedy in this case would be
to change the parameters of the CPU from "Test mode" to
"Process mode". However, in this case not all the diagnostics
options will be available.
You should also make sure that the bus parameters of your PC/PG
are identical to those of the PROFIBUS network. In order to be able
to compare these you must first determine which bus parameters are
set for the PROFIBUS network. Please proceed as follows:
1. Open the project and the hardware configuration.
2. Double-click the PROFIBUS master system.
3. Then click "Properties...".
4. In the window that opens select the "Network settings" tab.
5. Click "Bus parameters...".
Now you can see the settings of the bus parameters for the PROFIBUS
The bus parameters must also be set in your PG. Please proceed as
follows to view and change the parameters of your PG:
1. Open the Control Panel via "Start > Settings".
2. Double-click "Set PG/PC interface".
3. In the window that opens click "Properties...".
4. Under "Network reference" set "User-defined" for
5. Click "Bus parameters...".
6. Set the same bus parameters as for the PROFIBUS network.
Keywords: STOP state
No set up of data transfer between CP5431 (DP master) and a DP slave
What might be the causes for my DP slave not being able to set up a
data transfer connection with the my DP master (CP5431)?
ANSWER: If the CP5431 doesn't accept a DP slave in the
data transfer and issues the message "Master Config Check
Fault", then …
Go to "Edit > I/O > DP Editor" and check the I/O data
lengths configured in COM NCM.
The slave needs a configuration from the master. The CP5431
cannot reconfigure a slave in the bus acceptance phase of the
Please refer here to the information on the topic "Reconfiguring a
DP slave via the Layer 2 access of the CP5431" in Entry ID:
QUESTION: Why when operating the CP 5613/5614 do you
sometimes get the message CP_STATE_EXCP_LIFE_COUNTER ?
The message can occur under the following conditions:
Different bus times of the stations connected:
Please make sure that all the active stations have identical bus
parameters. It might be necessary to switch to the "user-defined"
bus profile for this in order to change the Target Rotation Time
Faults on the bus (loose contact, EMC, ...). Please check the
mechanical configuration of the bus and the distance to the live
lines. You must also check the line length for the baud rate set.
More information on this is available in the PROFIBUS manual in
Entry ID 1971286.
Stations at the beginning or end of a segment which have
activated terminators must be supplied permanently with power. This
means that even with the PC switched off they have to be supplied
with power. If you cannot ensure this, you will have to use an
active RS485 bus terminating element (order number: 6ES7 972 0DA00
Always make sure to load the latest Service Packs for SIMATIC
NET CD and the drivers used – e.g. for the SIMATIC NET CD
SP 3 for CP 5613: Entry ID 8759663
SP 1 for SIMATIC NET CD 05/2000: Entry ID 8685141
If the problem continues, please send SIMATIC Support the file
EXCP_CP1.BIN, the PC configuration and the directory created with
the following tool as ZIP (see Entry ID: 19809395)
(as at 24.06.2002)
Why does an Exception Error (CP_STATE_EXCP_OPEN) occur?
Description: Exception Error "CP STATE EXCP OPEN"
The driver can no longer communicate with the card's firmware,
because of IRQ problems.
Remedy: This might be caused by the IRQ being lost. So
you can try to operate the CP on a different PCI slot.
The CP 5613 can share the IRQ with other devices ("shared
interrupts"), but this is probably not the case with other
components, like for instance Video Grabber and RAID
Controller, which occupy the interrupt for the slot.
The SIMATIC NET SW V 2.1 has been installed. This problem is
solved with Service Pack 3 for this version. Please refer here to
Entry ID 8759663.
SP1 for SIMATIC NET CD 05/2000 must also be installed. Please
refer here to Entry ID 8685141.
Why does an Exception Error (ADM_send_wrong_DatPtr) occur?
Description: An Exception Error
"ADM_send_wrong_DatPtr" occurs when:
In Windows an unexpected value is read out of the card's DPRAM,
because memory area collisions have occurred (check the memory
areas of your operating system).
A function has been activated via the PC BIOS, which checks the
RAM by writing random values and reading them out again. This
destroys the structure of the DPRAM and an Exception Error occurs.
The option in most BIOS systems is called "Memory Consistency
Check" or similar.
The CP is defective.
How can SIMATIC NET software communicate correctly with the CP 5511 in Windows 2000/XP?
Due to complications in the plug-and-play mechanisms of Windows 2000/XP it might happen that the CP 5511 cannot be correctly addressed by the SIMATIC NET software or by STEP 7 and NCM PC.
Furthermore, there might be unexpected resource conflicts for the operating system.
Using a tool (see download) you can explicitly define the resources of the CP 5511 to be used in order to avoid this weak point of the plug-and-play mechanism and thus get the CP 5511 to operate.
The CP 5511 communications processor needs its own interrupt and a free memory area in segment D of the computer. The card cannot share the resources with other hardware, as would be the case with PCI modules.
This tool is needed exclusively if you have hardware built into your computer whose drivers do not correctly inform the operating system which resources are occupied by this hardware and its drivers.
In such cases there might be double occupation of resources which then leads to the above-mentioned error scenario.
For more information please also refer to Entry ID 6721667
Start the CP5511INF.exe program.
Choose a free interrupt and memory range (D-Segment) for the CP 5511.
Preferably, set the memory range to 32 KB and Interrupt 5, 7, 10 or 11.
Which interrupt is free or available for the CP5511 can be viewed in: "Device Manager > View 'Ressources by type' > Interrups (IRQ)". Interrupts not listed here are available for the CP5511.
Close the program with "OK" to save the desired settings. If you close the program with "Cancel" the changes to the original settings are not saved.
Deinstall the CP 5511 via "Start > Settings > Control Panel > System > Hardware > Device Manager". There under the "SIMATIC NET" entry is the subitem "CP5511". Mark and right-click "CP5511". Go to "Deinstall...".
Reboot your computer.
Upon startup the operating system recognizes the card and installs the resources you have set.
Please verify that the CP 5511 is now installed with all ressources that are available. To do so, go to "Start > Settings > System > Hardware> Device Manager" and expand the view for "CP5511" by clicking on the "+" left of the entry "SIMATIC NET". Please doubleclick on this entry and you can view the properties for the CP5511. In the register "Ressources", the entry "D0000-DFFFF" (D-Segment) has to be entered in "Memory" and the chosen interrupt.
If the card still doesn't function, repeat steps 1 to 7 until you have assigned the CP 5511 a free resources area.
In the case of the approach described above, an error message may be output following a reboot:
If this error message occurs, don't insert any CD. Simply click OK and then, in the case of a German operating system, select -> Durchsuchen –> Programme –> Siemens –> Common –> S7SDD. Then select the driver c5511w2k.sys.
The path in an English operating system is -> Search –> Program Files –> Common Files –> Siemens –> S7SDD -> and then select the driver c5511w2k.sys.
Download: Copy the "CP5511INF.exe" file into a separate directory and then double-click the exe application.
This tool is only needed for the operating systems Windows 2000, Windows XP Professional and Windows 2000 Server. If you attempt to run it under other operating systems it closes with an error message.