Let's simulate a simple project: ROS 2 sends a target speed to a CODESYS motor controller.
By letting CODESYS handle the hardware and fieldbus complexity while ROS 2 focuses on perception, planning, and high‑level coordination, developers can build systems that are both and smart . As Industry 4.0 and smart manufacturing continue to evolve, the synergy between PLCs and robot operating systems will become not just an option, but a necessity.