{"id":91641,"date":"2024-04-19T16:19:04","date_gmt":"2024-04-19T08:19:04","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=91641"},"modified":"2024-04-19T16:19:09","modified_gmt":"2024-04-19T08:19:09","slug":"ossmys-3","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/91641.html","title":{"rendered":"opc\u662f\u4ec0\u4e48\u610f\u601d\uff1f"},"content":{"rendered":"\n
\u3000\u3000\u901a\u4fe1OPC(Open Platform Communications)<\/strong>\u662f\u4e00\u79cd\u7528\u4e8e\u5de5\u4e1a\u81ea\u52a8\u5316\u7684\u901a\u4fe1\u6807\u51c6<\/strong>\uff0c\u5b83\u5141\u8bb8\u8bbe\u5907\u5236\u9020\u5546(\u7279\u522b\u662fPLC)\u9075\u4ece\u8fd9\u4e00\u6807\u51c6\uff0c\u4ece\u800c\u4f7f\u5f97\u5b9e\u65f6\u6570\u636e\u53ef\u4ee5\u63d0\u4f9b\u7ed9OPC Server\u3002OPC\u5168\u79f0\u4e3aOLE for Process Control\uff0c\u5373\u7528\u4e8e\u8fc7\u7a0b\u63a7\u5236\u7684OLE\uff0c\u662f\u57fa\u4e8e\u5fae\u8f6f\u7684OLE (\u73b0\u5728\u7684Active X)\u3001COM (\u90e8\u4ef6\u5bf9\u8c61\u6a21\u578b)\u548cDCOM (\u5206\u5e03\u5f0f\u90e8\u4ef6\u5bf9\u8c61\u6a21\u578b)\u6280\u672f\u7684\u4e00\u79cd\u5de5\u4e1a\u901a\u8baf\u534f\u8bae\u7684\u6807\u51c6\u3002\u6b64\u5916\uff0cOPC\u57fa\u91d1\u4f1a\u8d1f\u8d23\u8be5\u6807\u51c6\u7684\u5f00\u53d1\u548c\u7ef4\u62a4\u3002\u56e0\u6b64\uff0c\u901a\u4fe1OPC\u662f\u4e00\u79cd\u65e8\u5728\u5b9e\u73b0\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u4e2d\u4e0d\u540c\u5236\u9020\u5546\u8bbe\u5907\u548c\u7cfb\u7edf\u4e4b\u95f4\u6570\u636e\u4ea4\u6362\u7684\u4e92\u64cd\u4f5c\u6027\u6807\u51c6\u3002<\/p>\n\n\n\n \u3000\u3000\u901a\u4fe1OPC(\u5f00\u653e\u5e73\u53f0\u901a\u4fe1)\u7684\u5386\u53f2\u53d1\u5c55\u548c\u6f14\u53d8\u53ef\u4ee5\u6982\u62ec\u4e3a\u4ee5\u4e0b\u51e0\u4e2a\u9636\u6bb5\uff1a<\/p>\n\n\n\n \u3000\u3000OPC\u7684\u5386\u53f2\u53d1\u5c55\u7ecf\u5386\u4e86\u4ece\u89e3\u51b3\u7279\u5b9a\u901a\u4fe1\u95ee\u9898\u5230\u652f\u6301\u8de8\u5e73\u53f0\u901a\u4fe1\u7684\u8f6c\u53d8\uff0c\u4e0d\u65ad\u6f14\u8fdb\u4ee5\u9002\u5e94\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u7684\u9700\u6c42\u3002\u4ece\u6700\u521d\u7684\u7b80\u5355OPC\u89c4\u8303\u5230\u540e\u6765\u7684OPC UA\uff0c\u518d\u5230\u652f\u6301Web\u670d\u52a1\u7684OPC XML-DA\u89c4\u8303\uff0cOPC\u6280\u672f\u7684\u53d1\u5c55\u4f53\u73b0\u4e86\u5bf9\u6548\u7387\u3001\u5b89\u5168\u6027\u548c\u517c\u5bb9\u6027\u7684\u6301\u7eed\u8ffd\u6c42\u3002<\/p>\n\n\n\n \u3000\u3000OPC\u6807\u51c6\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u4e2d\u7684\u5e94\u7528\u6848\u4f8b\u5305\u62ec\u4f46\u4e0d\u9650\u4e8e\u4ee5\u4e0b\u51e0\u4e2a\u65b9\u9762\uff1a<\/p>\n\n\n\n \u3000\u3000\u8fd9\u4e9b\u6848\u4f8b\u5c55\u793a\u4e86OPC\u6807\u51c6\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u7684\u5e7f\u6cdb\u5e94\u7528\uff0c\u4ece\u63d0\u9ad8\u751f\u4ea7\u6548\u7387\u3001\u4fdd\u969c\u751f\u4ea7\u5b89\u5168\u5230\u4fc3\u8fdb\u4e0d\u540c\u7cfb\u7edf\u95f4\u7684\u4e92\u8054\u4e92\u901a\uff0cOPC\u6280\u672f\u90fd\u5728\u53d1\u6325\u7740\u91cd\u8981\u4f5c\u7528\u3002<\/p>\n\n\n\n \u3000\u3000\u5b9e\u73b0OPC\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\uff0c\u9996\u5148\u9700\u8981\u4e86\u89e3OPC(\u5bf9\u8c61\u94fe\u63a5\u548c\u5d4c\u5165)\u901a\u4fe1\u534f\u8bae\u7684\u57fa\u672c\u539f\u7406\u548c\u7279\u70b9\u3002OPC\u662f\u4e00\u79cd\u6807\u51c6\u5316\u7684\u6570\u636e\u4ea4\u6362\u673a\u5236\uff0c\u5b83\u5141\u8bb8\u4e0d\u540c\u5382\u5546\u7684\u8bbe\u5907\u548c\u7cfb\u7edf\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u3002\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\uff0cOPC UA(\u7edf\u4e00\u67b6\u6784)\u5df2\u7ecf\u6210\u4e3a\u4e86\u4e00\u79cd\u5e7f\u6cdb\u91c7\u7528\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u63d0\u4f9b\u4e86\u4e00\u79cd\u6807\u51c6\u5316\u3001\u8de8\u5e73\u53f0\u7684\u901a\u4fe1\u65b9\u5f0f\u3002<\/p>\n\n\n\n \u3000\u3000\u5177\u4f53\u5230\u5b9e\u73b0\u6b65\u9aa4\uff0c\u53ef\u4ee5\u53c2\u8003\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n\n\n\n \u3000\u3000\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u8fd8\u53ef\u4ee5\u6839\u636e\u9700\u8981\u9009\u62e9\u5408\u9002\u7684OPC\u5ba2\u6237\u7aef\u5e93\u8fdb\u884c\u7f16\u7a0b\u5b9e\u73b0\u3002\u5e02\u9762\u4e0a\u5b58\u5728\u591a\u79cdOPC\u5ba2\u6237\u7aef\u5e93\uff0c\u5982OPC Foundation\u63d0\u4f9b\u7684\u5b98\u65b9\u5e93\u3001\u7b2c\u4e09\u65b9\u5e93\u7b49\u3002\u6b64\u5916\uff0c\u5bf9\u4e8e\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\u7684CPU\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u7c7b\u4f3c\u7684\u6b65\u9aa4\u4f7f\u7528OPC UA\u5ba2\u6237\u7aef\u4e0eOPC UA\u670d\u52a1\u5668\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u3002<\/p>\n\n\n\n \u3000\u3000\u603b\u4e4b\uff0c\u5b9e\u73b0OPC\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362\uff0c\u9700\u8981\u660e\u786e\u901a\u4fe1\u534f\u8bae\u7684\u9009\u62e9(\u5982OPC UA)\uff0c\u6b63\u786e\u914d\u7f6e\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7684\u8fde\u63a5\u53c2\u6570\uff0c\u4ee5\u53ca\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u5ba2\u6237\u7aef\u5e93\u8fdb\u884c\u7f16\u7a0b\u5b9e\u73b0\u3002<\/p>\n\n\n\n \u3000\u3000OPC\u57fa\u91d1\u4f1a\u901a\u8fc7\u591a\u79cd\u65b9\u5f0f\u7ef4\u62a4\u548c\u66f4\u65b0OPC\u6807\u51c6\u3002\u9996\u5148\uff0cOPC\u57fa\u91d1\u4f1a\u8d1f\u8d23OPC\u6807\u51c6\u7684\u5f00\u53d1\u548c\u7ef4\u62a4\uff0c\u8fd9\u4e9b\u6807\u51c6\u5305\u62ec\u4f46\u4e0d\u9650\u4e8eOPC DA\u89c4\u8303\u548cOPC UA\u901a\u4fe1\u6807\u51c6\uff0c\u5b83\u4eec\u786e\u4fdd\u4e86\u6765\u81ea\u591a\u4e2a\u5382\u5546\u7684\u8bbe\u5907\u4e4b\u95f4\u4fe1\u606f\u7684\u65e0\u7f1d\u4f20\u8f93\u3002OPC\u57fa\u91d1\u4f1a\u901a\u8fc7\u6210\u7acb\u5de5\u4f5c\u7ec4\u6765\u5177\u4f53\u5b9e\u65bd\u8fd9\u4e9b\u4efb\u52a1\uff0c\u4f8b\u5982\u5408\u89c4\u5de5\u4f5c\u7ec4(CWG)\u8d1f\u8d23\u5206\u6790OPC\u89c4\u8303\u4ee5\u786e\u5b9a\u5982\u4f55\u6d4b\u8bd5\u4ea7\u54c1\u7684\u5408\u89c4\u6027\uff0c\u5e76\u6301\u7eed\u66f4\u65b0\u548c\u589e\u5f3a\u5408\u89c4\u6027\u6d4b\u8bd5\u5de5\u5177\u3002\u6b64\u5916\uff0cOPC\u57fa\u91d1\u4f1a\u8fd8\u63a8\u51fa\u4e86\u65b0\u7684\u5de5\u4f5c\u7ec4\uff0c\u5982\u4e3aOPC UA Field eXchange\u5f00\u53d1I\/O\u8bbe\u5907\u914d\u7f6e\u6587\u4ef6\u7684\u5de5\u4f5c\u7ec4\uff0c\u8fd9\u8868\u660eOPC\u57fa\u91d1\u4f1a\u4e0d\u65ad\u5f15\u5165\u65b0\u7684\u5de5\u4f5c\u5c0f\u7ec4\u6765\u6ee1\u8db3\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u7684\u9700\u6c42\u3002<\/p>\n\n\n\n \u3000\u3000OPC\u57fa\u91d1\u4f1a\u7684\u8fd9\u4e00\u7cfb\u5217\u884c\u52a8\u4f53\u73b0\u4e86\u5176\u5bf9OPC\u6807\u51c6\u7ef4\u62a4\u548c\u66f4\u65b0\u7684\u627f\u8bfa\uff0c\u65e8\u5728\u786e\u4fddOPC\u6807\u51c6\u80fd\u591f\u53cd\u6620\u6700\u65b0\u7684\u79d1\u6280\u8fdb\u5c55\u548c\u5ba2\u6237\u8981\u6c42\uff0c\u4ece\u800c\u6307\u5bfcOPC\u5ba2\u6237\u7aef\u548c\u670d\u52a1\u5668\u7684\u5f00\u53d1\u505a\u51fa\u53ca\u65f6\u8c03\u6574\u3002\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0cOPC\u57fa\u91d1\u4f1a\u786e\u4fdd\u4e86OPC\u6807\u51c6\u5728\u81ea\u52a8\u5316\u884c\u4e1a\u53ca\u5176\u4ed6\u884c\u4e1a\u4e2d\u7684\u4e92\u64cd\u4f5c\u6027\u548c\u6570\u636e\u5b89\u5168\u4ea4\u6362\u7684\u80fd\u529b\u3002<\/p>\n\n\n\n \u3000\u3000\u5728\u5f53\u524d\u7684\u6280\u672f\u73af\u5883\u4e2d\uff0cOPC\u4e0e\u5176\u4ed6\u901a\u4fe1\u534f\u8bae(\u5982OPC UA)\u76f8\u6bd4\u5177\u6709\u4ee5\u4e0b\u4f18\u52bf\u548c\u52a3\u52bf\uff1a<\/p>\n\n\n\n \u3000\u3000OPC UA\u76f8\u6bd4\u4e8e\u4f20\u7edf\u7684OPC\u534f\u8bae\uff0c\u5728\u5b89\u5168\u6027\u3001\u53ef\u6269\u5c55\u6027\u3001\u8de8\u5e73\u53f0\u80fd\u529b\u548c\u591a\u529f\u80fd\u6027\u65b9\u9762\u5177\u6709\u660e\u663e\u7684\u4f18\u52bf\uff0c\u7279\u522b\u662f\u5728\u652f\u6301\u590d\u6742\u7684\u6570\u636e\u7c7b\u578b\u548c\u573a\u666f\u5904\u7406\u3001\u5b9e\u73b0\u9ad8\u6548\u901a\u4fe1\u548c\u6807\u51c6\u5316\u6570\u636e\u5efa\u6a21\u65b9\u9762\u8868\u73b0\u51fa\u8272\u3002\u7136\u800c\uff0c\u8fd9\u4e9b\u4f18\u52bf\u4e5f\u53ef\u80fd\u4f34\u968f\u7740\u66f4\u9ad8\u7684\u7cfb\u7edf\u590d\u6742\u6027\u548c\u5bf9\u8d44\u6e90\u7684\u9700\u6c42\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u901a\u4fe1OPC(Open Platform Communications)\u662f\u4e00\u79cd\u7528\u4e8e\u5de5\u4e1a\u81ea\u52a8\u5316\u7684\u901a\u4fe1\u6807\u51c6\uff0c\u5b83\u5141\u8bb8\u8bbe\u5907\u5236\u9020\u5546(\u7279\u522b\u662fPLC)\u9075\u4ece\u8fd9\u4e00\u6807\u51c6\uff0c\u4ece\u800c\u4f7f\u5f97\u5b9e\u65f6\u6570\u636e\u53ef\u4ee5\u63d0\u4f9b\u7ed9OPC Server<\/p>\n","protected":false},"author":1,"featured_media":91081,"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":[137],"class_list":["post-91641","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-txxy"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/91641","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=91641"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/91641\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/91081"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=91641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=91641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=91641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\u3000\u3000\u4e00\u3001 \u901a\u4fe1OPC\u7684\u5386\u53f2\u53d1\u5c55\u548c\u6f14\u53d8\u662f\u4ec0\u4e48?<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e8c\u3001 OPC\u6807\u51c6\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u4e2d\u7684\u5e94\u7528\u6848\u4f8b\u6709\u54ea\u4e9b?<\/h2>\n\n\n\n
\n
\u3000\u3000\u4e09\u3001 \u5982\u4f55\u5b9e\u73b0OPC\u670d\u52a1\u5668\u4e0e\u5ba2\u6237\u7aef\u4e4b\u95f4\u7684\u6570\u636e\u4ea4\u6362?<\/h2>\n\n\n\n
\n
\u3000\u3000\u56db\u3001 OPC\u57fa\u91d1\u4f1a\u662f\u5982\u4f55\u7ef4\u62a4\u548c\u66f4\u65b0OPC\u6807\u51c6\u7684?<\/h2>\n\n\n\n
\u3000\u3000\u4e94\u3001 \u5728\u5f53\u524d\u7684\u6280\u672f\u73af\u5883\u4e2d\uff0cOPC\u4e0e\u5176\u4ed6\u901a\u4fe1\u534f\u8bae(\u5982 OPC UA)\u76f8\u6bd4\u6709\u4f55\u4f18\u52bf\u548c\u52a3\u52bf?<\/h2>\n\n\n\n
\u3000\u3000\u4f18\u52bf\uff1a<\/h3>\n\n\n\n
\n
\u3000\u3000\u52a3\u52bf\uff1a<\/h3>\n\n\n\n
\n