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

0
Answered

button for conveyer belt start

Kadir 2 years ago updated 2 years ago 3

i would like to use buttons for conveyer belts, so that they only start when i press a button.

are there any solutions for that? 

Image 732

Answer
Support 2 years ago

You can use Drive_Simple 

https://realvirtual.io/documentation/current/drivebehaviour.html#Drive-Simple

and connect this to the UI Button

https://realvirtual.io/documentation/current/uicomponents.html#UIButton

by using a Signal PLCInput

https://realvirtual.io/documentation/current/interface.html#Connecting-Signals

With Connect Signal you can connect the PLCInput (of the Button) to the PLCOutput (to control the Drive).

We are currently working on a totally new UI overlay system for easily controlling things in the 3D scene but it will still take some weeks until it is getting released.

0
Answered

Community Git Repository

Preliy 2 years ago in General Questions updated by Support 2 years ago 2

Hi guys,

anyone use git community repository for this package.


Is the Git up to date or active?

I have the old version of the package, are there corresponding repositories for different versions?

Thanks in advance

0
Fixed

Bug in drive/transport unit

Bo Adam 2 years ago in realvirtual.io Starter and Professional updated 2 years ago 16

Hello,

In one of my rotating transport units (the one with the lift) the transport surface goes forwards while backwards is toggled by the drive simple script. When I disable drive simple and toggle it by hand it works fine. 

See the video for what i mean.

Unity rotating transport surface bug.mkv

Bo

Answer
Support 2 years ago

Hello,

I have checked your videos. The problem is caused by the physics engine and the kinematic movement of the elements. I created a script to solve this. You have got this by e-mail. Within the next release this will also be available.

0
Answered

[Question] OPC-UA Realtime Interface Graphic Stuttering Issue

Reverse Kim 2 years ago in OPCUA4Unity updated by Support 2 years ago 2
Youtube video


Hi, I bought realvirtual,io for interface with Factory Robot to build Digital Twin


I followed realvirtual.io Youtube Guideline and build up Robot and Drive and successfully interface with our OPC-UA Server


but, there are some Graphical Issue in Robot.


the Drive Follow Position Module can get Tag Data, but some Robot motions skip in the Field.

How can I solve those Issue? Please Help.

0
Fixed

Unity 2020.3.39f1 UWP deployment does not complete successfully

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

Hello,
I am working with HoloLens and Unity 2020.3.39f1. I imported "game4automation-Professional-2020.15" and when I build my app as an UWP I get an error. I fixed the error by replacing both files "game4automation\private\Tools\ZIP\I18N.dll" & " game4automation\private\Tools\ZIP\I18N.West.dll" with a version targeting ".Net 4.x".
After this fix, I can successfully build the Visual Studio Solution. When I deploy the app to HoloLens, the deployment always stops at the same step.

Image 707


In Unity 2019.4.40f1 with "game4automation-Professional-2019.13" I had to replace the same files. After that it worked and I could run the app on the HoloLens.

0
Not a bug

DllNotFoundException: CadExCore

Stuart 2 years ago in CADLink updated by Support 2 years ago 2

I've just downloaded and added your Asset into my project running Unity 2021.3.10f1 and I get this error:

DllNotFoundException: CadExCore assembly: type: member:(null)
cadex.CadExCorePINVOKE+SWIGExceptionHelper..cctor () (at :0)
Rethrow as TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception.
cadex.CadExCorePINVOKE..cctor () (at :0)
Rethrow as TypeInitializationException: The type initializer for 'cadex.CadExCorePINVOKE' threw an exception.
cadex.LicenseManager.Activate (System.String theKey) (at :0)
cadimport.ImportCadData (System.String file, System.Boolean importpmi, System.String quality, System.Single angulardeflection, System.Single chordaldeflection, System.Single scale) (at <77c6c9bfbfbce1f89629dbf4fedd24eb>:0)
game4automation.CADLink.ImportCadData () (at Assets/game4automation/CADLink/private/CADLink.cs:316)
game4automation.CADLink.ImportCad () (at Assets/game4automation/CADLink/private/CADLink.cs:176)

When I click on "Import CAD File"...

I'm running macOS 12.6

Thanks

Stuart

0
Answered

Collisions in unity not working correctly

Bo Adam 2 years ago updated 2 years ago 18

Hello,

Sorry that I ask this question here, but I've tried everything and nothing works.

I am working with a carrier on a transport surface that has walls on both sides. I link multiple of these transport surfaces end to end (with a tiny air gap) and make the carrier move in a straight line. 

But after a few conveyors, my carrier rotates around Z and is stuck.

When I look up close, I can see that my carrier clipped through the wall. Both have box colliders and are set to continuous dynamic collision detection. The corners of my carrier have a cylinder with a convex mesh collider attached. 

You can see my picture below, I hope it is clear, but it is a top down view of my carrier clipping though the wall. (You can see the collider of the wall and carrier highlighted in green.

Image 683

I really hope you can help me! 

with kind regards,

Bo

Answer
Support 2 years ago

Hi Bo,

you can try and set the collider of the turn table slightly lower than the conveyor before. Also I would suggest to close unity and delete the library folder within assets. This folder will be created by unity when you open your project again. Start your project again to check wether the problem still occurs.

A last option could be to use the contraints of the rigidbody of your moving object and freeze the z-axis.

0
Fixed

Bug in rotating transport unit

Bo Adam 2 years ago in realvirtual.io Starter and Professional updated 2 years ago 7

Hello,


I have found a bug in the transport system software (I think).

I've made a turning transport system from the example you send me last time. The picture below shows how I have made it. The transport surface of the conveyor follows the turn unit. 

When I place the prefab everything works well, with X being the transportation direction (2nd picture on the left) and y being the other direction.

When I rotate this unit 90 degrees (by using the transform of c1-40 or c1-41 or turn+Conv) the transportation direction (x) is seen as the red line on the right of the second picture. It is not the correct direction anymore. 
When I change it to y the direction is the same. (See picture 2, Right. Red is X and Green is Y transportation direction).

For now I fixed it by giving the unit an offset of 90 in the drive itself, but that means the base is 90 degrees in the wrong direction.

Image 682

Image 681

I hope you understand what I mean and you can fix this bug.

With kind regards,

Bo

Answer
Support 2 years ago

Hello Bo,
We have fixed the bug. You have received an update for your version by email. The bughas been fixed for further downloads.

0
Completed

Hello Thomas,I can't connect to S7 Interface if I have many Signals。

Stupiddog 2 years ago updated by Support 2 years ago 3

Hello,as you can see,I have an Arduino Mega 2560 and I want to do my own PLC,the PLC has 24 DI、24 DO、8 AI、8 AO signals,when I add all the signals into S7 Interface it can't connect to PLCSIM(I use nettoplcsim),but when I deactivate some signals it works well,if I want it works with all my signals what should I do?I have used the most new G4A,thank you!

Image 674

Image 675

Image 676

Image 677

Image 678

Image 679

Image 680

0
Answered

Pick up cube and conveyer belt stop at sensor

Kadir 2 years ago updated by Support 2 years ago 3

Image 673

what is the best way to pick up the cube on the conveyer ? Should i use the grip or gripper script?

and how can i make the conveyer stop, when the cube is detected by the sensor? is there an alternative solution for stopping the conveyer at a certain destination?

Answer
Support 2 years ago

Please check the demo model or this demo which shows several ways for gripping parts: Assets/game4automation/Scenes/DemoGripping.unity

To make the conveyor stop you can use a script (you need to check the property occupied of the sensor and you can stop the drive by Drive.JogForward = false.


Or you can use Unitys Visual Scripting:

https://realvirtual.io/documentation/current/unityvisualscripting.html

Another possiblity (only with Professional Version) is to use LogicSteps:

https://realvirtual.io/documentation/current/logicsteps.html


You can stop the Conveyor (in a script or by using visual scripting) as soon as Drive.CurrentPosition is greater than a certain value.