A Method For Converting PLC Instruction List Into Ladder Diagram
Yongchao Zhao, Baozhong Ke · 2018 IEEE 4th Information Technology and Mechatronics Engineering Conference (ITOEC) · 2018
By studying the data structure of the ladder diagram and instruction list sentence that can be followed by multiple operands logic, the transformation rules of PLC instruction table into trapezoidal graph were summarized. The instruction table statement adopts a bottom-up, first left and right sequential scanning method to convert the instruction list into a binary tree structure, and then performs the in order traversal on the obtained binary tree to obtain a ladder structure. By converting the test series-parallel configuration command table statement prove the correctness of the algorithm.