{"id":42581,"date":"2026-06-17T23:09:30","date_gmt":"2026-06-17T15:09:30","guid":{"rendered":"https:\/\/www.modbus.cn\/42581.html"},"modified":"2026-06-30T23:42:32","modified_gmt":"2026-06-30T15:42:32","slug":"serial-network-communication-debugging-tools","status":"publish","type":"post","link":"https:\/\/www.modbus.cn\/en\/42581.html","title":{"rendered":"\u4e32\u53e3\u4e0e\u7f51\u7edc\u901a\u4fe1\u8c03\u8bd5\u5de5\u5177\u8bc4\u6d4b \u2014 \u4e32\u53e3\u52a9\u624b\/\u5c40\u57df\u7f51\u626b\u63cf\/\u84dd\u7259BLE\/\u7f51\u7edc\u8bca\u65ad\u5168\u653b\u7565"},"content":{"rendered":"<h2>\u4e00\u3001\u901a\u4fe1\u8c03\u8bd5\u7684\u57fa\u7840\u8bbe\u65bd<\/h2>\n<p>\u65e0\u8bba\u8c03\u8bd5\u54ea\u79cd\u8bbe\u5907\u3001\u4f7f\u7528\u54ea\u79cd\u534f\u8bae\uff0c\u901a\u4fe1\u8c03\u8bd5\u7684<strong>\u5e95\u5c42\u5de5\u5177<\/strong>\u6c38\u8fdc\u662f\u521a\u9700\u2014\u2014\u4e32\u53e3\u52a9\u624b\u6536\u53d1\u539f\u59cb\u6570\u636e\u3001\u5c40\u57df\u7f51\u626b\u63cf\u53d1\u73b0\u8bbe\u5907\u3001\u84dd\u7259\u641c\u7d22\u9644\u8fd1\u8bbe\u5907\u3001\u7f51\u7edc\u8bca\u65ad\u6392\u67e5\u8fde\u901a\u6027\u95ee\u9898\u3002\u8fd94\u6b3e\u5de5\u5177\u662f\u6240\u6709\u8c03\u8bd5\u5de5\u4f5c\u7684\u57fa\u7840\u3002<\/p>\n<h2>\u4e8c\u3001\u4e32\u53e3\u8c03\u8bd5\u5de5\u5177<\/h2>\n<p>\u4e32\u53e3\u8c03\u8bd5\u662f\u6240\u6709\u5d4c\u5165\u5f0f\/\u5de5\u63a7\u5de5\u7a0b\u5e08\u7684<strong>\u65e5\u5e38\u5de5\u5177<\/strong>\u3002<\/p>\n<h3>2.1 \u8fde\u63a5\u7684\u591a\u79cd\u65b9\u5f0f<\/h3>\n<ul>\n<li><strong>USB\u8f6c\u4e32\u53e3<\/strong>\uff1a\u901a\u8fc7OTG\u7ebf\u8fde\u63a5USB\u8f6cTTL\/RS232\/RS485\u6a21\u5757\u5230\u624b\u673a<\/li>\n<li><strong>\u84dd\u7259\u4e32\u53e3<\/strong>\uff1a\u8fde\u63a5\u84dd\u7259\u4e32\u53e3\u6a21\u5757\uff08\u5982HC-05\/HC-06\/BT-04\uff09\uff0c\u65e0\u7ebf\u4e32\u53e3\u8c03\u8bd5<\/li>\n<li><strong>WiFi\u4e32\u53e3<\/strong>\uff1a\u8fde\u63a5WiFi\u4e32\u53e3\u670d\u52a1\u5668\uff08\u5982USR-W610\uff09\uff0cTCP\u900f\u4f20\u8f6c\u4e32\u53e3<\/li>\n<\/ul>\n<h3>2.2 \u53c2\u6570\u914d\u7f6e<\/h3>\n<table style=\"width:100%;border-collapse:collapse;margin:15px 0;font-size:14px\">\n<tr style=\"background:#f5f5f5\">\n<th style=\"padding:10px\">\u53c2\u6570<\/th>\n<th style=\"padding:10px\">\u53ef\u9009\u503c<\/th>\n<th style=\"padding:10px\">Modbus RTU\u5178\u578b\u503c<\/th>\n<\/tr>\n<tr>\n<td style=\"padding:10px\">\u6ce2\u7279\u7387<\/td>\n<td style=\"padding:10px\">1200-921600 bps<\/td>\n<td style=\"padding:10px\">9600\/19200<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:10px\">\u6570\u636e\u4f4d<\/td>\n<td style=\"padding:10px\">5\/6\/7\/8<\/td>\n<td style=\"padding:10px\">8<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:10px\">\u6821\u9a8c\u4f4d<\/td>\n<td style=\"padding:10px\">None\/Even\/Odd\/Mark\/Space<\/td>\n<td style=\"padding:10px\">None\/Even<\/td>\n<\/tr>\n<tr>\n<td style=\"padding:10px\">\u505c\u6b62\u4f4d<\/td>\n<td style=\"padding:10px\">1\/1.5\/2<\/td>\n<td style=\"padding:10px\">1<\/td>\n<\/tr>\n<\/table>\n<h3>2.3 \u6838\u5fc3\u529f\u80fd<\/h3>\n<ul>\n<li><strong>Hex\/ASCII\u53cc\u6a21\u5f0f<\/strong>\uff1aHex\u6a21\u5f0f\u663e\u793a\u5341\u516d\u8fdb\u5236\u5b57\u8282\uff08\u9002\u5408Modbus\uff09\uff0cASCII\u6a21\u5f0f\u663e\u793a\u53ef\u8bfb\u6587\u672c\uff08\u9002\u5408GPS\u3001AT\u6307\u4ee4\u7b49\uff09<\/li>\n<li><strong>\u81ea\u52a8\u53d1\u9001<\/strong>\uff1a\u8bbe\u7f6e\u65f6\u95f4\u95f4\u9694\uff08100ms-60s\uff09\uff0c\u5faa\u73af\u81ea\u52a8\u53d1\u9001\u6307\u5b9a\u5185\u5bb9\u2014\u2014\u7528\u4e8e\u8001\u5316\u6d4b\u8bd5\u548c\u538b\u529b\u6d4b\u8bd5<\/li>\n<li><strong>\u65f6\u95f4\u6233<\/strong>\uff1a\u6bcf\u6761\u6536\u53d1\u6570\u636e\u524d\u81ea\u52a8\u9644\u52a0\u65f6\u95f4\u6233\uff08\u7cbe\u786e\u5230\u6beb\u79d2\uff09\uff0c\u4fbf\u4e8e\u5206\u6790\u901a\u4fe1\u65f6\u673a<\/li>\n<li><strong>\u53d1\u9001\u5386\u53f2<\/strong>\uff1a\u81ea\u52a8\u4fdd\u5b58\u6700\u8fd1\u53d1\u9001\u7684100\u6761\u547d\u4ee4\uff0c\u70b9\u51fb\u5373\u53ef\u91cd\u7528<\/li>\n<li><strong>Modbus\u5e27\u8bc6\u522b<\/strong>\uff1a\u6839\u636e3.5\u5b57\u7b26\u95f4\u9694\uff08Modbus RTU\u6807\u51c6\uff09\uff0c\u81ea\u52a8\u5c06\u63a5\u6536\u5230\u7684\u6570\u636e\u5206\u5272\u4e3a\u4e00\u5e27\u4e00\u5e27\u7684\u62a5\u6587<\/li>\n<li><strong>CRC\/LRC\u9a8c\u8bc1<\/strong>\uff1a\u81ea\u52a8\u68c0\u6d4b\u62a5\u6587\u5c3e\u90e8\u7684CRC16\u6216LRC\u6821\u9a8c\uff0c\u6807\u8bb0\u6821\u9a8c\u7ed3\u679c<\/li>\n<\/ul>\n<h2>\u4e09\u3001\u5c40\u57df\u7f51IP\u626b\u63cf\u5668<\/h2>\n<p>\u5c40\u57df\u7f51\u626b\u63cf\u662f\u7f51\u7edc\u8c03\u8bd5\u7684<strong>\u7b2c\u4e00\u6b65\u9aa4<\/strong>\u2014\u2014\u63a5\u4e0a\u7f51\u7ebf\u4f46\u4e0d\u77e5\u9053\u8bbe\u5907IP\uff0c\u4e00\u5207\u90fd\u65e0\u4ece\u8c08\u8d77\u3002<\/p>\n<h3>3.1 \u626b\u63cf\u6a21\u5f0f<\/h3>\n<ul>\n<li><strong>IP\u6bb5\u5feb\u901f\u626b\u63cf<\/strong>\uff1a\u8f93\u5165\u7f51\u6bb5\uff08\u5982192.168.1.0\/24\uff09\uff0c\u5e76\u53d1Ping\u6240\u6709254\u4e2a\u5730\u5740\uff0c\u51e0\u79d2\u5185\u5217\u51fa\u6240\u6709\u5728\u7ebf\u4e3b\u673a<\/li>\n<li><strong>\u5355IP\u6df1\u5ea6\u626b\u63cf<\/strong>\uff1a\u5bf9\u6307\u5b9aIP\u8fdb\u884c\u7aef\u53e3\u626b\u63cf\uff081-65535\u81ea\u5b9a\u4e49\u8303\u56f4\uff09\uff0c\u53d1\u73b0\u5f00\u653e\u7684\u670d\u52a1\u7aef\u53e3<\/li>\n<li><strong>ARP\u626b\u63cf<\/strong>\uff1a\u901a\u8fc7ARP\u8868\u53d1\u73b0\u5c40\u57df\u7f51\u8bbe\u5907\uff08\u4ec5\u9650\u540c\u4e00\u5b50\u7f51\uff0c\u4e0d\u9700\u8981IP\u53ef\u8fbe\uff09<\/li>\n<\/ul>\n<h3>3.2 \u626b\u63cf\u7ed3\u679c<\/h3>\n<p>\u6bcf\u4e2a\u53d1\u73b0\u7684\u8bbe\u5907\u663e\u793a\uff1aIP\u5730\u5740\u3001MAC\u5730\u5740\u3001\u4e3b\u673a\u540d\uff08NetBIOS\/mDNS\u89e3\u6790\uff09\u3001\u8bbe\u5907\u5382\u5546\uff08\u6839\u636eMAC\u5730\u5740OUI\u8bc6\u522b\u2014\u2014\u5982Dell\/HP\/Siemens\/Hikvision\u7b49\uff09\u3001\u5f00\u653e\u7aef\u53e3\u5217\u8868\uff08\u542b\u670d\u52a1\u540d\u2014\u2014\u5982502=Modbus\u300180=HTTP\u3001443=HTTPS\u300122=SSH\uff09\u3002<\/p>\n<h3>3.3 \u8f85\u52a9\u5de5\u5177<\/h3>\n<ul>\n<li><strong>Ping<\/strong>\uff1a\u6307\u5b9aIP\u7684Ping\u6d4b\u8bd5\uff0c\u663e\u793a\u5ef6\u8fdf\u548c\u4e22\u5305\u7387<\/li>\n<li><strong>\u8def\u7531\u8ffd\u8e2a<\/strong>\uff1aTraceroute\u663e\u793a\u6570\u636e\u5305\u5230\u8fbe\u76ee\u6807\u7684\u8def\u5f84<\/li>\n<li><strong>DNS\u67e5\u8be2<\/strong>\uff1a\u57df\u540d\u89e3\u6790\u548c\u53cd\u5411\u89e3\u6790<\/li>\n<li><strong>Wake-on-LAN<\/strong>\uff1a\u8f93\u5165MAC\u5730\u5740\u53d1\u9001\u7f51\u7edc\u5524\u9192\u5305<\/li>\n<\/ul>\n<h2>\u56db\u3001\u84dd\u7259BLE\u8c03\u8bd5\u5de5\u5177<\/h2>\n<p>BLE\uff08Bluetooth Low Energy\uff09\u662f<strong>\u667a\u80fd\u5bb6\u5c45\u4f20\u611f\u5668<\/strong>\u7684\u4e3b\u6d41\u901a\u4fe1\u65b9\u5f0f\u2014\u2014\u6e29\u6e7f\u5ea6\u4f20\u611f\u5668\u3001\u95e8\u78c1\u3001\u4eba\u4f53\u611f\u5e94\u5668\u3001\u667a\u80fd\u9501\u7b49\u5927\u91cf\u4f7f\u7528BLE\u901a\u4fe1\u3002<\/p>\n<h3>4.1 \u6838\u5fc3\u529f\u80fd<\/h3>\n<ul>\n<li><strong>\u8bbe\u5907\u626b\u63cf<\/strong>\uff1a\u626b\u63cf\u9644\u8fd1\u7684BLE\u8bbe\u5907\uff0c\u663e\u793a\u8bbe\u5907\u540d\u3001MAC\u5730\u5740\u3001\u4fe1\u53f7\u5f3a\u5ea6\uff08RSSI\uff09\u3001\u5e7f\u64ad\u6570\u636e<\/li>\n<li><strong>\u5e7f\u64ad\u6570\u636e\u89e3\u6790<\/strong>\uff1a\u89e3\u6790BLE\u5e7f\u64ad\u5305\u4e2d\u7684AD Structure\uff08\u5236\u9020\u5546\u6570\u636e\u3001\u670d\u52a1UUID\u3001\u8bbe\u5907\u540d\u7b49\uff09<\/li>\n<li><strong>GATT\u670d\u52a1\u6d4f\u89c8<\/strong>\uff1a\u8fde\u63a5\u8bbe\u5907\u540e\u6d4f\u89c8\u6240\u6709GATT Service\u548cCharacteristic\uff0c\u8bfb\u53d6\/\u5199\u5165\/\u901a\u77e5\u64cd\u4f5c<\/li>\n<li><strong>RSSI\u6d4b\u8ddd<\/strong>\uff1a\u6839\u636e\u4fe1\u53f7\u5f3a\u5ea6\u4f30\u7b97\u8bbe\u5907\u8ddd\u79bb\uff08\u7cbe\u5ea6\u53d7\u73af\u5883\u5f71\u54cd\uff0c\u4ec5\u4f9b\u53c2\u8003\uff09<\/li>\n<li><strong>\u6570\u636e\u65e5\u5fd7<\/strong>\uff1a\u81ea\u52a8\u8bb0\u5f55BLE\u901a\u4fe1\u6570\u636e\uff0c\u6309\u65f6\u95f4\u6233\u6392\u5e8f<\/li>\n<\/ul>\n<h2>\u4e94\u3001\u7f51\u7edc\u8bbe\u5907\u8c03\u8bd5\u52a9\u624b<\/h2>\n<p>\u7efc\u5408\u6027\u7f51\u7edc\u8bca\u65ad\u5de5\u5177\uff0c\u6574\u5408\u4e86\uff1a<\/p>\n<ul>\n<li><strong>\u7f51\u7edc\u72b6\u6001<\/strong>\uff1a\u5f53\u524dWiFi\/\u8702\u7a9d\u7f51\u7edc\u4fe1\u606f\uff08IP\/\u7f51\u5173\/DNS\/\u4fe1\u53f7\u5f3a\u5ea6\uff09<\/li>\n<li><strong>\u8fde\u901a\u6027\u6d4b\u8bd5<\/strong>\uff1aPing\u76ee\u6807\u8bbe\u5907\uff0c\u7edf\u8ba1\u5ef6\u8fdf\/\u4e22\u5305<\/li>\n<li><strong>\u7aef\u53e3\u6d4b\u8bd5<\/strong>\uff1aTCP\u8fde\u63a5\u6d4b\u8bd5\u6307\u5b9aIP:\u7aef\u53e3\uff0c\u786e\u8ba4\u7aef\u53e3\u53ef\u8fbe<\/li>\n<li><strong>HTTP\u6d4b\u8bd5<\/strong>\uff1aGET\/POST\u8bf7\u6c42\u6d4b\u8bd5\uff0c\u67e5\u770b\u54cd\u5e94\u72b6\u6001\u7801\u548cBody<\/li>\n<li><strong>Modbus TCP\u6d4b\u8bd5<\/strong>\uff1a\u4e00\u952e\u6d4b\u8bd5Modbus TCP\u8bbe\u5907\uff08502\u7aef\u53e3\uff09\u7684\u8fde\u901a\u6027<\/li>\n<li><strong>\u7f51\u7edc\u6293\u5305<\/strong>\uff1a\u7b80\u5355\u6293\u5305\u5206\u6790\uff08\u542b\u6e90\/\u76ee\u6807IP\u3001\u7aef\u53e3\u3001\u534f\u8bae\u7c7b\u578b\uff09<\/li>\n<\/ul>\n<h2>\u516d\u3001\u603b\u7ed3<\/h2>\n<p>4\u6b3e\u901a\u4fe1\u57fa\u7840\u8c03\u8bd5\u5de5\u5177\uff0c\u4ece\u7269\u7406\u5c42\u7684\u4e32\u53e3\u4fe1\u53f7\u5230\u5e94\u7528\u5c42\u7684HTTP\u8bf7\u6c42\uff0c\u8986\u76d6\u4e86\u901a\u4fe1\u8c03\u8bd5\u7684\u5168\u6808\u9700\u6c42\u3002\u5b83\u4eec\u662f\u6240\u6709\u4e0a\u5c42\u534f\u8bae\u8c03\u8bd5\u5de5\u5177\u7684\u57fa\u7840\u3002<\/p>\n<p>\u6253\u5f00\u5fae\u4fe1\u641c\u7d22 <strong>\u300cmodbus\u8c03\u8bd5\u52a9\u624b\u300d<\/strong>\uff0c\u901a\u4fe1\u8c03\u8bd5\u7684\u745e\u58eb\u519b\u5200\u968f\u8eab\u5e26\u3002<\/p>\n<hr \/>\n<h2>\ud83c\udfaf \u672c\u6587\u6240\u8ff0\u5168\u90e8\u5de5\u5177\u5747\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u514d\u8d39\u4f7f\u7528<\/h2>\n<p>\u6253\u5f00\u5fae\u4fe1 \u2192 \u70b9\u51fb\u9876\u90e8\u641c\u7d22 \u2192 \u8f93\u5165 <strong>\u300cmodbus\u8c03\u8bd5\u52a9\u624b\u300d<\/strong> \u2192 \u8fdb\u5165\u5c0f\u7a0b\u5e8f\u3002<br \/>\n<strong>\u65e0\u9700\u4e0b\u8f7dAPP\u3001\u65e0\u9700\u6ce8\u518c\u767b\u5f55\u3001\u65e0\u9700\u7535\u8111<\/strong>\u2014\u201470+ \u6b3e\u5de5\u63a7\u8c03\u8bd5\u5de5\u5177\uff0c\u638f\u51fa\u624b\u673a\u5c31\u80fd\u7528\u3002<\/p>\n<p>\u65e0\u8bba\u4f60\u662f\u5728\u5de5\u7a0b\u73b0\u573a\u3001\u51fa\u5dee\u9014\u4e2d\u3001\u8fd8\u662f\u5728\u5bb6\u5b66\u4e60\uff0cmodbus\u8c03\u8bd5\u52a9\u624b\u90fd\u662f\u4f60\u968f\u8eab\u7684\u5de5\u4e1a\u81ea\u52a8\u5316\u8c03\u8bd5\u5de5\u4f5c\u7ad9\u3002<\/p>\n<span id=\"magicpostMarker\"><\/span>","protected":false},"excerpt":{"rendered":"<p>\u5fae\u4fe1\u5c0f\u7a0b\u5e8fmodbus\u8c03\u8bd5\u52a9\u624b\u63d0\u4f9b\u4e32\u53e3\u8c03\u8bd5\/\u5c40\u57df\u7f51IP\u626b\u63cf\/\u84dd\u7259BLE\u8c03\u8bd5\/\u7f51\u7edc\u8bbe\u5907\u8bca\u65ad\u51714\u6b3e\u901a\u4fe1\u57fa\u7840\u8c03\u8bd5\u5de5\u5177\uff0c\u8986\u76d6\u7269\u7406\u5c42\u5230\u5e94\u7528\u5c42\u7684\u5168\u6808\u901a\u4fe1\u8c03\u8bd5\u9700\u6c42\u3002<\/p>","protected":false},"author":1,"featured_media":27977,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[3095],"tags":[2622,2617,2618,2619,2564,2621,2620],"class_list":["post-42581","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-slug-device-registers","tag-ping","tag-2617","tag-2618","tag-2619","tag-2564","tag-2621","tag-2620"],"_links":{"self":[{"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/posts\/42581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/comments?post=42581"}],"version-history":[{"count":0,"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/posts\/42581\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/media\/27977"}],"wp:attachment":[{"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/media?parent=42581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/categories?post=42581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/tags?post=42581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}