{"id":58571,"date":"2023-10-20T02:53:59","date_gmt":"2023-10-19T18:53:59","guid":{"rendered":"https:\/\/www.techphant.cn\/blog\/58571.html"},"modified":"2023-10-20T02:53:59","modified_gmt":"2023-10-19T18:53:59","slug":"myjzxs","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/58571.html","title":{"rendered":"Modbus\u6709\u51e0\u79cd\u5f62\u5f0f"},"content":{"rendered":"

  Modbus\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u8ba9\u8ba1\u7b97\u673a\u548c\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u3002Modbus\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u5176\u4e2d\u6700\u5e38\u89c1\u7684\u65b9\u5f0f\u6709Modbus RTU\u3001Modbus ASCII\u3001Modbus TCP\/IP\u7b49\u3002\u672c\u6587\u5c06\u5bf9Modbus\u6709\u51e0\u79cd\u5f62\u5f0f\u8fdb\u884c\u8be6\u7ec6\u4ecb\u7ecd\uff0c\u4ee5\u4fbf\u60a8\u66f4\u597d\u5730\u4e86\u89e3Modbus\u7684\u5de5\u4f5c\u539f\u7406\u3002<\/p>\n

Modbus RTU<\/h2>\n

  Modbus RTU\u662f\u4e00\u79cd\u57fa\u4e8e\u4e32\u884c\u901a\u4fe1\u7684Modbus\u534f\u8bae\uff0c\u5b83\u662fModbus\u534f\u8bae\u6700\u5e38\u7528\u7684\u4e00\u79cd\u5f62\u5f0f\u3002Modbus RTU\u91c7\u7528\u4e86\u5f02\u6b65\u4e32\u884c\u901a\u4fe1\u6280\u672f\uff0c\u53ef\u4ee5\u901a\u8fc7RS-232\u6216RS-485\u4e24\u79cd\u63a5\u53e3\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002Modbus RTU\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230115200 bps\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5927\u591a\u6570\u5e94\u7528\u7684\u9700\u6c42\u3002<\/p>\n

Modbus ASCII<\/h2>\n

  Modbus ASCII\u662fModbus\u534f\u8bae\u7684\u53e6\u4e00\u79cd\u5f62\u5f0f\uff0c\u5b83\u4e5f\u662f\u4e00\u79cd\u57fa\u4e8e\u4e32\u884c\u901a\u4fe1\u7684Modbus\u534f\u8bae\u3002\u5b83\u91c7\u7528\u4e867\u4f4d\u7684ASCII\u7f16\u7801\uff0c\u53ef\u4ee5\u901a\u8fc7RS-232\u6216RS-485\u63a5\u53e3\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002Modbus ASCII\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u523019200bps\uff0c\u8981\u6bd4Modbus RTU\u7684\u4f20\u8f93\u901f\u7387\u6162\u5f97\u591a\uff0c\u56e0\u6b64\u5b83\u4e0d\u592a\u9002\u5408\u5927\u91cf\u6570\u636e\u7684\u4f20\u8f93\u3002<\/p>\n

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

  Modbus TCP\/IP\u662fModbus\u534f\u8bae\u7684\u7b2c\u4e09\u79cd\u5f62\u5f0f\uff0c\u5b83\u662f\u4e00\u79cd\u57fa\u4e8e\u7f51\u7edc\u901a\u4fe1\u7684Modbus\u534f\u8bae\u3002Modbus TCP\/IP\u91c7\u7528\u4e86TCP\/IP\u534f\u8bae\uff0c\u53ef\u4ee5\u901a\u8fc7\u4ee5\u592a\u7f51\u63a5\u53e3\u5b9e\u73b0\u6570\u636e\u4f20\u8f93\u3002Modbus TCP\/IP\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u523010 Mbps\uff0c\u8981\u6bd4Modbus RTU\u548cModbus ASCII\u7684\u4f20\u8f93\u901f\u7387\u5feb\u5f97\u591a\uff0c\u56e0\u6b64\u5b83\u66f4\u9002\u5408\u5927\u91cf\u6570\u636e\u7684\u4f20\u8f93\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  \u4ee5\u4e0a\u5c31\u662fModbus\u6709\u51e0\u79cd\u5f62\u5f0f\u7684\u4ecb\u7ecd\uff0cModbus RTU\u3001Modbus ASCII\u548cModbus TCP\/IP\u90fd\u662fModbus\u534f\u8bae\u7684\u4e0d\u540c\u5f62\u5f0f\uff0c\u5b83\u4eec\u7684\u4f20\u8f93\u901f\u7387\u4e5f\u4e0d\u5c3d\u76f8\u540c\uff0c\u56e0\u6b64\u60a8\u5728\u9009\u62e9Modbus\u534f\u8bae\u7684\u65f6\u5019\uff0c\u5e94\u8be5\u6839\u636e\u81ea\u5df1\u7684\u5e94\u7528\u9700\u6c42\u6765\u9009\u62e9\u5408\u9002\u7684\u5f62\u5f0f\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"

Modbus\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u8ba9\u8ba1\u7b97\u673a\u548c\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u3002Modbus\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u5b9e\u73b0\uff0c\u5176\u4e2d\u6700\u5e38\u89c1\u7684\u65b9\u5f0f\u6709ModbusRTU\u3001ModbusASCII\u3001<\/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-58571","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\/58571","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=58571"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/58571\/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=58571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=58571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=58571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}