Design and implementation of soft PLC development system

Zhiwei Liu · Modern Electronics Technique · 2012

The structure and function of the soft PLC development system is introduced.The design of editing module,compiler module and simulation module is discussed for the process from the ladder diagram editing to the object code generation.The ladder diagram editing interface and component library are built with Visual Studio 2005 to realize the functions of component call and ladder diagram editing.A binary tree is constituted according a certain rule and the characteristics of ladder diagram.The instruction list is achieved from the binary tree by postorder traversal algorithm.The instruction list is transformed to the simple target code through looking up conversion table.The simulation module is built to verify the correctness of the programming.

Read the paper · More papers on PaperTik