IP Library Granted Patent US 12,254,292
Granted Patent B2
US 12,254,292 · App. 18/313,490 · Granted Mar 18, 2025

Engineering station and method for diagnosing a user program

Inventors: Kai Gäbel (Chemnitz, DE); Wolfgang Horn (Hohenstein-Ernstthal, DE); Piotr Jarosz (Chemnitz, DE); Thomas Scherf (Lichtenau, DE); Sven Schneider (Chemnitz, DE)
Assignee: Siemens Aktiengesellschaft
G06F8/34G06F8/33
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,254,292
App. No.
18/313,490
Granted
Mar 18, 2025
Kind
B2
Abstract

A method for diagnosing a user program for controlling movement and positioning tasks of drives operated to execute a movement path of an apparatus, wherein the apparatus and movement path are depicted as a three-dimensional view in a first output element, to depict the movement path, a graphic element formed as a polygonal chain is generated for movement sections, which is operated in a force sensitive manner so that a user can select a location on the polygonal chain with a pointer device and obtain a display of an output field with a line of code that has the program instruction that is responsible through the execution for reaching the location within the movement section of the apparatus or position vector, and a recording method was performed in which the current position vector and the associated line of code or a code line index are recorded at sampling time points.

Claims (36)

1. A method for diagnosing a user program for controlling movement and positioning tasks of a plurality of drives which are operated to execute a movement path of an apparatus, the user program triggering individual movement sections of the apparatus by executing program instructions (Bi) which are implemented as lines of code in a text-based program editor, and a movement path of the apparatus and apparatus being depicted as a three-dimensional view in a first output element, the method comprising:

executing the user program, a position vector of the movement path and a code line index of the line of code being executed at a sampling time point and recorded in a time-discrete manner at sampling time points;

entering the position vector and the code line index as a pair of values in an assignment table at respective sampling time points;

generating a graphic element as a polygonal chain for the individual movement sections to depict the movement path, the graphic element being linked to the assignment table and the polygonal chain being superimposed on the first output element to depict the movement path; and

operating the generated graphic element in a force sensitive manner such that a user selects a location with a pointer device on the polygonal chain and obtains a display of an output field with a line of code;

wherein the displayed line of code has a program instruction which is responsible through the execution for reaching the selected location within the movement section of the apparatus or the position vector.

2. The method as claimed in claim 1 , wherein a tool center point of the apparatus with an x-coordinate and a y-coordinate for two-dimensional kinematics or an x-coordinate, a y-coordinate a z-coordinate for three-dimensional kinematics is used as a position vector.

3. The method as claimed in claim 1 , further comprising:

depicting a path-time diagram of the apparatus in a second output element, the path-time diagram being operated in a force sensitive manner such that the user selects a time point with a pointer device and obtains a display of a further output field with a line of code;

wherein the displayed line of code has the program instruction, which is responsible through the execution at this time point.

4. The method as claimed in claim 2 , further comprising:

depicting a path-time diagram of the apparatus in a second output element, the path-time diagram being operated in a force sensitive manner such that the user selects a time point with a pointer device and obtains a display of a further output field with a line of code;

wherein the displayed line of code has the program instruction, which is responsible through the execution at this time point.

5. The method as claimed in claim 1 , wherein the program editor is operated in a step mode based on recordings in the assignment table and a single program instruction is executed by manual input and the movement section associated with this program instruction is visually highlighted in the polygonal chain.

6. The method as claimed in claim 1 , wherein the program editor and the first output element for the three-dimensional view interact with one another such that the selection of a location by the user on the polygonal chain with a pointer device causes the program editor to be switched into focus and the line of code, corresponding to the movement section of the selected location to be visually highlighted; and

wherein the corresponding program instruction in the visually highlighted line of code is again visually highlighted in a different way.

7. The method as claimed in claim 1 , wherein a simulation of the user program is performed based on a recording in the assignment table and the user tests the movement path with the three-dimensional view in the first output element without any hardware which actually exists being present.

8. An engineering-station for diagnosing a user program for controlling movement and positioning tasks of a plurality of drives which are operated to execute a movement path of an apparatus, the engineering-station comprising

a text-based program editor; and

a first output element configured to depict the apparatus and the movement path of the apparatus as a three-dimensional view;

wherein the user program includes lines of code with program instructions which trigger movement sections of the apparatus via an automation component;

an execution device which is configured to execute the user program and to record in a time-discrete manner at sampling time points, a position vector of the movement path ( 1 ) and a code line index of the line of code executed at a sampling time point in an assignment table as a pair of values;

wherein the first output element is further configured to depict the movement path as a graphic element formed as a polygonal chain for the movement sections, the graphic element being operable in a force sensitive manner such that a user selects a location on the polygonal chain with a pointer device and displays an output field with a line of code, the graphic element having a link to the assignment table and being further configured to display the line of code having a program instruction responsible for reaching the apparatus of the movement section associated with the selected location.

9. The engineering station as claimed in claim 8 , wherein the assignment table has a tool center point of the apparatus with an x-coordinate, a y-coordinate and a Z-coordinate as a position vector.

10. The engineering station as claimed in claim 8 , further comprising:

a second output element for depicting a path-time diagram of the apparatus, the path-time diagram being configured to be operated in a force sensitive manner so that a user selects a time point with a pointer device and obtains a display of a further output field with a line of code; and

wherein the displayed line of code has the program instruction executed at this time point, the path-time diagram having a further link to the assignment table as a further graphic element.

11. The engineering station as claimed in claim 9 , further comprising:

a second output element for depicting a path-time diagram of the apparatus, the path-time diagram being configured to be operated in a force sensitive manner so that a user selects a time point with a pointer device and obtains a display of a further output field with a line of code; and

wherein the displayed line of code has the program instruction executed at this time point, the path-time diagram having a further link to the assignment table as a further graphic element.

12. The engineering station as claimed in claim 8 , wherein the execution device and the program editor are configured to execute individual program instructions step-by-step in a step mode by manual input; and wherein the graphic element is configured to visually highlight the movement section associated with a respective step in the polygonal chain.

13. The engineering station as claimed in claim 8 , wherein, for the three-dimensional view, the program editor and the first output element are configured such that a selection of a location on the polygonal chain by the user (IBS) with a pointer device causes the program editor to be switched into focus and the line of code corresponding to the movement section of the selected location to be visually highlighted in the program editor; and

wherein the program editor is further configured to visually highlight the corresponding program instruction in the visually highlighted line of code again in a different way.

14. The engineering station as claimed in claim 8 , further comprising:

a simulator configured to perform a simulation of the user program;

wherein the first output element is configured to enable a user to test the movement path with the three-dimensional view, without any hardware that actually exists being present.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 25, 2023
From: KAI, GAEBEL; WOLFGANG, HORN; PIOTR, JAROSZ; THOMAS, SCHERF; SVEN, SCHNEIDER
To: SIEMENS AKTIENGESELLSCHAFT
Reel/Frame 065332/0377 →
Priority Claims (1)
EP 22172424 · May 10, 2022 · regional
Continuity (1)
Related Publication 20230367558A1 · Nov 16, 2023
References Cited (15)
US 8244386B2 · Gray · 2012 [cited by examiner]
US 8589122B2 · Nagatsuka · 2013 [cited by examiner]
US 8594814B2 · Rovaglio · 2013 [cited by examiner]
US 10406689B2 · Takeda · 2019 [cited by examiner]
US 10481885B2 · Lönnemark · 2019 [cited by examiner]
US 10620917B2 · McDaniel · 2020 [cited by examiner]
US 11638994B2 · Mcgregor · 2023 [cited by examiner]
US 20090058803A1 · Pasolini · 2009 [cited by examiner]
US 20170193137A1 · Li · 2017 [cited by examiner]
US 20180260503A1 · Dweik · 2018 [cited by examiner]
US 20190026400A1 · Fuscoe · 2019 [cited by examiner]
US 20190311079A1 · Moriya · 2019 [cited by examiner]
US 20230153486A1 · Ohnuki · 2023 [cited by examiner]
EP 3367192 · 2018 [cited by applicant]
EP 3819730 · 2021 [cited by applicant]