Abstract

This paper presents the development and validation of a custom MATLAB library, designed to facilitate seamless and efficient real‐time communication between the Siemens S7‐PLCSIM Advanced simulator and MATLAB/Simulink. The library uses Siemens.Simulation.Runtime.API to enable this integration and its architecture is structured into three classes—PLCSimAdv, PLCSR, and PLCSW. To demonstrate the library’s capabilities, we have chosen the validation parameters and conducted functional experiments including real‐time communication at the millisecond level, integration and control of a simulated industrial process, and simultaneous operation with multiple virtual controllers. One of the library’s preliminary conditions was to avoid the requests for regenerating of any version of control program or Simulink model as it is presently by S‐functions in TIA portal. The results suggest that the proposed library provides a robust tool for various applications in industrial automation, from the digital twin modelling or simulation of advanced technologies to the operation of traditional control systems. This work has the potential to significantly streamline the simulation, control, and validation of automated processes and opens new ways for research and development in automation and control systems.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.