EasyManua.ls Logo

Mitsubishi Electric MELSEC-L Series - When Visual C++ (R).NET Is Used

Mitsubishi Electric MELSEC-L Series
382 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
352
Appendix 9.1 When Visual C++
(R)
.NET is used
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
(b) Connected device side
(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)
Item Description
A model name of the LCPU in the E71-connected station L02CPU
E71 I/O signal X/Y00 to X/Y1F
E71 IP address
C0.00.01.FD
H
(192.00.01.253)
E71 port number
2000
H
Programming tool setting
Ethernet operation
setting
Refer to Page 353, Appendix 9.1 (3) (a).
Open setting Refer to Page 353, Appendix 9.1 (3) (b).
Item Description
Operation environment
Microsoft
Windows
XP Professional Operating System
Ver.2002 Service Pack2
Ethernet interface board model name WINSOCK compatible board
Library to link WSOCK32.LIB
Software development environment
Visual C++
.NET 2003 manufactured by Microsoft
Corporation
MAC address
This setting is not required because the ARP function can be
used.
IP address Received upon an Active open
Port number Received upon an Active open

Table of Contents

Other manuals for Mitsubishi Electric MELSEC-L Series

Related product manuals