Your comments

No currently this is not implemented - will be possible in the next release (latest end of this month)

Hi,

what do you mean you can't read all nodes. Reading all nodes takes some time if there are a lot of variables on the OPCUA server because it is not multithreaded imported (we will change that soon). This is why it is usually better to only import the subnode which is really needed.

For the problem with your variable, the problem seems to be the type (the type is Variable - but it should be Int64). I need to check what the reason ist. 

Can you please try to read the variable directly in code (without having the node as a gameobject) by doing like this:

float myvar = (float)Interface.ReadNodeValue(NodeId);

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

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. 

Hi Allen,

you are right. In the starter pack there is only the Siemens PLC included. You could do similar things than in the picture but you will need to do all the ar stuff (message boxes) with Unity yourself. In the next weeks Game4Automation Professional will include this. Also S7 communication is in comparison to OPC UA limited. No arrays, no strings, no subscription. But if you poll the variables and you are ok with basic data types like integer, float, boolean you can go with the starter pack.

Best regards

Thomas

Game4Automation ist  nun über den Unity Asset Store erhältlich.

Mehr zu den Versionen und der Link auf den Store findet sich hier: https://game4automation.com/kaufen

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

Zu unterscheiden ist auch die Editor Version und die Build Version. Man kann z.B. von dem Editor auf viele Zielplattformen compilieren (PC, MAX, Linux, IOS, Androis usw). D.h. mit dem compilierten "Digitalen Zwilling" geht Linux auf jeden Fall. Ob der Editor auch mit Linux in der notwendigen Version geht (siehe oben) wäre zu testen. Im Prinzip müsste es aber gehen.

Ich selbst hier kann leider aktuell nicht das aktuelle Game4Automation auf Linux testen - ein Feedback, ob es geht, wäre sehr interessant.