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

0
Answered

Is it possible to write to a Bool in DB with S7. e.g. PLCInputBool to DB43.DB145.0

Neil 3 years ago in realvirtual.io Starter and Professional updated 3 years ago 2

Hello. I'm thinking it isn't possible to write to a Bool in DB, but maybe I haven't tried the right format. Any tips? Thanks.

Answer
Support 3 years ago

Hello,

writing to DBs is described here and it should be possible what you like to do:

https://game4automation.com/documentation/current/s7tcpip.html#Reading-and-Writing-DBs


I think it should be DB43.DBX145.0


0
Not a bug

g4a duplicates Script

Benedikt Scholz 3 years ago in realvirtual.io Starter and Professional updated by Support 3 years ago 1

I am building some UI Elements to write PLCOutputFloats (bool, etc) from Input fields, toggles and buttons. 

Spontaneously I am getting errors because of ambigious names for these PLCOutput classes. 

Somehow g4a duplicates the classes so I get a PLCOutputBool1.cs

Can you explain what´s wrong?

Best regards

Benedikt

Image 335

Image 336

Answer
Support 3 years ago

G4A itself for sure not duplicates classes. Currently I don't know why this happens. Please delete the duplicated classes.

0
Not a bug

Import problem with Pixyz

Benedikt Scholz 3 years ago in realvirtual.io Starter and Professional updated by Support 3 years ago 1

The Import and update with the Pixyz Plugin does not work since updating to Unity 2019. The workaround you, Thomas, explained to me does not work. I can´t compare the Current and Update. The Problem is that the JT_Prop_Name does not appear in the Metada of the CAD-File. I get an error ".....is not unambigious". The Updater does not detect that the CAD-File changed during update. 

Pixyz said the plugins API will work with the next update which is going to be released around the end of February. 

Can you put that on your issue list so that it will work as soon as possible? The Updater is very important for us.

0
Fixed

Sensor "Limit Sensor To Tag" null Error

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

I have encountered a few error from sensor script:

The sensor script throws a null error when using the "Limit Sensor To Tag" function unless the parent object have a MU.

Even though I am using the "Limit Sensor To Tag" function the sensor still gets trigger by the parents objects of the object that have the tag. (Parents objects do have mesh collider attached)

Answer
Support 3 years ago

Hi Dat, I just checked. Objects wich are colliding with the Sensor must alway have the MU script on the same or in a level above the collider. This is the planned behaviour. I don't know in what combinatione exactly your problem comes up. Can you send me a simple example?

0
Completed

VR in Game4Automation

Pablo Navarrete 3 years ago updated by Support 3 years ago 1

Hello forum


I bought an Oculus Quest 2 headset last week and I would like to know if its possible to connect it to the demo of Game4Automation.

Is there any resource about how to use VR in Game4Automation?

Thanks in advance and please, try to translate the menu of the forum cause we all arent german :)

Answer
Support 3 years ago

Hello Pablo,

G4A is fully compatible with more or less all VR/AR solutions you can find for Unity.

you should follow the Occulus Documentation:

https://developer.oculus.com/documentation/unity/book-unity-dg/

Or you could use Steam - the advantage with Steam is that it works with most VR headsets on the market:

https://valvesoftware.github.io/steamvr_unity_plugin/articles/Quickstart.html

At the end, you need to integrate with all that VR Applications some standard Assets in your project and in your scene some standard components like VR Camera, Teleport and so on. You will need to deactivate or delete the G4A Camera because camera movement will be replaced by the VR application.

Maybe I will do soon an official tutorial about that. But if you follow the VR documentations and tutorials on the web you should be able to do that.

And sorry, did not notice, the forum is now also in English...

Best regards

Thomas

0
Answered

Unity Build Player Window error

Denis 3 years ago in realvirtual.io Starter and Professional updated by Support 3 years ago 8

Hello , I have errors when i trying to build player window , its works when i delete game4automation , and if i add game4automation and trying to compile i get some errors , I want to mention that I did not add the s7 interface, I did not add anything

Image 330

Answer
Support 3 years ago

Problem was solved by deleting Parts4Cad and Zip in Tools. Included ZIP is not compatible with UWP. We will change that in future.

0
Started

Kuka VKRC , integration example.

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

Kuka VKRC , integration example.

Youtube video
Answer
Support 3 years ago

Hi,

nice work. How did you connected to KUKA. 

There seems to be still a cycle time problem. If you would like I could support you, if you support me for getting it into the Professional version ;-)

Best regards

Thomas

0
Answered

S7 plc i want to show on scene value from the controller

Denis 3 years ago in realvirtual.io Starter and Professional updated 3 years ago 4

Hello , i want to show value from the controler as a text on scene , how i can do that?

Image 320

Answer
Support 3 years ago

Hello,

you need to do it with a little script that takes Signal.Value and which is putting this into a Unity UI text box.

0
Answered

Chain rotation is bugged

SMF - 3PTechnology 3 years ago updated 3 years ago 8

I implemented your chain script as descript in https://game4automation.com/documentation/current/chain.html and as you have done in the scene DemoChain. The rotation of my chain elements are not correct and jumps at some points along the chain. All my anchers and all their tangent have rotation (0,0,0). I don't understand what I have done wrong. 

Image 316

Answer
Support 3 years ago

I don't know exactly how you would like to align the objects. But playing around with the Align Object and the rotation of the geometry in your Chain Element should do the job. Please check the video:

QbVAbcVI4D.mp4

0
Answered

Change the model from CADLink to a prefab (MU)

zhou zhou 3 years ago in CADLink updated 3 years ago 2

Hi,


 I use CADLink importing a model into scene and want to make a MU.  How to change it to a prefab quickly ? Thanks so much.

Image 300