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

0
Answered

how to handle for the bad status of a node

eternalism 2 years ago in OPCUA4Unity updated by Support 2 years ago 5

hi,

i am making a app watching Devices through the "KEPServer for OPC".

so, i made subscribe multiple nodes.

then i expected my app work similar with "OPC Watch".

the result i did test, some nodes was often get bad status.

If any of the nodes is in a bad status, your plugin only disconnects from a server without handling any after works.

Or, If some nodes is bad status at starting app and first connection, the App was get "Not Answer".

On the contrary, the OPC Watch is continue updating under the same circumstance stably.

Currently,

i make reconnecting when disconnected and trying to subscribe after checking that connection of a Bad nodes each seconds via ReadValue Method.

it seem to be not good way, i think...

what is the best strategy for handle a Bad status of node?

0
Answered

Event to subscribe to when import of Signals is finished?

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

Hey hey,

i cant seem to find the proper way of knowing when the import of Signals through the PLCSimAdvanced Interface is finished and i can start working with the signals(ex. searching for Signals or reading/writing to them).

My background is, that i want to implement my own logic of connecting and working with the signals, the SignalManager doesnt has enough flexibility for me. 

But i cant seem to find an Event Like thing to know when the import has been finished.

Yes i could implement it myself inside the interface, but after every Update it would be broken.

So is there a correct and intendent way of doing this?

Greetings

0
Fixed

Transport Oberfläche passt nicht zur Geschwindigkeit

Sven 2 years ago in realvirtual.io Starter and Professional updated 2 years ago 8

Hallo,

wenn ich eine Beschleunigung über eine SPS vorgebe, wenn ich die Drive_Speed benutze, verhält sich die Oberfläche sehr merkwürdig von einem Transport und passt nicht zur eigentlichen Bewegung. Wenn ich "Acceleration" deaktiviere sieht alles wieder gut aus. Ist dies noch ein Bug?

Was ist außerdem "Slow Acceleration"?

Answer
Support 2 years ago

Hallo,

ich habe Ihnen eine Email mit einem aktualisierten Skript zukommen lassen. Ab dem nächsten Release ist die korrigierte Animation verfügbar.

Gruß Christin

0
Under review

Importierte Variablen von Signal Manager gehen verloren

Sven 2 years ago in realvirtual.io Starter and Professional updated 2 years ago 2

Hallo,

ich benutze den Signal Manager um meine Variablen automatisch zu verbinden.

Das klappt soweit auch, aber sobald ich dieses auch für Sensoren versuche, scheitere ich.

Mein Script ist soweit nichts ungewöhnliches:

signalname = $"G4A_INX_{parentName}_{component.name}";   // define Signal name based on custom rule                
var signal = GetOrCreateSignal<PLCInputBool>(signalname);   // create the signal if not already there                
((Sensor_Standard) component).Occupied = signal; // connect the signal to the behavior model                 
EditorUtility.SetDirty(((Sensor_Standard) component).Occupied);
connected = true;

Wenn ich mir den Sensor jetzt ansehe, sind alles Variablen verbunden.

Aber wenn ich nun starte werden die Variablen nicht geschrieben. Wenn ich jetzt nochmal die Sensoren angucke sehe ich auch keine verbundene Variable mehr. Wenn ich aber bei meiner Variable gucke, steht dort immer noch das diese mit dem Sensor verbunden ist.

Bei dem Drive_Speed funktioniert alles. Ich kann alles lesen und schreiben. Aber bei einem einfachem Sensor hakt es irgendwo...

Mache ich etwas falsch? Braucht Ihr mehr Informationen?

0
Answered

OPCUA update variables on connect

Edu 2 years ago in OPCUA4Unity updated by Support 2 years ago 3

Hello

I am working on a project to work with realvirtual as HMI with OPCUA4Unity communicating with plc omron.

Reading and writing work perfectly while everything is connected.

The problem is that whenever the unity application connects the values used to write from unity to the plc are overwritten by 0 instead of being updated with the values from the plc in the first place.

0
Under review

Hello Thomas,Can I use Ethernet IP get every axis float value from RoboGuide?

Stupiddog 2 years ago updated by efrensilveyra 2 years ago 4

If I want to do as the video shows(

Youtube video

)He used Ethernet IP too。But witch type should I choose?Thank you very much。

Answer
Support 2 years ago

Hi, I never  tried Roboguide and EthernetIP. Are you sure that roboguide is able to communicate over EthernetIP. We don't have RoboGuide - so we realy don't know what do do in your case. Sorry.

0
Declined

Why is my robotic arm model falling apart?

叽叽叽 2 years ago updated by Support 2 years ago 5

I used the cad import tool to import my manipulator model, but after running my manipulator model fell apart, how can I solve this situation?

Image 764

Answer
Support 2 years ago

I think the pivot points of your Axis1... Gameobjects are not where they should.

If needed you need to set empty gameobjects with the correct pivot points - like in the robot data sheet. After this you can put your meshes in. Drives are always rotating around pivot points. Please turn on the pivot point visualization in editor mode.

0
Answered

Pick based on Sensor

Kadir 2 years ago updated by Support 2 years ago 8

Hallo,

ich habe dem Würfel einen Sensor und Box Collider zugeordnet und will dass der Greifer ihn aufnimmt sobald der Würfel im Bereich des Greifers ist. wo ist der fehler? anschließend soll der Greifer den Würfel in eine Box ablegen per "place load on mu".

Image 758

0
Answered

Simit Diagramm

Kadir 2 years ago updated by Support 2 years ago 5

Hallo, 

Ich verstehe nicht ganz warum der X1 Wert mit 57,3 multipliziert wird.

Wie kommt der Wert zur stande?

Ich bemerke bei meinem Roboter eine veränderte Bewegung sobald ich den Multiplikator verändere. 

Wie richte ich es so ein, sodass der Roboter in Unity EXAKT die selbe Route abfährt wie der Roboter aus Robotstudio?

Image 756

Answer
Support 2 years ago

Simit muss an realvirtual für rotatorische Achsen Grad übergeben (als Float).

Wenn nun der Roboter die richtige Kinematik (Achspositionen) sowie die richtige Achsrichtungen hat so ist die Bewegung 1:1 identisch.

Was ABB RobotStudio übergibt weiß ich nicht genau. Wichtig ist, dass die Nullpunkte der Achsen gleich definiert sind (ansonsten muss mit einem Offset gearbeitet werden). Es gibt ja auch noch Radianten als Winkelmessung. Dann muss entsprechend umgerechnet werden.

0
Fixed

OPCUA plc input script don´t write to server opcua and plc

Edu 2 years ago in OPCUA4Unity updated by Support 2 years ago 13

Hello

I have managed to connect opcua4unity with the kepware server.

opcua4unity <-> kepserver <-> cp1l(omron) and opcwatch.

opcwatch connects perfectly with kepserver, reads and writes without problems.

opcua4unity connect ok, import nodes ok and read ok, but don't write values to server and plc.

attached photos.


Image 753

Image 754

I have also tried write value=on and subscribe value=off, but it doesn't work either.

Thank you.

Answer
Support 2 years ago

The issue is solved and will be released today in realvirtual.io Professional 2021.10.