Message Format And Control Procedure - Mitsubishi Electric FX3U-ENET User Manual

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

Advertisement

9
WHEN COMMUNICATING DATA USING THE MC PROTOCOL

9.1.2 Message format and control procedure

External
device
side
PLC side
External
device
side
PLC side
9 - 3
This section explains the message format and control procedure.
(1) Message format
This section explains the message format for transmission between the Ethernet
module and an external device.
The communication data consists of "header" and "application data" as shown
below.
Header
(a) Header
The header for TCP/IP or UDP/IP is used. The user does not need to specify
it; the Ethernet module attaches it.
(b) Application data
The application data is largely divided into "subheader" and "text" as shown
below.
The subheader represents command/response and the setting value is
predetermined.
The text contains the request data (command) and response data
(response) for each function and this data is determined by the prescribed
format (for a more detailed description, see sections 9.3 and later).
(c) Format in the application data field
• Communication in ASCII code
Application data
Subheader
Text (command)
Differs depending
2 bytes
on function
• Communication in binary code
Application data
Text (command)
Subheader
Differs depending
1 byte
on function
NOTE
When communicating in the MC protocol, the user does not need to specify a
response for a command from an external device; the Ethernet module generates it
and then responds.
Application data
Differs depending on
function and
normal/abnormal
2 bytes
completion
Subheader
Application data
Differs depending on
function and
normal/abnormal
1 byte
completion
Text (response)
Subheader
Application data
MELSEC-F
Text (response)
9 - 3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u-enet-l

Table of Contents