ROBOTemplate is a product/solution that significantly simplifies the integration of ABB robots into applications running on B&R PLCs. It is suitable for both simple applications and more complex projects where higher flexibility is required.
Solution was developed as a collaboration between the Czech teams of ABB and B&R. Development started in 2020, and since then the solution has been successfully tested and deployed in a number of diverse projects, covering both simple applications and more advanced use cases.
What ROBOTemplate Solves
ROBOTemplate consists of:
-
a PLC library (B&R)
-
a plugin on the ABB robot side
The core idea is simple. The PLC does not control the robot in real time, but only triggers predefined RAPID procedures and waits for the result (success/error).
From the PLC perspective, the robot behaves as a “black box”, which greatly simplifies the overall application logic.
Commissioning
One of the main advantages is very fast deployment.
On the ABB side:
-
install the required option
-
call a function in the
mainprogram
On the B&R side:
-
import the library into the project
-
use provided function blocks (sample is available)
The result is a nearly plug & play solution without need to implement custom communication.
Typical Use Cases
Simple Projects
-
one PLC controls single or multiple robots
-
each robot executes only a few routines
-
the PLC simply triggers actions based on the process
Typical scenarios:
-
pick & place
-
simple handling
-
coordination of multiple robots
More Complex Projects
-
working with RAPID modules directly from the PLC
-
possibility to:
-
download a module from the robot
-
modify data (e.g. targets)
-
upload it back to the robot
-
This enables:
-
runtime position changes
-
production parameterization
-
flexible adaptation to process changes
Additional Features
Besides executing routines, the library provides several important features commonly required in projects:
-
robot status monitoring:
-
motor state
-
program execution
-
operation mode (Auto/Manual)
-
error states
-
-
error handling including E‑STOP acknowledgment
-
general data exchange channel between PLC and robot (BOOL and numeric values)
-
file handling via REST API:
-
uploading and downloading robot modules
-
modifying robot data from PLC
-
What It Improves Compared to Traditional Approaches
Traditional integration often involves:
-
reimplementing communication logic for every project
-
complex integration with process logic
-
limited or difficult simulation (e.g. when using Profinet)
-
dependency on specific hardware
ROBOTemplate provides:
-
reusable and unified communication
-
cleaner architecture
-
ability to simulate both PLC and robot without special hardware
Starter Pack
A ready to use starter pack is available and can be shared or used as a project baseline.
It includes:
-
Add-In for Robot Studio
-
library for Automation Studio
-
example PLC project
-
documentation
-
virtual PLC for testing
This allows fast project start without building the structure from scratch. Available on request.
Licensing
-
No license is required for simulation
-
License for each part (ABB and B&R) is required when running on real hardware
Licensing is handled within the ROBOTemplate solution and does not affect the development workflow. This makes it easy to start with simulation and move to real hardware later without changes to the application structure.