Skip to content

ABB Robotics · Pro+

ABB RAPID with AI: robot programs written by an AI agent

Describe what your ABB robot should do, and the AI agent of AnyAutomation Studio writes the RAPID for IRC5 controllers with RobotWare 6 and OmniCore controllers with RobotWare 8. Studio checks the program on a virtual controller in RobotStudio, loads it, starts it and backs up the controller, at a real controller only after your confirmation. The same agent compares the robot signals with your TIA project.

IRC5 · OmniCore · RobotWare 6 and 8 · RAPID · Pro+

What Studio brings to ABB robots

ABB Robotics is part of the Pro+ plan and unlocked in the free trial. Robot projects and RAPID editing work on their own; to connect to a controller, Studio needs RobotStudio or the ABB Robot Communication Runtime on the same computer.

RAPID in Studio

  • Pro+

    AI writes RAPID

    Describe the program in the chat. A dedicated RAPID specialist reads your modules and backups, writes and changes RAPID and proposes every change as a comparison in the editor.

  • Pro+

    A real RAPID editor

    Syntax colours, folding, an outline of routines and data, and findings while you type: blocks that are not closed, missing semicolons, names declared twice.

  • Pro+

    Robot projects and backups

    Every robot project and controller backup of your workspace as a tree with tasks, modules, routines, data and configuration files. Open one from any folder or create a new one.

  • Pro+

    Compare backups

    Two robot projects or backups side by side, file by file, with only the real differences: signatures, time stamps and line endings are left out.

  • Pro+

    The file format of your controller

    New modules get the file format and encoding of your controller generation. Convert RAPID Module Format turns a .mod module into .modx and back.

  • Pro+

    Robot signals against TIA

    Pair the PROFINET signals of the robot with the PLC tags of your TIA project and see every missing tag, overlap or different byte order.

At the robot controller

  • Pro+

    Check on a virtual controller

    Check Program sends your modules to a virtual controller in RobotStudio and lists its errors at line and column. The task is left exactly as it was.

  • Pro+

    Load, start and back up

    Load and unload modules, set the program pointer, start and stop the program, back up the controller, upload its program and restore a backup.

  • Pro+

    You confirm at a real controller

    Every change at a real controller waits for your confirmation in a dialog that names the controller, the operating mode and what will happen. Stop always works at once.

Contents

AI for ABB RAPID means a language model that writes, explains and checks robot programs in RAPID, the programming language of ABB robots, and a tool around the model that knows your robot project, checks the result as the controller does and gets it onto the controller safely. AnyAutomation Studio, the AI agent for PLC programming that works with TIA Portal, CODESYS and OMRON Sysmac Studio, supports ABB robots with IRC5 and OmniCore controllers as well. This page shows what the ABB support does, how a program gets from the chat onto the controller, and where the limits are. The basics are in the guide AI for PLC programming.

Availability

ABB Robotics is part of AnyAutomation Studio from the Pro+ plan and is unlocked in the free trial, next to TIA Portal V15-V21, CODESYS 3.5 and OMRON Sysmac Studio. It works with IRC5 controllers with RobotWare 6 and OmniCore controllers with RobotWare 8, virtual or real. To connect to a controller, select the ABB Robotics support component when you install Studio, or run the setup again and select it, and install RobotStudio or the ABB Robot Communication Runtime on the same computer. Details are in the ABB Robotics manual.

What AI can do for a RAPID program

RAPID has its own syntax, its own data types for positions, tools and work objects, and its own rules for modules, tasks and file formats. A general chatbot writes RAPID that looks right, but it does not know your modules, your data or your controller generation, and the way onto the controller is copy and paste. An AI that works inside the robot project avoids that. Five tasks where it saves real time:

  1. Write new programs. "Write a pick and place routine for T_ROB1 in MainModule that waits for the start signal" becomes a RAPID routine in the module and task you name, written for your robot project.
  2. Understand existing programs. The AI reads the modules of a robot project or a controller backup and explains routines, data and signal references.
  3. Change programs safely. Every change appears in the editor as a comparison with Keep and Undo, and the file on disk changes only when you choose Keep.
  4. Fix check findings. The AI checks its modules on a virtual controller, fixes the error the controller reports and checks again.
  5. Write the handshake with the PLC. The AI compares the robot signals with the PLC tags of the TIA project, writes the handshake on both sides and compares again until nothing is left.

How it works in AnyAutomation Studio

  1. Open the robot project. The ABB Robotics side bar lists every robot project and controller backup of your workspace in the Robot Project view, with the controller, its generation and RobotWare version, the tasks, for example T_ROB1, the modules with their routines and data, and the configuration files. Open Robot Project... opens one from any folder, New Robot Project... creates an empty project for OmniCore or IRC5.
  2. Describe the program in the chat. The AI hands the task to a dedicated RAPID specialist. It reads the robot project, writes and changes modules and configuration files, and checks its work.
  3. Review and keep the change. The change opens as a comparison in the editor. For RAPID modules and configuration files, the file on disk changes exactly when you choose Keep, also with auto save turned on; Undo leaves the file as it was. A new module exists on disk only after Keep, in the file format and encoding of your controller generation.
  4. Check it on a virtual controller. With a virtual controller of the same generation connected in RobotStudio, Studio checks the kept modules together before it saves them, and Check Program checks them on demand. The errors appear in the Problems view at the line and column the controller names. The check loads the modules into the task for a moment and puts the task back as it was afterwards.
  5. Load and start. Load to Robot Controller... loads saved modules into their tasks, replaces modules of the same name and sets the program pointer to main. Start Robot Program starts the tasks selected on the FlexPendant, with the controller in automatic mode and the motors on.
  6. Keep the controller and the project in step. Back Up Robot Controller saves a backup on the controller and on this computer, Upload as New Robot Project... brings the program of a controller into your workspace, Compare with Robot Controller shows what differs from your project, and Restore Robot Controller from Backup... puts a backup back.

RAPID editing, the robot projects and the local checks work without a controller and without RobotStudio. The check as the controller does it needs a virtual controller in RobotStudio on the same computer.

Checking a program on a virtual controller

A virtual controller checks a RAPID program as the robot does. Studio uses a connected virtual controller of the same generation for it, never a real controller, and writes nothing into your files. While you type, a local check already lists blocks that are not closed, missing semicolons, names declared twice and module names that differ from the file name, in the Problems view under RAPID.

The controller reports only the first error per task, so the AI checks again after each fix. When you keep a change of the AI and the controller finds an error, the dialog Errors Found on the Virtual Controller lets you save anyway or keep the change in the editor without writing it, so you can fix it first.

Loading onto a real controller, with your confirmation

Studio connects to the virtual controllers on this computer and to the real controllers in your network, with the controller user you are allowed to use. A real controller needs a network connection and the RobotWare option for PC connections (616-1 PC Interface on an IRC5, 3119-1 RobotStudio Connect on an OmniCore). The Robot Project view and the status bar show the tasks, the operating mode and the program state, and Show Live Robot Signals reads the I/O signals once into a read-only table.

Before Studio loads, replaces or unloads modules, sets the program pointer, starts the program or restores a backup on a real controller, the dialog Confirm Robot Controller Action names the controller, the operating mode, the tasks, the modules and what will happen. Cancel is the default button. Before it first loads, unloads or restores on a real controller, Studio saves a backup of it. Studio never switches the operating mode, the motors or the task selection; that stays with you at the FlexPendant. Stop Robot Program stops every program task at once, without asking.

The AI can do all of this too. Reading, comparing and checking run without a prompt; at a real controller every load, unload, program pointer, start, backup, upload and restore of the AI shows a confirmation card in the chat on every call, whatever approval level you set, and loading, unloading, setting the program pointer, starting and restoring also open the Studio dialog. The AI never asks you for a password: when a controller needs a sign-in, Studio asks you in its own dialog, and the password goes only to the controller.

Robot and PLC: comparing signals with TIA

A robot cell rarely runs without a PLC. Compare Robot Signals with TIA pairs the PROFINET I/O signals of a robot project with the PLC tags of the TIA project, attached in Studio, opened offline or from the PLC tag tables of an export folder. The result lists every signal with its PLC address, TIA tag and data type, and a status such as Matches, Tag Missing, Type Differs or Overlap, with a note on what to change. The comparison changes nothing in TIA. More on the PLC side on the page TIA Portal AI.

What stays in RobotStudio and at the FlexPendant

Studio works with robot projects and controller backups, not with RobotStudio stations: creating virtual controllers, stations and simulations stays in RobotStudio. If your workspace is a RobotStudio solution, Studio tells you how to get a robot project from its virtual controller. The operating mode, the motors, the task selection and External control stay with you at the controller. Studio does not watch the event log or RAPID variables, does not write signals or RAPID data, does not move the robot by hand and does not support controllers before RobotWare 6.

Cloud or local: where may your robot code go

You choose the model per task: Claude, GPT, Gemini and other cloud providers, more than 20 in all, with your own key, or an enterprise offering such as Azure OpenAI, Vertex AI or AWS Bedrock. For confidential cells a local model via Ollama, LM Studio, vLLM or SGLang keeps the inference on your own hardware. AnyAutomation Studio routes no request through a server of its own, and the ABB support uses the same model choice.

Limits

A language model does not replace a robot programmer, and generated code does not belong on a robot unreviewed. Four limits apply regardless of tool:

  • Review and test. Check a program on a virtual controller before you load it onto a real one, and test it at reduced speed first.
  • Positions and paths. Targets, tool data and work objects come from your cell. The AI reads the data of your project, but whether a path is free of collisions is yours to verify, not the model's to guess.
  • The robot moves. As soon as the program starts, the robot moves: make sure that nobody is in its working range.
  • Safety. Stop Robot Program is no safety function. The emergency stop and the safety of the cell stay with the safety system of the robot.

Frequently asked questions

Is there AI for ABB robot programming?

General chatbots such as ChatGPT or Claude answer questions about RAPID, but without a link to your robot project or controller. AnyAutomation Studio has an AI agent for ABB robots with IRC5 and OmniCore controllers: it writes and changes RAPID in your robot projects and controller backups, checks the program on a virtual controller in RobotStudio and, connected to a controller, loads, starts and backs it up, at a real controller after your confirmation.

Can ChatGPT write RAPID code?

ChatGPT drafts RAPID, but it does not know your modules, your tool data or your controller generation, and the path onto the controller is copy and paste. Whether the code runs shows only on the controller. For project work you need a tool that reads the robot project, checks the program as the controller does and loads it in a controlled way.

Which ABB controllers are supported?

IRC5 controllers with RobotWare 6 and OmniCore controllers with RobotWare 8, virtual or real. Controllers before RobotWare 6 are not supported.

Do I need RobotStudio?

Not for the robot projects, the RAPID editor and the local checks. To connect to a controller, Studio needs RobotStudio or the ABB Robot Communication Runtime on the same computer. The check as the controller does it needs a virtual controller in RobotStudio on the same computer.

Can I check a RAPID program without a robot?

Yes, on a virtual controller in RobotStudio. Studio sends your modules to it, lists the errors it reports at line and column and leaves the task exactly as it was. Studio never uses a real controller for the check.

Does Studio change a real robot controller without asking?

No. Loading, unloading, setting the program pointer, starting and restoring on a real controller wait for your confirmation in a Studio dialog that names the controller, the operating mode and what will happen, and Studio saves a backup before it first loads, unloads or restores. Studio never switches the operating mode, the motors or the task selection. Stop always works at once, without asking.

Does the AI also work with the PLC of the cell?

Yes. The AI compares the PROFINET signals of the robot with the PLC tags of the TIA project, writes the handshake between robot and PLC on both sides and compares again until nothing is left. For the PLC program itself, Studio works with TIA Portal V15-V21, CODESYS 3.5 and OMRON Sysmac Studio.

Does Studio simulate the robot cell?

No. Stations, simulations and virtual controllers are created in RobotStudio. Studio uses a running virtual controller to check, load and start a program.

What does the ABB support cost?

ABB Robotics is part of the Pro+ plan (CHF 50 per month or CHF 550 per year) and of Enterprise, and it is unlocked in the free trial. Add your own API key with the model provider, or a local model with no key.

Which AI models can I use?

The model of your choice: Claude, GPT, Gemini and other cloud providers, more than 20 in all, with your own key, or a local model via Ollama, LM Studio, vLLM or SGLang. No request runs through an AnyAutomation server.

Try it now

Start today with ABB robots

Try AnyAutomation Studio free for 30 days, no credit card. ABB robots, TIA Portal V15-V21, CODESYS 3.5 and OMRON Sysmac Studio in one IDE.

Free account required: sign in with your email address and a code, then the download starts.

Questions? support@anyautomation.ch