Ladder Program Analysis for Execution Efficiency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing ladder programs face challenges in determining and improving execution efficiency due to complex signal relationships, making it difficult for users to identify and correct inefficient circuit orders, especially in larger programs with subprograms.
Innovation Solution
A ladder program analyzing device that creates an execution priority signal table correlating execution priorities, reference signals, and update signals, allowing for the identification and display of inefficient circuits, and optionally sorting them for improved efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If ladder circuits are arranged in a poor execution efficiency order, then the ladder program can be written more easily, but the execution efficiency deteriorates and update time increases
Solution Approach 1:
The invention provides automatic analysis feedback by executing the ladder program, sampling updated signals, and determining whether signal updates occur at intentional timings. This feedback mechanism informs users about execution efficiency issues without requiring manual analysis, thus resolving the contradiction between ease of programming and execution efficiency.
Solution Approach 2:
The invention introduces an intermediary analysis device that acts as a mediator between the ladder program and the user. This device automatically analyzes execution efficiency by examining signal relationships and provides recommendations, eliminating the need for users to manually analyze complex signal relationships while maintaining ease of programming.
2Adaptability or versatility
If the ladder program is made larger and structuralized with subprograms, then the program becomes more manageable, but understanding reference relationships between signals becomes difficult
Solution Approach 1:
The analysis device automatically traces signal relationships across subprogram boundaries by executing the program and sampling updated signals. This feedback mechanism reveals reference relationships between signals regardless of program structure complexity, making it easy to understand signal flows in large structuralized programs.
3Productivity
If manual analysis is performed to find inefficient ladder circuits, then execution efficiency can be improved, but the process requires significant time and effort
Solution Approach 1:
The invention implements self-service by enabling the ladder program to analyze itself. The analysis device executes the program, samples updated signals, and automatically determines inefficiencies without requiring manual intervention. This self-analysis capability resolves the contradiction by achieving execution efficiency improvement without time-consuming manual analysis.
Solution Approach 2:
The automatic feedback mechanism provides immediate information about execution efficiency issues by analyzing signal updates during program execution. This eliminates the need for time-consuming manual analysis while maintaining the ability to improve execution efficiency.
Data Source
AI summary
A ladder program analyzing device that can present information for improving execution efficiency of a ladder program includes a ladder program analyzing unit and a ladder program analysis result displaying unit. The ladder program analyzing unit analyzes a ladder program including a plurality of ladder circuits and prepares an execution priority signal table in which execution priorities of the ladder circuits, reference signals indicating signals input to the ladder circuits, and update signals indicating signals output from the ladder circuits are correlated with each other. The ladder program analysis result displaying unit determines presence or absence of the ladder circuit improvable in execution efficiency by comparing the execution priorities, the reference signals, and the update signals of two of the ladder circuits on the basis of the execution priority signal table and displays the determination result.


