{"id":41424,"date":"2023-09-30T17:15:17","date_gmt":"2023-09-30T09:15:17","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=41424"},"modified":"2023-09-30T17:15:17","modified_gmt":"2023-09-30T09:15:17","slug":"msjgslx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/41424.html","title":{"rendered":"Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b"},"content":{"rendered":"

  Modbus\u662f\u4e00\u79cd\u901a\u7528\u7684\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u7684\u7f51\u7edc\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\uff0c\u7528\u4e8e\u8fde\u63a5\u4e0d\u540c\u7c7b\u578b\u7684\u8bbe\u5907\u3002Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\u662fModbus\u534f\u8bae\u4e2d\u6700\u91cd\u8981\u7684\u4e00\u90e8\u5206\uff0c\u5b83\u5b9a\u4e49\u4e86Modbus\u901a\u4fe1\u4e2d\u7684\u62a5\u6587\u683c\u5f0f\uff0c\u4ee5\u53ca\u62a5\u6587\u4e2d\u7684\u6570\u636e\u7c7b\u578b\u3002<\/strong>\u672c\u6587\u5c06\u4ecb\u7ecdModbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\uff0c\u5305\u62ec\u5b83\u7684\u683c\u5f0f\u3001\u7ed3\u6784\u3001\u6570\u636e\u7c7b\u578b\u4ee5\u53ca\u5176\u4ed6\u76f8\u5173\u77e5\u8bc6\u3002<\/p>\n

Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\u7684\u683c\u5f0f<\/h2>\n

  Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\u7684\u683c\u5f0f\u662f\u7531\u4e00\u4e2a\u5934\u90e8\u548c\u4e00\u4e2a\u6570\u636e\u90e8\u5206\u7ec4\u6210\u7684\u3002\u5934\u90e8\u7531\u4e00\u4e2a\u5730\u5740\u548c\u4e00\u4e2a\u529f\u80fd\u7801\u7ec4\u6210\uff0c\u5730\u5740\u6307\u5b9a\u4e86\u6570\u636e\u7684\u53d1\u9001\u8005\u548c\u63a5\u6536\u8005\uff0c\u529f\u80fd\u7801\u6307\u5b9a\u4e86\u8981\u6267\u884c\u7684\u64cd\u4f5c\u3002\u6570\u636e\u90e8\u5206\u7531\u6570\u636e\u957f\u5ea6\u548c\u6570\u636e\u5185\u5bb9\u7ec4\u6210\uff0c\u6570\u636e\u957f\u5ea6\u6307\u5b9a\u4e86\u6570\u636e\u7684\u957f\u5ea6\uff0c\u6570\u636e\u5185\u5bb9\u6307\u5b9a\u4e86\u8981\u53d1\u9001\u7684\u6570\u636e\u3002<\/p>\n

Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\u7684\u7ed3\u6784<\/h2>\n

  Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\u7684\u7ed3\u6784\u7531\u4e00\u4e2a\u5934\u90e8\u548c\u4e00\u4e2a\u6570\u636e\u90e8\u5206\u7ec4\u6210\uff0c\u5934\u90e8\u7531\u4e00\u4e2a\u5730\u5740\u548c\u4e00\u4e2a\u529f\u80fd\u7801\u7ec4\u6210\uff0c\u5730\u5740\u6307\u5b9a\u4e86\u6570\u636e\u7684\u53d1\u9001\u8005\u548c\u63a5\u6536\u8005\uff0c\u529f\u80fd\u7801\u6307\u5b9a\u4e86\u8981\u6267\u884c\u7684\u64cd\u4f5c\u3002\u6570\u636e\u90e8\u5206\u7531\u6570\u636e\u957f\u5ea6\u548c\u6570\u636e\u5185\u5bb9\u7ec4\u6210\uff0c\u6570\u636e\u957f\u5ea6\u6307\u5b9a\u4e86\u6570\u636e\u7684\u957f\u5ea6\uff0c\u6570\u636e\u5185\u5bb9\u6307\u5b9a\u4e86\u8981\u53d1\u9001\u7684\u6570\u636e\u3002<\/p>\n

  Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\u7684\u6570\u636e\u7c7b\u578b<\/h3>\n

  Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\u7684\u6570\u636e\u7c7b\u578b\u5305\u62ec\uff1a\u5b57\u8282\uff08byte\uff09\u3001\u5b57\uff08word\uff09\u3001\u53cc\u5b57\uff08double word\uff09\u3001\u5b57\u7b26\u4e32\uff08string\uff09\u548c\u77ed\u6574\u578b\uff08short integer\uff09\u7b49\u3002<\/p>\n

  \u5b57\u8282\uff08byte\uff09<\/strong><\/p>\n

  \u5b57\u8282\u662f\u6700\u5c0f\u7684\u6570\u636e\u7c7b\u578b\uff0c\u5b83\u53ef\u4ee5\u8868\u793a\u4e00\u4e2a8\u4f4d\u7684\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u53d6\u503c\u8303\u56f4\u662f0-255\u3002<\/p>\n

  \u5b57\uff08word\uff09<\/strong><\/p>\n

  \u5b57\u662f\u4e00\u4e2a16\u4f4d\u7684\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u53d6\u503c\u8303\u56f4\u662f0-65535\u3002<\/p>\n

  \u53cc\u5b57\uff08double word\uff09<\/strong><\/p>\n

  \u53cc\u5b57\u662f\u4e00\u4e2a32\u4f4d\u7684\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u53d6\u503c\u8303\u56f4\u662f0-4294967295\u3002<\/p>\n

  \u5b57\u7b26\u4e32\uff08string\uff09<\/strong><\/p>\n

  \u5b57\u7b26\u4e32\u662f\u4e00\u79cd\u53ef\u53d8\u957f\u5ea6\u7684\u6570\u636e\u7c7b\u578b\uff0c\u5b83\u53ef\u4ee5\u8868\u793a\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u53d6\u503c\u8303\u56f4\u662f\u4efb\u610f\u5b57\u7b26\u4e32\u3002<\/p>\n

  \u77ed\u6574\u578b\uff08short integer\uff09<\/strong><\/p>\n

  \u77ed\u6574\u578b\u662f\u4e00\u4e2a16\u4f4d\u7684\u6574\u578b\u6570\u636e\uff0c\u53d6\u503c\u8303\u56f4\u662f-32768\u523032767\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\u662fModbus\u534f\u8bae\u4e2d\u6700\u91cd\u8981\u7684\u4e00\u90e8\u5206\uff0c\u5b83\u5b9a\u4e49\u4e86Modbus\u901a\u4fe1\u4e2d\u7684\u62a5\u6587\u683c\u5f0f\uff0c\u4ee5\u53ca\u62a5\u6587\u4e2d\u7684\u6570\u636e\u7c7b\u578b\u3002<\/strong>Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\u7684\u683c\u5f0f\u662f\u7531\u4e00\u4e2a\u5934\u90e8\u548c\u4e00\u4e2a\u6570\u636e\u90e8\u5206\u7ec4\u6210\u7684\uff0c\u5934\u90e8\u7531\u4e00\u4e2a\u5730\u5740\u548c\u4e00\u4e2a\u529f\u80fd\u7801\u7ec4\u6210\uff0c\u6570\u636e\u90e8\u5206\u7531\u6570\u636e\u957f\u5ea6\u548c\u6570\u636e\u5185\u5bb9\u7ec4\u6210\u3002Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\u7684\u6570\u636e\u7c7b\u578b\u5305\u62ec\u5b57\u8282\uff08byte\uff09\u3001\u5b57\uff08word\uff09\u3001\u53cc\u5b57\uff08double word\uff09\u3001\u5b57\u7b26\u4e32\uff08string\uff09\u548c\u77ed\u6574\u578b\uff08short integer\uff09\u7b49\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Modbus\u662f\u4e00\u79cd\u901a\u7528\u7684\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u7684\u7f51\u7edc\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\uff0c\u7528\u4e8e\u8fde\u63a5\u4e0d\u540c\u7c7b\u578b\u7684\u8bbe\u5907\u3002Modbus\u6570\u636e\u683c\u5f0f\u7c7b\u578b\u662fModbus\u534f\u8bae\u4e2d\u6700\u91cd<\/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-41424","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\/41424","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=41424"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41424\/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=41424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=41424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=41424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}