A compiler design for IEC 1131-3 standard languages of programmable logic controllers
Hyung Seok Kim, Jae Young Lee, Wook Hyun Кwon · 2003
This paper proposes a compiler design for IEC 1131-3 standard languages of PLCs (programmable logic controllers). It describes the structure of the front end of the compiler and the optimization phase of the intermediate representation of the back end. The paper also proposes optimization methods using several characteristics of the PLC. A software-based optimization uses the flow of the program and a hardware-based optimization is implemented by a programmable logic device to accelerate the logical operations that are most part of the PLC instructions. A benchmark test shows the proposed compiler speeds up the execution of the PLC.