{"id":55606,"date":"2025-08-14T01:34:33","date_gmt":"2025-08-13T17:34:33","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/55606.html"},"modified":"2025-08-14T01:34:33","modified_gmt":"2025-08-13T17:34:33","slug":"%e4%b8%80%e6%96%87%e7%9c%8b%e6%87%82-modbus%ef%bc%9a%e4%bb%8e%e9%9b%b6%e5%88%b0%e8%83%bd%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/55606.html","title":{"rendered":"\u4e00\u6587\u770b\u61c2 Modbus\uff1a\u4ece\u96f6\u5230\u80fd\u7528"},"content":{"rendered":"<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>\u4e00\u6587\u770b\u61c2 Modbus&#xff1a;\u4ece\u96f6\u5230\u80fd\u7528<\/li>\n<li>\n<ul>\n<li>Modbus \u662f\u5565&#xff1f;<\/li>\n<li>\u56db\u7c7b\u201c\u5bf9\u8c61\u201d\u3001\u7f16\u53f7\u4e0e\u529f\u80fd\u7801&#xff08;\u6838\u5fc3\u6982\u5ff5&#xff09;<\/li>\n<li>\n<ul>\n<li>\u53c2\u8003\u53f7 vs \u5b9e\u9645\u5730\u5740&#xff08;\u504f\u79fb&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>RTU\/ASCII\/TCP \u62a5\u6587\u957f\u5565\u6837&#xff1f;<\/li>\n<li>\n<ul>\n<li>RTU&#xff08;\u4e32\u53e3&#xff0c;\u4e8c\u8fdb\u5236&#xff09;<\/li>\n<li>ASCII&#xff08;\u4e32\u53e3&#xff0c;\u6587\u672c&#xff09;<\/li>\n<li>TCP&#xff08;\u4ee5\u592a\u7f51&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u8bfb\u5199\u80fd\u5e26\u591a\u5c11\u6570\u636e&#xff1f;&#xff08;\u5e38\u7528\u4e0a\u9650&#xff09;<\/li>\n<li>\u771f\u00b7\u4e00\u773c\u4f1a\u7684\u5b9e\u6218\u4f8b\u5b50<\/li>\n<li>\n<ul>\n<li>\u4f8b\u5b50 1&#xff1a;\u8bfb\u4fdd\u6301\u5bc4\u5b58\u5668 40100&#xff08;\u4e00\u4e2a\u5bc4\u5b58\u5668&#xff09;<\/li>\n<li>\u4f8b\u5b50 2&#xff1a;\u5199\u7ebf\u5708 00020 \u4e3a ON<\/li>\n<li>\u4f8b\u5b50 3&#xff1a;\u8fde\u7eed\u8bfb\u53d6\u79bb\u6563\u8f93\u5165 10001\u201310016&#xff08;16 \u4f4d&#xff09;<\/li>\n<li>\u4f8b\u5b50 4&#xff1a;\u8bfb\u53d6 32 \u4f4d\u6d6e\u70b9\u6570&#xff08;\u5360\u4e24\u4e2a HR&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\u8fde\u63a5\u4e0e\u5e03\u7ebf\u5c0f\u6284&#xff08;RS-485&#xff09;<\/li>\n<li>\u5c0f\u7ec6\u8282 &amp; \u6613\u8e29\u5751\u5408\u96c6<\/li>\n<li>\u62a5\u6587\u957f\u76f8&#xff08;\u770b\u4e00\u773c\u5c31\u4f1a&#xff09;<\/li>\n<li>\u9009 RTU \u8fd8\u662f TCP&#xff1f;<\/li>\n<li>\u4e0a\u624b\u4ee3\u7801&#xff08;Python&#xff0c;pymodbus&#xff09;<\/li>\n<li>\u8c03\u8bd5\u4e0e\u5de5\u5177\u6e05\u5355<\/li>\n<li>\u7ed3\u8bed<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>\u4e00\u6587\u770b\u61c2 Modbus&#xff1a;\u4ece\u96f6\u5230\u80fd\u7528<\/h2>\n<p>\u8fd9\u7bc7\u7ed9\u521a\u5165\u95e8\u7684\u4f60&#xff1a;\u4ec0\u4e48\u662f Modbus\u3001RTU\/ASCII\/TCP \u6709\u5565\u533a\u522b\u3001\u5bc4\u5b58\u5668\u548c\u529f\u80fd\u7801\u600e\u4e48\u5bf9\u4e0a\u3001\u62a5\u6587\u957f\u5565\u6837\u3001\u7ebf\u7f06\u600e\u4e48\u63a5\u3001\u5e38\u89c1\u5751\u600e\u4e48\u907f\u3002\u770b\u5b8c\u4f60\u5c31\u80fd\u8bfb\/\u5199\u8bbe\u5907\u6570\u636e&#xff0c;\u5c11\u8e29 80% \u7684\u5751\u3002<\/p>\n<hr \/>\n<h3>Modbus \u662f\u5565&#xff1f;<\/h3>\n<p>Modbus \u662f\u4e00\u79cd\u4e3b\u4ece&#xff08;Client\/Server&#xff09;\u5f0f\u5de5\u4e1a\u901a\u4fe1\u534f\u8bae&#xff0c;\u7528\u6765\u5728 PLC\u3001\u53d8\u9891\u5668\u3001\u4eea\u8868\u3001\u4f20\u611f\u5668\u4e4b\u95f4\u8bfb\u5199\u4f4d\u6216\u5bc4\u5b58\u5668\u3002\u5b83\u8f7b\u91cf\u3001\u7b80\u5355\u3001\u8de8\u54c1\u724c\u901a\u7528&#xff0c;\u81f3\u4eca\u4ecd\u662f\u201c\u73b0\u573a\u603b\u7ebf\u754c\u7684\u82f1\u8bed\u201d\u3002<\/p>\n<p>\u4e09\u79cd\u5e38\u89c1\u5f62\u6001&#xff1a;<\/p>\n<ul>\n<li>Modbus RTU&#xff1a;\u8dd1\u5728\u4e32\u53e3&#xff08;\u5e38\u89c1 RS-485&#xff09;&#xff0c;\u4e8c\u8fdb\u5236\u5e27&#xff0c;\u6548\u7387\u9ad8\u3002<\/li>\n<li>Modbus ASCII&#xff1a;\u4e5f\u8dd1\u4e32\u53e3&#xff0c;\u6587\u672c\u5e27&#xff0c;\u6613\u8bfb\u4f46\u6548\u7387\u4f4e\u3002<\/li>\n<li>Modbus TCP&#xff1a;\u8dd1\u4ee5\u592a\u7f51&#xff08;TCP 502 \u7aef\u53e3&#xff09;&#xff0c;\u597d\u63a5\u5165\u4e0a\u4f4d\u673a\/\u7f51\u7edc\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u56db\u7c7b\u201c\u5bf9\u8c61\u201d\u3001\u7f16\u53f7\u4e0e\u529f\u80fd\u7801&#xff08;\u6838\u5fc3\u6982\u5ff5&#xff09;<\/h3>\n<p>Modbus \u64cd\u4f5c\u7684\u662f 4 \u79cd\u5bf9\u8c61&#xff08;\u53ef\u7406\u89e3\u4e3a 4 \u4e2a\u62bd\u5c49&#xff09;\u2014\u2014\u6bcf\u7c7b\u5bf9\u8c61\u56fa\u5b9a\u5bf9\u5e94\u529f\u80fd\u7801&#xff08;\u8981\u5e72\u4ec0\u4e48&#xff09;\u548c\u5730\u5740\u7a7a\u95f4&#xff08;\u5728\u54ea\u513f\u5e72&#xff09;&#xff1a;<\/p>\n<table>\n<tr>\u53c2\u8003\u53f7\u5199\u6cd5\u5bf9\u8c61\u7c7b\u578b\u6570\u636e\u7c92\u5ea6\u8bfb\/\u5199\u7528\u7684\u529f\u80fd\u7801<\/tr>\n<tbody>\n<tr>\n<td>0xxxx&#xff08;\u5982 00001&#xff09;<\/td>\n<td>Coils&#xff08;\u7ebf\u5708&#xff09;<\/td>\n<td>\u4f4d&#xff0c;\u8bfb\u5199<\/td>\n<td>\u8bfb 01 \/ \u5199\u5355\u70b9 05 \/ \u5199\u591a\u70b9 15<\/td>\n<\/tr>\n<tr>\n<td>1xxxx&#xff08;\u5982 10001&#xff09;<\/td>\n<td>Discrete Inputs&#xff08;\u79bb\u6563\u8f93\u5165&#xff09;<\/td>\n<td>\u4f4d&#xff0c;\u53ea\u8bfb<\/td>\n<td>\u8bfb 02<\/td>\n<\/tr>\n<tr>\n<td>3xxxx&#xff08;\u5982 30001&#xff09;<\/td>\n<td>Input Registers&#xff08;\u8f93\u5165\u5bc4\u5b58\u5668&#xff09;<\/td>\n<td>16 \u4f4d&#xff0c;\u53ea\u8bfb<\/td>\n<td>\u8bfb 04<\/td>\n<\/tr>\n<tr>\n<td>4xxxx&#xff08;\u5982 40123&#xff09;<\/td>\n<td>Holding Registers&#xff08;\u4fdd\u6301\u5bc4\u5b58\u5668&#xff09;<\/td>\n<td>16 \u4f4d&#xff0c;\u8bfb\u5199<\/td>\n<td>\u8bfb 03 \/ \u5199\u5355\u4e2a 06 \/ \u5199\u591a\u4e2a 16<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e3a\u5565\u201c\u770b\u5730\u5740\u5c31\u80fd\u77e5\u9053\u529f\u80fd\u7801\u201d&#xff1f;\u56e0\u4e3a\u5f88\u591a\u624b\u518c\u91cc\u7684\u201c\u5730\u5740\u201d\u5176\u5b9e\u662f\u5e26\u5206\u7c7b\u7684\u53c2\u8003\u7f16\u53f7&#xff08;\u9996\u4f4d 0\/1\/3\/4 \u5df2\u7ecf\u8bf4\u660e\u4e86\u5b83\u5c5e\u4e8e\u54ea\u4e2a\u62bd\u5c49&#xff09;&#xff0c;\u800c\u5404\u62bd\u5c49\u7684\u8bfb\u5199\u52a8\u4f5c\u5728\u534f\u8bae\u91cc\u56fa\u5b9a\u6620\u5c04\u6210\u4e0a\u8ff0\u529f\u80fd\u7801\u3002<\/p>\n<h4>\u53c2\u8003\u53f7 vs \u5b9e\u9645\u5730\u5740&#xff08;\u504f\u79fb&#xff09;<\/h4>\n<p>\u771f\u6b63\u8fdb\u62a5\u6587\u7528\u7684\u662f0 \u57fa\u504f\u79fb\u5730\u5740&#xff0c;\u4e0d\u662f\u201c40001\u201d\u8fd9\u79cd\u53c2\u8003\u53f7\u3002\u6362\u7b97\u89c4\u5219&#xff1a;<\/p>\n<ul>\n<li>Coil&#xff1a;\u504f\u79fb &#061; \u53c2\u8003\u53f7 \u2212 1&#xff08;00020 \u2192 19&#xff09;<\/li>\n<li>DI&#xff1a;\u504f\u79fb &#061; \u53c2\u8003\u53f7 \u2212 10001<\/li>\n<li>IR&#xff1a;\u504f\u79fb &#061; \u53c2\u8003\u53f7 \u2212 30001<\/li>\n<li>HR&#xff1a;\u504f\u79fb &#061; \u53c2\u8003\u53f7 \u2212 40001<\/li>\n<\/ul>\n<p>\u6709\u4e9b\u624b\u518c\u76f4\u63a5\u7ed9\u201cAddress\/Offset&#061;99&#xff08;0x0063&#xff09;\u201d\u8fd9\u7c7b0 \u57fa\u504f\u79fb&#xff0c;\u8fd9\u65f6\u4e0d\u7528\u518d\u51cf\u3002\u4ee5\u624b\u518c\u7684\u5217\u540d\u4e3a\u51c6\u3002<\/p>\n<hr \/>\n<h3>RTU\/ASCII\/TCP \u62a5\u6587\u957f\u5565\u6837&#xff1f;<\/h3>\n<h4>RTU&#xff08;\u4e32\u53e3&#xff0c;\u4e8c\u8fdb\u5236&#xff09;<\/h4>\n<ul>\n<li>\u5e27&#xff1a;[\u4ece\u7ad9\u5730\u5740][\u529f\u80fd\u7801][\u6570\u636e&#8230;][CRC16]<\/li>\n<li>\u4ee5\u9759\u9ed8\u95f4\u9694\u5212\u5e27&#xff1a;\u5e27\u524d\u540e\u81f3\u5c11 3.5 \u4e2a\u5b57\u7b26\u65f6\u95f4&#xff08;\u4fd7\u79f0 T3.5&#xff09;&#xff0c;\u5e27\u5185\u5b57\u8282\u95f4\u4e0d\u8d85\u8fc7 1.5 \u4e2a\u5b57\u7b26\u65f6\u95f4&#xff08;T1.5&#xff09;\u3002<\/li>\n<li>\u5e7f\u64ad\u5730\u5740 0 \u53ea\u7528\u4e8e\u5199&#xff08;\u65e0\u5e94\u7b54&#xff0c;\u5e38\u7528\u4e8e\u540c\u65f6\u4e0b\u53d1&#xff09;\u3002<\/li>\n<\/ul>\n<h4>ASCII&#xff08;\u4e32\u53e3&#xff0c;\u6587\u672c&#xff09;<\/h4>\n<ul>\n<li>\u5e27&#xff1a;: \u5f00\u5934&#xff0c;\u5185\u5bb9\u662f ASCII \u5341\u516d\u8fdb\u5236&#xff0c;\u7ed3\u5c3e CRLF&#xff0c;LRC \u6821\u9a8c\u3002\u8c03\u8bd5\u53cb\u597d&#xff0c;\u6548\u7387\u8f83\u4f4e\u3002<\/li>\n<\/ul>\n<h4>TCP&#xff08;\u4ee5\u592a\u7f51&#xff09;<\/h4>\n<ul>\n<li>\u5e27&#xff1a;[MBAP \u5934 7B][\u529f\u80fd\u7801][\u6570\u636e&#8230;] MBAP \u5934\u542b\u4e8b\u52a1 ID\u3001\u957f\u5ea6\u3001Unit ID&#xff08;\u7f51\u5173\u573a\u666f\u4e0b\u6620\u5c04\u5230\u4e0b\u6302 RTU \u4ece\u7ad9\u5730\u5740&#xff1b;\u76f4\u8fde\u8bbe\u5907\u901a\u5e38\u5ffd\u7565\u6216\u8bbe\u6210 1\/0xFF&#xff09;\u3002<\/li>\n<li>\u65e0 CRC&#xff08;\u7531 TCP \u4fdd\u8bc1&#xff09;\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u8bfb\u5199\u80fd\u5e26\u591a\u5c11\u6570\u636e&#xff1f;&#xff08;\u5e38\u7528\u4e0a\u9650&#xff09;<\/h3>\n<ul>\n<li>\u8bfb Coils\/DI&#xff1a;\u6700\u591a 2000 \u4f4d<\/li>\n<li>\u8bfb IR\/HR&#xff1a;\u6700\u591a 125 \u4e2a\u5bc4\u5b58\u5668<\/li>\n<li>\u5199\u591a\u4e2a Coils&#xff08;FC15&#xff09;&#xff1a;\u6700\u591a 1968 \u4f4d<\/li>\n<li>\u5199\u591a\u4e2a HR&#xff08;FC16&#xff09;&#xff1a;\u6700\u591a 123 \u4e2a\u5bc4\u5b58\u5668<\/li>\n<\/ul>\n<p>\u8fd9\u4e9b\u4e0a\u9650\u6765\u81ea Modbus PDU \u7684\u6700\u5927\u957f\u5ea6\u9650\u5236&#xff0c;\u7edd\u5927\u591a\u6570\u8bbe\u5907\u9075\u5b88\u3002\u4e2a\u522b\u5382\u5bb6\u53ef\u80fd\u66f4\u5c0f\u2014\u2014\u770b\u624b\u518c\u3002<\/p>\n<hr \/>\n<h3>\u771f\u00b7\u4e00\u773c\u4f1a\u7684\u5b9e\u6218\u4f8b\u5b50<\/h3>\n<h4>\u4f8b\u5b50 1&#xff1a;\u8bfb\u4fdd\u6301\u5bc4\u5b58\u5668 40100&#xff08;\u4e00\u4e2a\u5bc4\u5b58\u5668&#xff09;<\/h4>\n<ul>\n<li>\u7c7b\u578b&#xff1a;HR \u2192 \u529f\u80fd\u7801 03<\/li>\n<li>\u504f\u79fb&#xff1a;40100 \u2212 40001 &#061; 99<\/li>\n<li>\u6570\u91cf&#xff1a;1<\/li>\n<li>RTU \u547d\u4ee4\u5173\u952e\u5b57\u6bb5&#xff1a;[addr][03][00 63][00 01][CRC]<\/li>\n<\/ul>\n<h4>\u4f8b\u5b50 2&#xff1a;\u5199\u7ebf\u5708 00020 \u4e3a ON<\/h4>\n<ul>\n<li>\u7c7b\u578b&#xff1a;Coil \u2192 \u529f\u80fd\u7801 05<\/li>\n<li>\u504f\u79fb&#xff1a;20 \u2212 1 &#061; 19<\/li>\n<li>\u6570\u636e&#xff1a;ON&#061;0xFF00&#xff08;OFF&#061;0x0000&#xff09;<\/li>\n<\/ul>\n<h4>\u4f8b\u5b50 3&#xff1a;\u8fde\u7eed\u8bfb\u53d6\u79bb\u6563\u8f93\u5165 10001\u201310016&#xff08;16 \u4f4d&#xff09;<\/h4>\n<ul>\n<li>\u7c7b\u578b&#xff1a;DI \u2192 02<\/li>\n<li>\u504f\u79fb&#xff1a;10001 \u2212 10001 &#061; 0<\/li>\n<li>\u6570\u91cf&#xff1a;16<\/li>\n<\/ul>\n<h4>\u4f8b\u5b50 4&#xff1a;\u8bfb\u53d6 32 \u4f4d\u6d6e\u70b9\u6570&#xff08;\u5360\u4e24\u4e2a HR&#xff09;<\/h4>\n<ul>\n<li>\u6587\u6863\u8bf4\u201c40100&#xff08;\u4f4e\u5b57&#xff09; \u548c 40101&#xff08;\u9ad8\u5b57&#xff09; \u7ec4\u6210\u4e00\u4e2a\u6d6e\u70b9\u201d<\/li>\n<li>\u8bfb\u53c2\u6570&#xff1a;FC 03&#xff0c;\u504f\u79fb 99&#xff0c;\u6570\u91cf 2<\/li>\n<li>\u89e3\u6790\u65f6\u6ce8\u610f\u5b57\/\u5b57\u8282\u5e8f&#xff08;\u5e38\u89c1&#xff1a;\u9ad8\u4f4e\u5b57\u4ea4\u6362 \/ \u5927\u5c0f\u7aef\u4e0d\u4e00\u81f4&#xff09;\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u8fde\u63a5\u4e0e\u5e03\u7ebf\u5c0f\u6284&#xff08;RS-485&#xff09;<\/h3>\n<ul>\n<li>\u62d3\u6251&#xff1a;\u603b\u7ebf\u578b&#xff08;\u83ca\u82b1\u94fe&#xff09;&#xff0c;\u907f\u514d\u661f\u5f62\u3002<\/li>\n<li>\u7ec8\u7aef\u7535\u963b&#xff1a;\u4e24\u7aef\u5404 120 \u03a9&#xff1b;\u504f\u7f6e\u7535\u963b\u5728\u4e00\u5904\u63d0\u4f9b\u3002<\/li>\n<li>\u5c4f\u853d\u4e0e\u63a5\u5730&#xff1a;\u5c4f\u853d\u5c42\u4e00\u7aef\u63a5\u5730&#xff0c;\u6ce8\u610f\u5171\u6a21\u5e72\u6270\u4e0e\u7b49\u7535\u4f4d\u3002<\/li>\n<li>A\/B \u547d\u540d\u6df7\u4e71&#xff1a;\u4e0d\u540c\u5382\u5bb6\u5bf9 A\/B&#xff08;D&#043;\/D\u2212&#xff09;\u5b9a\u4e49\u53ef\u80fd\u53cd\u7740\u6765&#xff1b;\u4e0d\u4eae\u5c31\u5bf9\u8c03\u8bd5\u8bd5\u3002<\/li>\n<li>\u6ce2\u7279\u7387&#xff1a;9600 \u5f88\u5e38\u89c1&#xff1b;\u66f4\u9ad8\u6ce2\u7279\u7387\u5bf9\u7ebf\u7f06\u4e0e\u5e72\u6270\u66f4\u654f\u611f\u3002<\/li>\n<li>\u8bbe\u5907\u6570\u91cf&#xff1a;\u4f20\u7edf 32 \u5355\u4f4d\u8d1f\u8f7d&#xff0c;\u73b0\u4ee3\u6536\u53d1\u5668\u53ef\u66f4\u591a&#xff08;\u770b\u624b\u518c&#xff09;\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u5c0f\u7ec6\u8282 &amp; \u6613\u8e29\u5751\u5408\u96c6<\/h3>\n<li>\n<p>40001 \u5e76\u4e0d\u662f\u201c\u771f\u5b9e\u5730\u5740\u201d \u771f\u5b9e\u7684\u662f\u504f\u79fb&#xff08;0 \u57fa&#xff09;\u3002\u53c2\u8003\u53f7\u53ea\u662f\u5e26\u5206\u7c7b\u7684\u201c\u4eba\u7c7b\u53cb\u597d\u7f16\u53f7\u201d\u3002<\/p>\n<\/li>\n<li>\n<p>-1 \u4e0d\u662f\u901a\u5403 \u53ea\u6709 0xxxx&#xff08;Coil&#xff09;\u662f \u22121&#xff1b;\u5176\u4f59\u8981\u51cf 10001\/30001\/40001\u3002 \u4e2a\u522b\u5382\u5546\u7528 40000\/30000 \u8d77\u6b65&#xff0c;\u662f\u5426 \u22121 \u4ee5\u624b\u518c\u4e3a\u51c6\u3002<\/p>\n<\/li>\n<li>\n<p>\u4ece\u7ad9\u5730\u5740 \u2260 \u5bc4\u5b58\u5668\u5730\u5740 \u4ece\u7ad9\u5730\u5740&#xff08;Unit\/Slave ID&#xff09;\u662f\u54ea\u53f0\u8bbe\u5907&#xff1b;\u5bc4\u5b58\u5668\u5730\u5740\u662f\u90a3\u53f0\u8bbe\u5907\u91cc\u7684\u54ea\u4e2a\u70b9\u3002<\/p>\n<\/li>\n<li>\n<p>32 \u4f4d\/\u6d6e\u70b9\u7684\u201c\u5b57\u8282\u5e8f\/\u5b57\u5e8f\u201d \u4e24\u4e2a 16 \u4f4d\u5bc4\u5b58\u5668\u62fc 32 \u4f4d\u53ef\u80fd\u9700\u8981 word swap \/ byte swap\u3002\u4e0d\u540c\u5382\u5bb6\u4e0d\u540c\u2014\u2014\u770b\u201c\u5b57\u8282\u5e8f\u201d\u8bf4\u660e\u6216\u793a\u4f8b\u503c\u3002<\/p>\n<\/li>\n<li>\n<p>\u5e7f\u64ad\u5199&#xff08;\u5730\u5740 0&#xff09;\u65e0\u5e94\u7b54 \u53ea\u5728 RTU\/ASCII&#xff1b;\u53ea\u80fd\u7528\u4e8e\u5199\u7c7b\u529f\u80fd\u7801&#xff08;\u5982 05\/06\/15\/16&#xff09;&#xff0c;\u4e0d\u8981\u6307\u671b\u6709\u54cd\u5e94\u3002<\/p>\n<\/li>\n<li>\n<p>\u5f02\u5e38\u7801&#xff08;\u9519\u8bef\u7801&#xff09;\u8bfb\u5f97\u61c2&#xff0c;\u6392\u9519\u5feb \u5e38\u89c1&#xff1a;<\/p>\n<ul>\n<li>01&#xff1a;Illegal Function&#xff08;\u529f\u80fd\u4e0d\u652f\u6301&#xff09;<\/li>\n<li>02&#xff1a;Illegal Data Address&#xff08;\u5730\u5740\u4e0d\u5b58\u5728\/\u8d8a\u754c&#xff09;<\/li>\n<li>03&#xff1a;Illegal Data Value&#xff08;\u6570\u91cf\/\u53c2\u6570\u4e0d\u5408\u6cd5&#xff09;<\/li>\n<li>04&#xff1a;Server Device Failure&#xff08;\u8bbe\u5907\u5185\u90e8\u9519\u8bef&#xff09;<\/li>\n<li>06&#xff1a;Server Device Busy&#xff08;\u5fd9&#xff09;<\/li>\n<li>0A\/0B&#xff1a;\u7f51\u5173\u8def\u5f84\/\u4e0b\u4f4d\u673a\u65e0\u54cd\u5e94&#xff08;TCP\u2192RTU \u7f51\u5173\u573a\u666f&#xff09;<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b89\u5168\u6027 Modbus \u65e0\u8ba4\u8bc1\/\u52a0\u5bc6\u3002TCP \u573a\u666f\u4e0b\u8bf7\u9694\u79bb\u7f51\u7edc\u3001\u7528 VPN\/\u9632\u706b\u5899\/\u7f51\u5173\u505a\u8bbf\u95ee\u63a7\u5236\u3002<\/p>\n<\/li>\n<hr \/>\n<h3>\u62a5\u6587\u957f\u76f8&#xff08;\u770b\u4e00\u773c\u5c31\u4f1a&#xff09;<\/h3>\n<p>\u4ee5\u201c\u4ece\u7ad9 1 \u8bfb\u53d6 3 \u4e2a HR&#xff0c;\u81ea\u504f\u79fb 0x006B&#xff08;&#061;\u5bc4\u5b58\u5668 40001&#043;0x006B&#061;40108&#xff09;\u201d\u4e3a\u4f8b&#xff1a;<\/p>\n<ul>\n<li>RTU \u8bf7\u6c42&#xff1a;01 03 00 6B 00 03 CRClo CRChi<\/li>\n<li>RTU \u5e94\u7b54&#xff1a;01 03 06 02 2B 00 00 00 64 CRClo CRChi \u5176\u4e2d 06 \u8868\u793a\u540e\u9762\u6709 6 \u4e2a\u6570\u636e\u5b57\u8282&#xff08;3 \u4e2a 16 \u4f4d\u5bc4\u5b58\u5668&#xff09;\u3002<\/li>\n<\/ul>\n<p>\u4f60\u4e0d\u5fc5\u6b7b\u8bb0\u786c\u80cc&#xff0c;\u77e5\u9053\u7ed3\u6784\u5c31\u80fd\u770b\u61c2&#xff1a;[\u5730\u5740][\u529f\u80fd\u7801][\u8d77\u59cb\u5730\u5740][\u6570\u91cf] \/ [\u5730\u5740][\u529f\u80fd\u7801][\u5b57\u8282\u6570][\u6570\u636e\u2026]\u3002<\/p>\n<hr \/>\n<h3>\u9009 RTU \u8fd8\u662f TCP&#xff1f;<\/h3>\n<ul>\n<li>\u5df2\u6709\u5f88\u591a\u4e32\u53e3\u8bbe\u5907\/\u8ddd\u79bb\u4e0d\u957f\/\u5e72\u6270\u53ef\u63a7 \u2192 RTU&#xff08;\u6210\u672c\u4f4e&#xff09;<\/li>\n<li>\u8981\u8fdb\u4e0a\u4f4d\u673a\/\u4e91\/\u5e7f\u57df\u7f51\/\u6613\u96c6\u6210 \u2192 TCP&#xff08;\u597d\u63a5\u5165\u3001\u597d\u7ba1\u7406&#xff09;<\/li>\n<li>\u6df7\u5408&#xff1a;\u7528 TCP\u2192RTU \u7f51\u5173 \u628a\u8001\u8bbe\u5907\u63a5\u5165\u4ee5\u592a\u7f51\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u4e0a\u624b\u4ee3\u7801&#xff08;Python&#xff0c;pymodbus&#xff09;<\/h3>\n<p>RTU \u8bfb\u4e24\u4e2a\u4fdd\u6301\u5bc4\u5b58\u5668&#xff08;\u4ece 40001 \u8d77&#xff09;<\/p>\n<p><span class=\"token keyword\">from<\/span> pymodbus<span class=\"token punctuation\">.<\/span>client <span class=\"token keyword\">import<\/span> ModbusSerialClient<\/p>\n<p>client <span class=\"token operator\">&#061;<\/span> ModbusSerialClient<span class=\"token punctuation\">(<\/span><br \/>\n    port<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;COM3&#039;<\/span><span class=\"token punctuation\">,<\/span> baudrate<span class=\"token operator\">&#061;<\/span><span class=\"token number\">9600<\/span><span class=\"token punctuation\">,<\/span> bytesize<span class=\"token operator\">&#061;<\/span><span class=\"token number\">8<\/span><span class=\"token punctuation\">,<\/span> parity<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;N&#039;<\/span><span class=\"token punctuation\">,<\/span> stopbits<span class=\"token operator\">&#061;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">,<\/span> timeout<span class=\"token operator\">&#061;<\/span><span class=\"token number\">1<\/span><br \/>\n<span class=\"token punctuation\">)<\/span><br \/>\nclient<span class=\"token punctuation\">.<\/span>connect<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\nres <span class=\"token operator\">&#061;<\/span> client<span class=\"token punctuation\">.<\/span>read_holding_registers<span class=\"token punctuation\">(<\/span>address<span class=\"token operator\">&#061;<\/span><span class=\"token number\">0<\/span><span class=\"token punctuation\">,<\/span> count<span class=\"token operator\">&#061;<\/span><span class=\"token number\">2<\/span><span class=\"token punctuation\">,<\/span> slave<span class=\"token operator\">&#061;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span>  <span class=\"token comment\"># 40001-40002<\/span><br \/>\n<span class=\"token keyword\">if<\/span> <span class=\"token keyword\">not<\/span> res<span class=\"token punctuation\">.<\/span>isError<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span>res<span class=\"token punctuation\">.<\/span>registers<span class=\"token punctuation\">)<\/span>  <span class=\"token comment\"># [reg0, reg1]<\/span><br \/>\nclient<span class=\"token punctuation\">.<\/span>close<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>TCP \u5199\u5355\u4e2a\u4fdd\u6301\u5bc4\u5b58\u5668&#xff08;40100 &#061; 1234&#xff09;<\/p>\n<p><span class=\"token keyword\">from<\/span> pymodbus<span class=\"token punctuation\">.<\/span>client <span class=\"token keyword\">import<\/span> ModbusTcpClient<\/p>\n<p>client <span class=\"token operator\">&#061;<\/span> ModbusTcpClient<span class=\"token punctuation\">(<\/span>host<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#039;192.168.1.10&#039;<\/span><span class=\"token punctuation\">,<\/span> port<span class=\"token operator\">&#061;<\/span><span class=\"token number\">502<\/span><span class=\"token punctuation\">)<\/span><br \/>\nclient<span class=\"token punctuation\">.<\/span>connect<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\nres <span class=\"token operator\">&#061;<\/span> client<span class=\"token punctuation\">.<\/span>write_register<span class=\"token punctuation\">(<\/span>address<span class=\"token operator\">&#061;<\/span><span class=\"token number\">99<\/span><span class=\"token punctuation\">,<\/span> value<span class=\"token operator\">&#061;<\/span><span class=\"token number\">1234<\/span><span class=\"token punctuation\">,<\/span> slave<span class=\"token operator\">&#061;<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">)<\/span>  <span class=\"token comment\"># 40100 \u2192 \u504f\u79fb 99<\/span><br \/>\n<span class=\"token keyword\">print<\/span><span class=\"token punctuation\">(<\/span>res<span class=\"token punctuation\">.<\/span>isError<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><br \/>\nclient<span class=\"token punctuation\">.<\/span>close<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>\u63d0\u793a&#xff1a;\u5f88\u591a\u8bbe\u5907 TCP \u573a\u666f\u4e0b\u4f1a\u5ffd\u7565 slave&#xff08;Unit ID&#xff09;&#xff0c;\u4f46\u7f51\u5173\u9700\u8981\u8fd9\u4e2a\u503c\u6765\u8def\u7531\u5230\u4e0b\u6302 RTU \u4ece\u7ad9\u3002<\/p>\n<hr \/>\n<h3>\u8c03\u8bd5\u4e0e\u5de5\u5177\u6e05\u5355<\/h3>\n<ul>\n<li>\u4e32\u53e3\u53c2\u6570&#xff1a;\u6ce2\u7279\u7387\/\u6570\u636e\u4f4d\/\u6821\u9a8c\/\u505c\u6b62\u4f4d\u5fc5\u987b\u4e00\u81f4&#xff08;\u5e38\u89c1 9600 8N1&#xff09;\u3002<\/li>\n<li>\u6d4b\u8bd5\u8f6f\u4ef6&#xff1a;Modbus Poll\/QModMaster&#xff08;\u4e3b\u7ad9&#xff09;\u3001Modbus Slave&#xff08;\u4ece\u7ad9\u4eff\u771f&#xff09;\u3002<\/li>\n<li>\u6293\u5305&#xff1a;TCP \u7528 Wireshark&#xff1b;\u4e32\u53e3\u7528\u4e32\u53e3\u76d1\u542c\u5de5\u5177\u6216 USB \u903b\u8f91\u5206\u6790\u4eea\u3002<\/li>\n<li>\u9010\u6b65\u6cd5&#xff1a;\u5148\u201c\u8bfb\u4e00\u4e2a\u201d\u6210\u529f\u2192\u518d\u201c\u8bfb\u4e00\u6279\u201d\u2192\u6700\u540e\u201c\u5199\u5165\u201d\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u7ed3\u8bed<\/h3>\n<p>Modbus \u7684\u7cbe\u9ad3\u5c31\u662f&#xff1a;\u56db\u7c7b\u5bf9\u8c61\u56fa\u5b9a\u6620\u5c04\u529f\u80fd\u7801&#xff0c;\u62a5\u6587\u91cc\u7528 0 \u57fa\u504f\u79fb\u3002\u8ba4\u6e05\u201c\u53c2\u8003\u53f7 vs \u504f\u79fb\u201d\u7684\u533a\u522b&#xff0c;\u4f60\u5c31\u80fd\u5728\u5404\u5bb6\u8bbe\u5907\u95f4\u81ea\u5982\u5207\u6362\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb426\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u56db\u7c7b\u5bf9\u8c61\u56fa\u5b9a\u6620\u5c04\u529f\u80fd\u7801\uff0c\u62a5\u6587\u91cc\u7528 0 \u57fa\u504f\u79fb\u3002\u8ba4\u6e05\u201c\u53c2\u8003\u53f7 vs \u504f\u79fb\u201d\u7684\u533a\u522b\uff0c\u4f60\u5c31\u80fd\u5728\u5404\u5bb6\u8bbe\u5907\u95f4\u81ea\u5982\u5207\u6362\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[235,43,78],"topic":[],"class_list":["post-55606","post","type-post","status-publish","format-standard","hentry","category-server","tag-235","tag-43","tag-78"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u4e00\u6587\u770b\u61c2 Modbus\uff1a\u4ece\u96f6\u5230\u80fd\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/55606.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u4e00\u6587\u770b\u61c2 Modbus\uff1a\u4ece\u96f6\u5230\u80fd\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb426\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u56db\u7c7b\u5bf9\u8c61\u56fa\u5b9a\u6620\u5c04\u529f\u80fd\u7801\uff0c\u62a5\u6587\u91cc\u7528 0 \u57fa\u504f\u79fb\u3002\u8ba4\u6e05\u201c\u53c2\u8003\u53f7 vs \u504f\u79fb\u201d\u7684\u533a\u522b\uff0c\u4f60\u5c31\u80fd\u5728\u5404\u5bb6\u8bbe\u5907\u95f4\u81ea\u5982\u5207\u6362\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/55606.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-13T17:34:33+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/55606.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/55606.html\",\"name\":\"\u4e00\u6587\u770b\u61c2 Modbus\uff1a\u4ece\u96f6\u5230\u80fd\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-13T17:34:33+00:00\",\"dateModified\":\"2025-08-13T17:34:33+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/55606.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/55606.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/55606.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u4e00\u6587\u770b\u61c2 Modbus\uff1a\u4ece\u96f6\u5230\u80fd\u7528\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u4e00\u6587\u770b\u61c2 Modbus\uff1a\u4ece\u96f6\u5230\u80fd\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/55606.html","og_locale":"zh_CN","og_type":"article","og_title":"\u4e00\u6587\u770b\u61c2 Modbus\uff1a\u4ece\u96f6\u5230\u80fd\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb426\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf7\u6b21\u3002\u56db\u7c7b\u5bf9\u8c61\u56fa\u5b9a\u6620\u5c04\u529f\u80fd\u7801\uff0c\u62a5\u6587\u91cc\u7528 0 \u57fa\u504f\u79fb\u3002\u8ba4\u6e05\u201c\u53c2\u8003\u53f7 vs \u504f\u79fb\u201d\u7684\u533a\u522b\uff0c\u4f60\u5c31\u80fd\u5728\u5404\u5bb6\u8bbe\u5907\u95f4\u81ea\u5982\u5207\u6362\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/55606.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-13T17:34:33+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/55606.html","url":"https:\/\/www.wsisp.com\/helps\/55606.html","name":"\u4e00\u6587\u770b\u61c2 Modbus\uff1a\u4ece\u96f6\u5230\u80fd\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-13T17:34:33+00:00","dateModified":"2025-08-13T17:34:33+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/55606.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/55606.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/55606.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u4e00\u6587\u770b\u61c2 Modbus\uff1a\u4ece\u96f6\u5230\u80fd\u7528"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/55606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=55606"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/55606\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=55606"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=55606"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=55606"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=55606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}