Communication Using Mc Protocol; Data Codes For Communication; Data Communication Function - Mitsubishi Electric FX3U-ENET-ADP User Manual

Table of Contents

Advertisement

FX
-ENET-ADP User's Manual
3U
7.

Communication Using MC Protocol

This chapter gives an overview of the MC protocol.
The frame type of MC protocol (data communication messages) used by the external device to access the
PLC via this product is equivalent to A compatible 1E frame.
(Example)
Header
IP
(14bytes)
(20bytes)
(Command message for A compatible 1E frame)
7.1

Data Codes for Communication

This section explains the data codes used in communication between the Ethernet adapter and the external
device or the PLC.
1) The data codes used while communicating are listed below.
a) Ethernet adapter
You can execute data communication by selecting "binary code" or "ASCII code" in GX Works2.
To switch between binary code/ASCII code, refer to Section 6.6.
2) When communicating using ASCII code, 1-byte binary code data is automatically converted into 2-byte
ASCII code data and then transmitted.
(Example)
Binary code data
15H
(One byte)
1234H
(Two bytes)
7.2

Data Communication Function

The MC protocol is the abbreviated name of the MELSEC protocol that is a communication system for the
PLCs. Using this protocol, the external devices can read or write device data from/to the PLC via the Ethernet
adapter.
Any external devices on which application programs can be installed and which can send and receive data in
accordance with the MELSEC PLC protocol can access the PLC using MC Protocol.
Text (Command)
TCP
PC
ACPU
monitoring
/
No.
timer
UDP
L
H
00
FF
0A
00
64
H
H
H
H
External device
Head device
L
H
00
00
00
20
40
0C
00
H
H
H
H
H
H
H
H
ASCII code data
31H, 35H
"1" , "5"
(Two bytes)
31H, 32H, 33H, 34H
"1" ,
"2" ,
"3" ,
"4"
(Four bytes)
7 Communication Using MC Protocol
7.1 Data Codes for Communication
1
2
3
4
5
6
7
8
9
A
47

Advertisement

Table of Contents
loading

Table of Contents