App - 15 App - 15
MELSEC-F
APPENDIX
(4) Window example (Form 1)
(Object name)
Start
Connect to the Ethernet module
and perform communications
1st Output
Display data that was read from
the Ethernet module
(5) Sample program (Form 1)
Parts in italic are created automatically by Visual Basic .NET, so no input is required.
Only input where written in bold.
Option Explicit On
Option Strict On
Imports System.Net.Sockets
Public Class Form1
Inherits System.Windows.Forms.Form
#Region " Windows Code created by Form Designer "
Public Sub New()
MyBase.New()
' This call is necessary for Windows Form Designer.
InitializeComponent()
' InitializeComponent()
Initialization is added after the call.
End Sub
' The Form overwrites dispose to execute after-processing in the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
MyBase.Dispose(disposing)
End Sub
' Necessary for Windows Form Designer.
Private components As System.ComponentModel.IContainer
Содержание FX3U-ENET
Страница 1: ...USER S MANUAL FX3U ENET ...
Страница 2: ......
Страница 159: ...8 6 8 6 MELSEC F 8 COMMUNICATION USING MC PROTOCOL MEMO ...
Страница 295: ...App 25 App 25 MELSEC F APPENDIX MEMO ...
Страница 297: ......