09d2f294746f47028428dbe7fe154a3a_帧格式.txt 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. 68 67 02 81 00 00 00 68 11 0A 33 33 34 33 37 93 3A 33 48 33 54 16
  2. D8 9B 3B 43 80 2F
  3. 例子:打开激光红外 97 FF FF FF FF AA AA AA AA AA AA 97 02 00 03 40 B0 04 18 01 38 E9
  4. 关闭激光红外 97 FF FF FF FF AA AA AA AA AA AA 97 02 00 03 40 B0 04 18 00 37 E9
  5. 返回: 97 00 00 00 07 05 CA AB 83 15 00 97 00 00 03 80 B0 04 7E E9
  6. 设置模块通信参数:97 FF FF FF FF AA AA AA AA AA AA 97 01 00 03 40 B0 05 18 37 E9
  7. 返回: 97 00 00 00 07 05 CA AB 83 15 00 97 08 00 03 80 B0 06 18 08 00 01 08 01 B8 0B 75 E9
  8. 条码扫描:97 FF FF FF FF AA AA AA AA AA AA 97 04 00 01 40 B0 07 22 01 00 00 45 E9
  9. 返回(6100008888449526):
  10. 97 00 00 00 07 05 CA AB 83 15 00 97 2F 00 01 80 B0 07
  11. 22 01 2B 00
  12. 68 74 74 70 3A 2F 2F 77 65 69 78 69 6E 2E 71 71 2E 63 6F 6D 2F 72 2F 68 45 4E 78 61 59 58 45 66 74 67 42 72 63 45 4B 39 78 61 57
  13. 50 E9
  14. 取消: 97 FF FF FF FF AA AA AA AA AA AA 97 00 00 01 40 2B 01 93 E9
  15. 97 00 00 00 02 05 CA AB 83 15 00 97 21 00 01 40 B0 07 19 03 19 00 68 67 02 81 00 00 00 FE FE FE FE 68 04 60 07 00 15 00 68 93 06 37 93 3A 33 48 33 9B 16 8C E9
  16. FE FE FE FE 68 04 60 07 00 15 00 68 93 06 37 93 3A 33 48 33 9B 16
  17. 68 04 60 07 00 15 00 68 11 04 33 33 34 33 32 16
  18. 97 FF FF FF FF AA AA AA AA AA AA 97 02 00 03 40 B0 04 18 01 38 E9
  19. 97 00 00 00 07 05 CA AB 83 15 00 97 08 00 03 80 B0 06 18 08 00 01 08 01 B8 0B 75 E9
  20. 97 00 00 00 02 05 CA AB 83 15 00 97 14 00 01 40 B0 07 18 03 10 00 68 04 60 07 00 15 00 68 11 04 33 33 34 33 32 16 F3 E9
  21. 97 FF FF FF FF AA AA AA AA AA AA 97 1A 00 03 40 B0 07 18 03 16 00 68 67 02 81 00 00 00 68 11 0A 33 33 34 33 37 39 3A 33 48 33 FA 16 75 E9
  22. **************************************************************************************
  23. 激光模块上电: 18为激光红外,19为普通红外,01为上电,00为断电
  24. 发送97 FF FF FF FF AA AA AA AA AA AA 97 02 00 03 40 B0 04 18 01 38 E9
  25. 返回97 00 00 00 07 05 CA AB 83 15 00 97 00 00 03 80 B0 04 7E E9
  26. 采集底度(001500076004):
  27. 发送97 00 00 00 02 05 CA AB 83 15 00 97 14 00 01 40 B0 07 18 03 10 00 68 04 60 07 00 15 00 68 11 04 33 33 34 33 32 16 F3 E9
  28. 底度(010710.47) (7A 43 3A 34 每位减33)
  29. 返回97 00 00 00 07 05 CA AB 83 15 00 97 1C 00 01 80 B0 07 18 03 18 00 FE FE FE FE 68 04 60 07 00 15 00 68 91 08 33 33 34 33 7A 43 3A 34 E1 16 9E E9
  30. 698获取电表底度
  31. 68 17 00 43 45 AA AA AA AA AA AA 00 5B 4F 05 01 00 00 10 02 01 00 0D 04 16
  32. 背夹发送
  33. 97 00 00 00 02 05 CA AB 83 15 00 97 27 00 01 40 B0 07 18 04 19 00 68 17 00 43 45 AA AA AA AA AA AA 00 5B 4F 05 01 00 00 10 02 01 00 0D 04 16 83 E9
  34. DL645-97规约(表地址:129078563412 332211.00 kWh )
  35. 获取底度:FE FE FE FE 68 12 34 56 78 90 12 68 01 02 43 C3 8F 16
  36. 返回:68 12 34 56 78 90 12 68 81 06 43 C3 33 44 55 66 45 16
  37. 97 帧头
  38. 设备类型:4字节
  39. 背夹地址 6字节
  40. 97 帧起始符
  41. 数据域长度 2字节
  42. 帧序列号 1字节
  43. 控制码 1字节
  44. 上行:
  45. 下行:
  46. 40: 01 终端请求
  47. 80: 10 背夹响应
  48. 00: 00 背夹上报的相应
  49. A0: 11 背夹主动上报
  50. 功能码2字节
  51. F0:B0
  52. F1:07 数据转发
  53. F0:20
  54. F1:08 读标签 09 写标签
  55. 数据域
  56. F0:B0 F1:07
  57. 18 03
  58. 硬件模块类型1字节:01 超高频;18激光红外;22扫码
  59. 转发数据类型1字节: 03 645报文;04 698报文;06 电子封印数据
  60. 转发数据长度2字节:
  61. 转发数据N字节:()
  62. 校验码 第一个帧起始符到校验码前所有字节的模256的和
  63. E9 结束符