![Samwontech TEMP1000 Series Communications Manual Download Page 16](http://html1.mh-extra.com/html/samwontech/temp1000-series/temp1000-series_communications-manual_3799368016.webp)
SAMWONTECH
1th Edition of TEMP1000_Series IM : Apr. 2014 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 D0102(TSP) and 0.5 ℃ into the D0106(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,0102,01F4,0106,0005[cr][lf]
- Request (with CheckSum)
: [stx]01WRD,02,0102,01F4,0106,0005B3[cr][lf]