mlsoftware
Level-1
- Beiträge
- 2
- Reaktionspunkte
- 0
-> Hier kostenlos registrieren
Hallo Luete,
Ich bin neu hier und gleich eine Frage.
Ich benutze die DotNetSiemensPLCToolBoxLib und möchte per IP zu meiner S7-300 die Kommunikation aufbauen. Jedoch kommt immer ein ERROR: TIMEOUT CONNECTING TO IP was mache ich falsch? Kann mir jemand tipps geben?!? Danke schon mal
Gruss mlsoftware
PLCConnectionConfiguration myconfig = new PLCConnectionConfiguration();
myconfig.Timeout = 10000;
myconfig.CpuIP = "192.168.1.100";
myconfig.TimeoutIPConnect = 10000;
PLCConnection myConn = new PLCConnection(myconfig);
try
{
myConn.Connect();
}
catch (Exception ex)
{
MessageBox.Show("Error: " + ex);
}
Ich bin neu hier und gleich eine Frage.
Ich benutze die DotNetSiemensPLCToolBoxLib und möchte per IP zu meiner S7-300 die Kommunikation aufbauen. Jedoch kommt immer ein ERROR: TIMEOUT CONNECTING TO IP was mache ich falsch? Kann mir jemand tipps geben?!? Danke schon mal
Gruss mlsoftware
PLCConnectionConfiguration myconfig = new PLCConnectionConfiguration();
myconfig.Timeout = 10000;
myconfig.CpuIP = "192.168.1.100";
myconfig.TimeoutIPConnect = 10000;
PLCConnection myConn = new PLCConnection(myconfig);
try
{
myConn.Connect();
}
catch (Exception ex)
{
MessageBox.Show("Error: " + ex);
}