Multi-Level Analysis of IEC 61131-3 Languages to Detect Clones


HK, J., Jetley, R., Henskens, F., Paul, D., Wallis, M., SD, S. “Multi-Level Analysis of IEC 61131-3 Languages to Detect Clones”, International Journal of Computer Applications in Technology, October 2020.

Nowadays, automation can be assisted by using programmable logic controllers (PLCs). PLCs are typically programmed with IEC 61131-3 languages to automate and implement the applications. PLC program classification plays an important role in the identification of similar functionality, which can be considered as software clones. In this paper, we present work to identify clones in IEC 61131-3 languages, using an approach based on four different perspectives: (a) clone prediction: filtering based on heuristics; (b) structural analysis: detect syntactic code clones; © semantic analysis: analysis of output variable dependency and input variable impact usage to detect semantic clones; (d) variable interval analysis: analysis of each program variable intervals to examine and detect clones. Our approach is a combination of structural, semantic and data interval based analysis. As a result, our approach is feasible and yields good results in detecting clones on our test data.

  • research/ijcat2020.txt
  • Last modified: 2020-11-08 22:27
  • by david