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

0
Not a bug

Interface losing connection after certain amount of time

ThomasDM vor 9 Monaten in OPCUA4Unity aktualisiert von Support vor 9 Monaten 3

When connecting the OPCUA_Interface with a PLC I lose connection with the PLC after a certain amount of time. One kicks me out after 2 min, another after 15 min (2 different connections).

The interface seems not to notice the disconnect because the value of isConnected in the interface stays on true but if I check the connected clients to the PLC the interface is gone (which was there on startup).

Reading a value after the disconnect on node level gives me the status value: Connection error

I import the nodes with the editor button but remove all nodes I dont need. And I dont continuously get new values on the nodes I keep. I can have the same values (no changes) for long periods of time.

Does the Interface only keeps the connection alive if the values continuously update or is something else going wrong?

Antwort
Support vor 9 Monaten

Yes I understand but the used Library gives us no direct information about disconnection events. And I don't know exactly in your case who is closing the communication when nothing happens - is it the client or the server. I am closing this issue because for the moment we don't have a better solution.

0
Not a bug

Organizes Reference Infinity Loop Asyncua

konrad ebel 28 vor 9 Monaten in OPCUA4Unity aktualisiert von Support vor 9 Monaten 6

When loading the nodes from a asyncua server with an organizes refrence the loading ends in an infinity loop. I have the organizes refrence assigned to an object (against the standard), i dont know if this is the problem. When i use the client in the documentation to test the connection the client is working properly.

0
Abgelehnt

Asyncua Unsupported Communciation

konrad ebel 28 vor 9 Monaten in OPCUA4Unity aktualisiert von Support vor 9 Monaten 3

I get an error when trying to connect to an asyncua server. The client OPCUA4Unity is loading infinite and the Error Requested Value False was not found shows up:

asyncua.ua.uaerrors._base.UaError: Unsupported message type b'\x16\x03\x01'

0
Not a bug

License: The evaluation period is expired

ThomasDM vor 10 Monaten in OPCUA4Unity aktualisiert von Support vor 10 Monaten 5

When using your plugin I first ran into the problem that I had too many subscriptions for 1 PLC so I changed the OPCUAConnection class to the native OpcClient connection so I could use the Opc.UaFx.Client approach of adding multiple nodes to 1 subscription instead of making 1 subscription for every node.
After I did this I started getting the following error:

LicenseException: The evaluation period is expired, you need to purchase a license to take further use of the OPC UA Framework Advanced. Please contact your support!

What should I do in order to fix this error, cause the connection stops working after a while.

0
Not a bug

Subscription not working

Elio vor 11 Monaten in OPCUA4Unity aktualisiert vor 10 Monaten 16

Hello, we found some problem using the subscription method. Initially we used the polling method (not recommended), but eventually we found out that this starts failing when we try to capture values from different servers at the same time.


Here is the project attached with some debug lines added. We are using Integration Objects OPC UA server to test the subscription.

0
Beantwortet

OPCUA_Interface with Kepserverex Windows 11 communication issue

Ernesto vor 11 Monaten in OPCUA4Unity aktualisiert von Support vor 10 Monaten 3

Dear all,

I experienced a problem when connecting with Kepserverex OPCUA server through OPCUA_Interface in windows 11.

When I specify the IP address in the OPCUA_Interface, the following error appears:

Image 918

Image 919

Looks like the problem is in line 133 of the OPCUA_Interface script: 

IPAddress ipAddress = Dns.GetHostEntry (ServerIP).AddressList[0];


If I remove this instruction, then the communication seems to be established.

Image 920


This issue doesn't happen when running the same version of Keperverex and Project Unity in Windows 10.

Have any one experienced this issue?

Thank you in advance!

0
Beantwortet

Relationship between the number of points of parameters managed by the OPCUA server and the communication cycle.

h-morishita vor 12 Monaten in OPCUA4Unity aktualisiert von Support vor 11 Monaten 13

When the number of parameters managed by the OPCUA server is increased (from 30 to 120),

The values are being sent in bits and pieces.

Does the frequency of communication decrease in proportion to the number of parameters?

Antwort
Support vor 11 Monaten

Yes the performance should go down. It also depend on the subscription parameters and server settings, e.g. how often updates are sent. If there are many parameters which are changing very fast it might make sense to poll the variables instead of subscribing to them. But all depends on the application you are building.

0
Wird überprüft

Connection to certificate based authentication OPCUA server

Iacopo Checcacci vor 1 vor einem Jahr in OPCUA4Unity aktualisiert von Support vor 12 Monaten 6

Hi, I’m using the OPCUA4Unity plugin purchased on the Unity Asset Store.I’m able to connect a Unity project to a OPCUA server with no certificates, but my main need is to connect it to a certificate based authentication OPCUA server. In the specific is a Basic 256 security policy.Trying to connect my Unity project to the certificate based authentication OPCUA server, filling the Security Policy field with Basic 256, I receive the following errors:

  • OPCUA Interface - Connection Error Object reference not set to an instance of an object
  • SocketException: A request to send or receive data was disallowed because the socket is not connected and(when sending on a datagram socket using a sendto call) no address was supplied.

Looking on the documentation I found that you specify that "Currently certificate based authentication and communication is not supported. We are working on the problem and try to find as soon as possible a solution.”
I would like to know if a new version of the plugin that supports the certificate based authentication OPCUA server is scheduled or if you have already a beta version or also a workaround for this issue.
Thank you

0
Wird überprüft

The data obtained by OPCUA interface is not updated for a long time

zhyi vor 1 vor einem Jahr in OPCUA4Unity aktualisiert von Support vor 1 vor einem Jahr 1

The OPCUA interface is used to obtain the data. At the beginning of the data update, the data change information can be obtained, but after a few minutes, the latest data cannot be obtained

0
Wird überprüft

OPCUA4Unity can't connect to opcua server with username and password

VBKsjjW vor 1 vor einem Jahr in OPCUA4Unity aktualisiert von Support vor 1 vor einem Jahr 5

On the OPCUA server, I logged in a user.

I set up the "OPCUA_Interface" component in Unity.

At that time, the "user name" and "password" set on the server were set to "OPCUA_Interface".

In this state, click the "Import nodes" button of "OPCUA_Interface".

Then the following error is displayed in the console.

「OPCUA Interface - Error in activating session [BadUnknownResponse]UnityEngine.Debug:LogError (object)」

Please tell me how to improve.

Antwort
Support vor 1 vor einem Jahr

Hi, I was able to connect with your type of OPCUA server. I will send you in a private message a beta. If successful it will be included in our next release (2021.15).