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

0
Answered

Tracking Pulses

Paul Brumfitt 4 years ago in General Questions updated by Support 4 years ago 2

Hello there,

I have been messing around with a behaviour interface to add tracking pulses to a drive. It has suddenly dawned on me that you may already have such functionality tucked away somewhere, please let me know before I re-invent the wheel ;)

Answer
Support 4 years ago

No we don't send out pulses so far on a drive. But it should be simple to add. I only see a problem if drive is to fast. Pulses could be needed faster than communication cycle is.

0
Answered

Student Access

kai grundmann 4 years ago in realvirtual.io Starter and Professional updated by Support 4 years ago 2

Dear Thomas


I am currently working as a student at the Corporate University of Baden-Württemberg on my bachelor thesis on machine simulation and automation.

G4A is helping me a lot with my thesis. I find it very intuitive and easy to use. Furthermore, your Youtube tutorials are very helpful in learning the basics of G4A.

I was wondering whether professional licenses will be available for students in the near future?

I am looking forward to your feedback.


With kind regards

Kai Grundmann

Answer
Support 4 years ago

Thanks a lot for the positive feedback. We are not planning to do that. The Starter version is meant for for free usage. In very rare cases we are developing things together with universities, companies or students in bachelor thesis and in this case we are suppling for free licenses based on special test contracts.

Best regards

Thomas

0
Answered

OPCUA and WebGl

Steffen 4 years ago in OPCUA4Unity updated by Support 4 years ago 1

Hi,

is it possible to run the OPCUA Interface inside a webgl app? I tried with Unity 2018.4.15 and 2019.2.17 and always got a "Memory index out of range" error in Chrome and Edge.

Thanks,

Steffen

Answer
Support 4 years ago

No WebGL is not supported - sorry. I also think that communicating in a Web application over OPCUA might also be not wished from the security point of view.

0
Completed

Universal Robots integration

Mike 4 years ago updated by Support 4 years ago 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
Answered

Augmented Reality with Siemens

Ivan 4 years ago in realvirtual.io Starter and Professional updated by Support 4 years ago 2

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?

Answer
Support 4 years ago

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

Answer
Support 4 years ago

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
Answered

Writing to PLC inputs

leevi parssinen 4 years ago in realvirtual.io Starter and Professional updated by Support 4 years ago 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?

Answer
Support 4 years ago

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
Completed

AutomationML

PeterFischer 4 years ago updated by Support 2 years ago 12

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)?

Answer
Support 2 years ago

The focus in our research project changed, AML is not needed any more, so an official AutomationML interface is not planned any more. In general I am missing very much the availability of AML exporters for common CAD systems. As soon we see, that there affordable standard exporters available (besides the very special solutions for automotive) we will change our mind. But you are free to develop your own importer - it should be not to much work because reading in XML and Collada into Unity should be very easy.

0
Not a bug

LicenseException

J G 4 years ago in OPCUA4Unity updated by Support 4 years ago 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!

Answer
Support 4 years ago

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

0
Answered

Problems importing into a project

leevi parssinen 4 years ago in realvirtual.io Starter and Professional updated by Support 4 years ago 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!

Answer
Support 4 years ago

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