{"id":42887,"date":"2023-09-27T13:48:05","date_gmt":"2023-09-27T05:48:05","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=42887"},"modified":"2023-09-27T13:48:05","modified_gmt":"2023-09-27T05:48:05","slug":"ezudgs","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/42887.html","title":{"rendered":"EasyModbus\u4e2dUnitIdentifier\u7684\u6982\u8ff0"},"content":{"rendered":"
EasyModbus\u662f\u4e00\u79cd\u901a\u8fc7\u4ee5\u592a\u7f51\u8fde\u63a5\u5230Modbus TCP\/IP\u8bbe\u5907\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u66f4\u8f7b\u677e\u5730\u8bfb\u53d6\u548c\u63a7\u5236Modbus\u8bbe\u5907\u3002\u5176\u4e2d\u7684UnitIdentifier\u662f\u4e00\u4e2a\u91cd\u8981\u7684\u53c2\u6570\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5c06\u591a\u4e2aModbus\u8bbe\u5907\u4e0e\u60a8\u7684\u7a0b\u5e8f\u8fde\u63a5\u8d77\u6765\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u63a7\u5236\u548c\u8bfb\u53d6Modbus\u8bbe\u5907\u65f6\u63d0\u4f9b\u66f4\u591a\u7684\u7075\u6d3b\u6027\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdEasyModbus\u4e2dUnitIdentifier\u7684\u6982\u5ff5\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u5b83\u6765\u63a7\u5236\u548c\u8bfb\u53d6Modbus\u8bbe\u5907\u3002<\/p>\n
UnitIdentifier\u662fEasyModbus\u7684\u4e00\u4e2a\u91cd\u8981\u53c2\u6570\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u66f4\u8f7b\u677e\u5730\u7ba1\u7406\u591a\u4e2aModbus\u8bbe\u5907\u3002UnitIdentifier\u662f\u4e00\u4e2a\u4ecb\u4e8e0-255\u4e4b\u95f4\u7684\u6574\u6570\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5c06\u591a\u4e2aModbus\u8bbe\u5907\u4e0e\u60a8\u7684\u7a0b\u5e8f\u8fde\u63a5\u8d77\u6765\u3002UnitIdentifier\u7684\u503c\u53ef\u4ee5\u7531\u60a8\u81ea\u5df1\u8bbe\u7f6e\uff0c\u4e5f\u53ef\u4ee5\u7531Modbus\u8bbe\u5907\u81ea\u52a8\u751f\u6210\u3002<\/p>\n
UnitIdentifier\u7684\u4e3b\u8981\u7528\u9014\u662f\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u66f4\u8f7b\u677e\u5730\u7ba1\u7406\u591a\u4e2aModbus\u8bbe\u5907\u3002\u5b83\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5c06\u591a\u4e2aModbus\u8bbe\u5907\u4e0e\u60a8\u7684\u7a0b\u5e8f\u8fde\u63a5\u8d77\u6765\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u63a7\u5236\u548c\u8bfb\u53d6Modbus\u8bbe\u5907\u65f6\u63d0\u4f9b\u66f4\u591a\u7684\u7075\u6d3b\u6027\u3002\u6b64\u5916\uff0cUnitIdentifier\u4e5f\u53ef\u4ee5\u5e2e\u52a9\u60a8\u66f4\u6709\u6548\u5730\u7ba1\u7406Modbus\u8bbe\u5907\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u786e\u5b9a\u6bcf\u4e2a\u8bbe\u5907\u7684\u4f4d\u7f6e\u3002<\/p>\n
\u4f7f\u7528UnitIdentifier\u7684\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u4f7f\u7528EasyModbus\u5e93\u4e2d\u7684API\u51fd\u6570\u3002\u4f7f\u7528API\u51fd\u6570\u53ef\u4ee5\u8f7b\u677e\u5730\u5c06UnitIdentifier\u8bbe\u7f6e\u4e3a\u60a8\u60f3\u8981\u7684\u4efb\u4f55\u503c\uff0c\u5e76\u4e14\u53ef\u4ee5\u8f7b\u677e\u5730\u8bfb\u53d6\u548c\u63a7\u5236Modbus\u8bbe\u5907\u3002\u6b64\u5916\uff0c\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528EasyModbus\u5e93\u4e2d\u7684\u53e6\u4e00\u4e2aAPI\u51fd\u6570\u6765\u83b7\u53d6Modbus\u8bbe\u5907\u7684UnitIdentifier\uff0c\u4ee5\u786e\u4fdd\u60a8\u5c06\u5176\u6b63\u786e\u5730\u8fde\u63a5\u5230\u7a0b\u5e8f\u4e2d\u3002<\/p>\n
UnitIdentifier\u662fEasyModbus\u4e2d\u7684\u4e00\u4e2a\u91cd\u8981\u53c2\u6570\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u66f4\u8f7b\u677e\u5730\u7ba1\u7406\u591a\u4e2aModbus\u8bbe\u5907\u3002<\/strong>UnitIdentifier\u662f\u4e00\u4e2a\u4ecb\u4e8e0-255\u4e4b\u95f4\u7684\u6574\u6570\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5c06\u591a\u4e2aModbus\u8bbe\u5907\u4e0e\u60a8\u7684\u7a0b\u5e8f\u8fde\u63a5\u8d77\u6765\u3002UnitIdentifier\u7684\u4e3b\u8981\u7528\u9014\u662f\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u66f4\u8f7b\u677e\u5730\u7ba1\u7406\u591a\u4e2aModbus\u8bbe\u5907\uff0c\u5e76\u4e14\u53ef\u4ee5\u5728\u63a7\u5236\u548c\u8bfb\u53d6Modbus\u8bbe\u5907\u65f6\u63d0\u4f9b\u66f4\u591a\u7684\u7075\u6d3b\u6027\u3002\u4f7f\u7528UnitIdentifier\u7684\u6700\u7b80\u5355\u7684\u65b9\u6cd5\u662f\u4f7f\u7528EasyModbus\u5e93\u4e2d\u7684API\u51fd\u6570\u3002\u901a\u8fc7\u4f7f\u7528UnitIdentifier\uff0c\u5f00\u53d1\u4eba\u5458\u53ef\u4ee5\u66f4\u8f7b\u677e\u5730\u7ba1\u7406Modbus\u8bbe\u5907\uff0c\u5e76\u6709\u6548\u5730\u63a7\u5236\u548c\u8bfb\u53d6\u5b83\u4eec\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" EasyModbus\u662f\u4e00\u79cd\u901a\u8fc7\u4ee5\u592a\u7f51\u8fde\u63a5\u5230ModbusTCP\/IP\u8bbe\u5907\u7684\u5de5\u5177\uff0c\u5b83\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u66f4\u8f7b\u677e\u5730\u8bfb\u53d6\u548c\u63a7\u5236Modbus\u8bbe\u5907\u3002\u5176\u4e2d\u7684UnitIdentifier\u662f<\/p>\n","protected":false},"author":1,"featured_media":4132,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":""},"categories":[36],"tags":[78],"class_list":["post-42887","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-m-3"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/42887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/comments?post=42887"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/42887\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=42887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=42887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=42887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}