103
Address, that is, drive site number. For
example: a drive site # 32,
hexadecimal for 20 h, Address = 20 h
CMD
command
1 byte. Commonly used commands: 3 h
(read registers), 6 h ((reading a
single register), 8 h (diagnostic
function), 10 h (write multiple
register)
DATA(n-1)
data content
Word N = 2 N bytes (N < = 9)
⋯⋯
DATA(0)
CRC
Check code
1 byte
End 1
The end
The rest time to at least 3.5
bytes transmission time
7.3
Commonly used command code
7.3.1
Reading a multiple register
03H
Reading a multiple register
Instructions: read the N word, N values for 1 ~ 8 scope
Example:
from the site of 01 h drive read starting address 0013 h 2 words.
1.
ASCII mode
PC -
> drive
Response -
> PC
(OK)
Response -
> PC
(Error)
start
‘:’
start
‘:’
start
‘:’
Address
‘0’
Address
‘0’
Address
‘0’