{"id":43001,"date":"2023-09-27T14:22:24","date_gmt":"2023-09-27T06:22:24","guid":{"rendered":"\/\/www.dealsbon.com\/?p=43001"},"modified":"2023-09-27T14:22:24","modified_gmt":"2023-09-27T06:22:24","slug":"wsmmszslgdz","status":"publish","type":"post","link":"\/\/www.dealsbon.com\/blog\/43001.html","title":{"rendered":"\u4e3a\u4ec0\u4e48Modbus\u53cc\u5b57\u662f\u4e24\u4e2a\u5730\u5740\uff1f"},"content":{"rendered":"

  Modbus\u662f\u4e00\u79cd\u5de5\u4e1a\u81ea\u52a8\u5316\u7f51\u7edc\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u4e2d\u7684\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u5b83\u53ef\u4ee5\u63d0\u4f9b\u63a7\u5236\u8bbe\u5907\u548c\u68c0\u6d4b\u8bbe\u5907\u4e4b\u95f4\u7684\u53cc\u5411\u901a\u4fe1\uff0c\u4ee5\u53ca\u4e0e\u4eba\u673a\u754c\u9762\uff08HMI\uff09\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u5b83\u4e5f\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u548c\u76d1\u6d4b\u7cfb\u7edf\u4e2d\u7684\u6df7\u5408\u6280\u672f\uff0c\u5305\u62ec\u673a\u68b0\uff0c\u7535\u6c14\uff0c\u7535\u5b50\u548c\u8ba1\u7b97\u673a\u6280\u672f\u3002Modbus\u901a\u4fe1\u534f\u8bae\u6709\u4e24\u79cd\uff1aModbus ASCII\u548cModbus RTU\u3002Modbus ASCII\u7684\u53cc\u5b57\u662f\u6307\u4e24\u4e2a\u5b57\u8282\uff0c\u800cModbus RTU\u7684\u53cc\u5b57\u662f\u6307\u4e24\u4e2a\u5730\u5740\u3002<\/p>\n

Modbus ASCII\u53cc\u5b57\u662f\u4ec0\u4e48\uff1f<\/h2>\n

  Modbus ASCII\u662f\u4e00\u79cd\u6bd4\u7279\u7f16\u7801\u683c\u5f0f\uff0c\u5b83\u5c06\u6570\u636e\u7f16\u7801\u6210ASCII\u5b57\u7b26\uff0c\u4ee5\u4fbf\u5728\u4e32\u884c\u7aef\u53e3\u4e0a\u4f20\u8f93\u3002Modbus ASCII\u7684\u53cc\u5b57\u662f\u6307\u4e00\u7ec4\u7531\u4e24\u4e2aASCII\u5b57\u7b26\u7ec4\u6210\u7684\u5b57\u8282\uff0c\u5b83\u4eec\u88ab\u7528\u4e8e\u8868\u793a\u4e00\u4e2a16\u4f4d\u5b57\uff0816\u4f4d\u6570\u636e\u5355\u5143\uff09\u7684\u503c\u3002<\/p>\n

  Modbus ASCII\u53cc\u5b57\u7684\u683c\u5f0f<\/h3>\n

  Modbus ASCII\u53cc\u5b57\u7684\u683c\u5f0f\u662f\u7531\u4e24\u4e2aASCII\u5b57\u7b26\u7ec4\u6210\u7684\u5b57\u8282\uff0c\u6bcf\u4e2a\u5b57\u7b26\u8868\u793a\u4e00\u4e2a\u5341\u516d\u8fdb\u5236\u4f4d\uff0c\u6bcf\u4e2a\u5b57\u7b26\u67094\u4f4d\uff0c\u6240\u4ee5Modbus ASCII\u53cc\u5b57\u67098\u4f4d\u3002\u8fd9\u4e9b\u5b57\u8282\u901a\u5e38\u4ee5\u4e24\u4e2a\u5b57\u7b26\u7684\u7ec4\u5408\u683c\u5f0f\u8868\u793a\uff0c\u6bd4\u5982\u201c00\u201d\u8868\u793a\u5341\u516d\u8fdb\u5236\u76840\uff0c\u201cFF\u201d\u8868\u793a\u5341\u516d\u8fdb\u5236\u7684255\u3002<\/p>\n

Modbus RTU\u53cc\u5b57\u662f\u4ec0\u4e48\uff1f<\/h2>\n

  Modbus RTU\u662f\u4e00\u79cd\u57fa\u4e8e\u5b57\u8282\u7684\u7f16\u7801\u683c\u5f0f\uff0c\u5b83\u5c06\u6570\u636e\u7f16\u7801\u6210\u5b57\u8282\uff0c\u4ee5\u4fbf\u5728\u4e32\u884c\u7aef\u53e3\u4e0a\u4f20\u8f93\u3002Modbus RTU\u7684\u53cc\u5b57\u662f\u6307\u4e00\u7ec4\u7531\u4e24\u4e2a\u5b57\u8282\u7ec4\u6210\u7684\u5730\u5740\uff0c\u5b83\u4eec\u88ab\u7528\u4e8e\u8868\u793a\u4e00\u4e2a16\u4f4d\u5b57\uff0816\u4f4d\u6570\u636e\u5355\u5143\uff09\u7684\u503c\u3002<\/p>\n

  Modbus RTU\u53cc\u5b57\u7684\u683c\u5f0f<\/h3>\n

  Modbus RTU\u7684\u53cc\u5b57\u662f\u7531\u4e24\u4e2a\u5b57\u8282\u7ec4\u6210\u7684\u5730\u5740\uff0c\u6bcf\u4e2a\u5b57\u8282\u8868\u793a\u4e00\u4e2a\u5341\u516d\u8fdb\u5236\u4f4d\uff0c\u6bcf\u4e2a\u5b57\u8282\u67098\u4f4d\uff0c\u6240\u4ee5Modbus RTU\u53cc\u5b57\u670916\u4f4d\u3002\u8fd9\u4e9b\u5b57\u8282\u901a\u5e38\u4ee5\u4e24\u4e2a\u5b57\u8282\u7684\u7ec4\u5408\u683c\u5f0f\u8868\u793a\uff0c\u6bd4\u5982\u201c0000\u201d\u8868\u793a\u5341\u516d\u8fdb\u5236\u76840\uff0c\u201cFFFF\u201d\u8868\u793a\u5341\u516d\u8fdb\u5236\u768465535\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  Modbus\u662f\u4e00\u79cd\u5e38\u7528\u7684\u5de5\u4e1a\u81ea\u52a8\u5316\u7f51\u7edc\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u63d0\u4f9b\u63a7\u5236\u8bbe\u5907\u548c\u68c0\u6d4b\u8bbe\u5907\u4e4b\u95f4\u7684\u53cc\u5411\u901a\u4fe1\uff0c\u4ee5\u53ca\u4e0e\u4eba\u673a\u754c\u9762\uff08HMI\uff09\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/strong>Modbus\u6709\u4e24\u79cd\u901a\u4fe1\u534f\u8bae\uff1aModbus ASCII\u548cModbus RTU\u3002Modbus ASCII\u7684\u53cc\u5b57\u662f\u6307\u4e24\u4e2a\u5b57\u8282\uff0c\u800cModbus RTU\u7684\u53cc\u5b57\u662f\u6307\u4e24\u4e2a\u5730\u5740\u3002Modbus ASCII\u53cc\u5b57\u662f\u7531\u4e24\u4e2aASCII\u5b57\u7b26\u7ec4\u6210\u7684\u5b57\u8282\uff0c\u6bcf\u4e2a\u5b57\u7b26\u8868\u793a\u4e00\u4e2a\u5341\u516d\u8fdb\u5236\u4f4d\uff0c\u6bcf\u4e2a\u5b57\u7b26\u67094\u4f4d\uff0c\u6240\u4ee5Modbus ASCII\u53cc\u5b57\u67098\u4f4d\uff1b\u800cModbus RTU\u7684\u53cc\u5b57\u662f\u7531\u4e24\u4e2a\u5b57\u8282\u7ec4\u6210\u7684\u5730\u5740\uff0c\u6bcf\u4e2a\u5b57\u8282\u8868\u793a\u4e00\u4e2a\u5341\u516d\u8fdb\u5236\u4f4d\uff0c\u6bcf\u4e2a\u5b57\u8282\u67098\u4f4d\uff0c\u6240\u4ee5Modbus RTU\u53cc\u5b57\u670916\u4f4d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Modbus\u662f\u4e00\u79cd\u5de5\u4e1a\u81ea\u52a8\u5316\u7f51\u7edc\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u4e2d\u7684\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u5b83\u53ef\u4ee5\u63d0\u4f9b\u63a7\u5236\u8bbe\u5907\u548c\u68c0\u6d4b\u8bbe\u5907\u4e4b\u95f4\u7684\u53cc\u5411\u901a\u4fe1\uff0c\u4ee5\u53ca\u4e0e\u4eba\u673a\u754c\u9762\uff08HMI\uff09\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u5b83\u4e5f\u53ef\u4ee5\u7528<\/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-43001","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-m-3"],"_links":{"self":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/43001"}],"collection":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/comments?post=43001"}],"version-history":[{"count":0,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/43001\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/media?parent=43001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/categories?post=43001"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/tags?post=43001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}