Teilen Sie Ihre Erfahrunge und Wünsche mit uns und anderen Usern!
Why my g4a project everytime I enter play mode stops working?
H, I'm currently working on my first project. I have added some drive scripts and some Mu and source, it is small at the moment and without any physics, but every time I press the play button to see my scripts in action, unity stops working and it took approx 3 mins to start or close the play mode and all the changes I made will disappear even though I saved them, I am talking about the bottom entity inside the game4automation gameobject. I tried to uninstall unity a couple of times, and this issue is still here only for my projects with the g4a asset on it, all my other unity projects ( even bigger one) will run without any problem. I should also mention that my pc is new and powerful. How can I fix this? I need to work on my final dissertation and like this is impossible.
Thanks
Based on your description it is hard to say where your problem is. Did you followed these steps?
If these steps don't help please export us your project and we will look into it.
multiple PLC's
Is it possible to use multiple PLC's that are connected to a singel switch. For example by adding multiple s7 interfaces?
yes for sure. Each PLC must have a different IP address. Numbers of interfaces in one scene is not limited.
Help!
No matter what I do I can't get materials from Solidworks into Unity through this tool. What am I doing wrong? I am saving the files with materials checked. This tool is seriously compromised without being able to import with materials. Thank You.
Colider Box , vertical movment on chan element
I add chain with chain element, and make chain element as transfer surface. But when cans comes to chain element it is holding only in vertical moving , but not for horizontal, there is video, what i miss?
OK we found a solution. Thanks for sharing your information.
Here is a video about it, will be in the release next week. If you need the changed scripts earlier please send me a message.
Changing local zero point for mesh
How can i change local zero point of mesh from parts4cad? i want add drive (rotation), but zero point of rotation is wrong.
For changing the local 0 point you could embed it into an empty game object manually or use the Kinematic script for doing that on startup or you can change the zero point on the CAD side.
I want to connect and sent,get data from general microcontroller such as m5stack to game4automation in unity3d.
If I want to connect and sent, get data from general microcontroller such as m5stack to your system through mqtt or / and http post get method is possible? My work is general digital twin on microcontroller, not robot arm.
Please advise.
Wittawat
There are on Github MQTT Libraries for .Net available you could use with Unity.
On our side MQTT is planned but so far not with very high priority because MQTT is not much used on PLCs.
OPC UA without Top Node ID
I'm trying to connect via OPC UA to a Node-RED OPC UA server. This server allows me to create nodes on root level.

If I do not specify a Top Node Id I get the following error:

Is there a way to connect to nodes I've created as shown above?
Thanks
AR template
Hi Thomas,
In one post, you have an AR example with some industrial tanks and the values collected from PLC.
Do you have a template (or some instructions) for this type of application and willing to share?
Thanks
Hi, no I am sorry we can't provide this. It was a prototype and we used in the Unity Project some basic Unity UI-Stuff, the game4automation OPCUA interface and Vuforia for marker tracking.
Interface to SIMIT via SHM unstable
Hello,
with my coupling between SIMIT and G4A the connection always breaks down.
I suppose it is due to a timeout at G4A. Because there is a high simulation load at SIMIT at the time of interruption. I can use the "Import Signals" button to reestablish the connection, but the connection does not persist.
Can I activate a cyclic reconnect if the connection is not established?
Thanks in advance
David
There will be a value in the next release which will allow to configure the "no responding" time which will set the interface to disconnected.
reading from plc not possible
I have added the a sensor from my PLC but as soon as i start running my program it writes a value. I would like to read the current value and not write anything. This is what my sensor looks like when it is added: Many thanks!

OK but usually PLC Inputs should only be written by Unity and not read.
You could manually create your table using excel (in the form TIA Portal is creating the tables) or you could manually create the IOs in Unity. Please delete the spaces in the names so it should for example be "I5.0" and not "I 5.0"). Maybe this is also an issue.
Customer support service by UserEcho