Appendix 9.2 When Visual Basic (R) .Net Is Used - Mitsubishi Electric MELSEC-L SERIES Basic User Manual

Melsec-l ethernet interface module
Hide thumbs Also See for MELSEC-L SERIES:
Table of Contents

Advertisement

Appendix 9.2
This section describes the program execution environment, data communication details, and a sample program for
when Visual Basic
.NET is used on the program of the connected device.
(1) Execution environment of the program example
(a) CPU module side
A model name of the LCPU in the E71-connected station
E71 I/O signal
E71 IP address
E71 port number
Programming tool setting
(b) Connected device side
Operation environment
Ethernet interface board model name
Software development environment
MAC address
IP address
Port number
(c) Communication protocol
TCP/IP is used.
(2) Outline of the program example
(a) Program on the CPU module side
Because parameters are set on the programming tool, no program is required.
(b) Program on the connected device side
Data (D0 to D4) in the CPU module are read out.
When Visual Basic
Item
Ethernet operation
setting
Open setting
Item
(R)
.NET is used
Description
L02CPU
X/Y00 to X/Y1F
C0.00.01.FD
(192.00.01.253)
H
2000
H
Refer to Page 362, Appendix 9.2 (3) (a).
Refer to Page 362, Appendix 9.2 (3) (b).
Description
Microsoft
Windows
XP Professional Operating System
Ver.2002 Service Pack2
WINSOCK compatible board
Visual Basic
.NET 2003 manufactured by Microsoft
Corporation
This setting is not required because the ARP function can be
used.
An arbitrary number is assigned.
An arbitrary number is assigned.
APPENDICES
A
361

Advertisement

Table of Contents
loading

Table of Contents