Mitsubishi Melsec-L Series User Manual page 292

Ethernet interface module
Hide thumbs Also See for Melsec-L Series:
Table of Contents

Advertisement

Private Sub Command3_Click(ByVal eventSender As System.Object, ByVal eventArgs
As System.EventArgs) Handles Command3.Click
'Close the TCP (UDP) connection socket (disconnect the line).
Me.Ajsock.Shutdown(Net.Sockets.SocketShutdown.Both)
Me.Ajsock.Close()
MsgBox("The disconnection was successful", MsgBoxStyle.Information)
State = Me.Ajsock.Connected()
End Sub
Private Sub Command4_Click(ByVal eventSender As System.Object, ByVal eventArgs
As System.EventArgs) Handles Command4.Click
'End the program.
End
End Sub
Private Sub Command5_Click(ByVal eventSender As System.Object, ByVal eventArgs
As System.EventArgs) Handles Command5.Click
'Check the connection state.
If State Then
Else
End If
End Sub
End Class
290
MsgBox("Connected")
MsgBox("Closed")

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-lj71e71-100

Table of Contents