A method, apparatus, and electronic device for compiling ladder diagram programs.

CN122308818APending Publication Date: 2026-06-30HANGZHOU SHITENG TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HANGZHOU SHITENG TECH CO LTD
Filing Date
2026-04-20
Publication Date
2026-06-30

AI Technical Summary

Technical Problem

In the existing technology, the compilation process of ladder diagram programs is complex and the compilation efficiency is low, resulting in poor performance of programmable logic controllers (PLCs).

Method used

The ladder diagram program uses a dictionary structure to store the component information, including identification code, coordinate information and logical attribute information, and compiles them in logical order.

Benefits of technology

It improves the compilation efficiency of ladder diagram programs and enhances the performance of PLCs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122308818A_ABST
    Figure CN122308818A_ABST
Patent Text Reader

Abstract

This invention discloses a method, apparatus, and electronic device for compiling ladder diagram programs. The method includes: first, responding to a user's placement operation of ladder diagram elements in the editing interface to obtain an information set for each ladder diagram element in the program. The information set includes identification codes for several ladder diagram elements, and at least coordinate information and / or logical attribute information for several elements. Then, the information set is stored in a dictionary structure to obtain a target dictionary. Finally, based on the information stored in the target dictionary, the ladder diagram elements in the program are compiled in logical order to obtain the statement information corresponding to each ladder diagram element, thus completing the compilation of the ladder diagram program. By using a dictionary structure to store data, the compilation and interpretation time of the ladder diagram can be shortened due to the high efficiency of dictionary lookups, thereby improving the compilation efficiency of the ladder diagram program.
Need to check novelty before this filing date? Find Prior Art