Java Question Siemens Logo! 8.FS4 with Moka-Lib

NeverGiveUp2

Member
Licensed User
Longtime User
Hi there,

I get no connection with my Siemens Logo.

I tryed this::
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.

Thank's for helping.

Best regards from Germany

Roland
 

Similar Threads

Top