Mitsubishi Melsec-L Series User Manual page 275

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

Advertisement

Appendix 7.1
This section describes the program execution environment, data communication details, and a sample program for
®
when Visual C++
.NET is used on the program of a 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
Library to link
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
Read/write data from/to the CPU module using the library described above.
• Write in word units (for five points from D0 to D4)
• Read in word units (for five points from D0 to D4)
When Visual C++
Item
Ethernet operation
setting
Open setting
Item
®
.NET is used
Description
L02CPU
X/Y00 to X/Y1F
C0.00.01.FD
(192.00.01.253)
H
2000
H
Refer to Page 274, Appendix 7.1 (3) (a).
Refer to Page 274, Appendix 7.1 (3) (b).
Description
®
®
Microsoft
Windows
XP Professional Operating System
Ver.2002 Service Pack2
WINSOCK compatible board
WSOCK32.LIB
®
Visual C++
.NET 2003 manufactured by Microsoft
Corporation
This setting is not required because the ARP function can be
used.
Received upon an Active open
Received upon an Active open
APPENDICES
A
®
273

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-lj71e71-100

Table of Contents