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

0
Fixed

CADLink and Solid Edge

Andrew Sherlock 5 years ago in CADLink updated by Support 5 years ago 13

We are having issues with models generated from Solid Edge. Assembly positions and part colours don't always seem to be respected.


I note that the documentation mentions similar issues with NX and that a fix is due soon. Will something similar for Solid Edge available?


Andy

Answer
Support 5 years ago

Hi Andy, oh sorry. Yes you can remove this line.

Give us a good feedback in the Unity Store if you are happy with our solution. Thanks.


Thomas

0
Answered

Bidirectional communication with "Starter"- version or other version possible?

Leon 5 years ago in realvirtual.io Starter and Professional updated by Support 5 years ago 4

Hello,

I would like to create a digital twin of an already existing system, which is using a S7-1500 controller.

Is the basic version capable to create a bidirectional communication between the digital twin and the real system?

Does a change in state of the physical object directly lead to a change in state of the digital twin and the other way around?

Cheers,

Leon

Answer
Support 5 years ago

Hi Leon,

1) yes this is the case. In Professional there is the 3MF interface included (since yesterday). You can directly import from all CAD-Systems which are able to export 3MF. Professional will get aditional features fur the 3MF interface like Updating, Mesh reduction .....

2) Yes you only need to buy and use PixYZ if you want to import the mentioned formats. Which CAD System are you using. For Solidworks we will have soon addtional export functions (as Solidworks makro) which will be more than what PIXYZ is able to do (like export kinematics).

3) Yes, 3MF with Game4Automation Professional - the rest is standard unity.

4) Yes it is. The 3MF interface is just a script attached to a GameObject. You can use it also in Runtime (during simulation).

Best regards

Thomas

0
Answered

Subscription fields are mostly null

JGIngaa 5 years ago in OPCUA4Unity updated by Support 5 years ago 3

Dear game4automation team,

so far the OPCUA4Unity asset works very smooth. Great work!

In my project I tried to update my data like you show in the DemoTextWithDelegate example. But the subscription object returned in OPCUA_Interface :

sub = connection.SubscribeNodeDataChange(nodeid,del);

is pretty much empty:

Image 68

I used UAExpert to test the subscription with the same node id, which worked. As far as I can tell I do not get any warnings or errors. Here is my code how I subscribe:

private OPCUANodeSubscription _safetyLevelSubscription; //subscription is a class member
[...]
_safetyLevelSubscription = _interface.Subscribe(node.NodeId, SafetyLevelNodeChanged); //this is the call
[...]
 public void SafetyLevelNodeChanged(OPCUANodeSubscription sub, object obj) //this is the delegate signature

Now, I noticed that the OPCUAInterface gameobject holds pretty much all the nodes of the top node as childs and keeps them up to date. At least in the editor. Wouldn't it be best practice then to always access those child OPCUA_Nodes instead of adding an additional subscription?

Thanks for your thoughts!

JG

EDIT:

Maybe I should add, that the delegate is not called when the value on the OPC UA server changes. I assume it is due to the null ptr in the subscription. Also, I use a codesys opc ua stack.

Answer
Support 5 years ago

Thanks for the positive feedback. Please give us a review in the Asset Store if you like it.

You have both options. Subscribe in code or use the imported child nodes for accessing the values.

Usually the subscription gets null if the server is not reachable. Some servers are also limiting the number of subscriptions - maybe this is the case on your server. Do you see anything in the console log?

0
Not a bug

Exception in OPCUAConnection.Connect on Android

JGIngaa 5 years ago in OPCUA4Unity updated by Support 5 years ago 4

Hi all!

I am using the OPCUA4Unity asset in my project. When I run it on android devices an exception is thrown in game4automation.OPCUAConnection.Connect(). Here is the full output:

The type initializer for 'Opc.UaFx.Client.OpcClient' threw an exception. at game4automation.OPCUAConnection.Connect () [0x00000] in <00000000000000000000000000000000>:0
at game4automation.OPCUA_Interface.Connect () [0x00000] in <00000000000000000000000000000000>:0

UnityEngine.Logger:Log(LogType, Object)
game4automation.OPCUA_Interface:Connect()

I am able to run it in Unity Editor aswell as Win Standalone App. I am also able to connect with another OPC UA client from the same android device to the server.Is Android not supported?


Please let me know if you need additional infos!


JG

Answer
Support 5 years ago

Hi, we tested it also with android and it shoudl workl.


Are you compiling with ILCPP and are you having .Net20 compatibility turned on. Are you allowing Internet Access for your Android Device?

Thomas

0
Answered

I have a question for OPCUA trial version

jang 5 years ago in OPCUA4Unity updated by Support 5 years ago 4

안녕! OPCUA 시험 버전이 있습니까?

나는 경험하고 구매하기로 결정하고 싶다.

Answer
Support 5 years ago

It is licensed on a purchase per set basis. Updates are included through the Unity Asset Store. We never tested it, but I am pretty shure that WebGL will not work. We are no planning extra effort to support WebGL.

0
Completed

call method

Yulong Ding 5 years ago in OPCUA4Unity updated 5 years ago 7

is it possible to call method of OPCUA server?

Answer
Support 5 years ago

Please give us a good review in the Asset store if you like it!

0
Fixed

help for reading values from opcua server

Yulong Ding 5 years ago in OPCUA4Unity updated by Support 5 years ago 5

I bought the OPCUA4UNITY asset recently, then I set up a simple opcua server with python-opcua (code is here). It’s able to connect the server, import the nodes, but there is no data showing in the inspector when I click the “Update Node” button.

I tried to debug in VS. It seems the "Value" property of opcNode is missing.

Then I used OPC watch, the value can be read.

Image 32

I also tried other opcua servers, like UA-.NETStandard has the same problem and another problem is it cannot import all the nodes in unity.

For “OPC UA C++ Demo Server V1.7.0” server, value can be read correctly, but it cannot import all the nodes in unity.

I have struggled several days, please help me, thanks a lot!

Answer
Support 5 years ago

I have found the problem. It will be included in the next release. I will send you a patch via mail!

0
Answered

Display NodeID value as text in Unity

allenlimofficial 5 years ago in OPCUA4Unity updated by Support 5 years ago 3

Image 21

Hello. I have since bought your OPCUA4Unity, and followed your tutorials in the YouTube video. I wish to refer to your Text with Delegate text. I tried doing the same thing but i am unable to output anything to my game. I am able to type in the "Text From OPCUA Node" and it comes out in the game. May I know how did you connect the script to the string that you wanted for display? 


In my case, I wish to reference it to the "Value". I have tested running your OPCUA_Node and Interface and they work well (sweet!) but as we know it does not show up in the game scene. So I hope you may advise me on what are the steps needed. Thank you!

Answer
Support 5 years ago

Hi,

a few questions from my side to understand the problem.

Did you checked the NodeID you want to display the text from with an OPC UA Browser (you can find several in the internet).

Is the text displaying if you use an OPCUA_Node Script - the text should be sown under value?

If both things can be answered yes the communication is correct and it is just a programming issue on your side.

What I am wondering about is, that your NodeID is called "Counter1". It seems more that it is not of type string. Maype you missed to convert the integer to a string?

Best regards

Thomas

0
Answered

Questions Regarding Compatibility Between Versions

Allen 5 years ago in General Questions updated by Support 5 years ago 4

Hi there,


I am a student who wants to use your product for my project to connect my Android Augmented Reality app made from Unity to read the values from a Siemens PLC in real time. In short, I wish to be able to have something like this in my app from your photos.


Image 12


I am slightly confused as the PLC I want to connect to is covered in the starter pack. However, I am more familiar with using OPC UA client to connect to the servers. As this is a proof of concept for education, I may not have the capital for the OPCUA4unity. Would the Game4Automation Starter be able to achieve my objective? If not, would there be a educational license for the OPCUA4Unity?


I hope to hear from you soon. Thank you!

Allen


Answer
Support 5 years ago

Yes sure this is possible. The ip adress is just a property and you can start the connect at any time by script if you want. You will need to build a GUI based on Unitys UI system to let the user put in the IP adresse and then you can start the connection via script. 

Answer
Support 5 years ago

Hallo, OPC UA müsste eine Möglichkeit sein. Bosch Rexroth bietet diese Schnittstelle sicher an. Grundsätzlich kann man auch alles selbst ergänzen, wenn Bosch Rexroth eine .Net API anbietet. Unsere Schnittstellen sind Sourcecodeoffen, beispielsweise die zur S7, man kann diese als Vorlage nehmen. Gerne können wir auch unterstützen bei der Entwicklung einer Bosch-Rexroth Schnittstelle. Sie im Standard anzubieten ist aktuell noch nicht geplant da der Bedarf (noch) nicht groß genug ist. Gruß 

Thomas