Ladder Program Debugging with Automated Connection State Highlighting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Debugging and fault investigation in ladder programs are inefficient due to the need for users to visually trace through program elements in a ladder diagram to identify electrical connections and disconnections.

Innovation Solution

A program creation support apparatus that displays a ladder diagram and automatically determines the electrical connection state of each program element, allowing users to select an element and visually highlight causal elements causing electrical connections or disconnections, thereby streamlining the debugging process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If users visually trace through program elements in a ladder diagram to identify electrical connections, then they can debug the program, but the debugging process is inefficient and time-consuming

Engineering Contradiction:
Improvedebugging efficiencyVSAvoidtime required for fault investigation
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent replaces the manual visual tracing method with an automated computer-based system that calculates and determines electrical connection states. The processor automatically traces the ladder program execution and identifies connection states without requiring manual visual inspection by the user.

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

Solution Approach 2:

The patent introduces an intermediary display interface that shows the electrical connection state between program elements. This intermediary visual indicator acts as a mediator between the complex ladder program logic and the user, providing direct information about connection states without requiring the user to manually trace through the program.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If users manually trace through each program element to identify causal elements, then they can find the root cause, but the process requires significant user effort and time

Engineering Contradiction:
Improveease of fault investigationVSAvoidtime to identify causal elements
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent replaces the manual effort of tracing through program elements with an automated computer-based system. The processor automatically executes the ladder program, determines electrical connection states for each program element, and identifies causal elements without requiring manual user effort.

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

Solution Approach 2:

The system performs self-service by automatically determining its own electrical connection states and identifying causal elements. The computer-based system independently traces through the ladder program logic and generates the connection state information without requiring external manual intervention.

Inventive Principle:
Principle #25Self-service

3Loss of information

If the system displays detailed electrical connection states for all program elements, then debugging information is complete, but the display complexity increases

Engineering Contradiction:
Improvecompleteness of debugging informationVSAvoiddisplay complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent extracts only the essential debugging information - the electrical connection state between program elements - and displays it separately from the full ladder diagram. This extraction approach provides complete debugging information about connection states without overwhelming the user with all possible program details.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies local quality by providing detailed electrical connection state information specifically at relevant program element locations in the ladder diagram. Rather than uniformly displaying all information throughout, the system selectively highlights connection states at specific locations where they are most useful for debugging.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS10838390B2Program creation support apparatus, control method for program creation support apparatus, and control program for program creation support apparatus
Publication Date: 2020.11.17 OMRON CORP
  • US10838390B2 patent drawing
  • US10838390B2 patent drawing
  • US10838390B2 patent drawing

AI summary

A controller of a PC displays program elements of a ladder program and an electrical connection state thereof on a display, detects an instruction designating a first program element, determines whether the first program element is in an electrically connected state or an electrically disconnected state, specifies one or more causal elements according to whether the first program element is in an electrically connected state or an electrically disconnected state, and displays the specified one or more causal elements on the display in a state discernible from other program elements.