Download FX3U-ENET USER`S MANUAL

Transcript
9
WHEN COMMUNICATING DATA USING THE MC PROTOCOL
MELSEC-F
Number of
device points
Head device
(Data name)
PLC side
Complete code
H L H - - L H - - - - - - - - - - L H L
0 0 F F 0 0 0 A 4 D 2 0 0 0 0 0 0 0 6 4 0 C 0 0
30H 30H 46H 46H30H 30H 30H 41H 34H44H 32H 30H 30H 30H 30H 30H 30H 30H 36H 34H 30H 43H 30H 30H
Subheader
(Example)
Monitoring
timer
External device
side
PC No.
(Data name)
Subheader
(2) Communication in ASCII code
Data for the number
of designed device
points
Characters for the
number of device
points
H L H L H L H L H L H L H L
8 0 0 0 1 0 0 0 1 0 1 1 0 0 0 0
38H 30H 30H 30H 31H30H 30H 30H 31H 30H 31H 31H 30H 30H 30H 30H
(Example)
8 0 0 0 1 0 0 0 1 0 1 1 0 0 0 0
38H 30H 30H 30H 31H 30H 30H 30H 31H 30H 31H 31H 30H 30H 30H 30H
(80H)
(00H)
Status of
M101
(OFF)
Status of
M100
(ON)
Status of
M103
(OFF)
Status of
M102
(OFF)
Status of
M105
(OFF)
Status of
M104
(ON)
Status of
M107
(ON)
Status of
M106
(ON)
Status of
M109
(OFF)
Status of
M108
(OFF)
Status of
M111
(OFF)
Status of
M110
(OFF)
NOTE
(1)
(2)
9 - 20
Use the designation "00H" when the number of device points is 256 points.
If the number of device points designated is an odd number, one byte of
dummy data (30H) will be added to the response data. For example, if three
points are read, data for four points is returned. The last byte is dummy data.
9 - 20