Mitsubishi Electronics MELSEC-F Universal Remote User Manual


 
9 - 5
MELSEC-F
WHEN COMMUNICATING DATA USING THE MC PROTOCOL9
9 - 5
2) When writing data to the local station PLC from the external device side
(b) Communication in binary code
1) When reading data from the local station PLC at the external device side
External device side
PLC side (Command message)
Text (Command)
(Data name)
Header
Subheader
PC No.
Monitoring
timer
Character area C
PLC side
External device side (Response message)
(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 9.3.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
000
0
2
30
H
30H
30H
30H
32H 46H 46H 41H
H
L
8
20
0
30
H30H32H38H
32H
32H
38H 30H
30H31H
35H
42H
H
HL
L
8
5
21
2
0
0
B
External device side
PLC side (Command message)
(Data name)
(Example)
Header
Subheader
PC No.
Monitoring
timer
Text (Command)
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 9.3.2 and after for details
L
H
00
H
FFH
0AH
00H
PLC side
External device side (Response message)
(Normal completion) (Abnormal completion)
Text (Response)
Header
Subheader
Complete code
00H80H
Character area B
When complete code
5B
H is returned
Exists only when the complete code is "5B."
Text (Response)
Header
Subheader
Complete code
80H 00H
12H
5BH
Abnormal code