The contemporary adoption of Cyber-Physical Systems and improvements in robotic applications in industrial scenarios demands for horizontal integration mechanisms with already existing automation equipment, controlled by PLCs. This paper aims to shorten the gap between the automation and robotics domain, by proposing an Interprocess Communication method to establish interoperability between robotic systems and automation equipment in a reliable and straightforward manner. In particular, this paper introduces a novel approach for linking ROS and IEC 61131-3 by way of shared memory interfaces, enabling and promoting their interactions. Moreover, this paper addresses the applied synchronization mechanism for handling concurrent accesses to the shared memory location, explores data type mapping between ROS and IEC 61131-3, and identifies some practical industrial applications.