{"id":46886,"date":"2023-10-04T23:23:34","date_gmt":"2023-10-04T15:23:34","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=46886"},"modified":"2023-10-04T23:23:34","modified_gmt":"2023-10-04T15:23:34","slug":"mkyym","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/46886.html","title":{"rendered":"Modbus\u53ef\u4ee5\u7528232\u5417\uff1f"},"content":{"rendered":"
Modbus\u662f\u4e00\u79cd\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u5728\u4e0d\u540c\u7c7b\u578b\u7684\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\u3002\u5b83\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u4ece\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u5230\u697c\u5b87\u81ea\u52a8\u5316\u7cfb\u7edf\uff0c\u90fd\u53ef\u4ee5\u4f7f\u7528Modbus\u534f\u8bae\u3002\u90a3\u4e48\uff0cModbus\u53ef\u4ee5\u7528232\u5417\uff1f\u672c\u6587\u5c06\u4ecb\u7ecdModbus\u7684\u57fa\u672c\u6982\u5ff5\uff0c\u4ee5\u53ca\u5b83\u662f\u5982\u4f55\u4f7f\u7528232\u8fdb\u884c\u901a\u4fe1\u7684\u3002<\/p>\n
Modbus\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u5728\u4e0d\u540c\u7c7b\u578b\u7684\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\u3002\u5b83\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u4ece\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u5230\u697c\u5b87\u81ea\u52a8\u5316\u7cfb\u7edf\uff0c\u90fd\u53ef\u4ee5\u4f7f\u7528Modbus\u534f\u8bae\u3002Modbus\u534f\u8bae\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u7269\u7406\u5c42\u4e0a\u5b9e\u73b0\uff0c\u4f8b\u5982RS-232\u3001RS-485\u3001\u4ee5\u592a\u7f51\u7b49\u3002Modbus\u534f\u8bae\u7684\u4e3b\u8981\u529f\u80fd\u662f\u5b9a\u4e49\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\u683c\u5f0f\uff0c\u4ee5\u53ca\u5982\u4f55\u53d1\u9001\u548c\u63a5\u6536\u6570\u636e\u3002<\/p>\n
Modbus\u534f\u8bae\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u7269\u7406\u5c42\u4e0a\u5b9e\u73b0\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u662fRS-232\u3002RS-232\u662f\u4e00\u79cd\u4e32\u884c\u901a\u4fe1\u63a5\u53e3\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u5728\u8ba1\u7b97\u673a\u548c\u5916\u90e8\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4f20\u8f93\u3002\u4f7f\u7528RS-232\u8fde\u63a5Modbus\u8bbe\u5907\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5b9e\u65f6\u6570\u636e\u91c7\u96c6\u548c\u63a7\u5236\uff0c\u4ece\u800c\u5b9e\u73b0\u667a\u80fd\u5316\u7ba1\u7406\u3002<\/p>\n
RS-232\u5177\u6709\u826f\u597d\u7684\u7a33\u5b9a\u6027\uff0c\u53ef\u4ee5\u5728\u8f83\u8fdc\u7684\u8ddd\u79bb\u4e0a\u4f20\u8f93\u6570\u636e\uff0c\u800c\u4e14\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u683c\u5f0f\uff0c\u4f7f\u5f97\u5b83\u53ef\u4ee5\u7528\u4e8e\u591a\u79cd\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002\u6b64\u5916\uff0cRS-232\u8fd8\u5177\u6709\u8f83\u9ad8\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5927\u591a\u6570\u5e94\u7528\u573a\u666f\u7684\u9700\u6c42\u3002<\/p>\n
\u5c3d\u7ba1RS-232\u5177\u6709\u8bb8\u591a\u4f18\u70b9\uff0c\u4f46\u5b83\u4e5f\u5b58\u5728\u4e00\u4e9b\u7f3a\u70b9\u3002\u9996\u5148\uff0cRS-232\u7684\u6570\u636e\u4f20\u8f93\u8ddd\u79bb\u6709\u9650\uff0c\u4e00\u822c\u4e0d\u80fd\u8d85\u8fc750\u7c73\uff0c\u56e0\u6b64\u5728\u8f83\u8fdc\u7684\u8ddd\u79bb\u4e0a\u4f20\u8f93\u6570\u636e\u65f6\u53ef\u80fd\u4f1a\u51fa\u73b0\u95ee\u9898\u3002\u5176\u6b21\uff0cRS-232\u7684\u6570\u636e\u4f20\u8f93\u901f\u7387\u4e5f\u6709\u9650\uff0c\u4e00\u822c\u4e0d\u80fd\u8d85\u8fc7115200 bps\uff0c\u56e0\u6b64\u5728\u9700\u8981\u9ad8\u901f\u6570\u636e\u4f20\u8f93\u7684\u5e94\u7528\u573a\u666f\u4e2d\u53ef\u80fd\u4f1a\u4e0d\u592a\u7406\u60f3\u3002<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86Modbus\u53ef\u4ee5\u7528232\u5417\u7684\u95ee\u9898\uff0c\u4ee5\u53ca\u5b83\u662f\u5982\u4f55\u4f7f\u7528232\u8fdb\u884c\u901a\u4fe1\u7684\u3002<\/strong>Modbus\u534f\u8bae\u53ef\u4ee5\u5728\u4e0d\u540c\u7684\u7269\u7406\u5c42\u4e0a\u5b9e\u73b0\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u662fRS-232\u3002RS-232\u5177\u6709\u826f\u597d\u7684\u7a33\u5b9a\u6027\uff0c\u53ef\u4ee5\u5728\u8f83\u8fdc\u7684\u8ddd\u79bb\u4e0a\u4f20\u8f93\u6570\u636e\uff0c\u800c\u4e14\u652f\u6301\u591a\u79cd\u4e0d\u540c\u7684\u6570\u636e\u683c\u5f0f\uff0c\u4f7f\u5f97\u5b83\u53ef\u4ee5\u7528\u4e8e\u591a\u79cd\u4e0d\u540c\u7684\u5e94\u7528\u573a\u666f\u3002\u4f46\u662f\uff0c\u5b83\u4e5f\u5b58\u5728\u4e00\u4e9b\u7f3a\u70b9\uff0c\u4f8b\u5982\u6570\u636e\u4f20\u8f93\u8ddd\u79bb\u6709\u9650\uff0c\u6570\u636e\u4f20\u8f93\u901f\u7387\u4e5f\u6709\u9650\uff0c\u56e0\u6b64\u5728\u67d0\u4e9b\u5e94\u7528\u573a\u666f\u4e2d\u53ef\u80fd\u4f1a\u4e0d\u592a\u7406\u60f3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Modbus\u662f\u4e00\u79cd\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u7528\u4e8e\u5728\u4e0d\u540c\u7c7b\u578b\u7684\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u901a\u4fe1\u3002\u5b83\u7684\u5e94\u7528\u975e\u5e38\u5e7f\u6cdb\uff0c\u4ece\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u5230\u697c\u5b87\u81ea\u52a8\u5316\u7cfb\u7edf\uff0c\u90fd\u53ef\u4ee5\u4f7f\u7528Modbus\u534f\u8bae\u3002\u90a3\u4e48\uff0cModbus\u53ef\u4ee5\u7528<\/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":[68],"class_list":["post-46886","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-r-3"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46886","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=46886"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46886\/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=46886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=46886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=46886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}