
17
B
ef
or
e staring
Installation
Op
er
ation
Sp
ecifications
Serial number
Details
Size
Ex.
0
Frame head character
None
...
1
Device number
8 bit
01 h
2
Function code (08)
8 bit
08 h
3
Diagnosis code (high)
8 bit
00 h
4
Diagnosis code (low)
8 bit
01 h
5
Transmission data (high)
8 bit
12 h
6
Transmission data (high)
8 bit
34 h
7
Frame confirmation CRC (low)
8 bit
XX h
8
Frame confirmation CRC (high)
8 bit
XX h
9
Frame terminating character
None
...
<Reception frame>
Serial number
Details
Size
Ex.
0
Frame head character
None
...
1
Device number
8 bit
01 h
2
Function code (16)
8 bit
10 h
3
Record start register (high)
8 bit
75 h
4
Record start register (low)
8 bit
36 h
5
Number of data to record (high)
8 bit
00 h
6
Number of data to record (high)
8 bit
05 h
7
Number of data to transmit (WORD)
8 bit
05 h
8
Data to record 1 (high)
8 bit
dd h
9
Data to record 1 (low)
8 bit
dd h
...
...
...
...
n - 4
Data to record n (high)
8 bit
dd h
n – 3
Data to record n (low)
8 bit
dd h
n – 2
Frame confirmation CRC (low)
8 bit
XX h
n – 1
Frame confirmation CRC (high)
8 bit
XX h
n
Frame terminating character
None
...
Serial number
Details
Size
Ex.
0
Frame head character
None
...
1
Device number
8 bit
01 h
2
Function code (16)
8 bit
10 h
3
Record start register (high)
8 bit
75 h
4
Record start register (low)
8 bit
36 h
5
Number of data recorded (high)
8 bit
00 h
6
Number of data recorded (high)
8 bit
05 h
7
Frame confirmation CRC (low)
8 bit
XX h
8
Frame confirmation CRC (high)
8 bit
XX h
9
Frame terminating character
None
...
● Function code 16 (WRITE MULTIPLE REGISTER)
<Transmission frame>
With function code 16, consecutive register details can be written. Number of data to be written at a time
is depending on line condition and transmission speed within the frame. One transmission frame should be
less than 255 bytes.
<Reception frame>
Содержание ML-D2H
Страница 1: ......