Teilen Sie Ihre Erfahrunge und Wünsche mit uns und anderen Usern!
Error importing the Package
I get this error when I import the package to Unity:
Assets/game4automation/private/RuntimeUI/SceneMouseNavigation.cs(801,38): error CS0103: The name 'SpaceNavigator' does not exist in the current context
Circular conveyor belt
Hi
I wanted to achieve a circular conveyordemo effect (Fig1), a reference to radialConveyordemo (Fig2), but the MU transported in a circular conveyordemo is skewed in position, and I froze the XYZ rotation of the MU
Fig 1
Fig 2
We found the issue with Prosys.
https://forum.realvirtual.io/communities/1/topics/482-import-nodes-remains-importing-for-ever
OPCUA Interface - Error in activating session
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):
However, when I tried connecting through the Unity OPCUA Interface:
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.
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.
The disconnect problem and the PLCOutputBool can't be reproduced here on my computer with Simit.
No Mutex PLCSim Advanced Interface proble
Hello,
we are using the PLCSim Advanced Interface.
We can Import the PLCSignals without any Troubles:
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.
Robodk version with game4automation professional or game4automation OPC UA
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.
When will Unity 2019 be supported?
Hello,
I was wondering when will OPC UA for Unity 2019 will be supported?
With kind regards,
Stan (Developer at Siemens)
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?
S7 interface - no signal values even though address is correct and connection can be made
I'm currently working on a project with a 1518TF-4 CPU which we activated on an IPC. I can establish a connection between Unity and the PLC but the signals then doesn't recieve any values and stay 0 or FALSE.
The signals I need access for are inside a DB. I've created the Signals in the S7 interface by hand and I made sure the address is correct.
Example of a signal I created:
I also made sure, that all the settings specified here S7 TCP | realvirtual.io are done. So that there's full access and PUT/GET communication is allowed. I tried establishing a connection to signals inside a DB and Q signals. My only goal is to read signals, no need to write them.
I've tried it with realvirtual 2022.19.6148 and 2022.15.5414. The Unity version I'm using is 2022.3.39. I also tried a simple test siemens project but that also didn't work.
I know that it already worked at some point last year, but I can't figure out why it doesn't anymore.
This is what my S7 config looks like:
I've also tried all kinds of varieties of settings, so different values for max pdu length, with reverse high low bytes and more.
I don't know if this has any relevance but I did notice that sometimes, when reverse high low bytes is activated, some Bool signals randomly jump between FALSE and TRUE, some Ints sometimes jump to 265 and back to 0 and Floats will do the same to 2.350989E-38.
Does anyone have an idea, why I cannot get the signal values in Unity? I've run out of ideas.
IK Limits
I'm working on some digital twin of a 6 axis arm robot and would like to use the IK.
I actually have something that's currently working fine, but we've found out that some of the joints are reverse and that one of them needs an offset. However - once I fix all that the IK breaks.
I saw in the documentation that there are some strict limitations.
I just wanted to understand where am I still free to play around, and if it's possible to fix the IK somehow:
1. Can I reverse the joint's direction (the bottom two are fine but the rest need reversing)?
2. Can I add an offset so that when the 3rd joint is at 0 angle the robot will be at 90 degrees?
3. If not - is there some recommended method to convert the values so that they would fit the real values?
Customer support service by UserEcho