PROFINET: Connect ctrlX CORE X3 to PLC S7-1200

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!

Best reply by Milo112

Hi guys, 

It is great to receive news from you. I have just tested the setup a different way again and it works. I connect to the ctrlX through XF10 (192.168.1.133) for engineering and connect the ctrlX with S7 through XF51 (192.168.2.144), without any router or switch in between.  
 
I believe my Office Switch has some protocols that limit the connection since it is also a Wi-Fi router. One main thing is that I must set up different IP layers for the XF10 (192.168.1.133) and XF51 (192.168.2.144). I configure them as 192.168.2.XXX before, so there must be some conflicts.
 
However, it is strange since my colleague uses the same setup with the same model of the switch, and it works while the 2 devices are connected to it. I will check again whether which settings on the switch I should change or modify.
 
Thank you so much for your time and support. 
 
Best regards,
Thinh
View original
ctrlX Setup.png
6.05KB
5 replies