{"id":38860,"date":"2023-10-04T05:40:50","date_gmt":"2023-10-03T21:40:50","guid":{"rendered":"\/\/www.dealsbon.com\/?p=38860"},"modified":"2023-10-04T05:40:50","modified_gmt":"2023-10-03T21:40:50","slug":"mxyyugx","status":"publish","type":"post","link":"\/\/www.dealsbon.com\/blog\/38860.html","title":{"rendered":"Modbus\u534f\u8bae\u4e0eUART\u5173\u7cfb"},"content":{"rendered":"
Modbus\u534f\u8bae\u662f\u4e00\u79cd\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u901a\u7528\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u7531Modicon\u516c\u53f8\uff08\u73b0\u5728\u88ab\u79f0\u4e3aSchneider Electric\uff09\u4e8e1979\u5e74\u63a8\u51fa\uff0c\u4e3b\u8981\u7528\u4e8e\u63a7\u5236PLC\uff08\u53ef\u7f16\u7a0b\u63a7\u5236\u5668\uff09\u548c\u73b0\u573a\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002Modbus\u534f\u8bae\u4e0d\u4ec5\u53ef\u4ee5\u7528\u4e8e\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u800c\u4e14\u4e5f\u53ef\u4ee5\u7528\u4e8e\u4e00\u53f0\u8bbe\u5907\u4e2d\u4e0d\u540c\u63a7\u5236\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u3002UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u8ba1\u7b97\u673a\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e00\u53f0\u8ba1\u7b97\u673a\u7684\u6570\u636e\u53d1\u9001\u5230\u53e6\u4e00\u53f0\u8ba1\u7b97\u673a\uff0c\u6216\u8005\u5c06\u4e00\u53f0\u8ba1\u7b97\u673a\u7684\u6570\u636e\u53d1\u9001\u5230\u5916\u90e8\u8bbe\u5907\uff0c\u5982\u6253\u5370\u673a\u3001\u78c1\u5e26\u673a\u7b49\u3002\u672c\u6587\u5c06\u4ecb\u7ecdModbus\u534f\u8bae\u548cUART\u4e4b\u95f4\u7684\u5173\u7cfb\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528UART\u5b9e\u73b0Modbus\u534f\u8bae\u7684\u901a\u4fe1\u3002<\/p>\n
Modbus\u534f\u8bae\u662f\u4e00\u79cd\u5e94\u7528\u5c42\u534f\u8bae\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u79cd\u901a\u7528\u7684\u63a5\u53e3\uff0c\u53ef\u4ee5\u8ba9\u4e0d\u540c\u7684\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\u3002Modbus\u534f\u8bae\u662f\u4e00\u79cd\u4e3b\u4ece\u5f0f\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u7684\u4e3b\u4ece\u6a21\u5f0f\u8981\u6c42\u4e00\u53f0\u8bbe\u5907\u4f5c\u4e3a\u4e3b\u673a\uff0c\u53e6\u4e00\u53f0\u8bbe\u5907\u4f5c\u4e3a\u4ece\u673a\uff0c\u4e3b\u673a\u53ef\u4ee5\u63a7\u5236\u4ece\u673a\u7684\u64cd\u4f5c\uff0c\u4ece\u673a\u53ef\u4ee5\u63a5\u6536\u4e3b\u673a\u7684\u6307\u4ee4\uff0c\u5e76\u5c06\u6570\u636e\u8fd4\u56de\u7ed9\u4e3b\u673a\u3002Modbus\u534f\u8bae\u4f7f\u7528\u4e00\u79cd\u53eb\u505aModbus PDU\uff08Protocol Data Unit\uff09\u7684\u683c\u5f0f\u6765\u4f20\u8f93\u6570\u636e\uff0cModbus PDU\u7531\u4e00\u4e2a\u63a7\u5236\u5b57\u8282\u548c\u4e00\u4e2a\u6216\u591a\u4e2a\u6570\u636e\u5b57\u8282\u7ec4\u6210\uff0c\u63a7\u5236\u5b57\u8282\u5305\u542b\u4e86\u6307\u4ee4\u7c7b\u578b\u3001\u8bbe\u5907\u5730\u5740\u548c\u6570\u636e\u957f\u5ea6\u7b49\u4fe1\u606f\uff0c\u800c\u6570\u636e\u5b57\u8282\u5219\u5305\u542b\u4e86\u8981\u4f20\u8f93\u7684\u6570\u636e\u3002Modbus\u534f\u8bae\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u7269\u7406\u5c42\u534f\u8bae\uff0c\u5982RS-232\u3001RS-485\u548cTCP\/IP\u7b49\uff0c\u8fd9\u4e9b\u534f\u8bae\u90fd\u53ef\u4ee5\u7528\u6765\u4f20\u8f93Modbus PDU\u3002<\/p>\n
UART\u662f\u4e00\u79cd\u8ba1\u7b97\u673a\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e00\u53f0\u8ba1\u7b97\u673a\u7684\u6570\u636e\u53d1\u9001\u5230\u53e6\u4e00\u53f0\u8ba1\u7b97\u673a\uff0c\u6216\u8005\u5c06\u4e00\u53f0\u8ba1\u7b97\u673a\u7684\u6570\u636e\u53d1\u9001\u5230\u5916\u90e8\u8bbe\u5907\uff0c\u5982\u6253\u5370\u673a\u3001\u78c1\u5e26\u673a\u7b49\u3002UART\u7684\u5168\u79f0\u662fUniversal Asynchronous Receiver\/Transmitter\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e00\u53f0\u8ba1\u7b97\u673a\u7684\u6570\u636e\u4ee5\u5f02\u6b65\u7684\u65b9\u5f0f\u53d1\u9001\u5230\u53e6\u4e00\u53f0\u8ba1\u7b97\u673a\uff0c\u6216\u8005\u5c06\u4e00\u53f0\u8ba1\u7b97\u673a\u7684\u6570\u636e\u53d1\u9001\u5230\u5916\u90e8\u8bbe\u5907\u3002UART\u7684\u4f20\u8f93\u901f\u7387\u53ef\u4ee5\u8fbe\u5230\u6bcf\u79d2\u51e0\u5341\u4e07\u7684\u5b57\u8282\uff0c\u8fd9\u4f7f\u5f97\u5b83\u53ef\u4ee5\u7528\u4e8e\u4f20\u8f93\u5927\u91cf\u7684\u6570\u636e\u3002UART\u4e5f\u53ef\u4ee5\u7528\u4e8e\u4f20\u8f93Modbus PDU\uff0c\u5b83\u53ef\u4ee5\u5c06Modbus PDU\u4ee5\u5f02\u6b65\u7684\u65b9\u5f0f\u53d1\u9001\u5230\u53e6\u4e00\u53f0\u8bbe\u5907\uff0c\u6216\u8005\u5c06Modbus PDU\u53d1\u9001\u5230\u5916\u90e8\u8bbe\u5907\u3002<\/p>\n
Modbus\u534f\u8bae\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u7269\u7406\u5c42\u534f\u8bae\uff0c\u5982RS-232\u3001RS-485\u548cTCP\/IP\u7b49\uff0c\u8fd9\u4e9b\u534f\u8bae\u90fd\u53ef\u4ee5\u7528\u6765\u4f20\u8f93Modbus PDU\uff0c\u800cUART\u4e5f\u53ef\u4ee5\u7528\u4e8e\u4f20\u8f93Modbus PDU\uff0c\u56e0\u6b64Modbus\u534f\u8bae\u548cUART\u4e4b\u95f4\u5b58\u5728\u4e00\u5b9a\u7684\u5173\u7cfb\u3002Modbus\u534f\u8bae\u548cUART\u4e4b\u95f4\u7684\u5173\u7cfb\u53ef\u4ee5\u5206\u4e3a\u4e24\u79cd\uff1a\u4e00\u79cd\u662fModbus\u534f\u8bae\u53ef\u4ee5\u4f7f\u7528UART\u4f5c\u4e3a\u7269\u7406\u5c42\u534f\u8bae\uff0c\u5c06Modbus PDU\u4ee5\u5f02\u6b65\u7684\u65b9\u5f0f\u53d1\u9001\u5230\u53e6\u4e00\u53f0\u8bbe\u5907\uff0c\u6216\u8005\u5c06Modbus PDU\u53d1\u9001\u5230\u5916\u90e8\u8bbe\u5907\uff1b\u53e6\u4e00\u79cd\u662fModbus\u534f\u8bae\u53ef\u4ee5\u4f7f\u7528UART\u4f5c\u4e3a\u6570\u636e\u4f20\u8f93\u5c42\u534f\u8bae\uff0c\u5c06Modbus PDU\u4ee5UART\u7684\u683c\u5f0f\u53d1\u9001\u5230\u53e6\u4e00\u53f0\u8bbe\u5907\uff0c\u6216\u8005\u5c06Modbus PDU\u53d1\u9001\u5230\u5916\u90e8\u8bbe\u5907\u3002<\/p>\n
\u8981\u4f7f\u7528UART\u5b9e\u73b0Modbus\u534f\u8bae\u7684\u901a\u4fe1\uff0c\u9996\u5148\u9700\u8981\u5728\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u5efa\u7acbUART\u8fde\u63a5\uff0c\u5e76\u5c06Modbus PDU\u4ee5UART\u7684\u683c\u5f0f\u53d1\u9001\u5230\u53e6\u4e00\u53f0\u8bbe\u5907\uff0c\u6216\u8005\u5c06Modbus PDU\u53d1\u9001\u5230\u5916\u90e8\u8bbe\u5907\u3002\u5728\u5efa\u7acbUART\u8fde\u63a5\u4e4b\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528Modbus\u534f\u8bae\u6765\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002Modbus\u534f\u8bae\u7684\u63a7\u5236\u5b57\u8282\u5305\u542b\u4e86\u6307\u4ee4\u7c7b\u578b\u3001\u8bbe\u5907\u5730\u5740\u548c\u6570\u636e\u957f\u5ea6\u7b49\u4fe1\u606f\uff0c\u800c\u6570\u636e\u5b57\u8282\u5219\u5305\u542b\u4e86\u8981\u4f20\u8f93\u7684\u6570\u636e\u3002\u53ef\u4ee5\u4f7f\u7528Modbus\u534f\u8bae\u6765\u53d1\u9001\u63a7\u5236\u4fe1\u606f\uff0c\u63a5\u6536\u6570\u636e\uff0c\u4ece\u800c\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/p>\n
Modbus\u534f\u8bae\u662f\u4e00\u79cd\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u901a\u7528\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u7269\u7406\u5c42\u534f\u8bae\uff0c\u5982RS-232\u3001RS-485\u548cTCP\/IP\u7b49\uff0c\u8fd9\u4e9b\u534f\u8bae\u90fd\u53ef\u4ee5\u7528\u6765\u4f20\u8f93Modbus PDU\u3002<\/strong>UART\u662f\u4e00\u79cd\u8ba1\u7b97\u673a\u901a\u4fe1\u6280\u672f\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e00\u53f0\u8ba1\u7b97\u673a\u7684\u6570\u636e\u4ee5\u5f02\u6b65\u7684\u65b9\u5f0f\u53d1\u9001\u5230\u53e6\u4e00\u53f0\u8ba1\u7b97\u673a\uff0c\u6216\u8005\u5c06\u4e00\u53f0\u8ba1\u7b97\u673a\u7684\u6570\u636e\u53d1\u9001\u5230\u5916\u90e8\u8bbe\u5907\u3002Modbus\u534f\u8bae\u548cUART\u4e4b\u95f4\u5b58\u5728\u4e00\u5b9a\u7684\u5173\u7cfb\uff0c\u53ef\u4ee5\u4f7f\u7528UART\u4f5c\u4e3a\u7269\u7406\u5c42\u534f\u8bae\uff0c\u5c06Modbus PDU\u4ee5\u5f02\u6b65\u7684\u65b9\u5f0f\u53d1\u9001\u5230\u53e6\u4e00\u53f0\u8bbe\u5907\uff0c\u6216\u8005\u5c06Modbus PDU\u53d1\u9001\u5230\u5916\u90e8\u8bbe\u5907\uff1b\u4e5f\u53ef\u4ee5\u4f7f\u7528UART\u4f5c\u4e3a\u6570\u636e\u4f20\u8f93\u5c42\u534f\u8bae\uff0c\u5c06Modbus PDU\u4ee5UART\u7684\u683c\u5f0f\u53d1\u9001\u5230\u53e6\u4e00\u53f0\u8bbe\u5907\uff0c\u6216\u8005\u5c06Modbus PDU\u53d1\u9001\u5230\u5916\u90e8\u8bbe\u5907\u3002\u8981\u4f7f\u7528UART\u5b9e\u73b0Modbus\u534f\u8bae\u7684\u901a\u4fe1\uff0c\u9996\u5148\u9700\u8981\u5728\u4e24\u53f0\u8bbe\u5907\u4e4b\u95f4\u5efa\u7acbUART\u8fde\u63a5\uff0c\u7136\u540e\u5c31\u53ef\u4ee5\u4f7f\u7528Modbus\u534f\u8bae\u6765\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Modbus\u534f\u8bae\u662f\u4e00\u79cd\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u901a\u7528\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u7531Modicon\u516c\u53f8\uff08\u73b0\u5728\u88ab\u79f0\u4e3aSchneiderElectric\uff09\u4e8e1979\u5e74\u63a8\u51fa\uff0c\u4e3b\u8981\u7528\u4e8e\u63a7\u5236PLC\uff08\u53ef\u7f16\u7a0b\u63a7\u5236<\/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-38860","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\/38860"}],"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=38860"}],"version-history":[{"count":0,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/38860\/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=38860"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/categories?post=38860"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/tags?post=38860"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}