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
      • KinematicMU (Pro)
      • Drive behavior
      • Chain
      • Chain element
      • Motion for developers
    • Sensors
      • Sensor
      • Measure
      • MeasureRaycast
    • Picking and Placing MUs
      • Grip
      • Gripper
      • Fixer
      • Pattern
    • Changing MUs
      • MaterialChanger
      • MUSwitcher
      • PartChanger
      • Cutter
    • Scene Interaction
      • Tooltip (Pro)
      • 3D Buttons
      • Screen Overlay Buttons
      • Scene Selectables (Pro)
      • 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
        • Ultralytics Yolo
      • 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
  • Introduction
  • Interface configuration
Edit on GitHub
  1. Components & Scripts
  2. Interfaces

Simit Shared Memory (Pro)

Connecting Siemens Simit with realvirtual.io

PreviousSiemens Simit Interface (Pro)NextSimulink (Pro)

Last updated 1 month ago

From Version 6.2 on this interface is only included in realvirtual.io Professional

Introduction

Shared memory is also called mapped memory files. It is a Microsoft standard for fast inter process communication on one computer. See this link

Because the access to the shared memory interface is very fast, this interface does not need to use multi threading like most other interfaces.

Generally everything can be written into a shared memory file. This means, that a standard format for the memory is needed, if two processes want to communicate data over shared memory. The realvirtual.io Shared Memory Interface is based on the Simit shared memory standard. Simit is a tool for virtual commissioning, specifically for the modeling of sensor- and actuator behavior models. It has very poor 3D capabilities, this is why a connection to realvirtual.io is a good complimentary fit. Please check here for more information about Simit:

The realvirtual.io Simit interface can be used to connect Simit to realvirtual.io but it can be also used for connecting other processes to realvirtual.io. If you want to learn more about the Simit Shared Memory Interface data structure you should check the Simit documentation:

Here is a short Youtube Tutorial showing you the interface in action:

Interface configuration

For using the Shared Memory Interface you need to add an interface to your scene by selecting Tools > game4automation > Add Component > Interface > Shared Memory or you add the Script SharedMemoryInterface to an empty Gameobject.

Next you need to configure the Shared Memory Interface . The SHM Interface needs to get a name (in the Example “Simit” which is exactly the same as in Simit (see the picture):

Simit should be configured like this:

Please make sure, that the Shared Memory Name is identical to your setting in Unity. Please also make sure that “Signaldescription in header” is set to true.

You can now push on Import Signals in the Shared Memory Interface inspector. You will get all Signals available in Simit created as Sub-Gameobjects under your Interface (in the example the signals Test2 and Test). Please keep in mind, that no signals are deleted automatically. Import signals is only adding and updating but not deleting any signals. If you now push Play in Unity you will see, that during simulation the signals are updated automatically.

Please check the for more information about the properties and methods of this component. © 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.

Realvirtual.io Class Reference
https://realvirtual.io
https://docs.microsoft.com/de-de/dotnet/standard/io/memory-mapped-files
https://new.siemens.com/global/en/products/automation/industry-software/simit.html
https://cache.industry.siemens.com/dl/files/047/109741047/att_893474/v1/SIMIT_deDE_de-DE.pdf