Teilen Sie Ihre Erfahrunge und Wünsche mit uns und anderen Usern!
Application name on OPC UA port is not supported
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.
This feature will be included in the next release (2021.14) which will be available about 17.02.2023
how to handle for the bad status of a node
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?
OPCUA update variables on connect
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.
OPCUA plc input script don´t write to server opcua and plc
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.
I have also tried write value=on and subscribe value=off, but it doesn't work either.
Thank you.
The issue is solved and will be released today in realvirtual.io Professional 2021.10.
[Question] OPC-UA Realtime Interface Graphic Stuttering Issue
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.
Problems in OPCUA4Unity Output
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?
Figure 1
Figure 2
Figure 3
Figure 4
Driver_Simple script does not accept OPC UA variable nodes
Dear developers,
I was trying to connect a custom Game4Automation Scene to a PLC through OPCUA Interface.
I followed the instructions from this tutorial:
The OPCUAInterface is updating the nodes correctly:
However, when I tried to link a bool variable node from the OPCUAInterface to the Driver_Simple interface dragging it and droping it into the forward variable, it wasn't accepted (the forbiden symbol appeared).
If I use the PLC signal component I'm able to link the component without problems.
I'm using Unity 2021.3.2f1 Editor and the game4automation-Professional-2019.13 package (OPCUAInterface is not working in the latest version of G4A, see https://forum.game4automation.com/en/communities/1/topics/376-opcua-interface-error-in-activating-session).
Any idea of what am I doing wrong?
Thank you in advance!
Hi Ernesto,
I am able to connect and to import the signals (even if I am not able to connect to the PLC because I don't have same setup).
Don't know where the problem is. Just for beeing sure I will send you again the latest code of the interface via mail. Please also check in Kepserver if you enabled anonymous login.
I can connect through OPCWATCH but when I try through G4A it doesn't work
See the connection via OPCwatch
When I try to import the nodes into UNITY see the errors. And I already tried ANONYMOUS SECURITUY POLICY 0.1 AND 2.
OPCUA problems - doesnt Import any In-/Outputs
Hey there,
first of all - the example Project provided with the Unified Automation OPCUA Server is working fine.
Im using the latest Release of G4A which is 2020.16-beta-1123 and Unity Version 2020.3.19
The PLC is created in TIA Portal v17 which sends it to PLCSimAdvanced v4.0.
(Yes(!) i know i could use the PLCSimAdvanced Interface, but for now i have to stick to the OPCUA Interface)
This is what OPC Watch looks like when connected to my PLC which has an OPCUA Server:
You can see the Inputs and Outputs.
When trying to import these Nodes into Unity with the G4A Framework im getting
In the "PLCOutputBool.cs", when changing from
to
The import finishes with no more errors.
But now looking into Unitys Hierarchy, no In-/Outputs where generated.(No Dropdown available at the Input & Ouput Gameobject)
Even then whole "PLC_1" Node is missing in Unity.
It is solved @Robin: thanks a lot for your help.
It will be included in release 2022.12.
For everybody having same issue before - please integrate this into OPCUA_Interface.cs:
OPCUA with 2020.15 Doesn't Import Arrays
Hello. I have setup an OPCUA Client without issue on several versions of Unity (2019.4.18f1, 2020.3.25f1) with game4automation 2020.13.
I now seem to have an issue Importing array nodes after an update to game4automation 2020.15.
The nodes import, but the arrays are only a single gameobject without a list of value, instead of a hierarchy array of game objects that it does with 2020.13.
Is this a known issue, or does it work differently with arrays now? Possibly because of the OPCUA change in 2020.14?
Yes, arrays are not supported currently. We will add this in one of the next releases. If you need it at this moment you should go back to the old version.
Customer support service by UserEcho