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.
10-19-2023 08:11 AM
Hello,
I would like to connect ctrlX Core-M-X3 to Siemens PLC via Profinet.
I know that there is Profinet Device App and there is even short tutorial where XF23/XF24 ports are used - LINK
But is it possible to use those ports with Codesys Profinet Device in ctrlX PLC Engineering? I added the Ethernet adapter there and then the Profinet Device and I wanted to chose network interface and I could not pick the XF23/XF24 ports.
Is it possible to have ctrlX Core as Profinet Device with Codesys add-on? Is there any tutorial how to do it?
Best regards, Filip
Solved! Go to Solution.
10-19-2023 02:46 PM
There is an example for the usage of the Codesys Profinet Device library available with an XM22 as controller:
PROFINET - Connect ctrlX CORE plus X3 with IndraControl XM21
You can always check the Collection of how to videos, blogs and examples for ctrlX AUTOMATION as there are even more examples.
10-20-2023 08:40 AM
Thank you for links.
There is only one thing - for ctrlX Core-M as Profinet Device you are using Profinet Device App installed on Core and ports XF23 and XF24. I also did it and it is working, the Profinet communication was established and everything was looking good.
But is it possible to use ports XF23 and XF24 with CODESYS Profinet Device in PLC Engineering? I was not able to establish the communication because I could not chose those ports in the Network Interface in Ethernet Adapter.
In my situation my ctrlX Core needs to be Profinet Master and Profinet Slave at the same time (and also EtherCAT Master, but that's not the problem I think). As I said above, Profinet Slave was working correctly with the installed App. I didn't check Core as the Master at the same time with CODESYS yet, I need to check it. But it will look a bit weird - one connection will be made by Profinet Device App and the second by CODESYS Profinet Controller. Both of this connections should be possible only with CODESYS with separate Ethernet Adapters in my opinion, so that whole Profinet configuration could be made in one software.
10-26-2023 02:51 PM
The Profinet Device on XF23 and XF24 is a dedicated Profinet Stack, the CodeSys Softstack cannot be assinged to this interface.
To use data from the XF23 and XF24 Profinet Device, you have to add via Data Layer Realtime within the PLC. You can add the Data Layer nodes and exchange data via this way easily.
Hope this answer your doubts.
10-27-2023 02:48 PM
Okey, to sum up.
In CtrlX Core-M-X3:
- for Profinet Master XF51 (or XF10) port has to be used with CODESYS Ethernet Adapter with Profinet Controller
- for Profinet Slave XF23 and XF24 has to be used with Profinet Device App and access variables via DataLayer node in PLC (I checked it and it is working very good).
Thank you for your replies 🙂