{"id":43412,"date":"2023-10-03T10:44:56","date_gmt":"2023-10-03T02:44:56","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=43412"},"modified":"2023-10-03T10:44:56","modified_gmt":"2023-10-03T02:44:56","slug":"mdjzyy","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/43412.html","title":{"rendered":"Modbus\u7684\u51e0\u79cd\u5e94\u7528"},"content":{"rendered":"

  Modbus\u662f\u4e00\u79cd\u901a\u7528\u7684\u5de5\u4e1a\u63a7\u5236\u7f51\u7edc\u534f\u8bae\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u800c\u53ef\u9760\u7684\u65b9\u5f0f\u6765\u8fde\u63a5\u5de5\u4e1a\u63a7\u5236\u8bbe\u5907\uff0c\u5e76\u5141\u8bb8\u8fd9\u4e9b\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/strong>\u672c\u6587\u5c06\u4ecb\u7ecdModbus\u7684\u51e0\u79cd\u5e94\u7528\uff0c\u4ee5\u5e2e\u52a9\u8bfb\u8005\u4e86\u89e3Modbus\u7684\u529f\u80fd\u548c\u7528\u9014\u3002<\/p>\n

Modbus RTU<\/h2>\n

  Modbus RTU\uff08Remote Terminal Unit\uff09\u662f\u4e00\u79cd\u7279\u6b8a\u7684Modbus\u534f\u8bae\uff0c\u5b83\u4f7f\u7528\u4e86\u4e24\u79cd\u4e0d\u540c\u7684\u901a\u4fe1\u65b9\u5f0f\uff1a\u4e32\u884c\u548c\u4ee5\u592a\u7f51\u3002\u4e32\u884c\u901a\u4fe1\u4f7f\u7528RS-232\u6216RS-485\u63a5\u53e3\uff0c\u800c\u4ee5\u592a\u7f51\u901a\u4fe1\u4f7f\u7528TCP \/ IP\u534f\u8bae\u3002Modbus RTU\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u5230PLC\uff08\u53ef\u7f16\u7a0b\u903b\u8f91\u63a7\u5236\u5668\uff09\uff0c\u63a7\u5236\u5668\uff0c\u4f20\u611f\u5668\uff0c\u6267\u884c\u5668\u548c\u5176\u4ed6\u5de5\u4e1a\u63a7\u5236\u8bbe\u5907\u3002<\/p>\n

Modbus TCP \/ IP<\/h2>\n

  Modbus TCP \/ IP\uff08Transmission Control Protocol \/ Internet Protocol\uff09\u662f\u4e00\u79cd\u5e94\u7528\u5c42\u534f\u8bae\uff0c\u5b83\u4f7f\u7528TCP \/ IP\u534f\u8bae\u5b9e\u73b0Modbus RTU\u7684\u901a\u4fe1\u529f\u80fd\u3002\u5b83\u4e3b\u8981\u7528\u4e8e\u8fde\u63a5\u5230\u7f51\u7edc\u4e2d\u7684\u8bbe\u5907\uff0c\u5982PC\uff0c\u670d\u52a1\u5668\uff0c\u7f51\u7edc\u6253\u5370\u673a\u548c\u5176\u4ed6\u7f51\u7edc\u8bbe\u5907\u3002\u5b83\u4f7f\u7528\u7684\u662f\u6700\u65b0\u7684\u7f51\u7edc\u6280\u672f\uff0c\u53ef\u4ee5\u63d0\u4f9b\u66f4\u9ad8\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u548c\u66f4\u53ef\u9760\u7684\u8fde\u63a5\u3002<\/p>\n

Modbus ASCII<\/h2>\n

  Modbus ASCII\uff08American Standard Code for Information Interchange\uff09\u662fModbus\u534f\u8bae\u7684\u4e00\u79cd\uff0c\u5b83\u4f7f\u7528ASCII\u7f16\u7801\u683c\u5f0f\u6765\u4f20\u8f93\u6570\u636e\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u5728\u5de5\u4e1a\u73af\u5883\u4e2d\u4f20\u8f93\u5927\u91cf\u7684\u6570\u636e\uff0c\u5982\u8bbe\u5907\u72b6\u6001\uff0c\u6e29\u5ea6\uff0c\u538b\u529b\u7b49\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u5230PLC\uff0c\u63a7\u5236\u5668\uff0c\u4f20\u611f\u5668\uff0c\u6267\u884c\u5668\u548c\u5176\u4ed6\u5de5\u4e1a\u63a7\u5236\u8bbe\u5907\u3002<\/p>\n

Modbus Plus<\/h2>\n

  Modbus Plus\u662f\u4e00\u79cd\u4e13\u7528\u7684Modbus\u534f\u8bae\uff0c\u5b83\u4f7f\u7528Modbus RTU\u548cModbus TCP \/ IP\u534f\u8bae\u6765\u4f20\u8f93\u6570\u636e\u3002\u5b83\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u5230PLC\uff0c\u63a7\u5236\u5668\uff0c\u4f20\u611f\u5668\uff0c\u6267\u884c\u5668\u548c\u5176\u4ed6\u5de5\u4e1a\u63a7\u5236\u8bbe\u5907\u3002\u5b83\u63d0\u4f9b\u4e86\u66f4\u9ad8\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\uff0c\u53ef\u4ee5\u652f\u6301\u5927\u91cf\u7684\u8bbe\u5907\uff0c\u5e76\u5141\u8bb8\u8bbe\u5907\u4e4b\u95f4\u7684\u66f4\u591a\u7684\u4ea4\u4e92\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  Modbus\u662f\u4e00\u79cd\u901a\u7528\u7684\u5de5\u4e1a\u63a7\u5236\u7f51\u7edc\u534f\u8bae\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u800c\u53ef\u9760\u7684\u65b9\u5f0f\u6765\u8fde\u63a5\u5de5\u4e1a\u63a7\u5236\u8bbe\u5907\uff0c\u5e76\u5141\u8bb8\u8fd9\u4e9b\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/strong>Modbus\u6709\u51e0\u79cd\u5e94\u7528\uff0c\u5305\u62ecModbus RTU\uff0cModbus TCP \/ IP\uff0cModbus ASCII\u548cModbus Plus\uff0c\u5b83\u4eec\u53ef\u4ee5\u7528\u4e8e\u8fde\u63a5\u5230PLC\uff0c\u63a7\u5236\u5668\uff0c\u4f20\u611f\u5668\uff0c\u6267\u884c\u5668\u548c\u5176\u4ed6\u5de5\u4e1a\u63a7\u5236\u8bbe\u5907\u3002Modbus\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u800c\u53ef\u9760\u7684\u65b9\u5f0f\u6765\u5b9e\u73b0\u5de5\u4e1a\u63a7\u5236\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Modbus\u662f\u4e00\u79cd\u901a\u7528\u7684\u5de5\u4e1a\u63a7\u5236\u7f51\u7edc\u534f\u8bae\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u800c\u53ef\u9760\u7684\u65b9\u5f0f\u6765\u8fde\u63a5\u5de5\u4e1a\u63a7\u5236\u8bbe\u5907\uff0c\u5e76\u5141\u8bb8\u8fd9\u4e9b\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002\u672c\u6587\u5c06\u4ecb\u7ecdModbu<\/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-43412","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\/43412","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=43412"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/43412\/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=43412"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=43412"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=43412"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}