Technical Forum

Communication / Networks

Profibus CP 5623 Problem

Erstellt von Shaka786 am 16.05.2012 12:55 (5 Antworten)

« Vorheriges Thema Nächstes Thema »
Seite 1 von 1 (6 Objekte)
  16.05.2012, 12:55
Beigetreten am: 16.05.2012
Letzter Besuch: 16.04.2013
Beiträge: 9
Bewertung:
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Hi 

I wrote an application which uses the 5613A2 to communicate to an anybus profibus.
I recently bought a CP 5623 and the documentation said that the this card is compatible with the functions used for the CP 5613 A2. eg DP_start_cp ,DP_reset_cp.

The problem is that when i call DP_reset_cp i get this error: 
" Error(3041h) Action only surpported by the CP5613/CP5614! -> <Set PG/PC Interface> "

If i call DP_start_cp i get this error :
" Error(3032h)Start Temporary Disabled"

Im dont know why this is happening.
I set "CP_L2_1" useing Set PG/PC Interface to the CP5623 (Active).
I am using the Library that came with the CP5623..
I installed the driver for the CP5623.

Can someone please help me ?
Does anyone else seen or had this same problem?
Top
  18.05.2012, 08:31
Beigetreten am: 16.05.2012
Letzter Besuch: 16.04.2013
Beiträge: 9
Bewertung:
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
I found out that i was using an older version of the CP5613 library thats why i was getting that error.
The problem now that im using the newer version of the library.
I get a Visual C++ runtime error R6030 CRT not initialised.

Im using windows XP + SP3 and the Simatic Net PC Software Edition 2008 + SP4 CD.
This is a weird error and i dont know how to solve it.

Can someone please help me?
I need to get this working as soon as possible.

Top
  18.05.2012, 11:25
Beigetreten am: 03.09.2007
Letzter Besuch: 06.05.2013
Beiträge: 224
Bewertung:
Bewertung: Herausragend [3,25 von 5 / 4 mal bewertet]. (4) 
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Try to uninstall the CP5623, and then re-install again it's driver. Check the following:

Regards,
KayBee

Top
  18.05.2012, 14:16
Beigetreten am: 22.12.2006
Letzter Besuch: 18.05.2013
Beiträge: 1295
Bewertung:
Bewertung: Exzellent [4,01 von 5 / 151 mal bewertet]. (151) 
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Hello,
I did a such on Internet. Seems to be a common error coming up in a lot of situations.
In my opnion the error is not related to Simatic Net.
It is a general Visual C issue, more specific a Linker setting that is not correct.
Look here:  C Run-Time Error R6030
http://msdn.microsoft.com/en-us/library/9ecfyw6c(v=vs.80).aspx


Verify the linker options of your project.

Hope it helps.

Best regards
jklm

Suggestion was helpful? Thanks to rate it.
Top
  21.05.2012, 10:34
Beigetreten am: 16.05.2012
Letzter Besuch: 16.04.2013
Beiträge: 9
Bewertung:
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
All links to my program seem to be correct.
The older library which i used for the CP 5613 works like a dream.
The moment i tried to use the newer library for the CP 5623 i started getting this errors.
The MSDN is not much help becasue i do not have the source code for the library.
Top
  22.05.2012, 11:13
Beigetreten am: 16.05.2012
Letzter Besuch: 16.04.2013
Beiträge: 9
Bewertung:
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
Bewertung: keine [0 von 5 / 0 mal bewertet]. (0) 
More information.
I found out where the problem mite be but im not sure how to fix it.
I login via a domain and that seems to make the CP 5623 library through the error.

I found this out by loging in locally and everything works as surppose to.
Im not sure why this is.

Does anyone know how to fix this problem?
Top
Seite 1 von 1 (6 Objekte)
Aktionen