SAMWONTECH
1th Edition of TEMP2000_Series IM : Dec. 15. 2008 Page 13 / 63
5.6 WSD Command
WSD command is used to write data to a part of D-Register by consecutive address in sequence.
▣ Request Message Frame
bytes
1
2
3
1
2
1
4
1
4
Frame
STX
Address
WSD
,
Count
Number
,
D-Reg.
,
Data - 1
1
…
1
4
2
1
1
,
…
,
Data - n
SUM
CR
LF
▣ Response Message Frame
bytes
1
2
3
1
2
2
1
1
Frame
STX
Address
WSD
,
OK
SUM
CR
LF
▪ Count Number : 1 ~ 64
▪ Data : Hexa-decimal 16bit string 4 character with no decimal point
◈ Example
To write data to the D-Register FROM D0115 (TEMI.OP_H) TO D0116 (TEMI.OP_M) on FIX mode operation
- Setting TIME.OP_H : 99Hour → Hexadecimalize (0x0063)
- Setting TIME.OP_M : 50Min → Hexadecimalize (0x0032)
- Request
: [stx]01WSD,02,0115,0063,0032[cr][lf]
- Request(with CheckSum)
: [stx]01WSD,02,0115,0063,0032B6[cr][lf]