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

0
Answered

S7 - 300 Classic

Björn 2 years ago in realvirtual.io Starter and Professional updated by Support 2 years ago 1

Hallo zusammen,

gibt es eine Möglichkeit ein S7 - 300 Classic Programm (Simatic Manager V5.6 + SP2) mit dem S7 Interface in Unity zu verbinden? Oder gibt es eine andere Alternative? 
Das Programm konnte ich bisher nicht auf PLC SIM Advanced in eine Instanz laden.

Answer
Support 2 years ago

Sie müssten sich mit dem S7 Interface zu jeder Siemens PLC verbinden können wenn Sie als Hardware vorhanden ist.

0
Fixed

CAD object does not exit in QuickToggle.cs Error

Andrew Kibor 2 years ago in realvirtual.io Starter and Professional updated by Support 2 years ago 7

So I just updated to Game for Automation Starter 2020.09 while working on a project and unfortunately, I seem to be getting the following related errors that cannot allow me to proceed at least in Play Mode:

  • "Assets\game4automation\private\QuickToggle.cs(418,26): error CS0246: The type or namespace name 'CAD' could not be found (are you missing a using directive or an assembly reference?)"
  • "Assets\game4automation\private\QuickToggle.cs(480,36): error CS0103: The name 'CADStatus' does not exist in the current context"

I am using Unity 2020.3.17f1. I've even created a new project and ran the DemoGame4Automation scene but still have the same error. I'm relatively new to g4a so maybe there maybe something I'm missing however as I've already implied, the pretty much everything was working before the update.

Answer
Support 2 years ago

We will check why this still happens - we need to look for a more robust solution in setting the correct compile settings while first installing the asset.

0

KepserverEX 6 and OPCUA Interface of Game4Automation

efrensilveyra 3 years ago in OPCUA4Unity 0

Hi everyone!

Someone with experience connecting KepserverEX6 and OPCUA Interface of Game4Automation, and also writing and reading tags between them.

Regards!

0
Completed

Connection Problem

Soulya 3 years ago updated by Stupiddog 2 years ago 4

game4automation: Object [Siemens S7] TCP : Connection Error: Siemens S7 (game4automation.S7Interface)

UnityEngine.Logger:LogError (string,object)

game4automation.Game4AutomationBehavior:Error (string,object) (at Assets/game4automation/private/Game4AutomationBehavior.cs:496)

game4automation.S7Interface:ConnectS7 () (at Assets/game4automation/private/Interfaces/S7TCPIP/S7Interface.cs:496)

game4automation.S7Interface:CheckConnection () (at Assets/game4automation/private/Interfaces/S7TCPIP/S7Interface.cs:478)

game4automation.S7InterfaceEditor:OnInspectorGUI () (at Assets/game4automation/private/Interfaces/S7TCPIP/Editor/S7InterfaceEditor.cs:31)

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

How to solv this Problem?

Answer
Support 3 years ago

You could youse PLCSIM Advanced or PLCSIM with NetToPLCSim (https://mirror-networking.com/docs/).

Second solution should work but it is not officially supported.

0
Answered

How to set OPCUA

Stupiddog 3 years ago in realvirtual.io Starter and Professional updated by Support 3 years ago 5

Hello Thomas,I tried OPC but all failed,I add PLC signals to opc and  quality is good,when I press Import nodes,it shows:OpcException: The operation could not complete because the client is not connected to the server.
Opc.UaFx.Client.OpcClient.DenyIfNotConnected () (at <5239c2b3ee7d4e3e4c326ca95b24eb03>:0)。

I watched your OPCUA video,I don't know how OPCUA connect plc,how to configure it。

Answer
Support 3 years ago
0
Answered

custom data type

Kévin 3 years ago in General Questions updated by Support 3 years ago 1

Hello,

I am working on importing signals with a custom data type like a structure using PLCSIM interface. I have an error saying that it is not supported. Do you have any method so that I can use these structure in Unity?

Answer
Support 3 years ago

Hi Kévin, 

currently we have no solution to support hat. It would require a support of this flexible data definition of the PLCInput and -Output side in Game4Automation and it would need to be implemented into the Game4Automation PLCSim Advanced Interface. There are currently no plans for that development.

Best regards

Thomas

0
Fixed

Errors concerning SpaceNavigator on Linux and Mac article incomplete

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

The article recommends removing the space navigator driver. Also in the script SceneMouseNavigation.cs the #if statements need to be changed to 

#if ((! UNITY_IOS &&! UNITY_ANDROID &&! UNITY_EDITOR_OSX) || UNITY_EDITOR_WIN


probably more changes will be needed for Linux but I am not sure what they are.

Answer
Support 2 years ago
0
Answered

Hello Thomas!How can I connect S7-200 to Unity

Stupiddog 3 years ago in realvirtual.io Starter and Professional updated by Support 3 years ago 1


Image 421

Hello Thomas!I have a S7-200,I want to connect to my computer and simulate。I find S7interface does not supporte S7-200,if I want to that,what should I do?Which video should I watch?I have STEP 7-MicroWIN SMART software to program。

Image 420

Answer
Support 3 years ago

Hello, S7 200 is not supported. Best regards 

0
Completed

When Could I connect to Mitsubishi PLC with Game4automation Professional

Stupiddog 3 years ago in realvirtual.io Starter and Professional updated by Support 3 years ago 6

Hello,Dear Thomas,I'm coming back!

In China,There are two PLC usualy used for students in school.They are:Siemens and Mitsubishi.Now I have knowed how to connect Siemens,but I don't know how to connect Mitsubishi.

OPCUA is complicated,Can I connect Mitsubishi PLC directally like S7interface?Then can I connect to virtual Mitsubishi PLC like PLCSIM Advancedinterface without physical PLC?

I'm looking forward your replay。

Answer
Support 3 years ago

Hi, I don't know how you get the Top-Node ID on your OPCUA servers. With OPCWatch you can check and see it here:

If you leave Top-Node empty it should import all nodes and you will see it in Unity but this might take some time if there are a lot of elements in your OPCUA server.

0
Under review

PLCSIM interface

Kévin 3 years ago updated 3 years ago 7

It is normal that the connection between PLCSIM interface and PLCSIM advanced is hard to connect?

The first connection work each time when I click play in Unity. However the next connection is realy random and most of the time it is not easy to connect. I have to restrat Unity or the PC.

Answer
Support 3 years ago

Yes, Just checked the PLCSIM Advanced interface intensively yesterday and I was not able to see any connection problems. If you still have problems, please send us your PLCSIMAdvanced memory card content, the TIA Portal project and the full Unity project and I will check on my computer.