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

0
Wird überprüft

S7 Interface 100% CPU when no connection to PLC is available

Virgar Poulsen vor 4 Monaten in realvirtual.io Starter and Professional aktualisiert von Support vor 4 Monaten 7

How can we prevent a 100% CPU usage, when no plc is connected ?

My setup requires PLC to come in and out of the network, and every time the PLC goes out of the network, the CPU reaches 100% within 2 minutes. 

Antwort
Support vor 4 Monaten

Ok will check this afternoon and send you here with a private message a new beta script.

0
Beantwortet

How to use drive action in behavior subgraphs

MarkH vor 4 Monaten in General Questions aktualisiert von Support vor 4 Monaten 1

I want to use a Drive action on a behavior subgraph, but I don't know when and how to instantiate the drive. With drive on the blackboard of the subgraph, the drive will not be instantiated.


maingraph

Image 1304


subgraph

Image 1301


NullReferenceException: Object reference not set to an instance of an object

realvirtual.DriveToAction.OnStart () (at Assets/realvirtual/BehaviorGraph/DriveToAction.cs:27)

I have to override Axis in the main graph to create an instance of the drive:

Image 1303


But this is not what I want. I want to use the subgraph for a specific drive, without telling the subgraph all the time which drive. How can I create it?

0
Beantwortet

Workflow for updating CAD model

MarkH vor 4 Monaten in General Questions aktualisiert von Support vor 3 Monaten 4

I have created a scene based on a prefab by importing a CAD model. I decorated this prefab by adding groups of objects and colliders. Furthermore I created a kinematic structure that references to the groups.

Later on my CAD model had some changes and I wanted to reimport the CAD model. After the reimport all groups and colliders are gone. And I was also not able to undo the reimport ...

Is this how it should work? What workflow should I use to reimport CAD models that prevents loosing groups and colliders?

0
Beantwortet

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

Andrea vor 5 Monaten in General Questions aktualisiert von Support vor 3 Monaten 6

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
Beantwortet

IK Limits

OferZ vor 5 Monaten aktualisiert von Support vor 3 Monaten 3

I'm working on some digital twin of a 6 axis arm robot and would like to use the IK.
I actually have something that's currently working fine, but we've found out that some of the joints are reverse and that one of them needs an offset. However - once I fix all that the IK breaks.
I saw in the documentation that there are some strict limitations.
I just wanted to understand where am I still free to play around, and if it's possible to fix the IK somehow:
1. Can I reverse the joint's direction (the bottom two are fine but the rest need reversing)?
2. Can I add an offset so that when the 3rd joint is at 0 angle the robot will be at 90 degrees?

3. If not - is there some recommended method to convert the values so that they would fit the real values?

0
Not a bug

Pink Module

DX Eastfound vor 5 Monaten in realvirtual.io Starter and Professional aktualisiert von Support vor 5 Monaten 1

Dear Sir/Madam,

When i open the sample demo and i found the demo has became pink color.

I tried to reinstall the unity and it is still the same. 

Can you help to advice on it? Thanks

Image 1298

0
Fertiggestellt

Add Box Collider on on curve safeguard

DX Eastfound vor 5 Monaten in realvirtual.io Starter and Professional aktualisiert von Support vor 5 Monaten 3

Hi there,


May I know how do i add box collider on a curve safeguard so that i can ensure my carton box move within the conveyor?

Thanks.

Image 1297

0
Geplant

About the problem of reconnecting the s7plc to the caton

ZhangFengMing vor 6 Monaten aktualisiert von Support vor 5 Monaten 1

Hello, I have a question. If there are a lot of devices with a lot of IP, the PLC that is not turned on will be reconnected over time, and reconnecting the PLC over time will cause the program to stall, which will greatly affect the use. May I ask how to solve the problem of reconnecting over and over?

Antwort
Support vor 5 Monaten

Hi, there would be changes in the code needed. Currently we don't assume that devices are off and on during simulation. The source code is open you would need to change the way how reconnection is done - maybe by using the new Awaitable System in Unity6

0
Beantwortet

Questions about the use of s7 PLC

ZhangFengMing vor 6 Monaten aktualisiert von Support vor 3 Monaten 2

When using S7Interface, some S7Interface can connect to many points, and some S7Interface will be disconnected if the number of connections is too large, please see the picture, as if: Negotiated Pdu Lenght is related to this value. May I ask how Negotiated Pdu Lenght is set? Why is it 480 or 240? If Negotiated Pdu Lenght is 240, too many signals cannot be connected.
There is also a question about: how to use the Area Read Write Mode, if I need to read 56 points from the PLC's DB block and write 12 points, how should I fill in the configuration.

Looking forward to your reply very much!

Image 1294

Image 1295Image 1296

Antwort
Support vor 3 Monaten

Hi, I can't tell you in detail why the negotiated Pdu lenght is like that. We use Sharp7 as a basis library for the S7 communication. I think this defines the length of the telegrams but it does not defines the number of the signals. If needed multiple telegrams are send for covering all signals. On AreaReadWrite Mode you sould enter min and max adress - so if your DB is 100.X to 140.X you should enter 100 and 140.

0
Beantwortet

VR Headset and HMI

Luis Mielemeier vor 6 Monaten in realvirtual.io Starter and Professional aktualisiert von Support vor 6 Monaten 1

Hello, I have a question: Is it possible to display the HMI components on a VR headset with XR Origin?

Antwort
Support vor 6 Monaten

Hi, this is possible but you might need to do changes in Unity canvas or other things. All we do is source code open so you can adopt it to your needs.