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

0
Not a bug

IK Path could not complete the execution

haoyu yi (Hari) 3 months ago in realvirtual.io Starter and Professional updated by Support 3 months ago 3

Hi,

Now I have created two paths A and B using IK Path, when I repeat the signal quantity given to start for each path individually the paths can be executed correctly, but once I execute A and B alternately the paths are unreachable.

For example, I am using Signal Start to get path A to start moving, and Signal Ended to get if path A has finished executing. When Signal Ended is true for A, I start executing path B. It happens that path B can't finish execution and Signal Ended stays false.

This results in me not being able to control the robotic arm by itself to do the job I want to do, how can I solve this problem?

0
Answered

Using c# script to control logic

haoyu yi (Hari) 3 months ago in General Questions updated by Support 3 months ago 2

Hello,

I'm currently using c# scripts to control the logic of my scenes, but I'm having some problems.

My question is for the PLCOutputBool and PLCInputBool signal classes how the values change when the state changes.


For example, the PLCOutputBool class contains the Status property and the Value property, which in turn contains some value properties:

public StatusBool Status;

public struct StatusBool
{
public bool Connected;
public bool ValueOverride;
public bool Value;
[HideInInspector] public bool OldValue;
}


In your example script, I noticed that the value under PLCOutputBool is modified. However, during my debugging, I found that changing the Status.ValueOverride is required to alter the signal value of my PLCOutputBool.

0
Not a bug

Reading a NULL value causes disconnection

Ege 3 months ago in OPCUA4Unity updated by Support 3 months ago 2

Hello,

Every time a node I'm subscribed to is read as null, the client disconnects. The type of the node I'm trying to read is a float if that matters.

OPCUA Interface - Subscription with ClientHandle 78 Value Changed ns=2;s=NodeA Value [25,1]
OPCUA Interface - Subscription with ClientHandle 80 Value Changed ns=2;s=NodeB Value [140305,5]
OPCUA Interface - Subscription with ClientHandle 80 Value Changed ns=2;s=NodeB Value [140207,5]

OPCUA Interface - Subscription with ClientHandle 88 Value Changed ns=2;s=NodeC Value [NULL]

OPCUA Interface - Client Disconnected

This happens with any node, whenever a value is written as [NULL]

Any help would be appreciated about how to make it so that the program doesn't crash.

Thank you.

0
Fixed

OPC UA reconnects only once, Realvirtual professional

dgcrt 3 months ago in realvirtual.io Starter and Professional updated by Support 3 months ago 4

Good morning,

We are having problems with the OPC UA connection.

When the OPC server is turned off and on again the connection is reestablished correctly, but only once since startup, if the server disconnects a second time the connection is never reestablished.

How can we solve the problem?

Thank you.

0
Answered

How to prevent closing the build when pressing "Esc".

jf9 3 months ago in General Questions updated by Support 3 months ago 1

I'm wondering how to prevent closing my build when pressing "Esc". I think the function is somewhere inthe UI -> Toolbar Component of the realvirtual gameobject but I don't want to mess anything up by deleting files. Thanks in advance!

Answer
Support 3 months ago

This function is in the 'realvirtualcontroller.cs' and cannot be controlled through the Inspector. If not desired, it can be commented out in the code by searching for 'KeyCode.Escape'. However, we do not recommend doing this.

Regards Christin

0
Fixed

Can't import nodes of Beckhoff OPC UA Server in Unity Editor

BatuOx4S 3 months ago in realvirtual.io Starter and Professional updated by Support 3 months ago 4

Hello,

I recently purchased realvirtual for Unity and I am trying to get familiar with the demo application.

For future projects it is necessary to keep up OPC UA connections with Beckhoff TwinCat PLCs and Siemens PLCs.

For now I work with a Beckhoff PLCs that runs demo code and a OPC UA server on it.

Connecting to the OPC UA Server with OpcWatch or UaExpert is no issue (security = None)

Image 1033


My Unity configuration looks like this:

Image 1034

However trying to connect in the Unity Editor results in the following error message.

Image 1035

I tried applying standard setting and also connecting to a local python opc ua server without success.

Connecting to the PLC with the TwinCATInterface object however worked well (for future applications a wireless connection on android devices are mandatory).


Unity Version:
2022.3.14f1

realvirtual version: release 2022.07 07. September 2023


I hope I delivered sufficient information.

Thanks in advance.

BatuOx4S

0
Answered

Questions about using gripper

haoyu yi (Hari) 4 months ago in General Questions updated by Support 4 months ago 5

Hello

I am currently trying to mimic the example in DemoGripping Scene to use the gripper component, but when I set up the group component and added the kinematic component I found that the mesh is not aligning to my model, which is causing me to not be able to align the Sensor on the Finger to my MU

Image 1028

Answer
Support 4 months ago

We will check this - it is a bug but it is only the Gizmo (you could turn it off) and it does not impacts any kind the function.

0
Answered

How to add custom UI

haoyu yi (Hari) 4 months ago in General Questions updated by Support 4 months ago 4

I would like to ask about how to add custom UI and buttons

I now want to try to add some custom buttons for my own functionality, but when I add a new Text text at the UI level under the game4automation object, I can't view his position in the edit screen. Usually I can view it in the edit screen and adjust his position and Canvas size, but now I can't see it in the realvirtual template project.

Can you tell me how I can get the UI object to show up in edit mode or how to implement a custom button to achieve the functionality I want for myself, I didn't find in the documentation how to do it.

Image 1027

Answer
Support 4 months ago

Oh yes, sorry to mention that the layer also needs to be turned on.

0
Answered

Licence

Edu 4 months ago updated by Support 4 months ago 1



Good morning

I have the OPCU4Unity license and I am currently working with the personal version of Unity.

I am developing a project for a client in his factory, my questions are the following:

- Can I implement this development in my client's factory with Unity Personal without licensing problems with Unity?

- If the entire project exceeds €100,000, even if the development in Unity is only a small part, should I change the license in Unity?

It is a private project that will never be in the appstore.

In your opinion, what do you think is the best way (in terms of licensing with Unity) to do industrial projects without having problems?

Thank you very much for your attention

Answer
Support 4 months ago

Hello,

if you don't deliver our solution as source code but only as compliled applications you can do everything what you want. 


Concerning Unity you should check Unity license conditions carefully but generally if you really earn money you need to use a Unity Professional license at least.

Best regards

Thomas

0
Answered

Twincat Verbindung erst im Build herstellen

jnthn 4 months ago in General Questions updated by Support 4 months ago 1

Guten Morgen und frohes Neues!

Ich habe einen fertigen Build, die das Twin Cat Ads Interface nutzt. Ist es möglich, die PLC Net Id und Port Eingabe so zu konfigurieren, sodass man erst im Build selbst diese Daten wie eine Art Login angibt? Das Ziel ist hierbei, dass jemand mit dem Build allein und der Beckhoff Steuerung die Verbindung aufbauen kann ohne Zugriff auf Unity selber.