Appendix 4.1 Program Example For Communication Using Mc Protocol -1 - Mitsubishi Electric FX3U-ENET User Manual

Hide thumbs Also See for FX3U-ENET:
Table of Contents

Advertisement

APPENDIX

Appendix 4.1 Program example for communication using MC protocol -1

App - 6
The following explains a program, its execution environment and the contents of data
communication .
(1) Execution environment of the program example
(a) PLC side
1) Base module of the Ethernet installed station
2) Ethernet module No.
3) Ethernet module IP address
4) Ethernet module port number
5) FX Configurator-EN setting
• Operational settings
• Open settings
(b) External device side
1) Operation environment
2) Ethernet interface board model name
3) Library
4) Software development environment
5) Ethernet address
6) IP address
7) Port number
(c) Communication protocol
(2) Outline of the program example
(a) Sequence program on the PLC side
Parameters are set from FX Configurator-EN.
(Sequence program is not required)
(b) Program on the external device side
Executes the following read/write data communication with the PLC using
the library mentioned above.
• Write in word units (for 5 points from D0 to D4)
• Read in word units (for 5 points from D0 to D4)
: FX
: No.1
: 172.16.56.99 (AC.10.38.63
: 10000
: See "(3) FX Configurator-EN setting
(a)" on the next page
: See "(3) FX Configurator-EN setting
(b)" on the next page
: Microsoft Windows 2000
Operating system
: WINSOCK compatible board
: WSOCK32.LIB
: Microsoft Corporation Visual
++
C
.NET
: Setting not required because
the ARP function is available
: Receive at Active open
: Receive at Active open
: TCP/IP
MELSEC-F
/FX
3U
3UC
)
H
App - 6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u-enet-l

Table of Contents