6-2 RS-232C 命令表

通信格式 (符合 RS232C 标准)

波特率:9,600 bps

奇偶校验位:无

数据位:8;停止位:1

流量控制:无

串行通信协议

1.命令包结构 [7 个字节]

0x08

0x22

cmd1

cmd2

cmd3

CS

命令包共含 7 个字节。

0x08 0x22 两个字节表明该数据包用于串行通信。

紧接着的 4 个字节代表可由用户定义的预定义命令。

最后一个字节是校验和,用来检验当前数据包的有效性。

包头 [2 个字节]:固定为 0x08 0x22 的预定义值。

Cmd1 [1 个字节]:命令列表中定义的首个代码值 (十六进制)

Cmd2 [1 个字节]:命令列表中定义的第二个代码值 (十六进制)

Cmd3 [1 个字节]:命令列表中定义的第三个代码值 (十六进制)

[1 个字节]:命令的输入参数 (默认为 0)(十进制)

CS [1 个字节]:校验和 (除 CS 值之外的所有值之和的二补数)

2.响应包结构 [3 个字节]

1. 成功

0x03

0x0C

0xF1

 

 

 

2.失败

0x03

0x0C

0xFF

如果所收到的由外部设备发送的数据包为有效值,则会发送 “成功”数据包。否则,发送 “失败”数据包。

以下情况下,将发送 “失败”数据包:

所收到的数据包长度大于或小于 7 个字节。

2 个字节的包头值不是 0x08 0x22

校验和不正确。

外部设备的失败检测

如果外部设备在 100 毫秒内未接收到 “成功”数据包,则会将其视作为 “失败”数据包。

6-2

更多信息

Page 79
Image 79
Samsung SPL335WEX/EN, SPL305WEX/EN, SPL255WEX/EN manual RS-232C 命令表, 通信格式 (符合 RS232C 标准), 串行通信协议

SPL335WEX/EN, SPL255WEX/EN, SPL305WEX/EN specifications

The Samsung SPL305WEX/EN and SPL255WEX/EN signify a new era in water dispenser technology, combining functionality with stylish design. Both models are tailored for modern living spaces, offering consumers an efficient solution for hydration needs without compromising aesthetics.

The SPL305WEX/EN is distinguished by its dual temperature capability, providing both hot and cold water, making it perfect for various beverages and culinary uses. Its sleek stainless steel finish complements any kitchen or office decor, while an intuitive control panel allows for easy adjustments and operation. The presence of a child safety lock on the hot water tap is a thoughtful feature, ensuring safety for households with young children.

On the other hand, the SPL255WEX/EN is more compact, making it an ideal choice for smaller spaces while still delivering exceptional performance. This model focuses on chilled water, ensuring refreshing hydration on demand. The compact design does not compromise on functionality, as it includes an energy-saving mode that helps reduce energy consumption when the unit is not in use.

Both models incorporate Samsung's advanced filtration technology, ensuring that the water dispensed is not only clean but also tastes great. The filters are easy to replace, promoting a hassle-free maintenance experience. Additionally, both water dispensers feature an LED display, which not only enhances the modern aesthetic but also provides real-time information on the water temperature and filter status.

Energy efficiency is a key characteristic of both models, designed to operate quietly while minimizing electricity usage. This is particularly beneficial for environments such as offices or homes where a constant supply of water is needed without excessive energy costs.

Durability is another vital aspect; the construction of both models is robust, designed to withstand the rigors of daily use. From the high-quality materials used in their design to the reliability of their components, Samsung ensures longevity in these products.

In summary, the Samsung SPL305WEX/EN and SPL255WEX/EN water dispensers offer innovative features, efficient operation, and modern aesthetics that cater to contemporary lifestyle needs. Whether for personal or professional use, these models stand out as reliable choices for hydration solutions.