Hey there,
Depends on what you need. The CP card from the GitHub above is one way to do it with Profinet.
Depending on the PLC you are using you could use..: Modbus, TCP/IP, OPC UA, S7-Connect, MQTT,.. just to name a few.
But your requirement is really the key factor.
Do you just want to toggle some „fancy“ lights or things that are not super time critical..? Or do you want to stream sensor data or even control I.e. an AGV with the SIMATIC SIMOVE Library..?
If so, you would probably need an cmd_vel / odom Interface, that just talks with the PLC.
Or do you want to control a robot arm of 8 different well known vendors with the standardized SIMATIC Robot library? In that case you might need a different applicative interface.
All of this is feasible, we just need to learn more about your requirement.
Please specify your concrete need, so we can help you better.
In the meantime I‘m searching for a better contact touchpoint at Siemens for such kind of questions. Do you already have a Siemens Sales representative to contact? If so, he can contact the DI FA S SUP SVS department with the reference to this question.
Thank you and looking forward in hearing back from you!
Your friendly SIMATIC System Support :)
Take a look at these tutorials: https://github.com/ros-industrial/sie... There is lots of info under ROS Industrial. Hope that helps.
Thanks osilva,
But , I want to use Siemens S7-1200 PLC to connect with my ROS system using TCP/IP or any other preferred communication protocols.
To Control some done stream automations and stream data from sensors.