automated Production Systems (aPS) are highly complex, long-living mechatronic systems, which are usually programmed according to the standard IEC 61131-3. Control software development in aPS has to cope with challenges that sharply differ from classical high-level language programming, such as the assurance of maintainability for up to five decades or hard real-time requirements, e.g., to prevent damage to humans in case of a fault. In computer science, object-oriented programming is an established means to increase the reusability and maintainability of software. However, this approach is seldom used in IEC 61131-3-compliant control software, although the object-oriented extension of the standard (OO-IEC) has been available since 2013. Companies using OO-IEC generally benefit from a drastic reduction in the complexity of their control software. However, certain constellations of OO-IEC elements could lead to runtime problems, which is a crucial problem regarding the hard real-time requirements of aPS to guarantee safety and security. Therefore, this paper introduces two runtime metrics to detect runtime-critical control software parts as well as optimization potentials without executing the code or performing time measurements. Using an industrial example, we evaluated the metrics together with PLC experts of two companies, who confirmed the reliability and the advantages of the metrics.
«
automated Production Systems (aPS) are highly complex, long-living mechatronic systems, which are usually programmed according to the standard IEC 61131-3. Control software development in aPS has to cope with challenges that sharply differ from classical high-level language programming, such as the assurance of maintainability for up to five decades or hard real-time requirements, e.g., to prevent damage to humans in case of a fault. In computer science, object-oriented programming is an establi...
»