EasyManua.ls Logo

AUTODA AD2017D - 6.2 Continuous Data Output Format

AUTODA AD2017D
59 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
39
Write Command 10H Response Format
Byte
XX
Func
tion
Cod
e
XX
XX
XX
XX
CR
C
H
CRC
L
Defin
ition
Cont
rolle
r
addr
ess
10H
High
segment
of
starting
address
(H)
Low
segment
of
starting
address
(L)
High
segment
of the
number
of
registers
(H)
Low
segme
nt of
the
numbe
r of
register
s (L)
Chec
k
(H)
Check
(L)
Example of debugging serial ports: read the real-time
measured value ( Baud rate: 9600. Data format 8n1. Sending
and receiving are all in hexadecimal. )
Send: 01 03 00 01 00 02 95 CB
Return: 01 03 04 00 00 0A 0B BD 54
Return analysis: starting from the fourth byte, it is a real-time
measured value, 00 00 0A 0B. Method of calculation:00 ×
256
3 +
00 × 256
2 +
0A × 256 + 0B = 2571