SAMWONTECH
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 14 / 63
5.7 WRD Command
WRD Command is used to write data in arbitrary single D-Register.
▣ Request Message Frame
bytes 1 2 3 1 2 1 4 1 4
Frame STX Address WRD ,
Count
Number
, D-Reg.- 1 , Data - 1
1 … 1 4 1 4 2 1 1
, … , D-Reg. - n , Data - n SUM CR LF
▣ Response Message Frame
bytes 1 2 3 1 2 2 1 1
Frame STX Address WRD , OK SUM CR LF
▪ Count Number : 1 ~ 64
▪ Data : Hexa-decimal 16bit string 4 character with no decimal point
◈ Examlpe
To write 50.0 ℃ into the D0104(TSP) and 0.5 ℃ into the D0110(SLOPE) on FIX mode operation.
- Setting TSP : 50.0 ℃ → Remove decimal point (500) → Hexadecimalize (0x01F4)
- Setting SLOPE : 0.5 ℃ → Remove decimal point (5) → Hexadecimalize (0x0005)
- Request : [stx]01WRD,02,0104,01F4,0110,0005[cr][lf]
- Request (with CheckSum) : [stx]01WRD,02,0104,01F4,0110,0005B3[cr][lf]