![Samwontech TEMP1000 Series Communications Manual Download Page 9](http://html1.mh-extra.com/html/samwontech/temp1000-series/temp1000-series_communications-manual_3799368009.webp)
SAMWONTECH
1th Edition of TEMP1000_Series IM : Apr. 2014 Page 7 / 63
5. Communication Command
5.1 The Frame Structure of standard protocol
The frame structure of protocol transmitting upper-level network system to TEMP1500
①
②
③
④
⑤
⑥
⑦
⑧
STX
Address
Command
,
Data
SUM
CR
LF
① Protocol Header
The beginning of communication command with STX (Start of Text), ASCII string with 0x02.
② Slave TEMP1500 Address
Slave unit address of TEMP1500.
③ Command
Function Command for communication. (Refer to 5.2 ~ 5.10).
④ Delimiter
Symbolize to separate Command and Data by Comma. (',')
⑤ Data
Formal text strings regulated by communication command rule.
⑥ Check Sum
-‘SUM' protocol is a more sophisticated one which includes Check Sum as an error check.
- Check Sum is calculated as following.
1) Add the ASCII code of characters from the character next to STX one by one up to the character prior to SUM
2) Represent the lowest one byte of the sum as a hexadecimal notation (2 characters).
⑦, ⑧ Protocol Tail
ASCII code to close communication command by indicating CR(0xOD) and LF(0xOA).