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

+1
Answered

Robodk version with game4automation professional or game4automation OPC UA

efrensilveyra 1 year ago in OPCUA4Unity updated by Support 1 year ago 1

Which version of robodk is compatible with game4automation opc ua or game4automation professional. I ask, because I want to communicate robodk 4.0 with game4automation professional.

+1
Answered

When will Unity 2019 be supported?

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

Hello,


I was wondering when will OPC UA for Unity 2019 will be supported?

With kind regards,

Stan (Developer at Siemens)

Answer
Support 2 years ago

Hi, we have no tutorial about that.Even if Unity 2019 is not officially supported yet, you should be able to get it running. What is your problem. What kind of error messages do you have?

0

I can connect through OPCWATCH but when I try through G4A it doesn't work

Juliano Cortes 6 days ago in OPCUA4Unity updated 5 days ago 1
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.

0
Planned

OPCUA Interface - Error in activating session

Ernesto 6 days ago in OPCUA4Unity updated yesterday at 2:59 a.m. 6

Dear all,

I'm having problems to connect to a remote OPC UA server using the OPCUA Interface Component.

I followed the "Connection troubleshouting" guidelines provided in "/game4automation/Documentation/opcua.html".

Configuring the OPC Server with "No security certificates and passwords" I could connect OPC Watch with the server (see Image):



However, when I tried connecting through the Unity OPCUA Interface:



I get the following error message:

OPCUA Interface - Error in activating session [BadUnknownResponse]
UnityEngine.Debug:LogError (object)
game4automation.OPCUA_Interface:Connect () (at Assets/game4automation/private/Interfaces/OPCUA4Unity/OPCUA_Interface.cs:179)
game4automation.OPCUA_Interface:EditorImportNodes () (at Assets/game4automation/private/Interfaces/OPCUA4Unity/OPCUA_Interface.cs:246)
game4automation.OPCUAInterfaceEditor:OnInspectorGUI () (at Assets/game4automation/private/Interfaces/OPCUA4Unity/private/Editor/OPCUAInterfaceEditor.cs:20)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)


As it can be seen in the last image, I'm using Unity 2021.3.2f1 Editor with Game4Automation Digital Twin Professional 2020.


Any idea of what I'm missing?


Thank you in advanced.

Answer
Support yesterday at 1:33 a.m.

What kind of OCUA Server are you using. Is there any possiblity that we test and debug with the same server?

0
Answered

Bibliothek

je-a-s 1 week ago updated by Support 1 week ago 1

Ich habe eine weile mit eine anderen Simulation System gearbeitet. Daher folgende Fragen

Kann man in Game4Automation sich eine Bibliothek anlegen und sich  die Erstellung einer Szene (fuer Kunden) automatisieren.

Bei dem anderen System kann via einer I/O Liste und einen externen Tool Marcos ausgewählt  und die Verlinkung zu diesen erzeugt werden.

0
Answered

Axis with encoder

je-a-s 1 week ago in General Questions updated by Support 1 week ago 2
is there a sensor type encoder ?

Community Verified icon

Answer
Support 1 week ago

... and if you need a pulse encoder - sending pules every xxx millimeters, this will be available in one of the next releases. If you are a customer and purchased a professional version - please send us an email to info@game4automation.com with your Invoice and we can send you a beta of the pulse encoder. 

0
Answered

ABB Word mapping

Bo Adam 2 weeks ago updated 2 weeks ago 2

Hello,

A small time ago we had a conversation about adding bytes into the device mapping of ABB, now i needs words (16bits). 

We are trying to get the Word option to work as well, we have changed the code to the following:

Only thing we are not sure about is the line with accessor.Write(posheader, (byte) 10).

Is this correct or should we change it?

Sorry for the formatting, couldn't find the code button.

if (signal.OriginDataType.ToUpper() == "BYTE")

{

if (signal.GetType() == typeof(PLCInputInt) || signal.GetType() == typeof(PLCOutputInt))

{

if (lastbit)

posmemory = posmemory + 1;

bit = 0;

shm.bit = 0;

lastbit = false;

signal.Comment = $"M{posmemory}";

accessor.Write(posheader, (byte) 8);

shm.type = SIGNALTYPE.BYTE;

posmemory = posmemory + 1;

}

}

else if (signal.OriginDataType.ToUpper() == "WORD")

{

if (signal.GetType() == typeof(PLCInputInt) || signal.GetType() == typeof(PLCOutputInt))

{

if (lastbit)

posmemory = posmemory + 1;

bit = 0;

shm.bit = 0;

lastbit = false;

signal.Comment = $"M{posmemory}";

accessor.Write(posheader, (byte) 10);

shm.type = SIGNALTYPE.WORD;

posmemory = posmemory + 2;

}

}

else

{ if (signal.GetType() == typeof(PLCInputInt) || signal.GetType() == typeof(PLCOutputInt))

{

if (lastbit)

posmemory = posmemory + 1;

bit = 0;

shm.bit = 0;

lastbit = false;

signal.Comment = $"M{posmemory}";

accessor.Write(posheader, (byte) 10);

shm.type = SIGNALTYPE.INT;

posmemory = posmemory + 4;

}

}

Sorry if you saw my answer on the last message, but i thought it would be good to make a new topic! 

Answer
Support 2 weeks ago

I will add this in one of the next release. For Words you need to write a 9 as Type ID.

0
Under review

OPCUA problems - doesnt Import any In-/Outputs

AndreS2 2 weeks ago in OPCUA4Unity updated by Support 2 weeks ago 5

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.

Answer
Support 2 weeks ago

Hi,

can you share your PLCSIM-Advanced project (PLCSIMAdvanced 3.0)? Can be a simlified one with just the inputs and outputs.

Thanks

0
Answered

Problems with Transformation of Chains

Nicola Lienhöft 2 weeks ago in Game4Automation Starter and Professional updated by Support 2 weeks ago 5

Hello,

I created a chain with chain elements and it is working fine. Now I tried to make a copy and turn it around 90°Z. Some of the chain elements are now moving in a wrong direction, but not reproduceable. Even if I create a new spline and replace all scripts, it is not working corrrectly. Shifting along the axes works, but turning is not possible.
Does someone know a trick?

Answer
Support 2 weeks ago

Can you send us your example and we will check it.

0
Under review

OPCUA doesnt connnect on unity executable

mcouso 2 weeks ago in Game4Automation Starter and Professional updated by Support 2 days ago 7

Hello,


i have been working on a project that uses OPCUA to get some data from a server and when I execut it on the editor of Unity everything works fine but when I try to make the executable for windows platforms, in the executable doesn't connect to the server. Do I need to use any special settings to do the build on Windows?


Please if someone could help me with this I would really apreciate it. Thank you

Answer
Support 2 weeks ago

Hard to say. Are you able to get the Log data when you start it as a compiled version. There should be no special settings you need to consider. You could also use this Asset to get  the Console Log in the Unity Player Window:

https://assetstore.unity.com/packages/tools/gui/in-game-debug-console-68068