Teilen Sie Ihre Erfahrunge und Wünsche mit uns und anderen Usern!

0
Answered

Stop MU on conveyor by stopper

Andreas 1 year ago in realvirtual.io Starter and Professional updated 1 year ago 17

How can I prevent a jumping MU on a (guided) conveyor?

For this I used the invisible conveyor system from your demo project "Guided Transport".

The MU stops at the stopper but starts jumping up and down immediatetly. 

Is there an easy way to prevent this? 


I played around with the Rigidbody parameters and realised it stops if I activate "Is Kinematic". I guess I could do this by writing a scripts that activates this parameter at collision with transport layer.

Image 1118

Answer
Support 1 year ago

Hallo,

anbei die Antworten zu Ihren Fragen:


Im Umlaufsystem stapeln sich die WTs ab einer Staulänger von 4 Wts. Wie kann ich das verhindern?
Bitte verwenden Sie ausschließlich guided Transport. Die Kombination aus normaler Transportsurface und guided Transport wird nicht funktionieren.


Wie kann ich ein "Transport Guided (Script)" unterbrechen (durch zB einen Heber) und danach wieder fortführen?
Hier gibt eine Umsetzung in der Demoszene zum guidedTransport, welche als Vorlage genutzt werden kann. (realvirtual/Scenes/DemoGuidedTransport)

Wie kann ich eine "Guideline" bei einem Transportsystem mit zwei "Transport Surfaces" einfügen?
Ein System wie in ihrem Beispiel wird immer nur mit einer Transportsurface umgesetzt, damit kann einfach eine Guideline ergänzt werden. Unity betrachtet immer nur eine "Collision".


Unter main/realvirtual/ui/button1 wird ein image verwendet. Wo finde ich die Datei?
Button-GameObject in der Hierarchie auswählen und im Inspector auf das definierte Bild klicken. Es wird dann im Projekt angezeigt.

Roboter bewegen sich zu bestimmten Positionen deutlich langsamer. Warum ist das so?
Die Bewegung richtet sich nach der langsamsten Achse.


Grüße Christin

  • How can I prevent WTs from stacking up after a queue length of 4 WTs in the circulation system?

    Use only guided transport. Combining normal transport surfaces with guided transport will not work.

  • How can I interrupt a "Transport Guided (Script)" (e.g., by a lift) and then resume it?

    There is an implementation in the demo scene for guided transport that can be used as a template. (realvirtual/Scenes/DemoGuidedTransport)

  • How can I add a "Guideline" to a transport system with two "Transport Surfaces"?

    A system like the one in your example is always implemented with a single transport surface, allowing an easy addition of a guideline. Unity only considers one "Collision".

  • Where can I find the file used for the image under main/realvirtual/ui/button1?

    Select the Button-GameObject in the hierarchy and click on the defined image in the Inspector. It will then be displayed in the project.

  • Why do robots move significantly slower to certain positions?

    The movement speed is determined by the slowest axis.

  • Regards Christin


    0
    Under review

    UWP Deployment for Hololens 2 does not complete successfully Unity 2021.3.21f1

    Dominik Zawalich 2 years ago in OPCUA4Unity updated 1 year ago 5

    Hello, it seems like we are having an issue with the OPCUA4Unity asset that we want to use for our Hololens build. We created a new project and were able to create a build for the Hololens without any problems. We then imported the asset from the Asset Store and tried to build again, but to no avail. We didn't add the demo scene into the build, so the problem is not with the scene itself. The build settings match the attached screenshot.

    After creating the build in Unity, we open the build folder in Visual Studio and launch the .sln file. We select the Release, ARM64 and Device options and start the process. However, the build process gets stuck at a certain point, as shown in the screenshot.

    Image 1112

    Image 1111

    0
    Not a bug

    Override values (Unity to PLC) does not work as expected

    Gonçalo Nascimento 2 years ago in realvirtual.io Community updated by Support 1 year ago 6

    Greetings.

    I am using S7 TCP/IP connection on a Unity project and I am physically connected to an S7-1200.

    I am using various PLC Inputs and Outputs (created automatically from the .sdf file).

    The PLC outputs are being read correctly on Unity, but when I force (overrite) a BOOL input value, the PLC detects the change but does not hold the new value. For example, I can see on the TIA Portal monitor window that the value is FALSE. I press write to True on Unity but the monitor on TIA Portal still shows False, although it did acknowledge the pulse (mabye it was a very short pulse)? Is this the way writing to PLC inputs works? By pulses? Because I would like to change a boolean (or any other type) value and hold that state for long periods of time.

    These are my settings for the S7 Interface

    Image 1101

    And this is an example of a PLC Input component (Is it normal that the component is deactivated during runtime??):

    Image 1103


    This is the correspondent GameObject during runtime:

    Image 1102

    Thanks for your time!

    Answer
    Support 1 year ago

    Hi Andreas,


    here are my answers:

    1. This behavior is by design from Siemens. It's not possible to change this. If a hardware value is at a certain level, you can't overwrite it with software.
    2. This is not a bug; it's a common characteristic of all software solutions utilizing real Siemens PLC hardware. To avoid values being overwritten, you can modify your hardware configuration or use a simulated PLC.

    To the best of my knowledge, you don't need to change the program itself. However, you do need to adjust the hardware configuration to ensure the symbol you are using does not conflict with a real hardware input.

    Solutions that Work Without Changing Hardware Configuration for Siemens Controllers:

    • Use PLCSimAdvanced
    • Use Simit in Combination with a Simulation Unit

     

    0
    Answered

    Can realVirtual built for web

    zilong 2 years ago in realvirtual.io Starter and Professional updated by Support 2 years ago 5

    When I choose the WebGl plat for build my unity projects which use realVirtual-io tool, the system has the follow error:

    "Assets\realvirtual\private\Interfaces\SharedMemory\Editor\SharedMemoryInterfaceEditor.cs(9,26): error CS0246: The type or namespace name 'SharedMemoryInterface' could not be found (are you missing a using directive or an assembly reference?)"。

    Answer
    Support 2 years ago

    Hi,

    it seems that you are using an old version. This issue has been solved. Some interfaces need to be deactivated before compiling because they are using functions which are not available in WebGL.


    You should upgrade to the latest version or delete the interfaces (the full folder of it) which are not supported in WebGL. You can check the table on this page here: https://doc.realvirtual.io/advanced-topics/supported-platforms

    0
    Answered

    OPCUA not listing all nodes

    Maira Matos 2 years ago in realvirtual.io Starter and Professional updated by Support 1 year ago 2

    I'm encountering difficulties accessing nodes within the OPCUA Server. While I can establish a connection with the server, the nodes aren't being properly imported into Unity.
    Examining the image below, it's evident that input nodes contain nested nodes. However, as depicted in the screenshots, Unity fails to list all the available nodes.

    Image 1 - OPCUA Explorer

    image

    Image 2 - OPCUA Interface Unity

    Image 1098

    0
    Answered

    Help doing a basic project.

    G Tardio 2 years ago in General Questions updated by Support 2 years ago 6

    I want to do a project that looks like the demo, but i have tried to do it modifying the demo but i have no clue. I am looking on how to do a conveyor with a sensor at the end. I want to make two sources, two cans with different heigts, one one (i would like to make them appear random, but that i will try to do it further along the project since i guess is harder). Then the ones that are high enough to make the sensor go on, to grap them and put them on a parallel conveyor. When a can touches the first conveyor, i want the conveyor to stop until it is picked up. 
    later on, i would like to connect this to a plc siemens, so i would like to get started this project by projecting it on this goal (meaning to put the sensor as an output, something like that)
    I am looking for help to put me in the path on completing the project because i do not know how to start and i have watched the tutorials. Any help is appreciated.
    thank you

    0
    Completed

    HMI UI not showing in Play mode

    Maira Matos 2 years ago in realvirtual.io Starter and Professional updated by Support 2 years ago 3

    I created an HMI object with 2 HMI tabs. The first tab stores a drop-down menu, and the second tab stores 3 HMI Panel World Space with HMI buttons. When I use Unity in Scene and Game mode , I can visualize the changes. However, after starting the simulation ( Play mode ), all the objects inside HMI wont appear on the game. All elements are on the UI layer.


    Scene Mode

    Image 1094


    Game Mode

    Image 1096


    Play Mode

    Image 1097

    Answer
    Support 2 years ago

    Hi,

    after reviewing your images again, it appears that you're not using tab buttons to switch between the tabs. In this case, please enable "Tab Activated" within the "HMI_Tab" component to activate the tab when "Play" is started. Let me know if this solves the problem.

    Regards Christin

    0
    Completed

    Do you have any suggestions about how webgl(unity3D) communicates with twincat by realvirtual.io

    Dragon Yun 2 years ago in realvirtual.io Starter and Professional updated 2 years ago 8

    as i descripte,i want to complete a machine digital twin which is similar with the example demo from your website shows.

    Image 1092

    Image 1091

    Answer
    Support 2 years ago

    I don't think, that we are publishing a special video for TwinCAT HMI. Besides symbol annotation and that you need special licenses (TF2000) - see section prerequisites - there is nothing special about this interface. What is your problem, do you have any error messages, things we should explain in our documentation? 

    0
    Answered

    are method calling available?

    mojer 2 years ago in OPCUA4Unity updated by Support 2 years ago 1

    Hi,

    I was wondering if It is possible to call methods of a OPCUA server from the unity Side and how it can be done.

    Thanks in advances

    0
    Answered

    IMPORT STEP (STP) FILE TO REALVIRTUAL WITHOUT CADLINK

    Jackson Pham 2 years ago in CADLink updated by Support 2 years ago 1

    Dear friends,


    Is there any solutions that I could import my own step file without using Cad Link (Pro)

    I am now using Starter RealVirtual.

    My budget is limmted.