-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support to siemens CP1626 #14
Comments
Hello, we are currently working on an university project, that is using the siemens CP 1626 Profinet PCIe in order to enable a Profinet communication between our IPC and the S7-1500 PLC. You have mentioned that you have found some differences between the IO Device part of the CP 1616 and the CP 1626. May you please share your CP 1626 related code. It will be a great assistance for our project. Thank you very much |
Hi, those days I have used the CP1626 as IO controller, ported the package to be a HW interface for ROS_CONTROL and did not continue to finalize the IO device side. You can find my repo here. I have made just a bug fix on initialization for IO controller. |
Hi, thank you very much for your prompt reply. So what I have understood is that one has to use the codes of the CP 1616 also for the CP 1626, is it correct? |
You are right. You can use this package also with CP1626. I have prepared one Kernel with the new drivers already patched and installed. You can find it in this branch. |
Hello, This would hopefully help us solve our issues for now. Thank you very much for your help and taking your time to reply to us. |
Hello, After being able to access the ubuntu 16.04, I figured out as you mention that we have a network problem (no LAN, no WLAN). Cheers |
Hi Prasanth, Be careful to switch the branch after cloning to feature-branch-cp1626 |
Hi @farshbafdoustar thank you very much for the information you have provided, this was really helpful. Thank you again for your time and Consideration !! |
Hi @prasanthRJ7 and @WaelTouzri , Nice to hear that the information helped. Normally TIA portal filters the Catalog of available devices based on what is already selected inside the topology view. So disable the Filter check box. CP1626 DevKit should be found in the following location in catalog tree (beside the other cards like CP1616): You can also Update your TIA portal via Totally Integrated Automation UPDATER inside the Siemens Automation(Program Files Menu). Inside the updater select also the supported Packages and install all of them when approprate. |
Hi, Thank you for taking your time and explaining to us in much clear way and we solved the previous issue. But I am still having the issue of not able to connect to the internet. I tried wih open suse 13.2 kernel version 3.16 and ubuntu 16.06 with the kernel version which you provide above 4.4.32 apollo but still the issue is same. After installing the OS the network driver is not working. Could you please help me out here and if possible can you please provide me the for procedure for 4.9.178 that has a PREEMPT_RT patch(4.9.178-rt131) for installing which you said your currently using it successfully for communication between cp 1626 and ros which might be really helpful for us as well. If its okay with you can I contact you via e-mail? if please provide me the same here. looking forward to hear from you soon. Regards, |
Hallo, I have a update to my previous post. We can now connect to the internet and able to login without any issue in the Suse Linux 13.2. But for installing the cp 1626 driver we are facing the issue after the make file command I attached the picture that shows the error which we are facing currently. Can you please provide some insights to them. It would be really helpful. Looking forward to your response. |
Hi Prasnth, Best |
Hallo farshbafdoustar, Thanks for your reply and sorry for late reply. Unfortunately, Due to time constraints we used open suse to solve the issue but thank you once again foryour guidance thought to let you know and thanks for helping us by taking your time and replying to our doubts. But Saying that we might still need your guidance:) for connecting cp 1626 via development kit to establish connect communication between them. And we would like to know how you managed to connect cp card IO base library (C++ language) and the python? |
I'm working on a project with cp1626 to drive different modules based on Profinet. I have found out that the main API from Siemens side (that is based on IO-Base PN Library) is the same for most of the CP boards. For example in comparision of CP1616 and CP1626, I have found some differences in IO Device side but the IO Controller is more or less the same.
As I want to contribute to ROS industrial Profinet packages, the question is how to share my code. Should we have another project for cp_1626 inside siemens_experimental or making the current cp_1626 generic to support more Siemens CP boards.
On one side, making it generic has some advantages for the future integration and applications but on the other side it needs more work for testing on different CP boards (Time requirements and avalability of the boards to test)
Any body has any idea how to proceed ?
Thanks in advance
The text was updated successfully, but these errors were encountered: