{"id":26131,"date":"2023-09-09T14:37:04","date_gmt":"2023-09-09T06:37:04","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=26131"},"modified":"2023-09-09T14:37:08","modified_gmt":"2023-09-09T06:37:08","slug":"mdzypdzddygx","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/26131.html","title":{"rendered":"Modbus\u5730\u5740\u4e0ePLC\u5730\u5740\u7684\u5bf9\u5e94\u5173\u7cfb"},"content":{"rendered":"\n
\u3000\u3000\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u4e2d\uff0cModbus\u901a\u4fe1\u534f\u8bae\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\u3002\u800cPLC(\u53ef\u7f16\u7a0b\u903b\u8f91\u63a7\u5236\u5668)\u4f5c\u4e3a\u63a7\u5236\u8bbe\u5907\u7684\u6838\u5fc3\uff0c\u626e\u6f14\u7740\u5173\u952e\u7684\u89d2\u8272\u3002<\/strong>\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecdModbus\u5730\u5740\u4e0ePLC\u5730\u5740\u7684\u5bf9\u5e94\u5173\u7cfb\uff0c\u5e76\u63a2\u8ba8\u5176\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u4e2d\u7684\u5e94\u7528\u3002<\/p>\n\n\n\n \u3000\u3000Modbus\u534f\u8bae\u4e2d\u7684\u5730\u5740\u7528\u4e8e\u6807\u8bc6\u8bbe\u5907\u4e0a\u7684\u4e0d\u540c\u6570\u636e\u5bc4\u5b58\u5668\u3002Modbus\u5730\u5740\u901a\u5e38\u7531\u5bc4\u5b58\u5668\u7c7b\u578b\u548c\u5bc4\u5b58\u5668\u7f16\u53f7\u7ec4\u6210\u3002\u5e38\u89c1\u7684Modbus\u5730\u5740\u7c7b\u578b\u6709\u7ebf\u5708(Coil)\u3001\u79bb\u6563\u8f93\u5165(Discrete Input)\u3001\u8f93\u5165\u5bc4\u5b58\u5668(Input Register)\u548c\u4fdd\u6301\u5bc4\u5b58\u5668(Holding Register)\u3002<\/p>\n\n\n\n \u3000\u3000PLC\u5730\u5740\u7528\u4e8e\u6807\u8bc6PLC\u5185\u90e8\u7684\u6570\u636e\u5bc4\u5b58\u5668\u3002\u4e0eModbus\u534f\u8bae\u4e0d\u540c\uff0cPLC\u5730\u5740\u901a\u5e38\u7531\u6570\u636e\u7c7b\u578b\u548c\u5730\u5740\u7f16\u53f7\u7ec4\u6210\u3002\u5e38\u89c1\u7684PLC\u5730\u5740\u7c7b\u578b\u6709\u4f4d(Bit)\u3001\u5b57\u8282(Byte)\u3001\u5b57(Word)\u548c\u53cc\u5b57(Double Word)\u3002<\/p>\n\n\n\n \u3000\u3000Modbus\u5730\u5740\u4e0ePLC\u5730\u5740\u4e4b\u95f4\u5b58\u5728\u4e00\u5b9a\u7684\u5bf9\u5e94\u5173\u7cfb\uff0c\u4f46\u4e5f\u6709\u4e00\u4e9b\u5dee\u5f02\u3002\u4f8b\u5982\uff0cModbus\u7684\u7ebf\u5708(Coil)\u5730\u5740\u5bf9\u5e94\u4e8ePLC\u7684\u4f4d(Bit)\u5730\u5740\uff0c\u800cModbus\u7684\u8f93\u5165\u5bc4\u5b58\u5668(Input Register)\u5730\u5740\u5bf9\u5e94\u4e8ePLC\u7684\u5b57(Word)\u5730\u5740\u3002<\/p>\n\n\n\n \u3000\u3000Modbus\u7684\u7ebf\u5708\u5730\u5740\u4ece0\u5f00\u59cb\uff0c\u5bf9\u5e94\u4e8ePLC\u7684\u4f4d\u5730\u5740\u4ece0\u5f00\u59cb\u3002\u4f8b\u5982\uff0cModbus\u7684\u7ebf\u5708\u5730\u57400\u5bf9\u5e94\u4e8ePLC\u7684\u4f4d\u5730\u57400.Modbus\u7684\u7ebf\u5708\u5730\u57401\u5bf9\u5e94\u4e8ePLC\u7684\u4f4d\u5730\u57401.\u4ee5\u6b64\u7c7b\u63a8\u3002<\/p>\n\n\n\n \u3000\u3000Modbus\u7684\u79bb\u6563\u8f93\u5165\u5730\u5740\u4ece0\u5f00\u59cb\uff0c\u5bf9\u5e94\u4e8ePLC\u7684\u4f4d\u5730\u5740\u4ece0\u5f00\u59cb\u3002\u540c\u6837\u5730\uff0cModbus\u7684\u79bb\u6563\u8f93\u5165\u5730\u57400\u5bf9\u5e94\u4e8ePLC\u7684\u4f4d\u5730\u57400.Modbus\u7684\u79bb\u6563\u8f93\u5165\u5730\u57401\u5bf9\u5e94\u4e8ePLC\u7684\u4f4d\u5730\u57401.\u4ee5\u6b64\u7c7b\u63a8\u3002<\/p>\n\n\n\n \u3000\u3000Modbus\u7684\u8f93\u5165\u5bc4\u5b58\u5668\u5730\u5740\u4ece0\u5f00\u59cb\uff0c\u5bf9\u5e94\u4e8ePLC\u7684\u5b57\u5730\u5740\u4ece0\u5f00\u59cb\u3002\u4f8b\u5982\uff0cModbus\u7684\u8f93\u5165\u5bc4\u5b58\u5668\u5730\u57400\u5bf9\u5e94\u4e8ePLC\u7684\u5b57\u5730\u57400.Modbus\u7684\u8f93\u5165\u5bc4\u5b58\u5668\u5730\u57401\u5bf9\u5e94\u4e8ePLC\u7684\u5b57\u5730\u57401.\u4ee5\u6b64\u7c7b\u63a8\u3002<\/p>\n\n\n\n \u3000\u3000Modbus\u7684\u4fdd\u6301\u5bc4\u5b58\u5668\u5730\u5740\u4ece0\u5f00\u59cb\uff0c\u5bf9\u5e94\u4e8ePLC\u7684\u5b57\u5730\u5740\u4ece0\u5f00\u59cb\u3002\u540c\u6837\u5730\uff0cModbus\u7684\u4fdd\u6301\u5bc4\u5b58\u5668\u5730\u57400\u5bf9\u5e94\u4e8ePLC\u7684\u5b57\u5730\u57400.Modbus\u7684\u4fdd\u6301\u5bc4\u5b58\u5668\u5730\u57401\u5bf9\u5e94\u4e8ePLC\u7684\u5b57\u5730\u57401.\u4ee5\u6b64\u7c7b\u63a8\u3002<\/p>\n\n\n\n \u3000\u3000\u901a\u8fc7\u5bf9Modbus\u5730\u5740\u4e0ePLC\u5730\u5740\u7684\u5bf9\u5e94\u5173\u7cfb\u7684\u4e86\u89e3\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6570\u636e\u5728PLC\u4e0e\u5176\u4ed6\u8bbe\u5907\u4e4b\u95f4\u7684\u8bfb\u53d6\u4e0e\u5199\u5165\u3002\u901a\u8fc7\u8bfb\u53d6Modbus\u5730\u5740\u5bf9\u5e94\u7684PLC\u5730\u5740\uff0c\u53ef\u4ee5\u83b7\u53d6PLC\u5185\u90e8\u7684\u6570\u636e\uff0c\u5b9e\u73b0\u6570\u636e\u76d1\u6d4b\u548c\u91c7\u96c6\u3002\u800c\u901a\u8fc7\u5199\u5165Modbus\u5730\u5740\u5bf9\u5e94\u7684PLC\u5730\u5740\uff0c\u53ef\u4ee5\u5411PLC\u53d1\u9001\u63a7\u5236\u6307\u4ee4\uff0c\u5b9e\u73b0\u5bf9\u8bbe\u5907\u7684\u63a7\u5236\u3002<\/p>\n\n\n\n \u3000\u3000Modbus\u534f\u8bae\u4f5c\u4e3a\u4e00\u79cd\u901a\u7528\u7684\u5de5\u4e1a\u901a\u4fe1\u534f\u8bae\uff0c\u5728\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u548c\u96c6\u6210\u4e2d\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002\u901a\u8fc7\u6b63\u786e\u914d\u7f6eModbus\u5730\u5740\u4e0ePLC\u5730\u5740\u7684\u5bf9\u5e94\u5173\u7cfb\uff0c\u53ef\u4ee5\u5b9e\u73b0\u4e0d\u540c\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\u548c\u5171\u4eab\uff0c\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u534f\u540c\u5de5\u4f5c\u3002<\/p>\n\n\n\n \u3000\u3000Modbus\u5730\u5740\u4e0ePLC\u5730\u5740\u7684\u5bf9\u5e94\u5173\u7cfb\u4e5f\u4e3a\u7cfb\u7edf\u76d1\u63a7\u548c\u8c03\u8bd5\u63d0\u4f9b\u4e86\u4fbf\u5229\u3002\u901a\u8fc7\u76d1\u6d4b\u548c\u8c03\u8bd5Modbus\u5730\u5740\u5bf9\u5e94\u7684PLC\u5730\u5740\uff0c\u53ef\u4ee5\u5b9e\u65f6\u76d1\u6d4b\u7cfb\u7edf\u7684\u8fd0\u884c\u72b6\u6001\uff0c\u68c0\u6d4b\u6545\u969c\u548c\u5f02\u5e38\uff0c\u5e76\u8fdb\u884c\u76f8\u5e94\u7684\u5904\u7406\u548c\u8c03\u6574\u3002<\/p>\n\n\n\n \u3000\u3000Modbus\u5730\u5740\u4e0ePLC\u5730\u5740\u7684\u5bf9\u5e94\u5173\u7cfb\u662f\u5b9e\u73b0\u6570\u636e\u4ea4\u6362\u548c\u8bbe\u5907\u63a7\u5236\u7684\u5173\u952e\u3002\u4e86\u89e3\u5e76\u6b63\u786e\u914d\u7f6eModbus\u5730\u5740\u4e0ePLC\u5730\u5740\u7684\u5bf9\u5e94\u5173\u7cfb\uff0c\u53ef\u4ee5\u5b9e\u73b0\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\u548c\u96c6\u6210\uff0c\u63d0\u9ad8\u5de5\u4e1a\u81ea\u52a8\u5316\u7cfb\u7edf\u7684\u6548\u7387\u548c\u53ef\u9760\u6027\u3002<\/strong>\u540c\u65f6\uff0c\u5bf9\u4e8e\u5de5\u7a0b\u5e08\u548c\u6280\u672f\u4eba\u5458\u6765\u8bf4\uff0c\u638c\u63e1Modbus\u5730\u5740\u4e0ePLC\u5730\u5740\u7684\u5bf9\u5e94\u5173\u7cfb\u4e5f\u662f\u5fc5\u5907\u7684\u6280\u80fd\u4e4b\u4e00\u3002\u5e0c\u671b\u672c\u6587\u80fd\u4e3a\u8bfb\u8005\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u4e2d\u7684\u5e94\u7528\u63d0\u4f9b\u4e00\u4e9b\u5e2e\u52a9\u548c\u6307\u5bfc\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u4e2d\uff0cModbus\u901a\u4fe1\u534f\u8bae\u88ab\u5e7f\u6cdb\u5e94\u7528\u4e8e\u8bbe\u5907\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\u3002\u800cPLC(\u53ef\u7f16\u7a0b\u903b\u8f91\u63a7\u5236\u5668)\u4f5c\u4e3a\u63a7\u5236\u8bbe\u5907\u7684\u6838\u5fc3\uff0c\u626e\u6f14\u7740\u5173\u952e\u7684\u89d2\u8272\u3002<\/p>\n","protected":false},"author":1,"featured_media":2500,"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,149],"class_list":["post-26131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-m-3","tag-plcontroller"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/26131","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=26131"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/26131\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/2500"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=26131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=26131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=26131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u3000\u3000\u4e00\u3001Modbus\u5730\u5740\u4e0ePLC\u5730\u5740\u7684\u6982\u5ff5\u53ca\u533a\u522b<\/h2>\n\n\n\n
\u3000\u30001. Modbus\u5730\u5740\uff1a<\/h3>\n\n\n\n
\u3000\u30002. PLC\u5730\u5740\uff1a<\/h3>\n\n\n\n
\u3000\u30003. \u5bf9\u5e94\u5173\u7cfb\uff1a<\/h3>\n\n\n\n
\u3000\u3000\u4e8c\u3001Modbus\u5730\u5740\u4e0ePLC\u5730\u5740\u7684\u5bf9\u5e94\u5173\u7cfb<\/h2>\n\n\n\n
\u3000\u30001. \u7ebf\u5708(Coil)\u4e0e\u4f4d(Bit)\u7684\u5bf9\u5e94\u5173\u7cfb\uff1a<\/h3>\n\n\n\n
\u3000\u30002. \u79bb\u6563\u8f93\u5165(Discrete Input)\u4e0e\u4f4d(Bit)\u7684\u5bf9\u5e94\u5173\u7cfb\uff1a<\/h3>\n\n\n\n
\u3000\u30003. \u8f93\u5165\u5bc4\u5b58\u5668(Input Register)\u4e0e\u5b57(Word)\u7684\u5bf9\u5e94\u5173\u7cfb\uff1a<\/h3>\n\n\n\n
\u3000\u30004. \u4fdd\u6301\u5bc4\u5b58\u5668(Holding Register)\u4e0e\u5b57(Word)\u7684\u5bf9\u5e94\u5173\u7cfb\uff1a<\/h3>\n\n\n\n
\u3000\u3000\u4e09\u3001Modbus\u5730\u5740\u4e0ePLC\u5730\u5740\u7684\u5e94\u7528<\/h2>\n\n\n\n
\u3000\u30001. \u6570\u636e\u8bfb\u53d6\u4e0e\u5199\u5165\uff1a<\/h3>\n\n\n\n
\u3000\u30002. \u8bbe\u5907\u901a\u4fe1\u4e0e\u96c6\u6210\uff1a<\/h3>\n\n\n\n
\u3000\u30003. \u7cfb\u7edf\u76d1\u63a7\u4e0e\u8c03\u8bd5\uff1a<\/h3>\n\n\n\n
\u3000\u3000\u7ed3\u8bba\uff1a<\/h2>\n\n\n\n