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

0
Fertiggestellt

Universal Robots integration

Mike vor 2 Monaten aktualisiert von Thomas vor 3 Wochen 2
Hello,
we are working a lot with universal robots (UR3, UR5, UR10). Will there be an integration for these robots in Game4Automation Professional? If so, when?

Best regards,
Mike

0
Wird überprüft

Augmented Reality with Siemens

Ivan vor 2 Monaten in Game4Automation Starter and Professional aktualisiert von Thomas vor 2 Monaten 1

Hi, I am interested in connecting a SIEMENS PLC to content in Augmented Reality with Unity in a Android mobile phone. How can I do it with Game4Automation?

Antwort
Thomas vor 2 Monaten

Hi,

best would be to do it with Game4Automation Professional and the included OPCUA interface.

With the OPCUA interface, you can get the data from the PLC and with the standard Unity UI and AR functions, you could display it on your android phone. Like in this example:

Best regards

Thomas

0
Beantwortet

I see you are working on an interface to Fanuc Roboguide. This is a key interest for us. How is it coming along?

Jeff Williams vor 2 Monaten in General Questions aktualisiert von Thomas vor 2 Monaten 4
Antwort
Thomas vor 2 Monaten

Hi Jeff,

you will need the Professional version because all the "advanced" interfaces are part of Professional (like the needed Shared Memory Interface to PLCConnect).

Currently the PLCConnect developers are developing a "special" Game4Automation Interface what will be a "special" PLCConnect Interface on the Game4Automation Professional side. But the current version and standard Shared Memory should also work.


I will get you a PLCConnet trial and some documentation on it. It might take until end of this week. Could you please send me your full contact data to info@game4automation.com.


Thanks and best regards

Thomas

0
Beantwortet

Writing to PLC inputs

leevi.parssinen vor 3 Monaten in Game4Automation Starter and Professional aktualisiert von Thomas vor 3 Monaten 2

Hi,

If i have PLC connected and imported signals...how would i approach writing for example a velocity of a rigid body into the value of a PLC signal under TwinCATInterface?

Antwort
Thomas vor 3 Monaten

Hi Leve,

I assume that you are having PLCInputs and PLCOutputs in your project after importing from TwinCAT:


Now you can write to the PLCInput with 

PLCInput.Value = YourValue;



You should write your own behavior scripts and attach this to the Gameobject with the rigid-body where you want to measure the velocity.


Here is a simple example of a behavior script (it is the Sensor_standard script from the Game4Auomation Framework).

This script is sending a "High" to the PLC when the sensor is occupied.

namespace game4automation
{
  [RequireComponent(typeof(Sensor))]
//! The Sensor_Standard component is providing the Sensor behavior and connection to the PLC inputs and outputs.
public class Sensor_Standard : BehaviorInterface
{

  [Header("Settings")] public bool NormallyClosed = false; //!< Defines if sensor signal is *true* if occupied (*NormallyClosed=false*) of if signal is *false* if occupied (*NormallyClosed=true*)
  [Header("Interface Connection")] public PLCInputBool Occupied; //! Boolean PLC input for the Sensor signal.

private Sensor Sensor;
private bool _isOccupiedNotNull;

// Use this for initialization
void Start()
{
_isOccupiedNotNull = Occupied != null;
Sensor = GetComponent<Sensor>();
}

// Update is called once per frame
  void Update()
{
bool occupied = false;

// Set Behavior Outputs
if (NormallyClosed)
{
occupied = !Sensor.Occupied;
}
else
{
occupied = Sensor.Occupied;
}

// Set external PLC Outputs
if (_isOccupiedNotNull)
Occupied.Value = occupied;

}
}
}

0
Geplant

AutomationML

PeterFischer vor 4 Monaten aktualisiert von Thomas vor 3 Monaten 5

Hello,

I appreciate the direction of where the development of G4A is going. I am wondering if there are any plans to fully implement and support AutomationML. It is one of the designated open standards for I4.0 data exchange protocol. There is already support for the cadenas catalogue which uses AutomationML, but that only includes the import of CAD (COLLADA) files if I'm not mistaken. So, are there any plans for also supporting/directly importing AML files that also integrate topology (CAEX), kinematics, behaviour and logic (PLCOpen XML)?

Antwort
Thomas vor 3 Monaten

yes sure, just call me!

0
Not a bug

LicenseException

J G vor 4 Monaten in OPCUA4Unity aktualisiert von Thomas vor 4 Monaten 10

Hi all,


since the last update I get an LicenseException when building for Android. I only get the error on the device not in the editor.


"LicenseException: The supplied license is not longer supported for this version. You need to renew your support subscription to use this version of the OPC UA Framework Advanced."


I use the OPCUA4Unity asset from the asset store. Since I get this error on already shipped devices I realy need a quick solution. Thank you!

Antwort
Thomas vor 4 Monaten

I am closing this. We can't reproduce it.

0
Beantwortet

Problems importing into a project

leevi.parssinen vor 4 Monaten in Game4Automation Starter and Professional aktualisiert von Thomas vor 4 Monaten 2

Hi!

So my problem is that when i try to import the asset package into my existing project, it will import it but the Game4Automation tab will only have the Part4Cad in it. Also tried to make a new project by adding the asset first and then exporting and importing my old project, but this had the problem that colliders won't work anymore.

And one more question! (sorry I'm new to unity)

I can get the signals from my TwinCat via ADS, but how do you link the imported signals for example to a game objects Y-axis value?

Hopefully you could help me!

Antwort
Thomas vor 4 Monaten

For anyone experiencing similar issues.

Problem was that the compile settings were not set correctly:

https://game4automation.com/documentation/current/compilerdefines.html

, that collision layers were not set correctly:

https://game4automation.com/documentation/current/physics.html

and that Prostprocessing was not included in the Assembly Definitions:

https://game4automation.com/documentation/current/game4automation.html

https://game4automation.com/documentation/current/assemblydefinitions.html

0
Abgelehnt

Whats error : null texture passed to gui.drawtexture. It happens in game4automation.QuickToogle

Juliano Cortes vor 5 Monaten in Game4Automation Starter and Professional aktualisiert von Thomas vor 4 Monaten 3

How fix this:

null texture passed to GUI.DrawTexture
UnityEngine.GUI:DrawTexture(Rect, Texture, ScaleMode)
game4automation.QuickToggle.Editor.QuickToggle:DrawHierarchyItem(Int32, Rect) (at Assets/game4automation/private/Editor/QuickToggle/Editor/QuickToggle.cs:390)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Antwort
Thomas vor 4 Monaten

Hi,

we don't know this error. Could you upload your project? I will send you via email a link for uploading.

0
Beantwortet

Unity project version compability issue

leevi.parssinen vor 5 Monaten in Game4Automation Starter and Professional aktualisiert von Thomas vor 5 Monaten 1

Hi! I have an issue with my project working with game4automation professional that we just purchased. So we have a Game/project working on unitys 2019 version and i tried to import the g4a asset in it ,but the toolbar only has the Parts4Cad option. on 2018 empty project it works perfectly, but i am not so experienced with unity and was wondering if the asset works at all with 2019 versions (most important ones TwinCat ADS or the OPCUA) OR if there is a way to downgrade projects unity version

Antwort
Thomas vor 5 Monaten

Hi,

usually it should also work with 2019. But we recommend to use LTS (Long Term Stable) releases because Unity is sometimes changing to fast for industrial use cases. We develop and test in 2018.4. On our build server we also try to compile and build with 2019, but it is more risky that we miss something in 2019. So I would recommend to only use 2019 if you really need it.

I just checked latest release and 2019 and it works on my computer without problems. The main menu is available and the demo model is working as expected.

You should also check that you are using .Net4. compatibility level - even if this should be not an issue with the main menu. But some interfaces might not compile without .Net40

There seems to be an issue / collision with anything what is already in your 2019 project. I don't know what. Could you please check the Console log for some more information.

0
Fertiggestellt

Game4Automation Professional

worder vor 5 Monaten aktualisiert von Thomas vor 5 Monaten 2

Can I use my account to log on to the company and my home computer for authorization?

Antwort
Thomas vor 5 Monaten

You can do so, but you are not allowed to use one Unity or Game4Automation license on two computers at same time.