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

0
Answered

Error in opening secure channel [BadEncodingLimitsExceeded]

Juliano Cortes 4 months ago in OPCUA4Unity updated 4 months ago 2

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?

Answer
Support 4 months ago

Please try the current G4A professional beta on our download page  https://game4automation.com/download/customers/  we did some changes on the OPCUA side.

Please also check this thread - maybe it is related to the security policy ID. In the new beta there is an additional setting for Security Policy ID - please try to change this to 1 (instead of a 0).

0
Under review

OPC UA connection with Rexroth ctrlX

benedikt mayenberger 6 months ago in OPCUA4Unity updated 5 months ago 6

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?

Answer
Support 5 months ago

Please try both - latest OPCUA4Unity and the version before. We replaced the full OPCUA basis library in latest release.

0
Answered

Importing Nodes and performance

TVSundt 7 months ago in OPCUA4Unity updated by Support 7 months ago 1

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

Answer
Support 7 months ago

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.

0
Completed

Hello Thomas,I want to connect to RobotStudio。

Stupiddog 8 months ago in OPCUA4Unity updated 8 months ago 8
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!
Answer
Support 8 months ago

This interface is working without Simit it is just using the Simit Interface on ABB Robot Studio side (G4A is acting like Simit)

0

KepserverEX 6 and OPCUA Interface of Game4Automation

efrensilveyra 12 months ago in OPCUA4Unity 0

Hi everyone!

Someone with experience connecting KepserverEX6 and OPCUA Interface of Game4Automation, and also writing and reading tags between them.

Regards!

0
Fixed

Subscribe problem using multiple OPCUA Interfaces

TedSwanseaUni 1 year ago in OPCUA4Unity updated 1 year ago 3

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


 

Answer
Support 1 year ago

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

0
Fixed

OPC UA cannot import nodes

oli_ver142 1 year ago in OPCUA4Unity updated by Support 1 year ago 2

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.

Answer
Support 1 year ago

Es ist eine neue Beta im Downloadbereich (https://game4automation.com/download/customers/).

Dort ist das Importproblem behoben.

0
Answered

OPCUA4Unity接口是否可以部署在Hololens 2上?

903112780 1 year ago in OPCUA4Unity updated by florian badertscher 1 year ago 8

OPCUA4Unity接口是否可以部署在Hololens 2上?

Answer
Support 1 year ago

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.

0
Answered

OPCUA and custom types

acour 1 year ago in OPCUA4Unity updated by Stupiddog 1 year ago 13

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!

Answer
Support 1 year ago

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.

0
Answered

Multiple node to subscribe OPC UA

exiatec sb 1 year ago in OPCUA4Unity updated by Support 1 year ago 3

How to subscribe multiple nodes and with events? Fyi i need to subscribe more than 200 nodes to monitor (is this possible using the client?). Based on the documentation it only explain subscribe for one node and event.

Answer
Support 1 year ago

The OPCUANodeSubscription object includes everything you need, e.g. the NodeID of the node which changed.