Algorithm Research of Transformation 5rom Ladder Diagram to Instruction List for PLC
Shili Peng · Microcomputer applications · 2011
Based on the idea of oriented-object,an algorithm of transformation from ladder diagram to instruction list for PLC is presented.Traditional topological sort algorithm applied in the transformation does not always provide the correct instruction list when the structure of the ladder diagram is complex.The new algorithm overcomes the flaw and enhances the function of checking the logical faults in the ladder diagram.The algorithm has been applied to editing software of industrial PLC,and realized the translation between ladder diagram and instruction table successfully.