FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
a month ago - last edited a month ago
Hi everyone,
I am testing to connect the ctrlX CORE X3 (as PROFINET Controller) to the Siemens PLC S7-1200 (as PROFINET Device). A customer of mine wants to collect the data from the S7, then synchronize it to the datalayer on ctrlX.
I have completed the following steps:
1. Installed all the required add-ins on my ctrlX CORE (Ubuntu Core 22).
2. Defined the IPs for both devices as the following: ctrlX CORE (XF10: 192.168.0.123) and S7-1200 (192.168.0.133). Both devices are wired through a switch with IP: 192.168.0.100.
3. Install the GSD file of the S7 into the ctrlX's device repository.
On the ctrlX CORE, I have setup the PROFINET Device through Codesys as the following. At this step, my ctrlX CORE has been able to scan the PLC S7-1200 and "Copy to the project" that device.
:
However, when I compiled the PLC program and login the ctrlX CORE, it could not make a connection with the S7 and kept showing the error "DB814006 - Connect Parameter Error". From the S7 side, the PLC blinked Red as it could not connect to the ctrlX yet.
I want to ask for support and suggestions what should I do/check/modify to be able to create a successful connection between the 2 devices.
I am new to ctrlX CORE, so I deeply appreciate your support a lot. Please just let me know if I should provide any more information.
Thank you first!
Solved! Go to Solution.
a month ago
Hello !
you mention the connection to the S7-device via a switch connected on XF10.
How to you run the engineering. Do you mind to shift it to XF51 for testing? Does the switch suits PN ?
Can you present the log-register-info of the codesys PNController site. IP Seting and Naming is already done?
I will leave you a note for the exchange in case not all info is supposed to be spread.
I will be able to setup a test connection with a S7 on monday.
Please check your notes.
4 weeks ago
Hi CodeWasi,
Thank you for your responses. It took me the last few days to collect again all the steps that I have done for this project. Please have a look at the PDF attached, I have provided all the important info about my setup, devices, licenses, and software/firmware in the slide, so you can have a clearer context. I also conclude all my past testing/debugging on the last page.
I am testing it without any sensitive data, so if you need any more information, just let me know, ok? I am trying other ways, so it would be great if you test with a S7 on your side. Please let me know if there is any news.
Thank you!
3 weeks ago - last edited 3 weeks ago
Hello Milo112.
We have the suggestion, to set the priority of the PROFINET IO task to 1 or 0, otherwise it will most likely never get stable communication.
Also, the whole logger (Seen in the pdf) is full of “Check Firewall...” messages.
So, apparently the UDP communication is not getting through.
For a more detailed analysis we need a Wireshark capture (either locally on the Control X, or with TAP or switch with port mirroring enabled).
3 weeks ago
3 weeks ago
Hi guys,