Translation Module Unifies G Code and PLC Control

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current machine control systems face limitations in programming flexibility and efficiency due to the restrictive nature of languages like G code for motion control and IEC 61131-3 for programmable logic controllers, leading to resource-intensive and slow program execution, especially when combining motion control and process control.

Innovation Solution

A translation module that processes input program code from multiple languages, such as G code and structured text, to create a uniform intermediate representation, allowing for the combination of language elements and enabling efficient execution by combining imperative and high-level language features.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If G code is used for motion control programming, then motion control capability is achieved, but programming flexibility and language scope are limited

Engineering Contradiction:
Improveprogramming flexibilityVSAvoidlanguage scope limitation
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent combines G code and PLC programming languages into a single integrated control program. The translation module enables both programming paradigms to coexist and interact within one control system, allowing motion control instructions (G code) to be merged with process control logic (PLC language) in a unified program structure, thereby achieving both motion control capability and enhanced programming flexibility

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The control system is designed to accept and process multiple programming language types (G code and PLC language) through a universal translation module. This module can translate different language types into a common internal representation, making the system capable of handling diverse programming requirements through a single multi-functional interface

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Adaptability or versatility

If PLC language is used for process control, then process control capability is achieved, but resource consumption increases and execution speed decreases

Engineering Contradiction:
Improveprocess control capabilityVSAvoidprogram execution speed
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The translation module performs preliminary translation of PLC language instructions into an optimized intermediate representation before execution. By pre-translating and pre-optimizing the control program, the system prepares the instructions in advance for efficient execution, reducing the computational burden during runtime and improving overall execution speed while maintaining process control capability

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The translation module acts as an intermediary between the PLC programming language and the control system's execution environment. It translates high-level PLC instructions into optimized machine code or intermediate representation, mediating between the user-friendly PLC language and the resource-constrained execution environment, thereby enabling efficient execution of process control logic

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If concurrent execution of NC control and PLC is implemented, then control functionality is enhanced, but communication overhead increases and execution slows down

Engineering Contradiction:
Improvecontrol functionalityVSAvoidprogram execution time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent merges NC control and PLC control into a single concurrent execution model where both control functions operate within the same control program. The translation module enables G code motion control instructions and PLC process control instructions to be integrated and executed concurrently without requiring separate communication interfaces, reducing communication overhead and improving execution efficiency

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS10732608B2Translation module, processing module and control system
Publication Date: 2020.08.04 BECKHOFF AUTOMATION GMBH
  • US10732608B2 patent drawing
  • US10732608B2 patent drawing
  • US10732608B2 patent drawing

AI summary

A transmission module for a machine control is designed to process an input program code of a control program, and based thereon, to generate a uniform intermediate code having work instructions for execution by the machine control. The input program code comprises a first program code component and a second program code component, where the first program code component is written in a first programming language and the second program code component is written in a second programming language. The work instructions of the intermediate code comprise a first work instruction and a second work instruction, where the first work instruction is generated on the basis of the first program code component and the second work instruction is generated on the basis of the second program code component.