{"id":40639,"date":"2023-09-28T18:55:18","date_gmt":"2023-09-28T10:55:18","guid":{"rendered":"\/\/www.dealsbon.com\/?p=40639"},"modified":"2023-09-28T18:55:18","modified_gmt":"2023-09-28T10:55:18","slug":"usjzyzm","status":"publish","type":"post","link":"\/\/www.dealsbon.com\/blog\/40639.html","title":{"rendered":"UART\u6570\u636e\u600e\u6837\u8f6cmodbus"},"content":{"rendered":"

  UART\uff08Universal Asynchronous Receiver\/Transmitter\uff09\u662f\u4e00\u79cd\u901a\u7528\u7684\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e24\u4e2a\u4e0d\u540c\u7684\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u8fdb\u884c\u8f6c\u6362\uff0c\u4ee5\u4fbf\u5b9e\u73b0\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002Modbus\u662f\u4e00\u79cd\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u8ba9\u4e0d\u540c\u7684\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002\u672c\u6587\u5c06\u4ecb\u7ecdUART\u6570\u636e\u5982\u4f55\u8f6c\u6362\u4e3aModbus\u6570\u636e\uff0c\u4ee5\u53ca\u76f8\u5173\u7684\u6280\u672f\u7ec6\u8282\u3002<\/p>\n

UART\u6570\u636e\u8f6c\u6362Modbus\u6570\u636e\u7684\u57fa\u672c\u539f\u7406<\/h2>\n

  UART\u6570\u636e\u8f6c\u6362Modbus\u6570\u636e\u7684\u57fa\u672c\u539f\u7406\u662f\u4f7f\u7528UART\u534f\u8bae\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u8f6c\u6362\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\uff0c\u7136\u540e\u4f7f\u7528Modbus\u534f\u8bae\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002UART\u534f\u8bae\u662f\u4e00\u79cd\u901a\u7528\u7684\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e24\u4e2a\u4e0d\u540c\u7684\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u8fdb\u884c\u8f6c\u6362\uff0c\u4ee5\u4fbf\u5b9e\u73b0\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u3002Modbus\u534f\u8bae\u662f\u4e00\u79cd\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u8ba9\u4e0d\u540c\u7684\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002UART\u6570\u636e\u8f6c\u6362Modbus\u6570\u636e\u7684\u8fc7\u7a0b\u53ef\u4ee5\u5206\u4e3a\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a<\/p>\n

  1.\u8bbe\u7f6eUART\u53c2\u6570<\/h3>\n

  \u9996\u5148\uff0c\u9700\u8981\u8bbe\u7f6eUART\u53c2\u6570\uff0c\u5305\u62ec\u6ce2\u7279\u7387\u3001\u6570\u636e\u4f4d\u3001\u505c\u6b62\u4f4d\u3001\u6821\u9a8c\u4f4d\u7b49\u3002\u8fd9\u4e9b\u53c2\u6570\u53ef\u4ee5\u6839\u636e\u4e0d\u540c\u7684\u8bbe\u5907\u8fdb\u884c\u8c03\u6574\uff0c\u4ee5\u786e\u4fddUART\u6570\u636e\u80fd\u591f\u6b63\u786e\u5730\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002<\/p>\n

  2.\u8bbe\u7f6eModbus\u53c2\u6570<\/h3>\n

  \u5176\u6b21\uff0c\u9700\u8981\u8bbe\u7f6eModbus\u53c2\u6570\uff0c\u5305\u62ecModbus\u5730\u5740\u3001\u529f\u80fd\u7801\u3001\u6570\u636e\u957f\u5ea6\u3001CRC\u6821\u9a8c\u7b49\u3002\u8fd9\u4e9b\u53c2\u6570\u53ef\u4ee5\u6839\u636e\u4e0d\u540c\u7684\u8bbe\u5907\u8fdb\u884c\u8c03\u6574\uff0c\u4ee5\u786e\u4fddModbus\u6570\u636e\u80fd\u591f\u6b63\u786e\u5730\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002<\/p>\n

  3.UART\u6570\u636e\u8f6c\u6362Modbus\u6570\u636e<\/h3>\n

  \u6700\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528UART\u534f\u8bae\u5c06UART\u6570\u636e\u8f6c\u6362\u4e3aModbus\u6570\u636e\uff0c\u5e76\u4f7f\u7528Modbus\u534f\u8bae\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002<\/p>\n

UART\u6570\u636e\u8f6c\u6362Modbus\u6570\u636e\u7684\u6ce8\u610f\u4e8b\u9879<\/h2>\n

  1.UART\u53c2\u6570\u8bbe\u7f6e<\/h3>\n

  \u5f53\u8bbe\u7f6eUART\u53c2\u6570\u65f6\uff0c\u5fc5\u987b\u786e\u4fddUART\u53c2\u6570\u4e0e\u8bbe\u5907\u4e4b\u95f4\u7684\u53c2\u6570\u76f8\u5339\u914d\uff0c\u4ee5\u786e\u4fddUART\u6570\u636e\u80fd\u591f\u6b63\u786e\u5730\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002<\/p>\n

  2.Modbus\u53c2\u6570\u8bbe\u7f6e<\/h3>\n

  \u5f53\u8bbe\u7f6eModbus\u53c2\u6570\u65f6\uff0c\u5fc5\u987b\u786e\u4fddModbus\u53c2\u6570\u4e0e\u8bbe\u5907\u4e4b\u95f4\u7684\u53c2\u6570\u76f8\u5339\u914d\uff0c\u4ee5\u786e\u4fddModbus\u6570\u636e\u80fd\u591f\u6b63\u786e\u5730\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002<\/p>\n

  3.\u6570\u636e\u4f20\u8f93<\/h3>\n

  \u5f53UART\u6570\u636e\u8f6c\u6362Modbus\u6570\u636e\u65f6\uff0c\u5fc5\u987b\u786e\u4fddUART\u6570\u636e\u548cModbus\u6570\u636e\u80fd\u591f\u6b63\u786e\u5730\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u4f20\u8f93\u7684\u51c6\u786e\u6027\u3002<\/p>\n

\u603b\u7ed3<\/h2>\n

  UART\u6570\u636e\u8f6c\u6362Modbus\u6570\u636e\u662f\u4e00\u4e2a\u590d\u6742\u7684\u8fc7\u7a0b\uff0c\u9700\u8981\u786e\u4fddUART\u53c2\u6570\u548cModbus\u53c2\u6570\u4e0e\u8bbe\u5907\u4e4b\u95f4\u7684\u53c2\u6570\u76f8\u5339\u914d\uff0c\u4ee5\u786e\u4fddUART\u6570\u636e\u548cModbus\u6570\u636e\u80fd\u591f\u6b63\u786e\u5730\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\uff0c\u4ee5\u5b9e\u73b0\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4f20\u8f93\u3002<\/strong>\u53ea\u6709\u786e\u4fddUART\u548cModbus\u53c2\u6570\u7684\u6b63\u786e\u8bbe\u7f6e\uff0c\u624d\u80fd\u4fdd\u8bc1UART\u6570\u636e\u8f6c\u6362Modbus\u6570\u636e\u7684\u51c6\u786e\u6027\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

UART\uff08UniversalAsynchronousReceiver\/Transmitter\uff09\u662f\u4e00\u79cd\u901a\u7528\u7684\u5f02\u6b65\u6536\u53d1\u5668\uff0c\u5b83\u53ef\u4ee5\u5c06\u4e24\u4e2a\u4e0d\u540c\u7684\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u8fdb\u884c\u8f6c\u6362\uff0c\u4ee5\u4fbf\u5b9e<\/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-40639","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\/40639"}],"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=40639"}],"version-history":[{"count":0,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/posts\/40639\/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=40639"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/categories?post=40639"},{"taxonomy":"post_tag","embeddable":true,"href":"\/\/www.dealsbon.com\/wp-json\/wp\/v2\/tags?post=40639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}