03-09-2010 05:42 AM
Hi all.
I have created a program which communicates with the profibus CP5613 A2 and it works brilliantly.
But when i try to use the program with the CP5613 card it does not want to initialize.
What is the difference between the two cards and is the libraries different ?
What can i do to make my program work for both cards ?
Thanks in advance.
Solved! Go to Solution.
03-10-2010
12:34 PM
- last edited on
07-17-2025
09:56 AM
by
Content Cleaner
Shako,
You can perform a spy capture to get the commands that are being sent to the card https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHdrCAG&l=en-US . What errors are you getting from your program? Is this on the same machine or a different machine? You may be addressing the wrong card if on the same machine, or the drivers may not be present on a different machine.
03-11-2010 01:13 AM
Im getting an error when i try to initialise the card.
I am using the CP5613 A2 DP_BASE.LIB and its corrosponeding file to communicate.
The CP5613 is on a different machine.
I think the driver on that machine are correct because i am able to view the values been recieved via profi coach.
Is there any special files i need to communicate with the CP5613 or should the CP5613 A2 libraries be able to communicate with it ?
03-11-2010 04:05 AM
I would have thought that the fact it doesn't initialise is a clue that it needs a different library.
Have you tried asking Siemens?
03-11-2010 08:42 AM
I did try different libraries but to no success.
I did sovle the problem though.
The problem was old drivers.
I found drivers of the same version that i created the initial program with, for the CP5613 and it works like a charm.
Thanks for the help.