Sub Button1_Click
Dim a As Int
plc.SetConnectionType(s7_constant.S7_BASIC)
plc.SetConnectionParams("192.168.0.44",0, 0,102)
info.Text = "Schnuddel"
If plc.Connect=0 Then
info.Text="Connected"
If plc.PlcStop=0 Then
ToastMessageShow("STOPPED",True)
Else
ToastMessageShow("NOT STOPPED",True)
End If
Else
info.Text="Not Connected"
End If
End Sub
The software from Siemens Logosoft-Comfort use this IP-address. Ping is alright.