Teilen Sie Ihre Erfahrunge und Wünsche mit uns und anderen Usern!
OPCUA4Unity can't connect to opcua server with username and password
Anonymous connection works fine, but when using a username and password, the console doesn't show any errors in creating the connection, but I am not able to read or write to nodes. Also the server doesn't acknowledge the connection. Even when using application certificates the connection doesn't work properly. Using OPC Watch or UaExpert I can easily connect to the server with the username and password.
Unity is connecting successfully but afterwards no nodes are available when the connection is done with a username and password. Are there any special security settings on the nodes itself in the server which could prevent the reading when loggin in with a user?
Error in opening secure channel [BadEncodingLimitsExceeded]
I have this problem when I try connecting Prosys OPC UA server simulator: OPCUA Interface - Error in opening secure channel [BadEncodingLimitsExceeded]
I can connect with OPC watch like in game4automation documentation. Whats wrong?
We found the issue with Prosys OPCUA server:
https://forum.realvirtual.io/communities/1/topics/482-import-nodes-remains-importing-for-ever
OPC UA connection with Rexroth ctrlX
Hi, we tried to create a simulation with G4A and OPCUA4Unity together with a Rexroth ctrlX as OPC UA server. But unfortunate the client doesn't want to connect. The ctrlX offers only secure Endpoints but the OPCUA4Unity doesn't accepts them. Is there a reason for that or could we configure the client to accept this?
Please try both - latest OPCUA4Unity and the version before. We replaced the full OPCUA basis library in latest release.
Importing Nodes and performance
I just got started with OPCUA. I have a Siemens S7-1500 connected via ethernet cable. I can connect to it and read the nodes, but I can't import nodes via OPCUA Interface. I also did a test with GetAllSubnodes(topnodeid) and it found all 9 nodes it should.
My biggest issue however is using the data. If I use the recommended subscribe method, it is simply too slow (updates around 2 times a second). If I use the direct method I get the update speed, but fps tanks to unbearable with just 1 node.
How can I get better update rates with the delegate/subscribe method? (or any for that matter)
Unityversion: 2020.3.12f1 LTS
Hi, OPCUA is by itself a very slow connection. It has much communication overhead and the S7 OPCUA server is also as far as I know limited to 100ms cycle time. If you need fast update rates you should use S7 TCP, this is much faster. So OPCUA is mainly usefull for HMI stuff but not for fast sensor and axis data.
Hello Thomas,I want to connect to RobotStudio。
I watched your video(ABB RobotStudio with Unity and Game4Automation)it show you use OPCUA to connect,I want to use OPCUA too,but I don't how to do it,could you make a video show me how to do it?Thanks very much!
This interface is working without Simit it is just using the Simit Interface on ABB Robot Studio side (G4A is acting like Simit)
KepserverEX 6 and OPCUA Interface of Game4Automation
Hi everyone!
Someone with experience connecting KepserverEX6 and OPCUA Interface of Game4Automation, and also writing and reading tags between them.
Regards!
Subscribe problem using multiple OPCUA Interfaces
Our physical machine is made up of multiple OPCUA servers.
In our Unity scene we have several OPCUA_Interface objects to connect to each server and a OPCUA Node connected to each interface.
If we use Read Value on the nodes we get the values we expect, however if we use the subscribe option we get the same value across all interfaces as if they are being overwritten somehow. We can get around it by using Read Value but it seems to come with a heavy performance cost.
Is this a bug or is there another way to set this up?
Many thanks
Hi Ted,
I am sending you a new DLL.
A new Beta (2020.02-beta-521) that is fixing this issue will be available soon on our download pages.
Best regards
Thomas
OPC UA cannot import nodes
Für ein Projekt versuche ich die Nodes vom C++ Test Server von Unified Automation zu importieren. Die Verbindung funktioniert und OPC Watch zeigt den Server mit allen Nodes korrekt an. Wenn ich aber "Import Nodes" in Unity drücke, dann kommt eine Exception:
In den Einstellungen habe ich eigentlich nichts verändert:
Ich bitte um Hilfe.
Es ist eine neue Beta im Downloadbereich (https://game4automation.com/download/customers/).
Dort ist das Importproblem behoben.
Sorry I can't read the question. But Hololens 2 is not supported.
Please check https://game4automation.com/documentation/current/opcua.html for more information about what platforms are currently supported.
OPCUA and custom types
Hi,
I'm currently learning how to use game4Automation for a project and I'd like to read custom data types from the OPCUA server.
In the demonstration server, there is a Work Order variable (ns2, s=Demo.WorkOrder.WorkOrderVariable) which contains a StatusComments array recognized as an ExtensionMethod by game4automation. This array can be read as a byte[] array, but is there any better way to do this? It is pretty messy and not easy at all to work with.
Thanks for your answer!
Hi, I just checked your problem.
Currently I don't see an easy solution.
You might check out the solutions of Traeger which gives you a more advanced access to OPCUA via C# (see https://docs.traeger.de/en/software/sdk/opc-ua/net/client.development.guide).
If you want to switch to the solution of Trager we can refund you the money if you would like.
Customer support service by UserEcho