{"id":41214,"date":"2023-09-28T23:12:35","date_gmt":"2023-09-28T15:12:35","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=41214"},"modified":"2023-09-28T23:12:35","modified_gmt":"2023-09-28T15:12:35","slug":"uxyhmxydqb","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/41214.html","title":{"rendered":"UART\u534f\u8bae\u548cModbus\u534f\u8bae\u7684\u533a\u522b"},"content":{"rendered":"
UART\u534f\u8bae\u548cModbus\u534f\u8bae\u90fd\u662f\u7528\u4e8e\u5728\u7269\u7406\u5c42\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u7684\u534f\u8bae\uff0c\u5b83\u4eec\u4e4b\u95f4\u5b58\u5728\u7740\u8bb8\u591a\u4e0d\u540c\u4e4b\u5904\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8UART\u534f\u8bae\u548cModbus\u534f\u8bae\u4e4b\u95f4\u7684\u5dee\u5f02\uff0c\u5e76\u8be6\u7ec6\u8ba8\u8bba\u5b83\u4eec\u7684\u529f\u80fd\u3001\u4f18\u7f3a\u70b9\u4ee5\u53ca\u5b83\u4eec\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u4e0d\u540c\u4e4b\u5904\u3002<\/p>\n
UART\u534f\u8bae\uff08Universal Asynchronous Receiver \/ Transmitter\uff09\u662f\u4e00\u79cd\u5f02\u6b65\u7684\u6570\u636e\u4f20\u8f93\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u5c06\u6570\u636e\u4ece\u4e00\u4e2a\u8bbe\u5907\u4f20\u8f93\u5230\u53e6\u4e00\u4e2a\u8bbe\u5907\u3002\u5b83\u4f7f\u7528\u4e00\u79cd\u79f0\u4e3a\u201c\u516b\u4f4d\u4f20\u8f93\u201d\u7684\u65b9\u5f0f\u6765\u4f20\u8f93\u6570\u636e\uff0c\u5373\u6bcf\u6b21\u4f20\u8f938\u4f4d\u6570\u636e\u3002UART\u534f\u8bae\u4f7f\u7528\u4e00\u79cd\u79f0\u4e3a\u201c\u8d77\u59cb\u4f4d\u201d\u7684\u7279\u6b8a\u4f4d\u6765\u6807\u8bb0\u4f20\u8f93\u7684\u5f00\u59cb\uff0c\u4ee5\u53ca\u4e00\u79cd\u79f0\u4e3a\u201c\u505c\u6b62\u4f4d\u201d\u7684\u7279\u6b8a\u4f4d\u6765\u6807\u8bb0\u4f20\u8f93\u7684\u7ed3\u675f\u3002UART\u534f\u8bae\u8fd8\u4f7f\u7528\u4e00\u79cd\u79f0\u4e3a\u201c\u5947\u5076\u6821\u9a8c\u201d\u7684\u6280\u672f\u6765\u68c0\u67e5\u4f20\u8f93\u7684\u6570\u636e\u662f\u5426\u6709\u9519\u8bef\u3002<\/p>\n
Modbus\u534f\u8bae\u662f\u4e00\u79cd\u975e\u5e38\u6d41\u884c\u7684\u5de5\u4e1a\u63a7\u5236\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u5728\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u3002Modbus\u534f\u8bae\u4f7f\u7528\u4e00\u79cd\u79f0\u4e3a\u201c\u5b57\u8282\u7f13\u51b2\u533a\u201d\u7684\u6280\u672f\u6765\u4f20\u8f93\u6570\u636e\uff0c\u5b83\u53ef\u4ee5\u5728\u5355\u4e2a\u5b57\u8282\u4e2d\u4f20\u8f93\u591a\u8fbe256\u4f4d\u7684\u6570\u636e\u3002Modbus\u534f\u8bae\u4f7f\u7528\u4e00\u79cd\u79f0\u4e3a\u201cCRC\u6821\u9a8c\u201d\u7684\u6280\u672f\u6765\u68c0\u67e5\u4f20\u8f93\u7684\u6570\u636e\u662f\u5426\u6709\u9519\u8bef\u3002<\/p>\n
\u4ece\u4e0a\u8ff0\u5206\u6790\u53ef\u4ee5\u770b\u51fa\uff0cUART\u534f\u8bae\u548cModbus\u534f\u8bae\u4e4b\u95f4\u5b58\u5728\u7740\u8bb8\u591a\u4e0d\u540c\u4e4b\u5904\u3002<\/strong>UART\u534f\u8bae\u7b80\u5355\u6613\u7528\uff0c\u53ef\u4ee5\u5728\u4f4e\u901f\u7387\u73af\u5883\u4e0b\u5de5\u4f5c\uff0c\u4f46\u5b83\u53ea\u80fd\u5728\u77ed\u8ddd\u79bb\u5185\u4f20\u8f93\u6570\u636e\uff0c\u5e76\u4e14\u53ea\u80fd\u4f20\u8f93\u5c11\u91cf\u6570\u636e\u3002\u800cModbus\u534f\u8bae\u6bd4UART\u534f\u8bae\u590d\u6742\uff0c\u5b9e\u73b0\u8d77\u6765\u66f4\u4e3a\u56f0\u96be\uff0c\u4f46\u5b83\u53ef\u4ee5\u5728\u957f\u8ddd\u79bb\u5185\u4f20\u8f93\u6570\u636e\uff0c\u5e76\u4e14\u53ef\u4ee5\u4f20\u8f93\u5927\u91cf\u6570\u636e\u3002\u56e0\u6b64\uff0c\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u5e94\u8be5\u6839\u636e\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u534f\u8bae\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" UART\u534f\u8bae\u548cModbus\u534f\u8bae\u90fd\u662f\u7528\u4e8e\u5728\u7269\u7406\u5c42\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u7684\u534f\u8bae\uff0c\u5b83\u4eec\u4e4b\u95f4\u5b58\u5728\u7740\u8bb8\u591a\u4e0d\u540c\u4e4b\u5904\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8UART\u534f\u8bae\u548cModbus\u534f\u8bae\u4e4b\u95f4\u7684\u5dee\u5f02\uff0c\u5e76\u8be6\u7ec6\u8ba8\u8bba\u5b83\u4eec\u7684\u529f\u80fd<\/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-41214","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\/41214","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=41214"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/41214\/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=41214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=41214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=41214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}