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

Q corresponding ethernet interface module
Table of Contents

Advertisement

Appendix 10.2
This section describes the program execution environment, data communication details, and a sample program
for when Visual C++
(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
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 a programming tool, no program is required.
(b) Program on the connected device side
Write data to the data registers D0 to D4 (five points) of the redundant CPU (control system) in word units using
the library described above. If data write from the system A side fails due to a communication error or other
reasons at this time, data are written from the system B side to the data registers of the redundant CPU (control
system).
When Visual C++
®
.NET is used on the program of the connected device.
Item
System A
System B
Ethernet operation
setting
Open setting
Redundant setting
Item
®
.NET is used (redundant system)
Description
Q25PRHCPU
X/Y00 to X/Y1F
C0.00.01.FC
(192.00.01.252)
H
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.
Refer to (3)(c) 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
APPENDICES
A
®
407

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qj71e71-b5Qj71e71-b2

Table of Contents