Sequence Program Debugging With Corrected Variable Dependencies

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional debugging techniques for sequence programs in control devices require manual extraction of dependency relations between variables in different process blocks, leading to reduced efficiency in identifying bugs, especially when issues in one device affect another.

Innovation Solution

A debug support program that automatically extracts and corrects dependency relations by analyzing log information, presenting a corrected extraction result to improve debugging efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If manual extraction of dependency relations between variables in different process blocks is performed, then accuracy of dependency relation extraction can be maintained, but debugging efficiency deteriorates due to time-consuming manual work

Engineering Contradiction:
Improveaccuracy of dependency relation extractionVSAvoiddebugging efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system automatically extracts dependency relations between variables using log information and program analysis, enabling the debugging tool to serve itself without manual intervention. The computer executes automated steps to collect log information, analyze variable dependencies, and present extraction results, replacing manual extraction work while maintaining accuracy through systematic analysis of actual runtime data.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The manual mechanical process of extracting dependency relations is replaced by an automated computer-based system that uses log information and program text analysis. The system substitutes human analysts with algorithmic processing that automatically identifies variable dependencies by analyzing log data and program structure, significantly improving debugging efficiency while maintaining extraction accuracy.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Productivity

If automated extraction of dependency relations is implemented, then debugging efficiency improves, but accuracy may deteriorate due to automated analysis errors

Engineering Contradiction:
Improvedebugging efficiencyVSAvoidaccuracy of dependency relation extraction
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The system uses log information collected from actual program execution as feedback to verify and refine dependency relation extractions. By comparing automated extraction results against real runtime behavior recorded in logs, the system can validate its findings and correct errors, ensuring high accuracy while maintaining automated efficiency.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary collection and analysis of log information before finalizing dependency relation extractions. By pre-processing log data and program text to identify potential dependencies, then validating these against actual execution patterns, the system ensures accurate results while maintaining automated efficiency through structured preliminary analysis steps.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11797420B2Debug support program storage medium, debug support apparatus, and debug support method
Publication Date: 2023.10.24 MITSUBISHI ELECTRIC CORP
  • US11797420B2 patent drawing
  • US11797420B2 patent drawing
  • US11797420B2 patent drawing

AI summary

A debug support program causes a computer to execute a step of extracting a set of variables having a dependency relation from a plurality of variables written in a plurality of process blocks that are included in a sequence program and each describe a process per device, that is to say, a process per slave device; a step of collecting log information recording information regarding input of a value to each of the plurality of variables written in the process blocks; a step of correcting an extraction result regarding the dependency relation on the basis of contents of the collected log information; and a step of presenting a corrected extraction result.