5-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 毫秒内未接收到 “成功”数据包,则会将其视作为 “失败”数据包。

5-2

更多信息

Page 65
Image 65
Samsung SPL301WEX/EN, SPL331WEX/EN manual RS-232C 命令表, 通信格式 (符合 RS232C 标准), 串行通信协议, 奇偶校验位:无 数据位:8,停止位:1 流量控制:无, 命令包结构 7 个字节

SPL301WEX/EN, SPL331WEX/EN specifications

The Samsung SPL331WEX/EN and SPL301WEX/EN are standout offerings in the realm of home laundry appliances, designed to enhance both efficiency and convenience in everyday washing tasks. These models reflect Samsung's commitment to innovation, combining advanced technologies with user-friendly features.

Starting with the SPL331WEX/EN, this model showcases a generous capacity, allowing users to tackle large laundry loads with ease. One of its key features is the Eco Bubble technology, which mixes air, water, and detergent to create bubbles that penetrate fabric faster. This ensures efficient cleaning even at lower temperatures, saving energy while delivering exceptional results. Additionally, the Quick Wash cycle provides a speedy solution for lightly soiled garments, completing a wash in just about 15 minutes, making it an ideal choice for busy households.

The SPL301WEX/EN also incorporates cutting-edge features focused on performance and sustainability. This model utilizes a digital inverter motor, which not only reduces noise during operation but also enhances durability and energy efficiency. With fewer moving parts, the motor minimizes wear and tear, ensuring a long lifespan for the machine. The model's Smart Check feature offers troubleshooting via a smartphone app, allowing users to quickly diagnose and address issues without the need for a technician.

Both models are equipped with various washing programs tailored to meet different fabric care needs, including delicate cycles and intensive wash modes for heavily soiled items. Their sleek design and intuitive control panels make them easy to operate, even for those not tech-savvy. The diamond drum design further safeguards laundry by preventing snags and damage during the wash cycle.

In terms of energy efficiency, both SPL331WEX/EN and SPL301WEX/EN boast impressive ratings, making them eco-friendly choices that align with today’s environmentally conscious consumers. Their water-saving capabilities minimize consumption without compromising wash quality.

Overall, the Samsung SPL331WEX/EN and SPL301WEX/EN are exemplary washing machines that combine performance, convenience, and sustainability, making them excellent investments for modern households looking to simplify their laundry routines while protecting the environment. Whether tackling large loads or individual garments, these Samsung models consistently deliver superior cleaning results.