7 Communication Using MC Protocol
57
FX3U-ENET-ADP User's Manual
1
Introduction
2
Specification
3
System
Configuration
4
Installation
5
Wiring
6
Introduction of
Functions
7
Communication
Using
MC Protocol
8
The Operation
of GX Works2
9
Troubleshooting
A
List of Special
Devices
7.3 Message Formats and Control Procedures
2) Format when communicating in ASCII code
a) The order when sending a command (external device Ethernet adapter)
b) The order when receiving a response (external device Ethernet adapter)
30
H
30
H
46
H
46
H
30
H
30
H
30
H
41
H
"0" "0" "F" "F" "0" "0" "0" "A"
(L)(H)(L)(H)
30
H
30
H
38
H
30
H
34
H
36
H
30
H
30
H
30
H
30
H
30
H
30
H
30
H
32
H
44
H
34
H
"0""0""8""0""4""0""0""0""0""0"
"0"
"0""2""D""4" "6"
(H) (L) (H) (L)
(H) (L)
(100)
Header
Application data
Subheader PC number
Monitoring timer
(Local station)
(2500 ms)
Application data
Text (command)
(Device name) (Head device number)
Number of
device points
(M)
(8 points)
31
H 30H 31H 30H
M100(ON) M107(OFF)
M101(OFF)
M102(ON) M105(ON)
M103(OFF) M104(OFF)
30
H30H30H38H 30H 31H 31H 30H
"8"
M106(ON)
"0" "0"
(H)
"0"
(L)
"1"
(H)
"0" "1" "0" "0" "1" "1" "0"
(L)
Header
Subheader
Complete
(Normal
completion)
Application data
Text (response)
ON/OFF status of the designated device