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

+1
Under review

Recorder

我不会回放它。

0
Under review

S7 interface - no signal values even though address is correct and connection can be made

Andrea 1 week ago in General Questions updated 1 week ago 2

I'm currently working on a project with a 1518TF-4 CPU which we activated on an IPC. I can establish a connection between Unity and the PLC but the signals then doesn't recieve any values and stay 0 or FALSE.

The signals I need access for are inside a DB. I've created the Signals in the S7 interface by hand and I made sure the address is correct. 
Example of a signal I created:

Image 1299

I also made sure, that all the settings specified here S7 TCP | realvirtual.io are done. So that there's full access and PUT/GET communication is allowed. I tried establishing a connection to signals inside a DB and Q signals. My only goal is to read signals, no need to write them. 

I've tried it with realvirtual 2022.19.6148 and 2022.15.5414. The Unity version I'm using is 2022.3.39. I also tried a simple test siemens project but that also didn't work. 

I know that it already worked at some point last year, but I can't figure out why it doesn't anymore. 

This is what my S7 config looks like: 

Image 1300

I've also tried all kinds of varieties of settings, so different values for max pdu length, with reverse high low bytes and more. 

I don't know if this has any relevance but I did notice that sometimes, when reverse high low bytes is activated, some Bool signals randomly jump between FALSE and TRUE, some Ints sometimes jump to 265 and back to 0 and Floats will do the same to 2.350989E-38.

Does anyone have an idea, why I cannot get the signal values in Unity? I've run out of ideas. 





0
Under review

Ethernet IP not connecting, Allen Bradley PLC

Kjell Arne Vebenstad 1 month ago in General Questions updated 1 month ago 4

I just bought this software to use the Ethernet IP interface to a Allen Bradley, I am up and running in Visual studio using the same Ethernet and can get tags there, but I need it in Unity, please help.

0
Answered

Read the position of the free state drive or joint

Ahmo 2 months ago in General Questions updated by Support 1 month ago 5

Hello. I need a quick response if possible.

I am using the RealVirtual Professional version.

How can I achieve the desired goal in the image? Should I use a Joint or Drive?

For Drive, you have Drive_MeasureSpeedPosition, and that’s great.

Is it possible to disable the Drive so it can rotate freely?

Image 1277

0
Answered

Connection with the PLC is okay, but the values never update

Ahmo 2 months ago in General Questions updated by Support 2 months ago 1

Hello everyone, I’m new to this forum. In case anyone has a similar problem where the values never update, but the connection to the S7 PLC is successful. Here is how to solve this problem. I hope it will be helpful to someone.

Image 1274

0
Under review

Hello,RealVirtual.IO,How can I get NC Axes information by Twincat ADS(PRO)From ADS Port 501 directly

Dragon Yun 3 months ago in General Questions updated by Support 2 months ago 4

Hi,Dear developer,

I want to get TwinCAT3 NC Axes information by TwinCAT ADS From ADS Server Port=501。

It make me quickly get NC Axes symbol From Port 501,do not use any PLC program codeing,it is a very useful Method to get Axis information

But now,I can't connect to Port 501,the port has the only right value which is PLC Project port,such as TC3=851 ,TC2=801

Please give me some ideas about how to get axes information FROM NC PORT 501,thanks

Image 1246

Image 1247

Image 1248

0
Answered

Unity 6 support

jnthn. 3 months ago in General Questions updated by Support 3 months ago 1

Hello everyone,

is the most recent version of realvirtual compatible with Unity 6?

0
Answered

Best practice for hiding gameobjects in scene and game mode

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

I converted a large CAD assembly of a machine to gameobjects. Many of these gameobjects, like the machine's enclosure, block the visibility of other gameobjects inside the machine.

I want to be able to change the visibility of these gameobjects and I want to learn what would be the best practice.

At the moment I created layers to group the gameobjects that I want to show/hide by showing/hiding the layer. This works for scene mode and also for game mode when I set the required culling mask on the camera. Would this be the best practice or would there a better way to do this?

The problem starts when I enable object selection in the realvirtual controller. All gameobjects will be visible in game mode when this option is enabled, without taking the culling mask into account. What should I do to only show the gameobject that I want in game mode?

0
Answered

Compile errors on MQTT interface

MarkH 4 months ago in General Questions updated 4 months ago 7

I wanted to do a fresh install of all the components:

- Unity Hub 3.9.1

- Unity 2022.3.49f1

- Realvirtual-Professional-2022.18

Up to this point everything is working fine.

I copy these folders into the assets directory

Image 1218

After adding REALVIRTUAL_BESTHTTP3 to the scripting define symbols I get compile errors:

Image 1220

After adding REALVIRTUAL_BESTMQTT3 to the scripting define symbols I get additional compile errors:

Image 1221

What did I do wrong and how can I fix it?

0
Answered

How to cummunicate with an ABB robot through the Externally Guided Motion (EGM) interface?

MonkeyKing 5 months ago in General Questions updated by Support 4 months ago 8

Hi,

I'm trying to build a simple Digital Twin of an ABB robot. I'd like to use the Externally Guided Motion (EGM) interface provided by ABB to realize the real-time fast communication between the robot and my Unity sence with the help of realvirtual.io. However, there is no EGM interface in realvirtual.io. Does it mean that I have to build a ABB EGM custom interface by myself? I'm a green hand of Unity and C#. If I have to do that by myself, apart from a brief introduction to "custom interfaces" in the documentation of realvirtual.io, are there any other effective reference materials? Could you please provide some advice and assistance? Thanks a lot.

Answer
Support 5 months ago

Hi,

If you're unfamiliar with Unity and C#, I highly recommend learning the basics first. Implementing an interface without this foundational knowledge would be very tough.

Regarding the suggestion to "use any of the existing interfaces as a blueprint and delete everything that is PLC/interface-specific"—what I meant is that you should reuse the C# code (the one script) of an existing interface and remove everything that's specific to that particular interface inside this script. However, doing this requires a good understanding of C# so that you can navigate and comprehend the code.

The parts you remove need to be replaced by C# code tailored to your custom interface (in your case, EGM, where you seem to have some examples on Github). 

That said, simply copying and pasting code won't work in my opinion. You need a decent level of C# knowledge to properly implement and modify a custom interface.

Best regards

Thomas