9 - 10
MELSEC-F
WHEN COMMUNICATING DATA USING THE MC PROTOCOL
9
9 - 10
(2) Format when communicating in ASCII code
(a) The order when sending a command (external device Ethernet module)
(b) The order when receiving a response (external device Ethernet module)
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
30
H
31
H
30
H
M100(ON)
M107(OFF)
M101(OFF)
M102(ON)
M105(ON)
M103(OFF)
M104(OFF)
30
H
30
H
30
H
38
H
30
H
31
H
31
H
30
H
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