SAMWONTECH
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 12 / 63
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 (NPV) and D0003 (NSP)
- Request : [stx]01RRD,02,0001,0003[cr][lf]
- Request (with CheckSum) : [stx]01RRD,02,0001,0003B3[cr][lf]
Response data will be same as below, when 50.0 of D0001 (NPV) and 30.0 of D0003 (NSP)
- Response : [stx]01RRD,OK,01F4,012C[cr][lf]
- Response (with CheckSum) : [stx]01RRD,OK,01F4,012C18[cr][lf]