55 CMD LEN frame — 1535 nm C-series long-range modules (9 scanned manuals)

Read from scanned manuals · page-image checked · example checksums re-derived · page citations kept

Both directions are six bytes: `55 | CMD | LEN | DATAH | DATAL | CHK`. LEN counts the bytes except the start byte, command word and checksum (2 for a two-byte payload); CHK is the XOR of every byte except CHK, including the 55 start byte.

Frame layout

命令帧 6 字节:0x55 | CMD | LEN | DATAH | DATAL | CHK;LEN = 除 STX0/CMD/CHK 外的字节数(2 个数据字节时 LEN=02);CHK = 除 CHK 外所有字节 XOR(含 0x55)。应答:0x55 | CMD_JG | LEN | DATA… | CHK。UART-TTL/RS-422 可选,115200 bps,8N1。源:手册 p4–p5(扫描件 OCR,170dpi 目检)。

Command set

CodeFunctionSendReplyNotes / page
0x00Standby (stop continuous ranging)55 00 02 00 00 57see p5 response tablep4 Table 3 示例码;校验 = 除 CHK 外全部字节 XOR
0x01Single ranging55 01 02 00 00 56see p5 response tablep4 Table 3 示例码;校验 = 除 CHK 外全部字节 XOR
0x02Continuous ranging (period in ms)55 02 02 XX YY CHKsee p5 response tablep4 Table 3 示例码;校验 = 除 CHK 外全部字节 XOR
0x03Self-test55 03 02 00 00 54see p5 response tablep4 Table 3 示例码;校验 = 除 CHK 外全部字节 XOR
0x04Distance selection / nearest blind zone (unit 1 m)55 04 02 XX YY CHKsee p5 response tablep4 Table 3 示例码;校验 = 除 CHK 外全部字节 XOR
0x06Cumulative light-output query55 06 02 00 00 51see p5 response tablep4 Table 3 示例码;校验 = 除 CHK 外全部字节 XOR
0x11APD power on55 11 02 00 00 46see p5 response tablep4 Table 3 示例码;校验 = 除 CHK 外全部字节 XOR
0x12APD power off55 12 02 00 00 45see p5 response tablep4 Table 3 示例码;校验 = 除 CHK 外全部字节 XOR
0xEBNumber query55 EB 02 00 00 BCsee p5 response tablep4 Table 3 示例码;校验 = 除 CHK 外全部字节 XOR

Timing and rates

p3 · Baud 115200 bps; TTL/RS-422 selectable; 8N1.

Status codes and errors

p5 · 0xED 工作超时(激光保护,数据 00 00);0x03 自检 12 字节,含 APD 温度/高压/盲区/±5V 电压。

What the source does not state

Where a manual prints an incomplete reply (for example only 55 for the LD constant-on acknowledgement), this page reproduces that and stops — it does not pad the frame. Anything not printed in the manual is absent here on purpose.

These manuals are scans with no text layer. The frame and command bytes above were read from 300 dpi page images (then re-rendered at 170 dpi for a second look), the printed example frames were re-checked against the checksum rule, and the layout is identical across the 9 manuals in this family. The raw OCR text stays offline; only what the page images show is published.

Models covered by this page

Source documents

Transcription method: these PDFs have no text layer, so this page was built from OCR plus a 170 dpi re-read of the page image. Every example frame was re-derived from the checksum rule the manual prints; a byte that is not legible in the page image is not published.

Related