0
Completed

Connection Problem

Soulya 1 month ago updated by Support 1 month ago 3

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

Answer

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

Second solution should work but it is not officially supported.

Completed

Hi, there is a problem to connect to your PLC.

Please check if you could ping the PLC's IP address.

Turn off all firewalls on your computer

Configure your PLC with TIA portal like described here: https://game4automation.com/documentation/current/s7tcpip.html#Configuring-the-PLC

So it is important to have a Real CPU to connect to use Game4automation. I though that i can also simulate because i don't have a real plc. Is there a way to simulate without cpu in Tia Portal and Game4Automation or not? 

Answer

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

Second solution should work but it is not officially supported.