7 Communication Using MC Protocol
52
FX
3U
-ENET-ADP User's Manual
7.3 Message Formats and Control Procedures
When communicating using the MC protocol, the user does not need to specify a response for a
command from an external device; the Ethernet adapter generates it and then responds.
2) Control procedure
The following diagrams illustrate the control procedure for communicating with the MC protocol and the
order of data items in the application data field.
The header section shown in the message explanation diagram " * " of this section corresponds to the
portion of the message explanation diagrams indicated in Subsection 7.5.2 and later.
Refer to Subsection 7.3.3 regarding the content of data items in the message format and data
specification method.
a) Communication in ASCII code
- When reading data from the local station PLC at the external device side
- When writing data to the local station PLC from the external device side
External device side PLC side (Command message)
PLC side External device side (Response message)
30
H
30
H
30
H
46
H
46
H
41
H
30
H
30
H
30
H
30
H
30
H
30
H
35
H
42
H
31
H
32
H
(Data name)
(Example)
Header
0 0 F F
-
A
Subheader
PC No.
Monitoring
timer
Character area A
The contents and arrangement of the data items in
the text differs according to the function to use.
See the sections explaining functions found in
Subsection 7.5.2 and after for details.
Text (Command)
(Normal completion)
Text (Response)
Header
Subheader
Complete code
(Abnormal completion)
Text (Response)
Header
Subheader
Complete code
Abnormal code
When complete code
5B
H
is returned
30
H
Exists only when the complete code is "5B."
38
H
8 0
H L
5 B
H L
1 2 0 0
30
H
H L H
L
0 0 0
-
Character area B
38
H
8 0
H L
0 0
*
External device side PLC side (Command message)
PLC side External device side (Response message)
Text (Command)
(Data name)
Header
Subheader
PC No.
Monitoring
timer
Character area C
(Normal completion)
Header
Subheader
Complete code
Text (Response)
The contents and arrangement of the data items in
the text differs according to the function to use.
See the sections explaining functions found in
Subsection 7.5.2 and after for details.
(Abnormal completion)
Text (Response)
Header
Subheader
Complete code
Abnormal code
When complete code
5B
H
is returned
Exists only when the complete code is "5B."
(Example)
H
H
L
L
-
-
F F
A
0
0 0 0
2
30
H
30
H
30
H
30
H
32
H
46
H
46
H
41
H
H L
8 2 0 0
30
H
30
H
32
H
38
H
32
H
32
H
38
H
30
H
30
H
31
H
35
H
42
H
H
H
L
L
8
5
2
1 2 0 0
B
*
Содержание FX3U-ENET-ADP
Страница 1: ...FX3U ENET ADP USER S MANUAL ...
Страница 2: ......
Страница 6: ... 4 Safety Precautions Read these precautions before use MEMO ...
Страница 160: ...154 FX3U ENET ADP User s Manual Revised History Revised History Date Revision Description 2 2012 A First Edition ...
Страница 161: ......