Abstract
Programmable Logic Controller (PLC) plays a more and more important role in the field of industry. To deal with the heterogeneity of manufacture-dependent programming languages, IEC 61131-3 international standard has promoted the PLC openness to developing. In this paper, we present a proposal to implement the IEC 61131-3 standard in a PLC virtual machine (VM), which is a new kind of high-level language VM and takes Instruction List (IL) as the intermediate code. We discuss the syntax and semantics of IL, and show the design architecture for the emulation engine using both interpretation and translation methods. The PLC VM enables developers to rapidly porting an IEC-61131-3 application onto different platforms. We have implemented the PLC VM on a C51 based embedded PLC platform.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
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.