{"id":98300,"date":"2024-10-15T14:29:40","date_gmt":"2024-10-15T06:29:40","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=98300"},"modified":"2024-10-15T14:29:44","modified_gmt":"2024-10-15T06:29:44","slug":"dhjkzjgzyl-2","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/98300.html","title":{"rendered":"\u52a8\u73af\u76d1\u63a7\u4e3b\u673a\u5de5\u4f5c\u539f\u7406"},"content":{"rendered":"\n
\u3000\u3000\u52a8\u73af\u76d1\u63a7\u4e3b\u673a<\/strong>\u7684\u5de5\u4f5c\u539f\u7406\u4e3b\u8981\u6d89\u53ca\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n\n\n\n \u3000\u3000\u52a8\u73af\u76d1\u63a7\u4e3b\u673a\u901a\u8fc7\u96c6\u6210\u591a\u79cd\u4f20\u611f\u5668\u548c\u6a21\u5757\uff0c\u5b9e\u65f6\u91c7\u96c6\u548c\u5904\u7406\u673a\u623f\u5185\u7684\u73af\u5883\u548c\u8bbe\u5907\u6570\u636e\uff0c\u5b9e\u73b0\u5bf9\u673a\u623f\u7684\u5168\u9762\u76d1\u63a7\u548c\u7ba1\u7406\uff0c\u786e\u4fdd\u673a\u623f\u7684\u7a33\u5b9a\u8fd0\u884c\u548c\u8bbe\u5907\u7684\u5b89\u5168\u6027\u3002<\/strong><\/p>\n\n\n\n \u3000\u3000\u52a8\u73af\u76d1\u63a7\u4e3b\u673a\u4e2d\u4f7f\u7528\u7684\u4f20\u611f\u5668\u7c7b\u578b\u53ca\u5176\u5de5\u4f5c\u539f\u7406\u5982\u4e0b\uff1a<\/p>\n\n\n\n \u3000\u3000\u8fd9\u4e9b\u4f20\u611f\u5668\u901a\u8fc7\u6709\u7ebf\u6216\u65e0\u7ebf\u65b9\u5f0f\u8fde\u63a5\u5230\u52a8\u73af\u76d1\u63a7\u4e3b\u673a\uff0c\u5c06\u91c7\u96c6\u5230\u7684\u6570\u636e\u4f20\u8f93\u7ed9\u76d1\u63a7\u8bbe\u5907\u8fdb\u884c\u5206\u6790\u548c\u5904\u7406\uff0c\u4ee5\u786e\u4fdd\u8bbe\u65bd\u8fd0\u884c\u7684\u5b89\u5168\u7a33\u5b9a\u3002<\/p>\n\n\n\n \u3000\u3000\u8981\u901a\u8fc7RS485\u548cRS232\u63a5\u53e3\u5b9e\u73b0\u4fe1\u53f7\u7684\u8f6c\u6362\u4e0e\u4f20\u8f93\uff0c\u9700\u8981\u7406\u89e3\u8fd9\u4e24\u79cd\u63a5\u53e3\u7684\u57fa\u672c\u7279\u6027\u548c\u5de5\u4f5c\u539f\u7406\uff0c\u5e76\u4f7f\u7528\u9002\u5f53\u7684\u8f6c\u6362\u5668\u6765\u5b9e\u73b0\u4fe1\u53f7\u7684\u8f6c\u6362\u3002<\/p>\n\n\n\n \u3000\u3000RS232<\/strong>\uff1a\u901a\u5e38\u91c7\u7528\u4e09\u7ebf\u5236\u8fde\u63a5\uff0c\u5305\u62ec\u53d1\u9001\u7ebf\u3001\u63a5\u6536\u7ebf\u548c\u5730\u7ebf\u3002\u5b83\u7684\u4f20\u8f93\u8ddd\u79bb\u8f83\u77ed\uff0c\u4e00\u822c\u4e0d\u8d85\u8fc715\u7c73\uff0c\u4e14\u4e3a\u5168\u53cc\u5de5\u901a\u4fe1\u6a21\u5f0f\u3002<\/p>\n\n\n\n \u3000\u3000RS485<\/strong>\uff1a\u4e00\u822c\u91c7\u7528\u4e24\u7ebf\u5236\u8fde\u63a5\uff0c\u5373A\u548cB\u4e24\u6761\u4f20\u8f93\u7ebf\u3002RS485\u652f\u6301\u66f4\u957f\u7684\u4f20\u8f93\u8ddd\u79bb\uff0c\u6700\u8fdc\u53ef\u8fbe1200\u7c73\uff0c\u5e76\u4e14\u662f\u534a\u53cc\u5de5\u901a\u4fe1\u6a21\u5f0f\u3002<\/p>\n\n\n\n \u3000\u3000\u8f6c\u6362\u5668\u7684\u4e3b\u8981\u4f5c\u7528\u662f\u5c06\u5355\u7aef\u7684RS-232\u4fe1\u53f7\u8f6c\u6362\u4e3a\u5e73\u8861\u5dee\u5206\u7684RS-485\u6216RS-422\u4fe1\u53f7\u3002\u8fd9\u79cd\u8f6c\u6362\u5668\u53ef\u4ee5\u81ea\u52a8\u8bc6\u522b\u4fe1\u53f7\u7c7b\u578b\uff0c\u7b80\u5316\u4e86\u4f7f\u7528\u8fc7\u7a0b\u3002<\/p>\n\n\n\n \u3000\u3000\u8f6c\u6362\u5668\u901a\u5e38\u5185\u7f6e\u9632\u9759\u7535\u3001\u9632\u6d6a\u6d8c\u5143\u5668\u4ef6\uff0c\u5177\u6709\u8f83\u5f3a\u7684\u6297\u5e72\u6270\u7279\u6027\uff0c\u80fd\u591f\u6709\u6548\u89e3\u51b3\u5de5\u7a0b\u73b0\u573a\u7684\u5171\u6a21\u5e72\u6270\u95ee\u9898\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u786c\u4ef6\u4e0a\uff0c\u9700\u8981\u6dfb\u52a0\u4e00\u4e2a\u8f6c\u6362\u5668\u6765\u5b9e\u73b0\u4fe1\u53f7\u7684\u8f6c\u6362\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u5e26\u6709\u7279\u5b9a\u96c6\u6210\u7535\u8def(\u5982MAX485\u6216SN75176)\u7684\u8f6c\u6362\u7535\u8def\uff0c\u8fd9\u4e9b\u7535\u8def\u80fd\u591f\u5b9e\u73b0\u7535\u5e73\u8f6c\u6362\uff0c\u5e76\u901a\u8fc7\u65b9\u5411\u63a7\u5236\u548c\u4fdd\u62a4\u7535\u8def\u6765\u4f18\u5316\u901a\u4fe1\u6027\u80fd\u3002<\/p>\n\n\n\n \u3000\u3000\u5bf9\u4e8eRS485\u4e32\u53e3\uff0c\u9700\u8981\u5728\u786c\u4ef6\u4e0a\u6dfb\u52a0\u4e00\u4e2a\u8f6c\u6362\u5668\uff0c\u5c06\u5355\u5411\u7684RS232\u4fe1\u53f7\u8f6c\u6362\u4e3a\u53cc\u5411\u7684RS485\u4fe1\u53f7\u3002<\/p>\n\n\n\n \u3000\u3000\u5728Linux\u4e0b\uff0c\u9700\u8981\u4f7f\u7528\u7279\u5b9a\u7684\u9a71\u52a8\u7a0b\u5e8f(\u5982modbus-rtu)\u6765\u8fdb\u884c\u8bbe\u7f6e\uff0c\u4ee5\u786e\u4fdd\u4fe1\u53f7\u6b63\u786e\u5730\u5728RS232\u548cRS485\u4e4b\u95f4\u8f6c\u6362\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u4f8b\u5982\u901a\u8fc7PC\u673a\u8fdb\u884c\u901a\u4fe1\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7\u53d1\u9001\u6307\u4ee4\u6765\u63a7\u5236RS485\u63a5\u53e3\u7684\u6570\u636e\u4f20\u8f93\u3002\u4f8b\u5982\uff0cPC\u673a\u5411RS232\u4e32\u53e3\u53d1\u9001\u6307\u4ee4\u540e\uff0c\u901a\u8fc7RS485\u63a5\u53e3\u53d1\u9001\u51fa\u53bb\uff0c\u5e76\u901a\u8fc7\u53e6\u4e00\u8defRS485\u63a5\u53e3\u63a5\u6536\u6570\u636e\uff0c\u518d\u8fd4\u56de\u7ed9\u7535\u8111\uff0c\u5b9e\u73b0Loopback\u529f\u80fd\u3002<\/p>\n\n\n\n \u3000\u3000\u52a8\u73af\u76d1\u63a7\u4e3b\u673a\u7684\u6570\u636e\u5904\u7406\u4e0e\u5206\u6790\u6280\u672f\u4e3b\u8981\u5305\u62ec\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n\n\n\n \u3000\u3000\u52a8\u73af\u76d1\u63a7\u7cfb\u7edf\u4e2d\u7684\u62a5\u8b66\u673a\u5236\u8bbe\u8ba1\u4e3b\u8981\u901a\u8fc7\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\u6765\u5b9e\u73b0\uff1a<\/p>\n\n\n\n \u3000\u3000\u52a8\u73af\u76d1\u63a7\u4e3b\u673a\u5b9e\u73b0\u4e0e\u5176\u4ed6\u7cfb\u7edf\u7684\u8054\u52a8\u4e3b\u8981\u901a\u8fc7\u4ee5\u4e0b\u51e0\u79cd\u65b9\u5f0f\uff1a<\/p>\n\n\n\n <\/p>\n","protected":false},"excerpt":{"rendered":" \u52a8\u73af\u76d1\u63a7\u4e3b\u673a\u901a\u8fc7\u96c6\u6210\u591a\u79cd\u4f20\u611f\u5668\u548c\u6a21\u5757\uff0c\u5b9e\u65f6\u91c7\u96c6\u548c\u5904\u7406\u673a\u623f\u5185\u7684\u73af\u5883\u548c\u8bbe\u5907\u6570\u636e\uff0c\u5b9e\u73b0\u5bf9\u673a\u623f\u7684\u5168\u9762\u76d1\u63a7\u548c\u7ba1\u7406\uff0c\u786e\u4fdd\u673a\u623f\u7684\u7a33\u5b9a\u8fd0\u884c\u548c\u8bbe\u5907\u7684\u5b89\u5168\u6027\u3002<\/p>\n","protected":false},"author":1,"featured_media":97171,"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":[350],"class_list":["post-98300","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-dhjk"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/98300","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=98300"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/98300\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/97171"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=98300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=98300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=98300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
\u3000\u3000\u4e00\u3001 \u52a8\u73af\u76d1\u63a7\u4e3b\u673a\u4e2d\u4f7f\u7528\u7684\u4f20\u611f\u5668\u7c7b\u578b\u53ca\u5176\u5de5\u4f5c\u539f\u7406<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e8c\u3001 \u5982\u4f55\u901a\u8fc7RS485\u548cRS232\u63a5\u53e3\u5b9e\u73b0\u4fe1\u53f7\u7684\u8f6c\u6362\u4e0e\u4f20\u8f93?<\/h2>\n\n\n\n
\u3000\u30001. RS232\u4e0eRS485\u7684\u57fa\u672c\u7279\u6027<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30002. \u4fe1\u53f7\u8f6c\u6362\u5668\u7684\u4f5c\u7528<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30003. \u786c\u4ef6\u8fde\u63a5\u4e0e\u914d\u7f6e<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u30004. \u8f6f\u4ef6\u914d\u7f6e<\/strong>\uff1a<\/h3>\n\n\n\n
\u3000\u3000\u4e09\u3001 \u52a8\u73af\u76d1\u63a7\u4e3b\u673a\u7684\u6570\u636e\u5904\u7406\u4e0e\u5206\u6790\u6280\u672f\u6709\u54ea\u4e9b?<\/h2>\n\n\n\n
\n
\u3000\u3000\u56db\u3001 \u52a8\u73af\u76d1\u63a7\u7cfb\u7edf\u4e2d\u7684\u62a5\u8b66\u673a\u5236\u662f\u5982\u4f55\u8bbe\u8ba1\u7684?<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e94\u3001 \u52a8\u73af\u76d1\u63a7\u4e3b\u673a\u5982\u4f55\u5b9e\u73b0\u4e0e\u5176\u4ed6\u7cfb\u7edf\u7684\u8054\u52a8?<\/h2>\n\n\n\n
\n