realvirtual.io
  • Building Digital Twins with Unity and realvirtual.io
  • Basics
    • Installation
    • Demo Model
      • Old Demo Model
    • Editor User Interface
      • Hierarchy Window
      • 3D Views
      • Quick Edit
      • Move Pivot Points (Pro)
      • Selection Window (Pro)
      • Material Window (Pro)
      • Measurement (Pro)
      • Kinematic Tool (Pro)
      • Model Checker
    • Runtime UI
      • Group Manager
      • Debug Console
      • Responsiveness
      • Runtime Persistence
    • Importing and exporting
    • Folder structure
    • Tutorial
    • Physics
    • CAD import (Pro)
      • CADLink (Pro)
      • CAD Checker (Pro)
      • CAD Updater (Pro)
    • Reusable Components (Prefabs)
    • Cadenas parts4cad
    • Publishing the Digital Twin
    • Revision management
  • News
  • Login & Download Updates (Pro)
  • Components & Scripts
    • Realvirtual
      • Environment Controller
    • MU, Source and Sink
      • Source
      • Sink
    • Motion and Kinematic
      • Drive
      • Kinematic
      • Group
      • Joint
      • CAM
      • TransportSurface
      • Guided Transport
      • Drive behavior
      • Chain
      • Chain element
      • Motion for developers
    • Sensors
      • Sensor
      • Measure
      • MeasureRaycast
    • Picking and Placing MUs
      • Grip
      • Gripper
      • Fixer
      • Pattern
    • Changing MUs
      • MaterialChanger
      • PartChanger
      • Cutter
    • Scene Interaction
      • 3D Buttons
      • Screen Overlay Buttons
      • Scene Selectables
      • Lamp
      • Interact3D
      • UI components
      • HMI components (Pro)
        • Start your own HMI
        • HMI Tab
        • HMI DropDown
        • HMI Puschbutton
        • HMI Switch
        • HMI Value
        • HMI Text
        • HMI Slider
        • HMI Message
        • HMI Marker
      • ModelZoo (Pro)
    • Interfaces
      • Interface Tools
        • Signal Manager
        • Signal Importer Exporter
        • Signal Catcher
        • OnValueChangedReconnect
      • Signal Importer / Exporter
      • ABB RobotStudio (Pro)
      • Denso Robotics (Pro)
      • EthernetIP (Pro)
      • Fanuc (Pro)
      • FMI
      • Igus Rebel
      • MQTT (Pro)
      • Modbus (Pro)
      • OPCUA (Pro)
      • PLCSIM Advanced (Pro)
      • RoboDK (Pro)
      • RFSuite (Pro)
      • SEW SimInterface (Pro)
      • Siemens Simit Interface (Pro)
      • Simit Shared Memory (Pro)
      • Simulink (Pro)
      • S7 TCP
      • TwinCAT (Pro)
      • TwinCAT HMI (Pro)
      • UDP (Pro)
      • Universal Robots (Pro)
      • Wandelbots Nova (Pro)
      • Websocket (Pro)
      • Windmod Y200 (Pro)
      • Custom Interfaces
    • Performance Tools
      • Combine Meshes (Pro)
      • Create Prefab (Pro)
      • Hierarchy Cleanup (Pro)
      • Mesh Optimizer (Pro)
      • Performance Optimizer (Pro)
    • Defining Logic
      • Unity Scripting
      • Behavior Graph
      • Logicsteps
      • Unity Visual Scripting
      • Recorder
    • Robot Inverse Kinematics (Pro)
    • Volume Tracking (Pro)
  • Multiplayer (Pro)
  • Extensions
    • ModelZoo
      • Beckhoff TwinCAT
      • Siemens S7
      • Denso Cobotta 1300
      • Wandelbots Nova Fanuc CRX
      • Universal Robots UR10
      • Fanuc Roboguide
    • realvirtual.io AIBuilder
      • realvirtual.io AI Builder Overview
      • Generate AI Training Data
      • AI Training
      • Testing AI in a Digital Twin
      • Deploying the AI
    • realvirtual.io Simulation
      • Conveyor Library
      • Path System
        • Path finding
        • Line
        • Curve
        • Workstation
        • Catcher
        • Pathmover
    • realvirtual.io Industrial Metaverse
      • Setup Guide
      • VR Modules
      • AR Modules
      • Multiuser
    • AGX Physics
    • VR Builder
    • CMC ViewR
  • Advanced Topics
    • Render Pipelines
    • Mixed Reality with Meta Quest3
    • Upgrade Guide
      • Upgrade to 2022
    • Open Digital Twin Interface
    • Usefull Addons
    • Improving Performance
    • Supported Platforms
    • Compiler Defines
    • For Developers
      • Important Classes and Interfaces
      • Assembly Definitions
      • Starting your development
      • Class documentation
      • realvirtual Init Sequence
      • realvirtualBehavior Lifetime Methods
      • Testing
    • Newtonsoft JSON
    • Troubleshooting
  • Release Notes
  • AI Digital Twin Assistant (GPT4)
  • License Conditions
Powered by GitBook
On this page
  • Preparation of robots
  • Preparation of ABB RoboStudio
  • Interface configuration in Unity
Edit on GitHub
  1. Components & Scripts
  2. Interfaces

ABB RobotStudio (Pro)

PreviousSignal Importer / ExporterNextDenso Robotics (Pro)

Last updated 18 days ago

Please note: ABB RobotStudio interface is only available in realvirtual.io Professional.

is a powerful solution from ABB for offline programming and simulation of ABB robots.

With the RobotStudio interface, the virtual ABB robot controller can be connected to realvirtual.io / Unity. The current axis positions as well as signals are cyclically exchanged between RobotStudio and realvirtual.io.

The updating cycle of signals and axis positions is only about 1s when the simulation is stopped in ABB RobotStudio and is much faster (about 10ms) when the simulation is started in RobotStudio.

Preparation of robots

You need to prepare a robot with the usual realvirtual.io kinematics. Each axis of the robot must be assigned a drive and a Drive_FollowPosition script. It is important that all drives are defined at the correct rotation position and that the positive direction of the drive is the same as for the real robot.

Preparation of ABB RoboStudio

The interface between realvirtual.io and RobotStudio uses the Simit shared memory interface that comes with RobotStudio. You need to add it in the station logic.

It is important that the SharedMemoryName matches the SharedMemoryName property of the ABBRobotStudioInterface in Unity.

Interface configuration in Unity

In SharedMemoryName, enter the same name that is used in RobotStudio.

If you insert the ABB RoboStudio interface into your scene as a prefab or via the realvirtual.io menu, you will already get some sample signals imported. You may need to adapt these to your robot cell.

You have to define the signals manually in realvirtual.io, because ABB RoboStudio connects to the shared memory as a client and transfers the data depending on the listed signalm in the shared memory.

There are naming convention for naming robot joints and input and output signals (e.g. *Joint[1]+ or *Robot[IRB7600_400_255][DigitalIO]StartRobot).

For more information on naming, see the ABB RoboStudio Help.

It is also very important that the input and output signals are mapped to identical bits on both sides by using the device mapping in ABB RoboStudio. The realvirtual.io signals are arranged in the memory in the order in which they are visible in Unity Inspector. You can check the memory location (in shared memory) by checking the signal comment in Unity Play mode.

It may be necessary to add some empty dummy signals so that the position of the bits of the data remains identical. You also need to make sure that input and output bits are not mixed in one byte. Here is the signal configuration for the example shown above:

An example robot can be found on the realvirtual.io community webpage (Github):

© 2022 in2Sight GmbH - All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including printing, saving, photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher.

https://github.com/realvirtual.io/realvirtual.io-Community
https://realvirtual.io
RoboStudio