Connects to a RobotStudio virtual controller instance using cyclic I/O communication and reading axis values.
- Download the zip file from the latest release page
- Unpack and place it in the directory or a subdirectory of the
OC.Assistant.exe
- Start the Assistant and connect or create a TwinCAT solution
- Add a new plugin instance using the
+
button - Select
RobotStudio
, configure parameters and pressApply
(see also) - Depending on the parameters, a TwinCAT GVL with Robot In- and Outputs is generated
- The plugin starts when TwinCAT goes to Run Mode and tries to connect to the virtual controller
- AutoStart: Automatic start and stop with TwinCAT
- ControllerName: Name of the virtual controller in RobotStudio
- AxisNo: Number of axes
- CycleTime: CycleTime in ms (to get a stable and evenly update rate, don't set this too low)
- Solution: Path of the RobotStudio solution file (*.rssln)
To run the plugin, you need RobotStudio 2024 installed on your system.
See ABB documentation how to create and start a virtual robot controller using RobotStudio.
To build the plugin yourself, you need to copy the
ABB.Robotics.Controllers.PC.dll
to the project directory.
You can find the dll in C:\Program Files (x86)\ABB\RobotStudio 2024\Bin\
by default.
Note
The plugin has been tested with RobotStudio Version 2024.2.1