![Samwontech TEMI2000 Series Скачать руководство пользователя страница 14](http://html1.mh-extra.com/html/samwontech/temi2000-series/temi2000-series_communications-manual_3790127014.webp)
SAMWONTECH
1st Edition of TEMI2000_Series IM : Dec. 15. 2008 Page 12 / 58
5.5 RRD Command
RRD Command is used to read data in arbitrary single D-Register.
▣
Request Message Frame
Bytes
1
2
3
1
2
1
4
1
…
Frame
STX
Address
RRD
,
Count
Number
,
D-Reg.- 1
,
…
1
4
2
1
1
,
D-Reg.- n
SUM
CR
LF
▣
Response Message Frame
Bytes
1
2
3
1
2
1
4
1
…
Frame
STX
Address
RRD
,
OK
,
Data - 1
,
…
1
4
2
1
1
,
Data - n
SUM
CR
LF
▪ Count Number : 1 ~ 64
▪ Data : Hexa-decimal 16bit string 4 character with no decimal point
◈
Example
To read the D-Register D0001 (TEMP.PV) and D0002 (TEMP.SP)
- Request
: [stx]01RRD,02,0001,0002[cr][lf]
- Request (with CheckSum)
: [stx]01RRD,02,0001,0002B2[cr][lf]
Response data will be same as below, when 50.0 of D0001 (TEMP.PV) and 30.0 of D0002 (TEMP.SP)
- Response
: [stx]01RRD,OK,01F4,012C[cr][lf]
- Response (with CheckSum)
: [stx]01RRD,OK,01F4,012C18[cr][lf]