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

+1
Wird überprüft

Circular conveyor belt

yangkang vor 3 Jahren aktualisiert von Support vor 3 Jahren 1

Hi

I wanted to achieve a circular conveyordemo effect (Fig1), a reference to radialConveyordemo (Fig2), but the MU transported in a circular conveyordemo is skewed in position, and I froze the XYZ rotation of the MU

Image 878

Fig 1

Image 877

Fig 2

0
Beantwortet

[Help Needed] OPC UA Signal Direction Imported Incorrectly (Inputs recognized as Outputs and vice versa)

王海星 vor 1 Woche aktualisiert vor 1 Woche 2

Hi everyone,

I'm working with the OPCUAInterface component in realvirtual.io to connect Unity to a Siemens S7-1500 PLC via OPC UA, and I'm running into a frustrating issue with signal direction mapping.

Setup:

  • PLC: Siemens S7-1500

  • Unity side: Using OPCUAInterface from realvirtual.io

  • In the PLC (TIA Portal), I've configured:

    • .inputs variables as Read-Only (HMI accessible: Read only)

    • .outputs variables as Read/Write

  • In Unity:

    • I've tried enabling/disabling Automatically Input On Write Signals

    • I've set Regex Write Nodes = (?i)\.outputs to match output variables

However, no matter what combination I try, the imported signal directions are reversed:

  • .outputs are imported as Input ❌ (they should be Output)

  • .inputs are imported as Output ❌ (they should be Input)

 What I Expect:

Based on my understanding of realvirtual.io's signal model:

  • Input = Unity reads from the PLC (e.g., sensors, status)

  • Output = Unity writes to the PLC (e.g., buttons, control commands)

I expect .inputs to be imported as Input, and .outputs as Output.

 Temporary Workaround:

I'm currently using a custom Unity script that runs after import and forcibly sets the signal direction based on the variable name (.inputs → Input, .outputs → Output).

This works, but feels like a hack and not a long-term or scalable solution.

What I'm Asking:

  1. Is this a known limitation of Siemens OPC UA Server? (Does it misreport variable access rights?)

  2. Is there a way to fully customize signal direction logic during import in OPCUAInterface?

  3. What’s the recommended best practice for Siemens OPC UA + Unity signal mapping?

0
Fertiggestellt

s7接口通讯问题

王海星 vor 2 Monaten aktualisiert von Support vor 1 Monat 12

Image 1388

如你所见,我在用s7接口时出现了一点问题,我在S7-PLCSIM Advanced运行我的PLC时修改这一个值可以映射进unity,但是在unity中我尝试切换value却无法保持值,他就像切换了一下,但是马上被改回去了,我的值默认是false,点击切换后会短暂的显示true,但是还是会变回false,这是为什么,我在博途监控表里修改值是可以映射在unity中的,值也能正常切换,允许来自远程对象的 PUTIGET 通信访间也是勾选的,包括完全访问权限和仿真支持块编译也是勾选了,博途设置也没有问题,就是unity无法切换博途v20的值,我使用的版本是realvirtual.io6.2.1,博途版本是v20

Image 1389

0
Fertiggestellt

The "Combine Meshes (Pro)" function cannot be found.

ZhangFengMing vor 5 Monaten aktualisiert vor 4 Monaten 5

Image 1325

Why can't I find the "Combine Meshes (Pro)" function in the version I'm using? I have purchased the PRO version, so is this function only available in Professional 6?

One more question: Does realvirtual.io Digital Twin Professional 6 require a separate purchase? I noticed that 2022Pro has been discontinued.

0
Abgelehnt

Regarding the issue of importing step from CADLINK

ZhangFengMing vor 6 Monaten aktualisiert von Support vor 6 Monaten 2

When importing step using CADLINK, "Set and create materials" has been clearly checked. However, after clicking "Import CAD File", this prompt still pops up. If the import continues, the program will crash.

Image 1324

Image 1323

0
Not a bug

Transport Surface - Issue with "Change Constraints on Enter / Exit"

Luke vor 8 Monaten aktualisiert von Support vor 7 Monaten 4

I am having difficulty with changing constraints on enter/exit of a transport surface. I get the following errors in runtime. 


NullReferenceException: Object reference not set to an instance of an object
realvirtual.TransportsurfaceCollider.OnCollisionEnter (UnityEngine.Collision other) (at Assets/realvirtual/TransportsurfaceCollider.cs:29)
UnityEngine.Physics:OnSceneContact(PhysicsScene, IntPtr, Int32)

NullReferenceException: Object reference not set to an instance of an object
realvirtual.TransportsurfaceCollider.OnCollisionExit (UnityEngine.Collision other) (at Assets/realvirtual/TransportsurfaceCollider.cs:41)
UnityEngine.Physics:OnSceneContact(PhysicsScene, IntPtr, Int32)

Now for the strange part, the transport surface IS correctly setting the constraint on enter (Freeze position x in my case), but this constraint does not get removed on exit. I do have "Change constraints on exit" set to true and "none" set for the constraints exit. In the "Loaded Part" list in the transport surface, there are no objects listed in runtime even though there are game objects on the transport surface. 


Has anyone else ran into this issue before? Seems weird that I am getting that error on enter, but the constraint is still getting set correctly. 

0
Geplant

Questions about Modbus TCP connection to Siemens 200smart

ZhangFengMing vor 8 Monaten aktualisiert vor 7 Monaten 4

May I ask if your company has launched the modbus client access function? I need to enter an IP and PORT to access Siemens 200smart PLC.

0
Beantwortet

IK Limits

OferZ vor 10 Monaten aktualisiert von Support vor 8 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
Geplant

About the problem of reconnecting the s7plc to the caton

ZhangFengMing vor 10 Monaten aktualisiert von Support vor 10 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 10 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 10 Monaten aktualisiert von Support vor 8 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 8 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.