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

Answer
Support 6 months ago

Can you turn  in the OPCUA interface  the DebugMode to true and send us the content of the console log?

+1
Under review

OPCUA Interface - Error in activating session

Ernesto 7 months ago in OPCUA4Unity updated by Support 2 months ago 30

Dear all,

I'm having problems to connect to a remote OPC UA server using the OPCUA Interface Component.

I followed the "Connection troubleshouting" guidelines provided in "/game4automation/Documentation/opcua.html".

Configuring the OPC Server with "No security certificates and passwords" I could connect OPC Watch with the server (see Image):


Image 576


However, when I tried connecting through the Unity OPCUA Interface:


Image 577


I get the following error message:

OPCUA Interface - Error in activating session [BadUnknownResponse]
UnityEngine.Debug:LogError (object)
game4automation.OPCUA_Interface:Connect () (at Assets/game4automation/private/Interfaces/OPCUA4Unity/OPCUA_Interface.cs:179)
game4automation.OPCUA_Interface:EditorImportNodes () (at Assets/game4automation/private/Interfaces/OPCUA4Unity/OPCUA_Interface.cs:246)
game4automation.OPCUAInterfaceEditor:OnInspectorGUI () (at Assets/game4automation/private/Interfaces/OPCUA4Unity/private/Editor/OPCUAInterfaceEditor.cs:20)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)


As it can be seen in the last image, I'm using Unity 2021.3.2f1 Editor with Game4Automation Digital Twin Professional 2020.


Any idea of what I'm missing?


Thank you in advanced.

Answer
Support 2 months ago

Hi, I checked. I found an issue with reconnection, that is why I am attaching here a new script. This will be included in next release.

OPCUA_Interface.cs

The disconnect problem and the PLCOutputBool can't be reproduced here on my computer with Simit.

+1
Fixed

No Mutex PLCSim Advanced Interface proble

Pablo 9 months ago in realvirtual.io Starter and Professional updated by Support 2 months ago 18

Hello,

we are using the PLCSim Advanced Interface.

We can Import the PLCSignals without any Troubles:

Image 519

The first time that we start the simulation in Unity everything is working fine (COM OK).

But after we stop the unity editor and try to start again, we get “No Mutex”... so no communication is established between the plc and Unity.

We found out that creating a new PLC Instance and re-importing the signals “fix the error”... but just for the first run. Then we have to repeat the process of creating a new PLC again and again...

Could be some background process blocking the communication? Thank you in advance.

Answer
Support 2 months ago

Current working coupler.exe is available in the download area:

https://realvirtual.io/download/PLCSimAdvancedCoupler.exe

+1
Answered

Robodk version with game4automation professional or game4automation OPC UA

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

Which version of robodk is compatible with game4automation opc ua or game4automation professional. I ask, because I want to communicate robodk 4.0 with game4automation professional.

+1
Answered

When will Unity 2019 be supported?

Stan 3 years ago in OPCUA4Unity updated by Support 3 years ago 5

Hello,


I was wondering when will OPC UA for Unity 2019 will be supported?

With kind regards,

Stan (Developer at Siemens)

Answer
Support 3 years ago

Hi, we have no tutorial about that.Even if Unity 2019 is not officially supported yet, you should be able to get it running. What is your problem. What kind of error messages do you have?

0

Hello Thomas,Can I use Ethernet IP get every axis float value from RoboGuide?

Stupiddog 2 weeks ago 0

If I want to do as the video shows(

Youtube video

)He used Ethernet IP too。But witch type should I choose?Thank you very much。

0
Declined

Why is my robotic arm model falling apart?

叽叽叽 4 weeks ago updated by Support 3 weeks ago 5

I used the cad import tool to import my manipulator model, but after running my manipulator model fell apart, how can I solve this situation?

Image 764

Answer
Support 3 weeks ago

I think the pivot points of your Axis1... Gameobjects are not where they should.

If needed you need to set empty gameobjects with the correct pivot points - like in the robot data sheet. After this you can put your meshes in. Drives are always rotating around pivot points. Please turn on the pivot point visualization in editor mode.

0
Answered

Pick based on Sensor

Kadir 4 weeks ago updated by Support 3 weeks ago 8

Hallo,

ich habe dem Würfel einen Sensor und Box Collider zugeordnet und will dass der Greifer ihn aufnimmt sobald der Würfel im Bereich des Greifers ist. wo ist der fehler? anschließend soll der Greifer den Würfel in eine Box ablegen per "place load on mu".

Image 758

0
Answered

Simit Diagramm

Kadir 4 weeks ago updated by Support 4 weeks ago 5

Hallo, 

Ich verstehe nicht ganz warum der X1 Wert mit 57,3 multipliziert wird.

Wie kommt der Wert zur stande?

Ich bemerke bei meinem Roboter eine veränderte Bewegung sobald ich den Multiplikator verändere. 

Wie richte ich es so ein, sodass der Roboter in Unity EXAKT die selbe Route abfährt wie der Roboter aus Robotstudio?

Image 756

Answer
Support 4 weeks ago

Simit muss an realvirtual für rotatorische Achsen Grad übergeben (als Float).

Wenn nun der Roboter die richtige Kinematik (Achspositionen) sowie die richtige Achsrichtungen hat so ist die Bewegung 1:1 identisch.

Was ABB RobotStudio übergibt weiß ich nicht genau. Wichtig ist, dass die Nullpunkte der Achsen gleich definiert sind (ansonsten muss mit einem Offset gearbeitet werden). Es gibt ja auch noch Radianten als Winkelmessung. Dann muss entsprechend umgerechnet werden.

0
Fixed

OPCUA plc input script don´t write to server opcua and plc

Edu 4 weeks ago in OPCUA4Unity updated by Support 3 weeks ago 13

Hello

I have managed to connect opcua4unity with the kepware server.

opcua4unity <-> kepserver <-> cp1l(omron) and opcwatch.

opcwatch connects perfectly with kepserver, reads and writes without problems.

opcua4unity connect ok, import nodes ok and read ok, but don't write values to server and plc.

attached photos.


Image 753

Image 754

I have also tried write value=on and subscribe value=off, but it doesn't work either.

Thank you.

Answer
Support 3 weeks ago

The issue is solved and will be released today in realvirtual.io Professional 2021.10.