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

0
Answered

Why my g4a project everytime I enter play mode stops working?

Matteo 5 years ago in General Questions updated 5 years ago 6

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

Answer
Support 5 years ago

Based on your description it is hard to say where your problem is. Did you followed these steps?

https://forum.game4automation.com/knowledge-bases/2/articles/193-step-by-step-guide-if-you-have-problems

If these steps don't help please export us your project and we will look into it.

0
Answered

multiple PLC's

Willem Van Der Gaag 5 years ago updated by Support 5 years ago 2

Is it possible to use multiple PLC's that are connected to a singel switch. For example by adding multiple s7 interfaces?

Answer
Support 5 years ago

yes for sure. Each PLC must have a different IP address. Numbers of interfaces in one scene is not limited.

0
Answered

Help!

ttalboys 5 years ago in CADLink updated by Support 5 years ago 21

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.

Answer
Support 5 years ago

Mai is info@game4automation.com

0
Answered

Colider Box , vertical movment on chan element

murdemon 5 years ago in General Questions updated by Дмитрий Мурашов 5 years ago 13

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?

Youtube video
Answer
Support 5 years ago

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.

Transportsurface.mp4

0
Answered

Changing local zero point for mesh

murdemon 5 years ago in General Questions updated by Support 5 years ago 1

How can i change local zero point of mesh from parts4cad? i want add drive (rotation), but zero point of rotation is wrong. 

Answer
Support 5 years ago

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.

0
Answered

I want to connect and sent,get data from general microcontroller such as m5stack to game4automation in unity3d.

wittawat 5 years ago updated by Support 5 years ago 2

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

Answer
Support 5 years ago

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.

0
Answered

OPC UA without Top Node ID

Werner Paulin 5 years ago in OPCUA4Unity updated by Support 5 years ago 4

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.

Image 241

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

Image 242

Is there a way to connect to nodes I've created as shown above?

Thanks

0
Answered

AR template

marinel moraru 5 years ago in General Questions updated by Support 5 years ago 1

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 



Screenshot_20200925-102715.jpg

Answer
Support 5 years ago

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.

0
Fixed

Interface to SIMIT via SHM unstable

David 5 years ago in realvirtual.io Starter and Professional updated by Support 5 years ago 3

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

Answer
Support 5 years ago

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. 

0
Completed

reading from plc not possible

Willem Van Der Gaag 5 years ago in realvirtual.io Starter and Professional updated by Support 5 years ago 7

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!

Image 227

Answer
Support 5 years ago

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.