{"id":40361,"date":"2023-09-27T12:44:03","date_gmt":"2023-09-27T04:44:03","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=40361"},"modified":"2023-09-27T12:44:03","modified_gmt":"2023-09-27T04:44:03","slug":"mqsdzjjysrjx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/40361.html","title":{"rendered":"Modbus\u8d77\u59cb\u5730\u5740\uff1a\u7b80\u4ecb\u4e0e\u6df1\u5165\u89e3\u6790"},"content":{"rendered":"
Modbus\u8d77\u59cb\u5730\u5740\uff08Start Address\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u8868\u793aModbus\u4ece\u673a\u7684\u5b58\u50a8\u5355\u5143\uff08Slave Address\uff09\u7684\u6807\u51c6\u7f16\u7801\u65b9\u5f0f\u3002\u5b83\u662f\u4e00\u4e2a16\u4f4d\u7684\u6570\u5b57\uff0c\u7528\u4e8e\u6307\u5b9aModbus\u4ece\u673a\u7684\u5b58\u50a8\u5355\u5143\uff0c\u4ee5\u4fbf\u5728Modbus\u7cfb\u7edf\u4e2d\u8fdb\u884c\u901a\u4fe1\u3002\u672c\u6587\u5c06\u4ecb\u7ecdModbus\u8d77\u59cb\u5730\u5740\u7684\u7ed3\u6784\u3001\u529f\u80fd\u548c\u5e94\u7528\u3002<\/p>\n
Modbus\u8d77\u59cb\u5730\u5740\u7531\u4e24\u4e2a8\u4f4d\u5b57\u8282\u7ec4\u6210\uff0c\u6bcf\u4e2a\u5b57\u8282\u752816\u8fdb\u5236\u6570\u8868\u793a\u3002\u7b2c\u4e00\u4e2a\u5b57\u8282\u8868\u793aModbus\u4ece\u673a\u7684\u5730\u5740\uff0c\u7b2c\u4e8c\u4e2a\u5b57\u8282\u8868\u793a\u5b58\u50a8\u5355\u5143\u7684\u5730\u5740\u3002\u4f8b\u5982\uff0cModbus\u8d77\u59cb\u5730\u5740\u4e3a0x1234\uff0c\u5176\u4e2d\u7b2c\u4e00\u4e2a\u5b57\u82820x12\u8868\u793aModbus\u4ece\u673a\u7684\u5730\u5740\uff0c\u7b2c\u4e8c\u4e2a\u5b57\u82820x34\u8868\u793a\u5b58\u50a8\u5355\u5143\u7684\u5730\u5740\u3002<\/p>\n
Modbus\u4ece\u673a\u5730\u5740\u662f\u6307Modbus\u4ece\u673a\u7684\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u7528\u4e8e\u533a\u5206\u4e0d\u540c\u7684\u4ece\u673a\u3002Modbus\u4ece\u673a\u5730\u5740\u7684\u8303\u56f4\u662f0x00~0xFF\uff0c\u5171\u53ef\u4ee5\u652f\u6301256\u4e2a\u4ece\u673a\u3002<\/p>\n
\u5b58\u50a8\u5355\u5143\u5730\u5740\u662f\u6307Modbus\u4ece\u673a\u4e0a\u7684\u5b58\u50a8\u5355\u5143\u7684\u552f\u4e00\u6807\u8bc6\u7b26\uff0c\u7528\u4e8e\u533a\u5206\u4e0d\u540c\u7684\u5b58\u50a8\u5355\u5143\u3002\u5b58\u50a8\u5355\u5143\u5730\u5740\u7684\u8303\u56f4\u662f0x00~0xFFFF\uff0c\u5171\u53ef\u4ee5\u652f\u630165536\u4e2a\u5b58\u50a8\u5355\u5143\u3002<\/p>\n
Modbus\u8d77\u59cb\u5730\u5740\u7684\u4e3b\u8981\u529f\u80fd\u662f\u6307\u5b9aModbus\u4ece\u673a\u7684\u5b58\u50a8\u5355\u5143\uff0c\u4ee5\u4fbf\u5728Modbus\u7cfb\u7edf\u4e2d\u8fdb\u884c\u901a\u4fe1\u3002Modbus\u8d77\u59cb\u5730\u5740\u53ef\u4ee5\u7528\u4e8e\u6307\u5b9a\u4e00\u4e2a\u5b58\u50a8\u5355\u5143\uff0c\u4e5f\u53ef\u4ee5\u7528\u4e8e\u6307\u5b9a\u4e00\u4e2a\u8fde\u7eed\u7684\u5b58\u50a8\u5355\u5143\uff0c\u4ee5\u5b9e\u73b0\u5bf9\u591a\u4e2a\u5b58\u50a8\u5355\u5143\u7684\u8bfb\u5199\u64cd\u4f5c\u3002<\/p>\n
\u5f53Modbus\u8d77\u59cb\u5730\u5740\u6307\u5b9a\u4e00\u4e2a\u5b58\u50a8\u5355\u5143\u65f6\uff0cModbus\u7cfb\u7edf\u53ef\u4ee5\u5bf9\u8be5\u5b58\u50a8\u5355\u5143\u8fdb\u884c\u8bfb\u5199\u64cd\u4f5c\uff0c\u4ee5\u5b9e\u73b0\u5bf9\u5355\u4e2a\u5b58\u50a8\u5355\u5143\u7684\u63a7\u5236\u3002<\/p>\n
\u5f53Modbus\u8d77\u59cb\u5730\u5740\u6307\u5b9a\u4e00\u4e2a\u8fde\u7eed\u7684\u5b58\u50a8\u5355\u5143\u65f6\uff0cModbus\u7cfb\u7edf\u53ef\u4ee5\u5bf9\u8be5\u8fde\u7eed\u7684\u5b58\u50a8\u5355\u5143\u8fdb\u884c\u8bfb\u5199\u64cd\u4f5c\uff0c\u4ee5\u5b9e\u73b0\u5bf9\u591a\u4e2a\u5b58\u50a8\u5355\u5143\u7684\u63a7\u5236\u3002\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u5927\u5927\u63d0\u9ad8\u901a\u4fe1\u6548\u7387\uff0c\u51cf\u5c11\u7f51\u7edc\u8d1f\u8f7d\u3002<\/p>\n
Modbus\u8d77\u59cb\u5730\u5740\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u53ef\u4ee5\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u667a\u80fd\u4ea4\u901a\u3001\u667a\u80fd\u80fd\u6e90\u7b49\u9886\u57df\u3002\u4f8b\u5982\uff0c\u5728\u5de5\u4e1a\u63a7\u5236\u9886\u57df\uff0cModbus\u8d77\u59cb\u5730\u5740\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236PLC\uff08\u53ef\u7f16\u7a0b\u63a7\u5236\u5668\uff09\uff1b\u5728\u667a\u80fd\u5bb6\u5c45\u9886\u57df\uff0cModbus\u8d77\u59cb\u5730\u5740\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u667a\u80fd\u706f\u3001\u667a\u80fd\u63d2\u5ea7\u7b49\uff1b\u5728\u667a\u80fd\u4ea4\u901a\u9886\u57df\uff0cModbus\u8d77\u59cb\u5730\u5740\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u8def\u706f\u3001\u505c\u8f66\u573a\u7b49\uff1b\u5728\u667a\u80fd\u80fd\u6e90\u9886\u57df\uff0cModbus\u8d77\u59cb\u5730\u5740\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u7535\u8868\u3001\u6c34\u8868\u7b49\u3002<\/p>\n
Modbus\u8d77\u59cb\u5730\u5740\u662f\u4e00\u79cd\u7528\u4e8e\u8868\u793aModbus\u4ece\u673a\u7684\u5b58\u50a8\u5355\u5143\u7684\u6807\u51c6\u7f16\u7801\u65b9\u5f0f\uff0c\u7531\u4e24\u4e2a8\u4f4d\u5b57\u8282\u7ec4\u6210\uff0c\u5176\u4e2d\u7b2c\u4e00\u4e2a\u5b57\u8282\u8868\u793aModbus\u4ece\u673a\u7684\u5730\u5740\uff0c\u7b2c\u4e8c\u4e2a\u5b57\u8282\u8868\u793a\u5b58\u50a8\u5355\u5143\u7684\u5730\u5740\u3002<\/strong>Modbus\u8d77\u59cb\u5730\u5740\u7684\u4e3b\u8981\u529f\u80fd\u662f\u6307\u5b9aModbus\u4ece\u673a\u7684\u5b58\u50a8\u5355\u5143\uff0c\u4ee5\u4fbf\u5728Modbus\u7cfb\u7edf\u4e2d\u8fdb\u884c\u901a\u4fe1\u3002Modbus\u8d77\u59cb\u5730\u5740\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u53ef\u4ee5\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u3001\u667a\u80fd\u5bb6\u5c45\u3001\u667a\u80fd\u4ea4\u901a\u3001\u667a\u80fd\u80fd\u6e90\u7b49\u9886\u57df\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Modbus\u8d77\u59cb\u5730\u5740\uff08StartAddress\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u8868\u793aModbus\u4ece\u673a\u7684\u5b58\u50a8\u5355\u5143\uff08SlaveAddress\uff09\u7684\u6807\u51c6\u7f16\u7801\u65b9\u5f0f\u3002\u5b83\u662f\u4e00\u4e2a16\u4f4d\u7684\u6570\u5b57\uff0c\u7528\u4e8e\u6307\u5b9aMo<\/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-40361","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\/40361","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=40361"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/40361\/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=40361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=40361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=40361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}