SAMWONTECH
4th Edition of TEMI880 IM : Jan. 29. 2007 Page 96 / 119
4.3.6 WSD Command
▶ This command for writing D-Register orderly.
▶ Transmission Format
Byte
1
2
3
1
2
1
4
1
4
1
…
S
T
Command
element
X
Addr
WSD
,
Para.
number
,
D-Reg. No1
,
dddd-1
,
…
1
4
1
4
2
1
1
C
L
,
dddd-(n-1)
,
dddd-(n)
SUM
R
F
▶ Response
Byte
1
2
3
1
2
2
1
1
S
T
Command
element
X
Addr
WSD
,
OK
SUM
C
R
L
F
- Para. number : 1~32.
- dddd : Indicates a character string in hexadecimal format.
ex) When the writing Temp. SP(D0102) and Humi. SP(D0103) as the FIX Running.
- Setting Temp. SP : 50.0 ℃ → Delete decimal point(500) → Hexadecimal(0x01F4)
- Setting Humi. SP : 80.0 % → Delete decimal point(800) → Hexadecimal(0x0320)
- Transmission : [stx]01WSD,02,0102,01F4,0320[cr][lf]
- Transmission(Include Check Sum) : [stx]01WSD,02,0102,01F4,0320C4[cr][lf]