Appendix 10.1 When Visual C++ ® .Net Is Used (Single Cpu System) - Mitsubishi Electric QJ71E71-100 User Manual

Q corresponding ethernet interface module
Table of Contents

Advertisement

Appendix 10.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 QCPU in the E71-mounted 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)
398
When Visual C++
system)
Item
Ethernet operation
setting
Open setting
Item
®
.NET is used (single CPU
Description
Q25HCPU
X/Y00 to X/Y1F
C0.00.01.FD
(192.00.01.253)
H
2000
H
Refer to (3)(a) in this section.
Refer to (3)(b) in this section.
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
®

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71e71-b5Qj71e71-b2

Table of Contents