AI agent – Checking robot programs (prompt catalog)
« AI Agent examples (editor) | Contents | AI Agent window of the Robot Cell Simulator »

One sentence is enough: write what you want to check, and the AI agent chooses the commands of DReS itself, runs them and answers with the findings. This page is a catalog of example prompts for the AI Agent window of the editor and the AI Agent window of the Robot Cell Simulator. Change the names, folders and limits to your own – the agent answers in the language of the prompt.

How to askWhat the answer looks likeStatus of the promptsA. Syntax and structureB. Points and reachabilityC. Tools, bases, loadsD. Path and timeE. Signals, interlocks, VW standardF. Collisions and zones (simulator)G. Comparisons and archivesH. Reports and documentationCombined check of a stationLicensesLimits

How to ask

Long checks (hundreds of programs) take minutes; the agent says the plan and the expected time before it starts. Checks of the syntax of many files open and close each file in the editor without saving.

What the answer looks like

Every check of the editor and of the simulator answers in the same format:

  1. Summary – what was checked and the result in numbers, e.g. 5 robots, 214 programs: 3 errors, 11 warnings.
  2. Problems – one table, errors first: priority, robot, program / file, point / line, problem, suggestion.
  3. What the programmer should do – a few points in the order of importance.
  4. How it was checked – commands and numbers of files.
  5. Not checked – everything that could not run, with the reason (missing file, unsupported controller or mounting, missing license, no station loaded, function not available yet).
PriorityRobotProgramPoint / lineProblemSuggestion
ERRORR2Folge12line 48UP77 is called, the program does not existadd UP77 or remove the call
WARNINGR4UP42P49A4 uses 96.1 % of its range (2.1° left)check S / T of the point
INFOR1UP105–UP is never calledmay be started by the SPS – check

ERROR = the robot does not work correctly or it is dangerous, fix before the start-up; WARNING = probably wrong or left over, the programmer checks it; INFO = cleaning up and documentation.

Status of the prompts

available the agent does it with the commands of today   available – partly works with more steps, or the agent computes the verdict from the data   coming soon the command is in preparation – until then the agent says what it cannot check and names the manual way (menu or plugin).

Window: Editor = AI Agent window of the editor, RCS = AI Agent window of the Robot Cell Simulator (a station must be loaded). The commands behind each prompt are described on the pages VeRa – Editor API and RCS command API.

A. Syntax and structure

IDPromptWhat the agent checksWindowStatus
A1Check the syntax of all programs of the open robot projects and list the errors.syntax check of every program, errors per robot / file / line, warnings grouped (API check_syntax with projects, without windows)Editoravailable
A2Check the syntax of every robot archive in D:\Archives\ST010.find_projects lists the archives of the folder, check_syntax with folders reads them without opening; archives not recognised listed separatelyEditoravailable
A3Which Folgen call UPs that do not exist, and which UPs are never called?UP calls against the existing UP programsEditoravailable
A4List the used and unused Makros of every robot and the called Makros that are missing.Makro calls against the existing MakrosEditoravailable
A5Which programs have a different TPVW version than the rest of the robot?TPVW version of every program, deviations from the majorityEditoravailable
A6Find Folgen with an empty comment and .src files without .dat.header comments, pairs .src / .datEditoravailable
A7Do all robots of the station use the same VW user and KSS / system version?robot info of every project as one tableEditoravailable
A8Compare the Makros of all robots with the master Makros in D:\Standard\Makro.first different line per Makro (changes may be intended)Editoravailable – partly

B. Points and reachability

IDPromptWhat the agent checksWindowStatus
B1Check whether points 1, 2 and the last point of every Folge are the same, and whether every UP starts at the point where it is called (max. 2 mm).distances in mm, different bases compared in world coordinatesEditoravailable
B2Show me all points where an axis uses more than 90 % of its software range.usage of every axis in %, side, margin in degrees – Axis limit usageEditoravailable
B3Same for the robot archives in D:\Archives (axis range report as PDF).as B2, archives read from the folder (nothing opened), report file PDF / HTML / Excel / CSVEditoravailable
B4Are all points reachable? List the points the inverse kinematics cannot solve.points without a kinematic solution; unsupported mountings reported as not checked – Axis limit usageEditoravailable
B5Are all E1 values (travel track, 7th axis) inside the axis limits?E1 of every point against the software limitsEditoravailable – partly
B6Find points with the same coordinates but different names, and points used twice.points of a program in the same place (path_check duplicates in mm); across programs: point tables comparedEditoravailable – partly
B7Which points are close to a wrist singularity (A5 near 0°)?A5 of the points of LIN / CIRC motions (also the auxiliary points of the arcs; PTP on request) – Axis limit usageEditoravailable
B8Is the first and the last point of every Folge the HOME position of the robot?distance of the points from HOME in mmEditoravailable – partly
B9Export the point tables of all UPs of robot R05 to one Excel file.one sheet per UPEditoravailable

C. Tools, bases, loads

IDPromptWhat the agent checksWindowStatus
C1Which tools and bases are used in the programs, and are they all defined?used numbers against the robot data: used but undefined, defined but unusedEditoravailable
C2Check the payload data of every used tool (not set, above the rated payload, centre of mass 0).payload of the used tools against the robot modelEditoravailable
C3Does every used tool have a tool calibration in the .cal file?calibration data of the used tools (KUKA VKRC)Editoravailable
C4Compare the bases of the robot archives with the bases of the study.position and rotation differences, common bases of the stationRCSavailable
C5Do tools with the same number have the same data on all robots of the station?differences in mm / degrees per tool (may be intended)Editoravailable
C6Give me the tool / base usage of all robots as an Excel table.usage table and the most important remarksEditoravailable – partly

D. Path and time

IDPromptWhat the agent checksWindowStatus
D1Path length and motion time of every Folge of all robots in one table.TCP path length and planned time per programEditoravailable – partly
D2Find motions longer than 1500 mm in the UPs of R03.segments with length, motion type and speed (path_check longSegments)Editoravailable
D3Check the approximation: are there approximation distances that cannot be reached?approximation in mm against half of the shorter neighbouring motion (path_check approximation)Editoravailable
D4Are all switch points (trigger, distance / delay) inside their motion?distance and delay of the switch points against the motion (path_check switchPoints)Editoravailable
D5Glue length of every glue UP (gun on / off).path length while the process is on, lines used as on / offEditoravailable
D6Compare the planned motion time of Folge 81 with the cycle time from the simulation.difference = waits for interlocks and wait timesEditor + RCSavailable
D7Find LIN / CIRC motions with very low or unusual speeds and PTP above 100 %.speed of every motionEditoravailable
D8Which arcs (CIRC) are longer than 180° or badly defined?arc geometry: collinear points, more than 180°, radius, auxiliary point near the end (path_check arcs)Editoravailable

E. Signals, interlocks, VW standard

IDPromptWhat the agent checksWindowStatus
E0Check the collision zones / collisions of the robots in D:\Archives\ST030.without a study with the robot positions and without a defined WORLD position (robot_world: $ROBROOT ≠ 0) the agent says that a geometric collision check is not possible – it does not guess positions or place the robots at zero; it offers the check of the programmed interlocks (VKRC, Fanuc: collision_map, RCS check_interlocks)Editoravailable
E1Generate the collision map for all robot archives in D:\TEST and check the logic.interlock map robot – robot from the program code (KUKA VKRC, Fanuc), findings; signal analysis, not geometricEditoravailable
E2Which zones are requested but never released, or requested without Makro20?findings of the interlock mapEditoravailable
E3Do the comments over the interlock points name the right partner robot?partner named in the comment against the interlock logicEditor / RCSavailable
E4Check the interlocks of the station with the simulator rules (wait chains, races, zones held too long).rules of the simulator with the cost in seconds of the cycleRCSavailable
E5Which used inputs / outputs have no long text?used signals against the long textsEditoravailable – partly
E6Find outputs that are set and never reset and waits without timeout.set / reset and wait commands per programEditoravailable – partly
E7Show all SERVOZANGE welds with Offset > 0 in the UPs, values 0 in red.parameters of the SERVOZANGE commands as a tableEditoravailable
E8Are weld point numbers used on two robots?weld point numbers of all robotsEditoravailable
E9Review the Folgen of R02 against the VW good-program checklist.points of the checklist OK / not OKEditoravailable

F. Collisions and zones (simulator)

IDPromptWhat the agent checksWindowStatus
F1Load the open robot projects into the simulator and run Folge 81 on all robots.station built from the robot projects (today: from a study or a simulation file)RCScoming soon
F2Open the study D:\Study\cell.psz with the archives in D:\Archives and check the bases.loading report and base checkRCSavailable
F3Find all possible collisions of the open station and give me the report.standard collision study: zones, interlocks, robustness test, Live 3D, reportRCSavailable
F4Which robot pairs come closer than 30 mm? Save the closest approaches as PDF with R1..Rn.closest approach per pair (parts, distance, time, points), report with anonymous robot names – Closest approachesRCSavailable
F5Which shared work zones have no interlock?shared volume of the pairs against the interlocks; proposal onlyRCSavailable
F6Is there a request race that changes the cycle time? Test both orders.simulation of both orders, difference of the cycleRCSavailable
F7Run the robustness test (missing signals) and list the collision risks.risks per test step, robot and pointRCSavailable
F8Compare the cycle time of the changed programs with the original.difference of the cycle per robot and its reasonRCSavailable
F9Check the stations of all simulation files in D:\Sim overnight and give me one table.station × cycle × collisions × risks (files named by you or recent files)RCSavailable – partly

G. Comparisons and archives

IDPromptWhat the agent checksWindowStatus
G1Compare the archive of R05 before and after the start-up: what changed?programs only in one archive and changed programs with the changed lines (archive_diff); moved points with points per programEditoravailable
G2Which points moved by more than 2 mm between these two versions of UP42?points matched by name, differences in mm / degreesEditoravailable – partly
G3Compare the interlocks of the old and the new archive of the station.zones new / removed, changed partnerEditoravailable – partly
G4Which Makros differ between the robots of the station?Makro, robots, first differenceEditoravailable – partly
G5Is the archive in D:\Backup\R03 the same as the open project R03?yes / no and the list of differences (archive_diff with the archive folder of the project)Editoravailable

H. Reports and documentation

IDPromptWhat the agent checksWindowStatus
H1Robot check of all robots of the station before the start-up, as a PDF report.programs, Makros, tools, loads, bases, calibration, axis limits per robot (KUKA VKRC, Fanuc VW)Editoravailable
H2Check collisions in the open robot projects for VKRC and Fanuc, check the reachability of the points and generate a report.interlock map, axis usage and reachability, geometry in the simulator when a station is loadedEditor (+ RCS)available – partly
H3The same for the folder D:\Archives\ST020.as H2 for the archives of the folderEditor (+ RCS)available – partly
H4Full check of the station (syntax, points, axes, tools, interlocks, path) as one PDF and one Excel file.combined check, errors / warnings per robot and per checkEditoravailable – partly
H5Generate the program documentation of R01 (all Folgen and UPs).program documentation (today: DocGenerator plugin)Editorcoming soon
H6Write the findings of the last check into an Excel file with one sheet per robot.Excel file of the findingsEditoravailable
H7Save the procedure of this check as my own knowledge file "station_check".own knowledge file, used in the next chatsEditoravailable

Combined check of a station

Prompt:
Check the open robot projects (structure, tools, loads, axis range, points, interlocks) and give me a PDF report.

The agent works step by step and tells you the plan and the time first:

  1. robots and controllers of the scope;
  2. structure: UP and Makro calls, versions, comments;
  3. tools, bases, loads and calibration;
  4. axis range, reachability and wrist singularity of the points (Axis limit usage);
  5. same points and start points of the UPs;
  6. interlock map robot – robot (KUKA VKRC, Fanuc);
  7. syntax of all programs – on request or for small stations;
  8. one report (HTML and PDF, Excel on request): summary table robot × check, one section per check, Not checked at the end.

Collisions in 3D, work zones and closest approaches are checked in the Robot Cell Simulator – the agent offers it as the next step. In reports for other people the robot names can be written as R1..Rn.

Licenses

A missing license is reported by the agent under Not checked; it does not try other ways.

Limits

« AI Agent examples (editor) | Contents | AI Agent window of the Robot Cell Simulator »