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

0
Answered

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

h-morishita 2 years ago in OPCUA4Unity updated by Support 2 years ago 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?

Answer
Support 2 years ago

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
Under review

Connection to certificate based authentication OPCUA server

Iacopo Checcacci 2 years ago in OPCUA4Unity updated by Support 2 years ago 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
Under review

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

zhyi 2 years ago in OPCUA4Unity updated by Support 2 years ago 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
Under review

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

VBKsjjW 2 years ago in OPCUA4Unity updated by Support 2 years ago 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.

Answer
Support 2 years ago

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).

0
Answered

Application name on OPC UA port is not supported

Elio 2 years ago in OPCUA4Unity updated by Support 2 years ago 5

Hello,

I am trying to connect a CS9 controller from Stäubli, but the OPC UA server is published on the following address: 

opc.tcp://172.XXX.XXX.XXX:4880/Staubli

This last "/Staubli" data can not be written in the Port field or any other in OPC UA script, so the connection can not be stablished... It is not possible to modify the address in the controller, so I would like to know how can I define this address to properly connnect my server.

Answer
Support 2 years ago

This feature will be included in the next release (2021.14) which will be available about 17.02.2023

0
Answered

how to handle for the bad status of a node

eternalism 2 years ago in OPCUA4Unity updated by Support 2 years ago 5

hi,

i am making a app watching Devices through the "KEPServer for OPC".

so, i made subscribe multiple nodes.

then i expected my app work similar with "OPC Watch".

the result i did test, some nodes was often get bad status.

If any of the nodes is in a bad status, your plugin only disconnects from a server without handling any after works.

Or, If some nodes is bad status at starting app and first connection, the App was get "Not Answer".

On the contrary, the OPC Watch is continue updating under the same circumstance stably.

Currently,

i make reconnecting when disconnected and trying to subscribe after checking that connection of a Bad nodes each seconds via ReadValue Method.

it seem to be not good way, i think...

what is the best strategy for handle a Bad status of node?

0
Answered

OPCUA update variables on connect

Edu 2 years ago in OPCUA4Unity updated by Support 2 years ago 3

Hello

I am working on a project to work with realvirtual as HMI with OPCUA4Unity communicating with plc omron.

Reading and writing work perfectly while everything is connected.

The problem is that whenever the unity application connects the values used to write from unity to the plc are overwritten by 0 instead of being updated with the values from the plc in the first place.

0
Fixed

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

Edu 2 years ago in OPCUA4Unity updated by Support 2 years 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 2 years ago

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

0
Answered

[Question] OPC-UA Realtime Interface Graphic Stuttering Issue

Reverse Kim 2 years ago in OPCUA4Unity updated by Support 2 years ago 2
Youtube video


Hi, I bought realvirtual,io for interface with Factory Robot to build Digital Twin


I followed realvirtual.io Youtube Guideline and build up Robot and Drive and successfully interface with our OPC-UA Server


but, there are some Graphical Issue in Robot.


the Drive Follow Position Module can get Tag Data, but some Robot motions skip in the Field.

How can I solve those Issue? Please Help.

0
Answered

Problems in OPCUA4Unity Output

Janik Tian 3 years ago in OPCUA4Unity updated by Support 2 years ago 4

Servus, I'm using OPAUA Interface for my first Program, but there are some problems with communication when i write int and float format variables in my PLCs.  In Figure 3 and 4 I try to write INT values to "robotArmSuccess" but in OPC Server the corresponding values are not changed. Then I read Demo of OPCUA and modify my Program with the function WriteNodeValue(NodeId, value) , it did not work in PLC Server, according to figure 1 and 2 . Could you please give me some Guidance for this situation?  

Image 595

Figure 1

Image 596

Figure 2

Image 593

Figure 3

Image 594

Figure 4