EasyManua.ls Logo

Samwontech TEMI2700 - Page 13

Default Icon
61 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...
SAMWONTECH
1st Edition of TEMI2000_Series IM : Dec. 15. 2008 Page 11 / 58
5.4 RSD Command
RSD Command is used to read data in a part of D-Register by consecutive address in sequence.
Request Message Frame
Bytes 1 2 3 1 2 1 4 2 1 1
Frame STX Address RSD ,
Count
Number
, D-Reg. SUM CR LF
Response Message Frame
Bytes 1 2 3 1 2 1 4 1
Frame STX Address RSD , 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 FROM D0001 (TEMP.PV) TO D0002 (TEMP.SP)
- Request : [stx]01RSD,02,0001[cr][lf]
- Request (with CheckSum) : [stx]01RSD,02,0001C5[cr][lf]
([stx] = 0x02, [cr] = 0x0d, [lf] = 0x0a)
Response data will be same as below, when 50.0 of D0001 (TEMP.PV) and 30.0 of D0002 (TEMP.SP)
- Response : [stx]01RSD,OK,01F4,012C[cr][lf]
- Response (with CheckSum) : [stx]01RSD,OK,01F4,012C19[cr][lf]
Converting procedure 4digits hexadecimal response to decimal value.
Radix conversion (Decimalize) : 01F4(hexadecimal) → 500(decimal)
Multiply factor (decimal point) : 500 * 0.1 → 50.0

Other manuals for Samwontech TEMI2700

Related product manuals