Method for compiling from ladder diagram to statement list
A compiling method and technology of ladder diagram, which is applied in the field of compiling from ladder diagram to statement list, can solve the problems of not intuitive enough, troublesome, low efficiency of code generation, etc., and achieve the effect of easy embedding, high code efficiency and less code
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0022] Such as figure 1 The function of the ladder diagram shown can be described by the following set of logical expressions:
[0023] a) If((A*(B*C+D*E+H)*G*H) then ADD;
[0024] b) If((A*(B*C+D*E+H)*G*(I+J*K)) then SUB;
[0025] c) If((A*(B*C+D*E+H)*G) then MUL,
[0026] A method for compiling from a ladder diagram to a statement list, the specific steps are as follows:
[0027] 1. Generate the topology diagram corresponding to the ladder diagram: According to the position coordinates of the components in the ladder diagram, the connection relationship between the components can be established, so as to establish the corresponding topology diagram, in which each contact is expressed as a path (Path) , the functional element is expressed as a leaf (Leaf), and the pseudocode for generating the topology map is:
[0028] for(i=0;i
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com