{"id":83506,"date":"2026-07-26T00:33:16","date_gmt":"2026-07-25T16:33:16","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/83506.html"},"modified":"2026-07-26T00:33:16","modified_gmt":"2026-07-25T16:33:16","slug":"matrikonopc-simulation%e5%b7%a5%e4%b8%9a%e7%ba%a7opc%e6%9c%8d%e5%8a%a1%e5%99%a8%e6%a8%a1%e6%8b%9f%e5%b7%a5%e5%85%b7%e5%ae%9e%e6%88%98%e5%ba%94%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/83506.html","title":{"rendered":"MatrikonOPC Simulation\u5de5\u4e1a\u7ea7OPC\u670d\u52a1\u5668\u6a21\u62df\u5de5\u5177\u5b9e\u6218\u5e94\u7528"},"content":{"rendered":"<p>  \u672c\u6587\u8fd8\u6709\u914d\u5957\u7684\u7cbe\u54c1\u8d44\u6e90&#xff0c;\u70b9\u51fb\u83b7\u53d6  <img decoding=\"async\" alt=\"menu-r.4af5f7ec.gif\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725163315-6a64e54b97734.gif\" style=\"width:16px;margin-left:4px;vertical-align:text-bottom;cursor:text\" \/> <\/p>\n<p> \u7b80\u4ecb&#xff1a;MatrikonOPC Simulation\u662f\u4e00\u6b3e\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u7684OPC DA\u670d\u52a1\u5668\u6a21\u62df\u5668&#xff0c;\u53ef\u5728\u65e0\u5b9e\u9645\u786c\u4ef6\u73af\u5883\u4e0b\u5b9e\u73b0OPC\u5ba2\u6237\u7aef\u7684\u5f00\u53d1\u4e0e\u6d4b\u8bd5\u3002\u8be5\u5de5\u5177\u57fa\u4e8e\u6807\u51c6OPC DA&#xff08;Data Access&#xff09;\u534f\u8bae&#xff0c;\u652f\u6301\u5b9e\u65f6\u6570\u636e\u8bbf\u95ee\u3001\u591a\u8bbe\u5907\u6a21\u62df\u3001\u6545\u969c\u6ce8\u5165\u53ca\u591a\u5ba2\u6237\u7aef\u5e76\u53d1\u8fde\u63a5&#xff0c;\u9002\u7528\u4e8eSCADA\u3001HMI\u3001PLC\u7b49\u7cfb\u7edf\u7684\u96c6\u6210\u4e0e\u8c03\u8bd5\u3002\u901a\u8fc7\u7075\u6d3b\u7684\u6570\u636e\u5efa\u6a21\u4e0e\u65e5\u5fd7\u8c03\u8bd5\u529f\u80fd&#xff0c;\u5f00\u53d1\u8005\u53ef\u9ad8\u6548\u9a8c\u8bc1\u901a\u4fe1\u7a33\u5b9a\u6027\u4e0e\u5bb9\u9519\u80fd\u529b&#xff0c;\u5e7f\u6cdb\u5e94\u7528\u4e8e\u8bbe\u5907\u96c6\u6210\u3001\u6570\u636e\u53ef\u89c6\u5316\u3001\u8fdc\u7a0b\u76d1\u63a7\u4e0e\u5de5\u4e1a\u6570\u636e\u5206\u6790\u573a\u666f\u3002\u672c\u8d44\u6e90\u4e3a\u7ecf\u8fc7\u9a8c\u8bc1\u7684\u5b8c\u6574\u6a21\u62df\u73af\u5883&#xff0c;\u52a9\u529b\u81ea\u52a8\u5316\u5de5\u7a0b\u5e08\u5feb\u901f\u638c\u63e1OPC\u901a\u4fe1\u6838\u5fc3\u6280\u672f\u3002 <\/p>\n<h2> OPC\u670d\u52a1\u5668\u6280\u672f\u5b9e\u6218&#xff1a;\u4eceDA\u534f\u8bae\u5230\u591a\u8bbe\u5907\u4eff\u771f\u4e0e\u6570\u636e\u5efa\u6a21 <\/h2>\n<p> \u5728\u667a\u80fd\u5236\u9020\u4ea7\u7ebf\u7684\u8c03\u8bd5\u73b0\u573a&#xff0c;\u5de5\u7a0b\u5e08\u5c0f\u674e\u6b63\u9762\u5bf9\u4e00\u4e2a\u68d8\u624b\u95ee\u9898\u2014\u2014PLC\u5c1a\u672a\u5230\u4f4d&#xff0c;\u4f46SCADA\u7cfb\u7edf\u96c6\u6210\u8feb\u5728\u7709\u776b\u3002\u4ed6\u8f7b\u70b9\u9f20\u6807&#xff0c;\u542f\u52a8MatrikonOPC Simulation&#xff0c;\u51e0\u79d2\u540eWinCC\u753b\u9762\u4e0a\u8df3\u52a8\u7684\u6570\u636e\u6d41\u4eff\u4f5b\u771f\u5b9e\u8bbe\u5907\u6b63\u5728\u8fd0\u884c\u3002\u201c\u8fd9\u6a21\u62df\u5668\u6551\u4e86\u5927\u547d\u554a&#xff01;\u201d\u4ed6\u7b11\u7740\u5bf9\u540c\u4e8b\u8bf4\u3002\u8fd9\u4e2a\u573a\u666f&#xff0c;\u6b63\u662f\u73b0\u4ee3\u5de5\u4e1a\u81ea\u52a8\u5316\u5f00\u53d1\u4e2d  \u865a\u62df\u5316\u6d4b\u8bd5  \u7684\u7f29\u5f71\u3002 <\/p>\n<p> \u800c\u8fd9\u4e00\u5207\u7684\u80cc\u540e&#xff0c;\u662fOPC&#xff08;OLE for Process Control&#xff09;\u6280\u672f\u6570\u5341\u5e74\u6f14\u8fdb\u7684\u7ed3\u6676\u3002\u5b83\u50cf\u4e00\u5ea7\u9690\u5f62\u6865\u6881&#xff0c;\u8fde\u63a5\u7740\u4e94\u82b1\u516b\u95e8\u7684\u63a7\u5236\u5668\u3001HMI\u3001MES\u7cfb\u7edf&#xff0c;\u8ba9\u6570\u636e\u81ea\u7531\u6d41\u52a8\u3002\u4eca\u5929&#xff0c;\u6211\u4eec\u5c31\u6765\u6df1\u5165\u8fd9\u5ea7\u6865\u7684\u7ed3\u6784&#xff0c;\u4e0d\u4ec5\u8bb2\u6e05\u5b83\u7684\u539f\u7406&#xff0c;\u66f4\u8981\u624b\u628a\u624b\u5e26\u4f60\u642d\u5efa\u4e00\u4e2a\u9ad8\u5ea6\u903c\u771f\u7684\u5de5\u4e1a\u4eff\u771f\u73af\u5883\u3002 <\/p>\n<hr \/>\n<p> \u60f3\u8c61\u4e00\u4e0b&#xff1a;\u4e00\u6761\u667a\u80fd\u4ea7\u7ebf\u5305\u542b\u897f\u95e8\u5b50S7-1500\u3001\u7f57\u514b\u97e6\u5c14ControlLogix\u3001\u65bd\u8010\u5fb7Modicon\u4e09\u79cdPLC&#xff0c;\u8fd8\u6709\u51e0\u5341\u4e2a\u4f20\u611f\u5668\u548c\u6267\u884c\u5668\u3002\u4f20\u7edf\u65b9\u5f0f\u4e0b&#xff0c;\u8981\u9a8c\u8bc1SCADA\u80fd\u5426\u6b63\u786e\u8bfb\u53d6\u6240\u6709\u4fe1\u53f7&#xff0c;\u5fc5\u987b\u7b49\u786c\u4ef6\u5168\u90e8\u5230\u9f50\u3001\u63a5\u7ebf\u5b8c\u6bd5\u3001\u7a0b\u5e8f\u70e7\u5f55\u2026\u2026\u5468\u671f\u52a8\u8f84\u6570\u5468\u3002 <\/p>\n<p> \u4f46\u73b0\u5728\u5462&#xff1f;\u4e00\u53f0\u666e\u901aPC &#043; MatrikonOPC Simulation &#043; \u51e0\u6bb5\u811a\u672c&#xff0c;\u5c31\u80fd\u572830\u5206\u949f\u5185\u6784\u5efa\u51fa\u6574\u4e2a\u865a\u62df\u5de5\u5382&#xff01;\u8fd9\u5c31\u662fOPC DA\u7684\u9b45\u529b\u6240\u5728\u2014\u2014  \u89e3\u8026\u786c\u4ef6\u4e0e\u8f6f\u4ef6&#xff0c;\u5b9e\u73b0\u201c\u6570\u636e\u5148\u884c\u201d  \u3002 <\/p>\n<p> \u65e9\u572890\u5e74\u4ee3\u521d&#xff0c;\u5de5\u4e1a\u754c\u8fd8\u5728\u4e3a\u4e0d\u540c\u54c1\u724c\u8bbe\u5907\u201c\u9e21\u540c\u9e2d\u8bb2\u201d\u5934\u75bc\u65f6&#xff0c;\u4e00\u7fa4\u5de5\u7a0b\u5e08\u63d0\u51fa\u4e86\u5927\u80c6\u8bbe\u60f3&#xff1a;\u80fd\u4e0d\u80fd\u7528\u5fae\u8f6f\u521a\u63a8\u51fa\u7684COM\/DCOM\u6280\u672f&#xff0c;\u7ed9\u8fc7\u7a0b\u63a7\u5236\u9886\u57df\u5b9a\u4e00\u5957\u901a\u7528\u5bf9\u8bdd\u89c4\u5219&#xff1f;\u4e8e\u662fOPC\u5e94\u8fd0\u800c\u751f\u3002\u867d\u7136\u5982\u4eca\u66f4\u5b89\u5168\u8de8\u5e73\u53f0\u7684OPC UA\u5df2\u662f\u4e3b\u6d41\u65b9\u5411&#xff0c;\u4f46\u5168\u7403\u4ecd\u6709\u6570\u5341\u4e07\u5957\u7cfb\u7edf\u4f9d\u8d56OPC DA\u8fd0\u884c\u3002\u7406\u89e3\u5b83&#xff0c;\u4e0d\u4ec5\u662f\u7ef4\u62a4\u8001\u7cfb\u7edf\u7684\u9700\u8981&#xff0c;\u66f4\u662f\u638c\u63e1\u5de5\u4e1a\u901a\u4fe1\u5e95\u5c42\u903b\u8f91\u7684\u5fc5\u4fee\u8bfe\u3002 <\/p>\n<p> \u90a3\u4e48\u95ee\u9898\u6765\u4e86&#xff1a;\u8fd9\u5957\u57fa\u4e8e\u8001\u65e7COM\u6280\u672f\u7684\u6807\u51c6&#xff0c;\u7a76\u7adf\u662f\u5982\u4f55\u505a\u5230\u8ba9WinCC\u3001iFix\u3001LabVIEW\u8fd9\u4e9b\u4e0a\u4f4d\u673a\u201c\u901a\u5403\u201d\u5404\u79cdPLC\u6570\u636e\u7684&#xff1f; <\/p>\n<p> \u5173\u952e\u5c31\u5728\u4e8e\u90a3\u4e2a\u770b\u4f3c\u7b80\u5355\u7684\u4e09\u5c42\u6a21\u578b&#xff1a;  Server \u2192 Group \u2192 Item  \u3002 <\/p>\n<p>graph TD<br \/>\n    A[OPC Client Application] &#8211;&gt;|Connect| B(OPC Server)<br \/>\n    B &#8211;&gt; C{Data Source}<br \/>\n    C &#8211;&gt; D[Siemens S7 PLC]<br \/>\n    C &#8211;&gt; E[Allen-Bradley PLC]<br \/>\n    C &#8211;&gt; F[Modbus RTU Device]<br \/>\n    B &#8212; Read\/Write &#8211;&gt; A<br \/>\n    style A fill:#cce5ff,stroke:#004085<br \/>\n    style B fill:#d1ecf1,stroke:#08537a<br \/>\n    style C fill:#fff3cd,stroke:#856404<\/p>\n<p> \u770b\u61c2\u8fd9\u5f20\u56fe\u4f60\u5c31\u8d62\u4e86\u4e00\u534a&#xff01;\u5ba2\u6237\u7aef\u4e0d\u76f4\u63a5\u8ddfPLC\u6253\u4ea4\u9053&#xff0c;\u800c\u662f\u901a\u8fc7OPC\u670d\u52a1\u5668\u8fd9\u4e2a\u201c\u7ffb\u8bd1\u5b98\u201d\u3002\u65e0\u8bba\u5e95\u5c42\u662fProfinet\u8fd8\u662fEtherNet\/IP&#xff0c;\u5230\u4e86\u4e0a\u5c42\u90fd\u53d8\u6210\u7edf\u4e00\u7684\u63a5\u53e3\u8c03\u7528\u3002\u8fd9\u79cd\u8bbe\u8ba1\u601d\u60f3\u81f3\u4eca\u4ecd\u5728\u5f71\u54cd\u5de5\u4e1a\u8f6f\u4ef6\u67b6\u6784\u3002 <\/p>\n<p> \u4e0d\u8fc7\u522b\u6025\u7740\u52a8\u624b&#xff0c;\u5148\u5f97\u641e\u660e\u767d\u8fd9\u4e09\u4e2a\u6838\u5fc3\u7ec4\u4ef6\u7684\u5173\u7cfb&#xff1a; <\/p>\n<table>\n<tr> \u5c42\u7ea7  \u529f\u80fd\u63cf\u8ff0  \u5178\u578b\u64cd\u4f5c <\/tr>\n<tbody>\n<tr>\n<td> Server <\/td>\n<td> \u8868\u793a\u4e00\u4e2a OPC \u6570\u636e\u6e90\u5b9e\u4f8b&#xff0c;\u4ee3\u8868\u67d0\u4e2a\u8bbe\u5907\u6216\u7cfb\u7edf\u7684\u6574\u4f53\u6570\u636e\u96c6\u5408 <\/td>\n<td> \u8fde\u63a5\/\u65ad\u5f00\u3001\u679a\u4e3e\u547d\u540d\u7a7a\u95f4\u3001\u67e5\u8be2\u72b6\u6001 <\/td>\n<\/tr>\n<tr>\n<td> Group <\/td>\n<td> \u5728\u670d\u52a1\u5668\u5185\u521b\u5efa\u7684\u903b\u8f91\u5206\u7ec4&#xff0c;\u7528\u4e8e\u7ec4\u7ec7\u76f8\u5173 Items \u5e76\u7edf\u4e00\u8bbe\u7f6e\u5237\u65b0\u7387\u7b49\u53c2\u6570 <\/td>\n<td> \u6dfb\u52a0\/\u5220\u9664 Item\u3001\u8bbe\u7f6e\u66f4\u65b0\u901f\u7387\u3001\u542f\u7528\u5f02\u6b65\u56de\u8c03 <\/td>\n<\/tr>\n<tr>\n<td> Item <\/td>\n<td> \u6700\u5c0f\u6570\u636e\u5355\u5143&#xff0c;\u5bf9\u5e94\u5177\u4f53\u53d8\u91cf&#xff08;\u5982  Motor1.Speed  &#xff09; <\/td>\n<td> \u8bfb\u53d6\u5f53\u524d\u503c\u3001\u5199\u5165\u65b0\u503c\u3001\u76d1\u63a7\u54c1\u8d28\u7801 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> \u6709\u70b9\u62bd\u8c61&#xff1f;\u6253\u4e2a\u6bd4\u65b9&#xff1a;Server\u5c31\u50cf\u4e00\u5bb6\u516c\u53f8&#xff0c;Group\u662f\u90e8\u95e8&#xff08;\u6bd4\u5982\u751f\u4ea7\u90e8\u3001\u8d28\u68c0\u90e8&#xff09;&#xff0c;Item\u5219\u662f\u5458\u5de5&#xff08;\u5f20\u4e09\u3001\u674e\u56db&#xff09;\u3002\u4f60\u60f3\u627e\u4eba\u529e\u4e8b&#xff0c;\u5f97\u5148\u627e\u5230\u516c\u53f8\u5927\u95e8&#xff08;\u8fde\u63a5Server&#xff09;&#xff0c;\u518d\u8fdb\u5230\u5bf9\u5e94\u90e8\u95e8&#xff08;\u521b\u5efaGroup&#xff09;&#xff0c;\u6700\u540e\u624d\u80fd\u627e\u5230\u5177\u4f53\u8d1f\u8d23\u4eba&#xff08;\u6dfb\u52a0Item&#xff09;\u3002 <\/p>\n<p> \u4e0b\u9762\u8fd9\u6bb5C&#043;&#043;\u4ee3\u7801\u5c55\u793a\u4e86\u5982\u4f55\u7528OPC Automation\u63a5\u53e3\u521b\u5efa\u4e00\u4e2a\u6bcf500ms\u5237\u65b0\u4e00\u6b21\u7684\u5b9e\u65f6\u6570\u636e\u7ec4&#xff1a; <\/p>\n<p>#include &lt;opcda.h&gt;<\/p>\n<p>\/\/ \u5047\u8bbe\u5df2\u83b7\u5f97 pServer \u6307\u9488&#xff08;\u6307\u5411 IOPCServer \u63a5\u53e3&#xff09;<br \/>\nIOPCGroups* pGroups &#061; nullptr;<br \/>\nIOPCGroupStateMgt* pGroupState &#061; nullptr;<br \/>\nOPCHANDLE hServerGroup;<\/p>\n<p>HRESULT hr &#061; pServer-&gt;GetOPCGroups(&amp;pGroups);<br \/>\nif (SUCCEEDED(hr)) {<br \/>\n    \/\/ \u521b\u5efa\u65b0\u7ec4 &#034;RealTimeData&#034;<br \/>\n    hr &#061; pGroups-&gt;Add(L&#034;RealTimeData&#034;, &amp;hServerGroup);<br \/>\n    if (SUCCEEDED(hr)) {<br \/>\n        IUnknown* pUnk &#061; nullptr;<br \/>\n        hr &#061; pGroups-&gt;GetState(&amp;pGroupState, nullptr, nullptr, nullptr, nullptr, nullptr, &amp;pUnk);<\/p>\n<p>        \/\/ \u8bbe\u7f6e\u66f4\u65b0\u901f\u7387\u4e3a 500ms<br \/>\n        pGroupState-&gt;SetUpdateRate(500, nullptr, nullptr, nullptr);<\/p>\n<p>        \/\/ \u83b7\u53d6 IOPCItemMgt \u63a5\u53e3\u7528\u4e8e\u6dfb\u52a0\u6807\u7b7e<br \/>\n        IOPCItemMgt* pItemMgt &#061; nullptr;<br \/>\n        hr &#061; pUnk-&gt;QueryInterface(IID_IOPCItemMgt, (void**)&amp;pItemMgt);<br \/>\n        if (SUCCEEDED(hr)) {<br \/>\n            OPCHANDLE hClientItem &#061; 1;<br \/>\n            DWORD dwAccessPath &#061; 0;<br \/>\n            hr &#061; pItemMgt-&gt;AddItems(1, L&#034;PLC1.MotorSpeed&#034;, &amp;hClientItem, nullptr, &amp;dwAccessPath, nullptr, nullptr);<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n<p> \u54b1\u4eec\u9010\u884c\u62c6\u89e3\u4e0b&#xff1a;  &#8211; \u7b2c1\u884c\u5f15\u5165\u5934\u6587\u4ef6&#xff0c;\u8fd9\u662fOPC\u4e16\u754c\u7684\u201c\u5b57\u5178\u201d  &#8211; \u7b2c5\u884c\u83b7\u53d6\u7ba1\u7406\u7ec4\u7684\u5165\u53e3\u2014\u2014\u6ca1\u6709\u8fd9\u4e2a\u4f60\u8fde\u5efa\u7fa4\u8d44\u683c\u90fd\u6ca1\u6709 &#x1f605;  &#8211; \u7b2c8\u884c\u771f\u6b63\u5efa\u4e86\u4e2a\u53eb\u201cRealTimeData\u201d\u7684\u7ec4&#xff0c;\u76f8\u5f53\u4e8e\u521b\u5efa\u4e86\u4e00\u4e2a\u5fae\u4fe1\u7fa4\u804a  &#8211; \u7b2c12\u884c\u8bbe\u7f6e\u4e86500ms\u5237\u65b0&#xff0c;\u4e5f\u5c31\u662f\u7fa4\u91cc\u6d88\u606f\u6bcf\u534a\u79d2\u540c\u6b65\u4e00\u6b21  &#8211; \u6700\u540e\u51e0\u884c\u628a  PLC1.MotorSpeed  \u8fd9\u4e2a\u6210\u5458\u62c9\u8fdb\u6765&#xff0c;\u4ece\u6b64\u5b83\u53ef\u4ee5\u6536\u53d1\u4fe1\u606f\u4e86 <\/p>\n<p> \u8fd9\u91cc\u6709\u4e2a\u9690\u85cf\u77e5\u8bc6\u70b9&#xff1a;\u4e3a\u5565\u8981\u7528Group&#xff1f;\u76f4\u63a5\u4e00\u4e2a\u4e2a\u8bfb\u4e0d\u884c\u5417&#xff1f;\u7b54\u6848\u662f\u6027\u80fd&#xff01;\u8bd5\u60f3\u4f60\u8981\u76d1\u63a71000\u4e2a\u70b9&#xff0c;\u5982\u679c\u6bcf\u4e2a\u90fd\u5355\u72ec\u8f6e\u8be2&#xff0c;CPU\u77ac\u95f4\u98d9\u7ea2\u3002\u800cGroup\u673a\u5236\u5141\u8bb8\u6279\u91cf\u66f4\u65b0&#xff0c;\u6781\u5927\u51cf\u8f7b\u8d1f\u62c5\u3002 <\/p>\n<p> \u4f46\u5929\u4e0b\u6ca1\u6709\u514d\u8d39\u5348\u9910\u3002OPC DA\u6700\u5927\u7684\u8f6f\u808b\u5c31\u662f\u4f9d\u8d56  DCOM  &#xff08;\u5206\u5e03\u5f0fCOM&#xff09;\u3002\u8fd9\u73a9\u610f\u513f\u5c31\u50cf\u662fWindows\u4e13\u5c5e\u7684\u9b54\u6cd5&#xff0c;\u51fa\u4e86\u8fd9\u4e2a\u4f53\u7cfb\u5c31\u4e0d\u7075\u4e86\u3002\u66f4\u7cdf\u7684\u662f&#xff0c;\u5b83\u7684\u5b89\u5168\u914d\u7f6e\u582a\u79f0\u201c\u53cd\u4eba\u7c7b\u201d&#xff1a;\u7aef\u53e3\u968f\u673a\u3001\u6743\u9650\u590d\u6742\u3001\u9632\u706b\u5899\u5e38\u62e6\u2026\u2026\u96be\u602a\u6709\u4eba\u8c03\u4f83&#xff1a;\u201c\u4f1a\u914dDCOM\u7684\u90fd\u662f\u5fcd\u8005\u3002\u201d <\/p>\n<p> \u5e38\u89c1DCOM\u914d\u7f6e\u9879\u5982\u4e0b\u8868&#xff1a; <\/p>\n<table>\n<tr> \u914d\u7f6e\u9879  \u8def\u5f84  \u63a8\u8350\u8bbe\u7f6e  \u8bf4\u660e <\/tr>\n<tbody>\n<tr>\n<td> \u8eab\u4efd\u9a8c\u8bc1\u7ea7\u522b <\/td>\n<td> DCOMCNFG \u2192 \u5c5e\u6027 \u2192 \u9ed8\u8ba4\u5c5e\u6027 <\/td>\n<td> Packet Privacy <\/td>\n<td> \u52a0\u5bc6\u901a\u4fe1\u5185\u5bb9&#xff0c;\u9632\u6b62\u7a83\u542c <\/td>\n<\/tr>\n<tr>\n<td> \u542f\u52a8\u4e0e\u6fc0\u6d3b\u6743\u9650 <\/td>\n<td> DCOMCNFG \u2192 My Computer \u2192 DCOM Config \u2192 OPCEnum <\/td>\n<td> \u7ed9\u4e88\u201c\u542f\u52a8\u201d\u6743\u9650\u7ed9 Users \u7ec4 <\/td>\n<td> \u5141\u8bb8\u975e\u7ba1\u7406\u5458\u7528\u6237\u542f\u52a8 OPC \u670d\u52a1 <\/td>\n<\/tr>\n<tr>\n<td> \u672c\u5730\/\u8fdc\u7a0b\u8bbf\u95ee\u6743\u9650 <\/td>\n<td> \u540c\u4e0a \u2192 \u5b89\u5168\u9009\u9879\u5361 <\/td>\n<td> \u6388\u4e88 Everyone \u672c\u5730\u548c\u8fdc\u7a0b\u8bbf\u95ee\u6743 <\/td>\n<td> \u89e3\u51b3\u201c\u62d2\u7edd\u8bbf\u95ee\u201d\u9519\u8bef <\/td>\n<\/tr>\n<tr>\n<td> \u7aef\u53e3\u5206\u914d <\/td>\n<td> HKEY_CLASSES_ROOT\\\\AppID{\u2026} <\/td>\n<td> \u56fa\u5b9a RPC \u7aef\u53e3\u8303\u56f4&#xff08;\u5982 5000-5100&#xff09; <\/td>\n<td> \u4fbf\u4e8e\u9632\u706b\u5899\u653e\u884c <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> \u8981\u662f\u6ca1\u914d\u597d&#xff0c;\u7b49\u7740\u4f60\u7684\u5c31\u662f\u4e00\u5806\u795e\u79d8\u9519\u8bef\u7801&#xff1a;  &#8211;  0x80070005  \u2014\u2014 \u8bbf\u95ee\u88ab\u62d2\u7edd&#xff08;\u6743\u9650\u4e0d\u8db3&#xff09;  &#8211;  0x8001010A  \u2014\u2014 \u670d\u52a1\u5668\u542f\u52a8\u5931\u8d25&#xff08;DCOM\u65e0\u6cd5\u6fc0\u6d3b&#xff09;  &#8211;  0x80040154  \u2014\u2014 \u7c7b\u672a\u6ce8\u518c&#xff08;COM\u7ec4\u4ef6\u672a\u5b89\u88c5&#xff09; <\/p>\n<p> \u5efa\u8bae\u6536\u85cf\u8fd9\u5f20\u8868&#xff0c;\u4e0b\u6b21\u9047\u5230\u8fde\u63a5\u95ee\u9898\u76f4\u63a5\u5bf9\u7167\u6392\u67e5&#xff0c;\u7701\u4e0b\u81f3\u5c11\u4e24\u5c0f\u65f6\u6293\u72c2\u65f6\u95f4 \u23f3 <\/p>\n<hr \/>\n<p> \u597d\u4e86\u7406\u8bba\u591f\u591a\u4e86&#xff0c;\u73b0\u5728\u8ba9\u6211\u4eec\u8fdb\u5165\u5b9e\u6218\u73af\u8282\u2014\u2014\u90e8\u7f72MatrikonOPC Simulation\u670d\u52a1\u5668\u3002\u8fd9\u662f\u4e1a\u5185\u516c\u8ba4\u7684\u201cOPC\u745e\u58eb\u519b\u5200\u201d&#xff0c;\u5c24\u5176\u9002\u5408\u6559\u5b66\u3001\u6d4b\u8bd5\u548c\u5feb\u901f\u539f\u578b\u5f00\u53d1\u3002 <\/p>\n<p> \u7b2c\u4e00\u6b65\u6c38\u8fdc\u662f\u68c0\u67e5\u73af\u5883\u517c\u5bb9\u6027&#xff1a; <\/p>\n<table>\n<tr> \u64cd\u4f5c\u7cfb\u7edf\u7248\u672c  \u662f\u5426\u63a8\u8350  .NET Framework \u6700\u4f4e\u8981\u6c42  \u5907\u6ce8 <\/tr>\n<tbody>\n<tr>\n<td> Windows 7 SP1 <\/td>\n<td> \u2705 \u63a8\u8350 <\/td>\n<td> 3.5 SP1 <\/td>\n<td> \u9700\u624b\u52a8\u5f00\u542f\u529f\u80fd <\/td>\n<\/tr>\n<tr>\n<td> Windows 10 <\/td>\n<td> \u2705 \u63a8\u8350 <\/td>\n<td> 3.5 &#043; 4.8 <\/td>\n<td> \u9ed8\u8ba4\u4e0d\u542f\u7528 3.5 <\/td>\n<\/tr>\n<tr>\n<td> Windows 11 <\/td>\n<td> \u26a0\ufe0f \u517c\u5bb9\u4f46\u9700\u6ce8\u610f <\/td>\n<td> 3.5 <\/td>\n<td> DCOM \u9ed8\u8ba4\u5173\u95ed&#xff0c;\u9700\u624b\u52a8\u5f00\u542f <\/td>\n<\/tr>\n<tr>\n<td> Windows Server 2022 <\/td>\n<td> \u26a0\ufe0f \u5b9e\u9a8c\u6027\u652f\u6301 <\/td>\n<td> 3.5 <\/td>\n<td> \u5efa\u8bae\u964d\u7ea7\u81f3 2019 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> \u6572\u547d\u4ee4\u67e5\u7cfb\u7edf\u4fe1\u606f&#xff1a; <\/p>\n<p>wmic os get Caption, Version, OSArchitecture<\/p>\n<p> \u8f93\u51fa\u793a\u4f8b&#xff1a; <\/p>\n<p>Caption                  Version      OSArchitecture<br \/>\nMicrosoft Windows 10 Pro 10.0.19045   64-bit<\/p>\n<p> \u7279\u522b\u63d0\u9192&#xff1a;\u4e00\u5b9a\u8981\u786e\u8ba4.NET Framework 3.5\u662f\u5426\u542f\u7528&#xff01;\u5f88\u591a\u4eba\u88c5\u5b8c\u53d1\u73b0\u670d\u52a1\u8d77\u4e0d\u6765&#xff0c;\u6839\u6e90\u5c31\u5728\u8fd9\u3002\u7528PowerShell\u4e00\u952e\u5f00\u542f&#xff1a; <\/p>\n<p>Enable-WindowsOptionalFeature -Online -FeatureName NetFx3 -All -Source D:\\\\sources\\\\sxs<\/p>\n<p> \u8bb0\u5f97\u628aISO\u955c\u50cf\u6302\u8f7d\u5230D\u76d8&#xff0c;\u5426\u5219\u4f1a\u56e0\u627e\u4e0d\u5230  sxs  \u76ee\u5f55\u800c\u5931\u8d25\u3002 <\/p>\n<p> \u63a5\u4e0b\u6765\u89e3\u538b\u5b89\u88c5\u5305&#xff1a; <\/p>\n<p>&#034;C:\\\\Program Files\\\\7-Zip\\\\7z.exe&#034; x MatrikonOPCSimulation1.rar -oC:\\\\Temp\\\\MatrikonInstall<\/p>\n<p> \u4e3a\u4e86\u4ee5\u540e\u80fd\u4e00\u952e\u90e8\u7f72&#xff0c;\u5199\u4e2a\u9759\u9ed8\u5b89\u88c5\u811a\u672c&#xff1a; <\/p>\n<p>&#064;echo off<br \/>\ncd \/d &#034;C:\\\\Temp\\\\MatrikonInstall&#034;<br \/>\necho \u6b63\u5728\u9759\u9ed8\u5b89\u88c5 MatrikonOPC Simulation&#8230;<br \/>\nSetup.exe \/s \/v&#034;\/qn REBOOT&#061;ReallySuppress&#034;<br \/>\nif %errorlevel% equ 0 (<br \/>\n    echo \u5b89\u88c5\u6210\u529f&#xff01;&#x1f389;<br \/>\n) else (<br \/>\n    echo \u5b89\u88c5\u5931\u8d25&#xff0c;\u9519\u8bef\u7801&#xff1a;%errorlevel% &#x1f4a5;<br \/>\n)<br \/>\npause<\/p>\n<p> \u89e3\u91ca\u4e0b\u53c2\u6570\u7384\u673a&#xff1a;  &#8211;  \/s  \u662fInstallShield\u7684\u9759\u9ed8\u6a21\u5f0f\u6697\u53f7  &#8211;  \/v&#034;\/qn&#034;  \u4f20\u7ed9MSI\u5f15\u64ce&#xff0c;\u610f\u601d\u662f\u201c\u522b\u5f39\u7a97&#xff0c;\u8ba9\u6211\u9759\u9759\u5b89\u88c5\u201d  &#8211;  REBOOT&#061;ReallySuppress  \u9632\u6b62\u81ea\u52a8\u91cd\u542f\u6253\u65ad\u6d41\u7a0b  &#8211;  errorlevel  \u5224\u65ad\u8ba9\u4f60\u77e5\u9053\u6210\u8d25\u4e0e\u5426 <\/p>\n<p> \u88c5\u5b8c\u522b\u5fd8\u4e86\u9632\u706b\u5899\u653e\u884c&#xff1a; <\/p>\n<p>New-NetFirewallRule -DisplayName &#034;Allow DCOM (MatrikonOPC)&#034; &#096;<br \/>\n                    -Direction Inbound &#096;<br \/>\n                    -Protocol TCP &#096;<br \/>\n                    -LocalPort &#064;(&#034;135&#034;, &#034;5000-5200&#034;) &#096;<br \/>\n                    -Action Allow &#096;<br \/>\n                    -Enabled True<\/p>\n<p> 135\u662fRPC\u7aef\u53e3&#xff0c;5000-5200\u662f\u9884\u7559\u52a8\u6001\u533a\u95f4\u3002\u5982\u679c\u8fd8\u7528OPC Tunneler&#xff0c;\u8bb0\u5f97\u52a08080\u4e4b\u7c7b\u7684HTTP\u7aef\u53e3\u3002 <\/p>\n<p> \u8fd9\u65f6\u5019\u4f60\u4ee5\u4e3a\u5b8c\u4e86&#xff1f;No no no&#xff5e;\u771f\u6b63\u7684\u6311\u6218\u624d\u5f00\u59cb\u3002\u5f88\u591a\u5c0f\u4f19\u4f34\u53cd\u6620\u201c\u670d\u52a1\u660e\u660e\u8fd0\u884c\u4e86\u5374\u8fde\u4e0d\u4e0a\u201d&#xff0c;\u5341\u6709\u516b\u4e5d\u662f\u56e0\u4e3aOPCEnum\u6ca1\u6ce8\u518c\u6216\u6743\u9650\u4e0d\u5bf9\u3002 <\/p>\n<p> \u5148\u9a8c\u8bc1\u6ce8\u518c\u8868\u9879\u662f\u5426\u5b58\u5728&#xff1a; <\/p>\n<p>Get-ItemProperty &#034;HKLM:\\\\SOFTWARE\\\\WOW6432Node\\\\OPC Foundation\\\\ServerList&#034; | Select-Object *<\/p>\n<p> \u5e94\u8be5\u80fd\u770b\u5230\u7c7b\u4f3c\u8fd9\u6837\u7684\u952e\u503c&#xff1a; <\/p>\n<p>{F8795393-27AB-11D4-A47F-00008C37BD6B} &#061; Matrikon.OPC.Simulation.1<\/p>\n<p> \u82e5\u7f3a\u5931&#xff0c;\u8bf7\u8865\u5200&#xff1a; <\/p>\n<p>regsvr32 mtkopc32.dll<\/p>\n<p> \u7136\u540e\u786e\u4fddOPCEnum\u670d\u52a1\u81ea\u542f&#xff1a; <\/p>\n<p>Set-Service -Name OPCEnum -StartupType Automatic<br \/>\nStart-Service -Name OPCEnum<\/p>\n<p> \u81f3\u4e8eDCOM\u6743\u9650\u914d\u7f6e&#xff0c;\u6253\u5f00  dcomcnfg.exe  &#xff0c;\u627e\u5230Matrikon OPC Server\u6761\u76ee&#xff0c;\u5728\u201c\u5b89\u5168\u6027\u201d\u9009\u9879\u5361\u91cc\u7ed9Everyone\u5f00\u7eff\u706f&#xff08;\u751f\u4ea7\u73af\u5883\u8bf7\u7528\u4e13\u7528\u8d26\u6237&#xff01;&#xff09;\u3002\u8eab\u4efd\u9a8c\u8bc1\u7ea7\u522b\u8bbe\u4e3a\u201c\u8fde\u63a5\u7ea7\u201d&#xff0c;\u907f\u514dKerberos\u534f\u5546\u8d85\u65f6\u3002 <\/p>\n<p> \u5982\u679c\u4f60\u8981\u5728\u8de8\u7f51\u6bb5\u73af\u5883\u4e0b\u4f7f\u7528&#xff0c;\u5f3a\u70c8\u5efa\u8bae\u4e0a  Matrikon OPC Tunneler  \u3002\u4f20\u7edfDCOM\u7a7f\u8d8aNAT\u7b80\u76f4\u662f\u5669\u68a6&#xff0c;\u800cTunneler\u50cf\u4e2a\u96a7\u9053\u5de5\u5175&#xff0c;\u628aOPC\u8bf7\u6c42\u5c01\u88c5\u6210TCP\u6d41\u91cf\u8f7b\u677e\u7a7f\u900f&#xff1a; <\/p>\n<p>graph LR<br \/>\n    A[OPC Client&lt;br&gt;IP: 192.168.1.10] &#8211;&gt;|\u52a0\u5bc6\u96a7\u9053| B[Matrikon OPC Tunneler&lt;br&gt;Gateway Mode]<br \/>\n    B &#8211;&gt;|DCOM Local Call| C[MatrikonOPC Simulation&lt;br&gt;IP: 10.0.0.5]<br \/>\n    style A fill:#f9f,stroke:#333<br \/>\n    style C fill:#bbf,stroke:#333<br \/>\n    style B fill:#ffcc80,stroke:#333<\/p>\n<p> \u914d\u7f6e\u8981\u70b9\u4e00\u53e5\u8bdd\u6982\u62ec&#xff1a;\u670d\u52a1\u5668\u7aef\u5f00Gateway&#xff0c;\u5ba2\u6237\u7aef\u8fdeClient\u6a21\u5f0f&#xff0c;\u4e2d\u95f4\u8d70\u56fa\u5b9a\u7aef\u53e3&#xff08;\u59827777&#xff09;&#xff0c;\u518d\u4e5f\u4e0d\u7528\u62c5\u5fc3\u9632\u706b\u5899\u963b\u65ad\u3002 <\/p>\n<p> \u8fd8\u60f3\u73a9\u66f4\u5927&#xff1f;\u8bd5\u8bd5\u591a\u5b9e\u4f8b\u5171\u5b58&#xff01;\u9ed8\u8ba4\u53ea\u6709\u4e00\u4e2a  Matrikon.OPC.Simulation.1  &#xff0c;\u4f46\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u590d\u5236\u6ce8\u518c\u8868\u9879&#043;\u6539INI\u6587\u4ef6\u7684\u65b9\u5f0f&#xff0c;\u4f2a\u9020\u51fa\u591a\u4e2a\u72ec\u7acb\u670d\u52a1\u5668&#xff1a; <\/p>\n<table>\n<tr> \u5b9e\u4f8b\u540d\u79f0  CLSID  \u7528\u9014 <\/tr>\n<tbody>\n<tr>\n<td> Matrikon.OPC.Simulation.1 <\/td>\n<td> {F8795393-\u2026BD6B} <\/td>\n<td> \u4e3b\u751f\u4ea7\u7ebf\u6a21\u62df <\/td>\n<\/tr>\n<tr>\n<td> Matrikon.OPC.Simulation.Line2 <\/td>\n<td> {F8795393-\u2026BD6C} <\/td>\n<td> \u5907\u7528\u7ebf\u6a21\u62df <\/td>\n<\/tr>\n<tr>\n<td> Matrikon.OPC.Simulation.Test <\/td>\n<td> \u81ea\u5b9a\u4e49 GUID <\/td>\n<td> \u6545\u969c\u6ce8\u5165\u6d4b\u8bd5 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> \u8fd9\u6837\u5728OPC\u6d4f\u89c8\u5668\u91cc\u5c31\u80fd\u770b\u5230\u597d\u51e0\u4e2a\u201c\u8bbe\u5907\u201d\u4e86&#xff0c;\u662f\u4e0d\u662f\u6709\u79cd\u5f53\u4e0a\u5e1d\u7684\u611f\u89c9&#xff1f;&#x1f604; <\/p>\n<hr \/>\n<p> \u9a8c\u8bc1\u73af\u8282\u6765\u4e86&#xff01;\u9996\u63a8\u5b98\u65b9\u5de5\u5177Matrikon OPC Explorer&#xff0c;\u8f7b\u91cf\u53c8\u76f4\u89c2&#xff1a; <\/p>\n<li> \u6253\u5f00\u8f6f\u4ef6 <\/li>\n<li> Add Group \u2192 Add Items <\/li>\n<li> \u9009\u62e9\u670d\u52a1\u5668  Matrikon.OPC.Simulation.1  <\/li>\n<li> \u6d4f\u89c8\u9ed8\u8ba4\u6807\u7b7e\u5982  Random.Int4  \u3001  Bucket Brigade.Real8  <\/li>\n<li> \u89c2\u5bdf\u6570\u503c\u662f\u5426\u8df3\u52a8 <\/li>\n<p> \u6210\u529f\u7684\u8bdd\u4f60\u4f1a\u770b\u5230\u7c7b\u4f3c\u8fd9\u6837\u7684\u8868\u683c&#xff1a; <\/p>\n<table>\n<tr> \u6807\u7b7e\u540d  \u7c7b\u578b  \u5f53\u524d\u503c  \u54c1\u8d28  \u65f6\u95f4\u6233 <\/tr>\n<tbody>\n<tr>\n<td> Random.Int4 <\/td>\n<td> INT <\/td>\n<td> 127 <\/td>\n<td> Good <\/td>\n<td> 2025-04-05 10:23:45 <\/td>\n<\/tr>\n<tr>\n<td> Bucket Brigade.Real8 <\/td>\n<td> DOUBLE <\/td>\n<td> 3.14159 <\/td>\n<td> Good <\/td>\n<td> 2025-04-05 10:23:45 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> \u8981\u662fWinCC\u515a\u4e5f\u4e0d\u7528\u614c&#xff0c;\u6b65\u9aa4\u4e00\u6837\u7b80\u5355&#xff1a;  1. \u53d8\u91cf\u7ba1\u7406\u5668 \u2192 \u65b0\u5efa\u5916\u90e8\u53d8\u91cf\u9a71\u52a8 \u2192 \u201cOPC.CHN\u201d  2. \u521b\u5efa\u8fde\u63a5 \u2192 \u9009\u201c\u6807\u51c6OPC\u6570\u636e\u8bbf\u95eeV2.0\u201d  3. \u8f93\u5165IP \u2192 \u6d4f\u89c8\u670d\u52a1\u5668\u5217\u8868  4. \u6620\u5c04\u53d8\u91cf\u5982  Random.Int4  \u2192  Tag_Int_Test   5. \u542f\u52a8\u8fd0\u884c\u7cfb\u7edf&#xff0c;\u770b\u753b\u9762\u52a8\u8d77\u6765&#xff01; <\/p>\n<p> \u5982\u679c\u63d0\u793a\u201c\u65e0\u6cd5\u679a\u4e3e\u670d\u52a1\u5668\u201d&#xff0c;\u8bf7\u56de\u5934\u68c0\u67e5OPCEnum\u670d\u52a1\u72b6\u6001&#xff0c;\u6216\u8005\u5e72\u8106\u6362Tunneler\u8bd5\u8bd5\u3002 <\/p>\n<p> \u8fdb\u9636\u73a9\u5bb6\u53ef\u4ee5\u7528  OPC Compliance Checker  \u505a\u5408\u89c4\u68c0\u6d4b&#xff1a; <\/p>\n<p>ComplianceChecker.exe \/server:Matrikon.OPC.Simulation.1 \/test:DA20<\/p>\n<p> \u901a\u8fc7\u5168\u90e8150&#043;\u9879\u6d4b\u8bd5\u624d\u7b97\u771f\u6b63\u201c\u79d1\u73ed\u51fa\u8eab\u201d\u3002 <\/p>\n<hr \/>\n<p> \u5230\u8fd9\u91cc\u57fa\u7840\u73af\u5883\u5df2\u642d\u597d&#xff0c;\u4f46\u79bb\u771f\u5b9e\u5de5\u5382\u8fd8\u5dee\u53e3\u6c14\u2014\u2014\u56e0\u4e3a\u73b0\u5b9e\u4e2d\u7684\u6570\u636e\u662f\u6709\u201c\u6027\u683c\u201d\u7684&#xff01; <\/p>\n<p> \u60f3\u60f3\u770b&#xff0c;\u6e29\u5ea6\u4e0d\u4f1a\u7a81\u53d8&#xff0c;\u7535\u673a\u542f\u505c\u6709\u8fde\u9501\u903b\u8f91&#xff0c;\u62a5\u8b66\u8be5\u54cd\u65f6\u7edd\u4e0d\u80fd\u6c89\u9ed8\u3002\u6240\u4ee5\u6211\u4eec\u8981\u8ba9\u6a21\u62df\u5668\u5b66\u4f1a\u201c\u6f14\u620f\u201d\u3002 <\/p>\n<p> \u5148\u4ece\u5efa\u6a21\u8bf4\u8d77\u3002\u522b\u518d\u7528  Tag1  ,  Tag2  \u8fd9\u79cd\u547d\u540d\u4e86&#xff0c;\u5b66\u5b66IEC 61346\u6807\u51c6&#xff0c;\u641e\u4e09\u7ea7\u7ed3\u6784&#xff1a;  Area.Device.Parameter  \u3002\u4f8b\u5982&#xff1a; <\/p>\n<p>Line1.PLC01.Motor_Start<br \/>\nLine1.PLC01.Temp_Sensor_01<br \/>\nLine2.ValveStation.V1_OpenCmd<\/p>\n<p> \u6e05\u6670\u5427&#xff1f;\u5c31\u50cf\u5feb\u9012\u5730\u5740\u4e00\u6837\u660e\u786e\u3002\u4f60\u53ef\u4ee5\u7528CSV\u6279\u91cf\u5bfc\u5165&#xff1a; <\/p>\n<p>TagName,DataType,InitialValue,Description,AccessRights<br \/>\nLine1.PLC01.Motor_Start,Boolean,False,&#034;Motor Start Command&#034;,ReadWrite<br \/>\nLine1.PLC01.Temp_Sensor_01,Float,25.5,&#034;Room Temperature Sensor&#034;,ReadOnly<\/p>\n<p> Python\u811a\u672c\u4e5f\u80fd\u641e\u5b9a&#xff1a; <\/p>\n<p>import csv<br \/>\nimport win32com.client<\/p>\n<p>server &#061; win32com.client.Dispatch(&#034;Matrikon.OPC.Simulation&#034;)<br \/>\ngroups &#061; server.OPCGroups<br \/>\ngroup &#061; groups.Add(&#034;BatchImportGroup&#034;)<br \/>\ngroup.UpdateRate &#061; 1000<\/p>\n<p>with open(&#039;tags.csv&#039;) as f:<br \/>\n    reader &#061; csv.DictReader(f)<br \/>\n    for row in reader:<br \/>\n        item &#061; group.OPCItems.AddItem(row[&#039;TagName&#039;], 1)<br \/>\n        item.Description &#061; row[&#039;Description&#039;]<br \/>\n        print(f&#034;\u2705 \u5bfc\u5165: {row[&#039;TagName&#039;]}&#034;)<\/p>\n<p> \u66f4\u9177\u7684\u662f\u6a21\u62df\u771f\u5b9ePLC\u5185\u5b58\u5e03\u5c40\u3002\u867d\u7136Matrikon\u4e0d\u771f\u8dd1S7\u534f\u8bae&#xff0c;\u4f46\u6211\u4eec\u53ef\u4ee5\u201c\u5047\u88c5\u201d\u5b83\u662f&#xff1a; <\/p>\n<table>\n<tr> \u5382\u5546  \u5730\u5740\u533a\u6bb5  \u793a\u4f8bTag\u540d <\/tr>\n<tbody>\n<tr>\n<td> \u897f\u95e8\u5b50 S7 <\/td>\n<td> DB10.DBW2, M10.0 <\/td>\n<td> <\/td>\n<\/tr>\n<tr>\n<td> \u7f57\u514b\u97e6\u5c14 AB <\/td>\n<td> %I:0.0\/0, %R6:5 <\/td>\n<td> <\/td>\n<\/tr>\n<tr>\n<td> \u65bd\u8010\u5fb7 Modicon <\/td>\n<td> %MW100, %MD20 <\/td>\n<td> <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> \u6bd4\u5982\u5efa\u4e2a  S7_PLC.DataBlocks.DB1.Value_1  \u6d6e\u70b9\u6807\u7b7e&#xff0c;WinCC\u6839\u672c\u5206\u4e0d\u6e05\u771f\u5047&#xff01; <\/p>\n<p> \u52a8\u6001\u884c\u4e3a\u624d\u662f\u7075\u9b42\u6240\u5728\u3002\u8bd5\u8bd5\u8ba9\u6e29\u5ea6\u7f13\u6162\u4e0a\u5347&#xff0c;\u6a21\u4eff\u52a0\u70ed\u7089\u8fc7\u7a0b&#xff1a; <\/p>\n<p>Sub SimulateHeating()<br \/>\n    Dim current, setpoint, k, dt, nextVal<br \/>\n    current &#061; ReadTag(&#034;Furnace.CurrentTemp&#034;)<br \/>\n    setpoint &#061; ReadTag(&#034;Furnace.Setpoint&#034;)<br \/>\n    k &#061; 0.02 &#039; \u70ed\u4f20\u5bfc\u7cfb\u6570<br \/>\n    dt &#061; 1  &#039; \u79d2<\/p>\n<p>    nextVal &#061; current &#043; k * (setpoint &#8211; current) * dt<br \/>\n    WriteTag &#034;Furnace.CurrentTemp&#034;, Round(nextVal, 2)<br \/>\nEnd Sub<\/p>\n<p> \u6307\u6570\u6e10\u8fd1\u5347\u6e29\u66f2\u7ebf&#xff0c;\u6bd4\u76f4\u7ebf\u53d8\u5316\u53ef\u4fe1\u591a\u4e86&#xff01; <\/p>\n<p> \u518d\u6765\u4e2a\u786c\u6838\u8fde\u9501\u903b\u8f91&#xff1a;\u6cb9\u6cf5\u4e0d\u542f&#xff0c;\u4e3b\u7535\u673a\u7981\u6b62\u8fd0\u884c\u3002 <\/p>\n<p>Sub CheckInterlock()<br \/>\n    If Not ReadTag(&#034;Pump.OilPump_Running&#034;) Then<br \/>\n        WriteTag &#034;Motor.Actual_Running&#034;, False<br \/>\n        WriteTag &#034;Motor.Fault_Code&#034;, 101 &#039; \u7f3a\u6cb9\u4fdd\u62a4<br \/>\n    End If<br \/>\nEnd Sub<\/p>\n<p> \u6bcf\u9694500ms\u8dd1\u4e00\u6b21&#xff0c;\u5b8c\u7f8e\u590d\u523b\u5b89\u5168\u8054\u9501\u3002 <\/p>\n<p> \u62a5\u8b66\u7cfb\u7edf\u4e5f\u4e0d\u80fd\u5c11\u3002\u867d\u65e0AE\u534f\u8bae\u652f\u6301&#xff0c;\u4f46\u53ef\u7528\u201c\u8f6f\u62a5\u8b66\u201d&#xff1a; <\/p>\n<p>If ReadTag(&#034;Process.Temp&#034;) &gt; 80 Then<br \/>\n    WriteTag &#034;Alarm.HighTemp.Active&#034;, True<br \/>\n    WriteTag &#034;Alarm.HighTemp.TimeStamp&#034;, Now()<br \/>\nEnd If<\/p>\n<p> iFix\u8fd9\u7c7bSCADA\u80fd\u901a\u8fc7\u8868\u8fbe\u5f0f\u611f\u77e5\u5e76\u5f39\u7a97\u3002 <\/p>\n<p> \u751a\u81f3\u8fd8\u80fd\u6545\u610f\u5236\u9020\u6545\u969c\u6765\u8003\u9a8c\u5ba2\u6237\u7aef\u97e7\u6027&#xff1a; <\/p>\n<p>&#039; \u628a\u54c1\u8d28\u7801\u8bbe\u4e3aBad&#xff0c;\u6a21\u62df\u901a\u4fe1\u4e2d\u65ad<br \/>\nobjItem.Quality &#061; &amp;H80 <\/p>\n<p> \u6216\u8005\u6ce8\u5165\u00b15%\u968f\u673a\u566a\u58f0&#xff1a; <\/p>\n<p>def noisy_signal(base):<br \/>\n    return base * (1 &#043; random.uniform(-0.05, 0.05))<\/p>\n<hr \/>\n<p> \u5f53\u6a21\u62df\u89c4\u6a21\u6269\u5927\u5230\u6570\u5343\u70b9\u65f6&#xff0c;\u6027\u80fd\u4f18\u5316\u5c31\u6210\u4e86\u5fc5\u4fee\u8bfe\u3002\u5b9e\u6d4b\u6570\u636e\u663e\u793a&#xff1a; <\/p>\n<table>\n<tr> \u6807\u7b7e\u6570  \u5185\u5b58\u5360\u7528&#xff08;MB&#xff09;  CPU&#xff08;%&#xff09; <\/tr>\n<tbody>\n<tr>\n<td> 1,000 <\/td>\n<td> ~80 <\/td>\n<td> &lt;5 <\/td>\n<\/tr>\n<tr>\n<td> 5,000 <\/td>\n<td> ~350 <\/td>\n<td> ~12 <\/td>\n<\/tr>\n<tr>\n<td> 10,000 <\/td>\n<td> ~700 <\/td>\n<td> ~20 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> \u4f18\u5316\u6280\u5de7\u5728\u6b64&#xff1a;  &#8211; \u4f18\u5148\u7528FLOAT\u4ee3\u66ffDOUBLE&#xff08;\u7701\u5185\u5b58&#xff09;  &#8211; \u5206\u7ec4\u5237\u65b0&#xff1a;10%\u5173\u952e\u53d8\u91cf100ms&#xff0c;\u5176\u4f59\u5206\u7ea7\u964d\u9891  &#8211; \u5220\u9664\u65e0\u7528\u6d4b\u8bd5\u6807\u7b7e  &#8211; \u7528\u5171\u4eab\u5b57\u7b26\u4e32\u6c60\u51cf\u5c11\u91cd\u590d\u63cf\u8ff0 <\/p>\n<p> \u5237\u65b0\u7387\u5206\u5e03\u5efa\u8bae\u5982\u4e0b&#xff1a; <\/p>\n<p>pie<br \/>\n    title Refresh Rate Distribution<br \/>\n    \u201c100ms (Critical)\u201d : 10<br \/>\n    \u201c500ms (Normal)\u201d : 60<br \/>\n    \u201c2s (Infrequent)\u201d : 30<\/p>\n<p> \u6b64\u5916&#xff0c;\u6a21\u677f\u5316\u7ba1\u7406\u80fd\u6781\u5927\u63d0\u5347\u6548\u7387\u3002\u5b9a\u4e49\u4e00\u4e2a\u6cf5\u8bbe\u5907JSON\u6a21\u677f&#xff1a; <\/p>\n<p>{<br \/>\n  &#034;template&#034;: &#034;Pump&#034;,<br \/>\n  &#034;tags&#034;: [<br \/>\n    {&#034;name&#034;: &#034;RunStatus&#034;, &#034;type&#034;: &#034;bool&#034;},<br \/>\n    {&#034;name&#034;: &#034;FaultAlarm&#034;, &#034;type&#034;: &#034;bool&#034;},<br \/>\n    {&#034;name&#034;: &#034;Speed_PV&#034;, &#034;type&#034;: &#034;float&#034;, &#034;eu&#034;: [0, 3000]}<br \/>\n  ]<br \/>\n}<\/p>\n<p> \u7136\u540e\u53c2\u6570\u5316\u751f\u6210\u5b9e\u4f8b&#xff1a; <\/p>\n<p>def instantiate_device(name, template):<br \/>\n    return [{**tag, &#039;TagName&#039;: f&#034;{name}.{tag[&#039;name&#039;]}&#034;}<br \/>\n            for tag in template[&#039;tags&#039;]]<\/p>\n<p> \u4e00\u952e\u590d\u5236\u6574\u6761\u4ea7\u7ebf\u4e0d\u518d\u662f\u68a6&#xff01; <\/p>\n<p> \u6700\u540e\u522b\u5fd8\u4e86\u65e5\u5fd7\u5206\u6790\u3002Matrikon\u65e5\u5fd7\u85cf\u5728&#xff1a;   C:\\\\ProgramData\\\\MatrikonOPC\\\\Common Files\\\\Logs\\\\  <\/p>\n<p> \u5173\u952e\u9519\u8bef\u7801\u901f\u67e5&#xff1a; <\/p>\n<table>\n<tr> HRESULT  \u95ee\u9898\u539f\u56e0  \u89e3\u6cd5 <\/tr>\n<tbody>\n<tr>\n<td> 0x80040154 <\/td>\n<td> \u7c7b\u672a\u6ce8\u518c <\/td>\n<td>  opcenum.exe \/regserver  <\/td>\n<\/tr>\n<tr>\n<td> 0x80070005 <\/td>\n<td> \u6743\u9650\u4e0d\u8db3 <\/td>\n<td> dcomcnfg\u52a0Everyone\u6743\u9650 <\/td>\n<\/tr>\n<tr>\n<td> 0x80040304 <\/td>\n<td> \u7f51\u7edc\u62e6\u622a <\/td>\n<td> \u5f00135&#043;\u52a8\u6001\u7aef\u53e3 <\/td>\n<\/tr>\n<tr>\n<td> 0x80040402 <\/td>\n<td> \u6807\u7b7e\u540d\u9519 <\/td>\n<td> \u7528Explorer\u9a8c\u8bc1\u8282\u70b9\u5b58\u5728\u6027 <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> \u914d\u5408Wireshark\u6293\u5305\u8fc7\u6ee4&#xff1a; <\/p>\n<p>tcp.port &#061;&#061; 135 || dcerpc.call<\/p>\n<p> \u57fa\u672c\u6ca1\u6709\u67e5\u4e0d\u51fa\u7684\u95ee\u9898\u3002 <\/p>\n<hr \/>\n<p> \u56de\u8fc7\u5934\u770b&#xff0c;\u4ece\u6700\u521d\u7684COM\u9b54\u6cd5\u5230\u4eca\u5929\u7684\u6570\u5b57\u5b6a\u751f\u5e95\u5ea7&#xff0c;OPC\u6280\u672f\u4e00\u8def\u8d70\u6765\u867d\u5386\u7ecf\u98ce\u96e8&#xff0c;\u4f46\u5176\u201c\u7edf\u4e00\u63a5\u53e3\u201d\u7684\u521d\u5fc3\u59cb\u7ec8\u672a\u53d8\u3002\u5373\u4f7f\u672a\u6765\u5168\u9762\u8f6c\u5411OPC UA&#xff0c;\u8fd9\u6bb5\u5386\u53f2\u4e5f\u4e0d\u4f1a\u88ab\u9057\u5fd8\u2014\u2014\u6bd5\u7adf&#xff0c;\u6bcf\u4e00\u4e2a\u6210\u719f\u7684\u5de5\u4e1a\u7cfb\u7edf\u5de5\u7a0b\u5e08&#xff0c;\u90fd\u5e94\u8be5\u61c2\u4e00\u70b9OPC DA\u3002 <\/p>\n<p> \u5b83\u6559\u4f1a\u6211\u4eec\u7684\u4e0d\u4ec5\u662f\u6280\u672f\u7ec6\u8282&#xff0c;\u66f4\u662f\u4e00\u79cd\u601d\u7ef4\u65b9\u5f0f&#xff1a;  \u5982\u4f55\u5728\u5f02\u6784\u4e16\u754c\u4e2d\u5efa\u7acb\u79e9\u5e8f&#xff0c;\u5982\u4f55\u7528\u8f6f\u4ef6\u5f25\u8865\u786c\u4ef6\u7684\u6ede\u540e&#xff0c;\u4ee5\u53ca\u5982\u4f55\u901a\u8fc7\u62bd\u8c61\u8ba9\u590d\u6742\u53d8\u5f97\u53ef\u63a7  \u3002 <\/p>\n<p> \u4e0b\u6b21\u5f53\u4f60\u9762\u5bf9\u4e00\u5806\u5f85\u6d4b\u8bbe\u5907\u65f6&#xff0c;\u4e0d\u59a8\u8bd5\u8bd5\u7528Matrikon\u642d\u4e2a\u865a\u62df\u5de5\u5382\u3002\u4f60\u4f1a\u53d1\u73b0&#xff0c;\u539f\u6765\u8c03\u8bd5\u4e5f\u53ef\u4ee5\u5f88\u4f18\u96c5 &#x1f3af; <\/p>\n<p>  \u672c\u6587\u8fd8\u6709\u914d\u5957\u7684\u7cbe\u54c1\u8d44\u6e90&#xff0c;\u70b9\u51fb\u83b7\u53d6  <img decoding=\"async\" alt=\"menu-r.4af5f7ec.gif\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725163315-6a64e54b97734.gif\" style=\"width:16px;margin-left:4px;vertical-align:text-bottom;cursor:text\" \/> <\/p>\n<p> \u7b80\u4ecb&#xff1a;MatrikonOPC Simulation\u662f\u4e00\u6b3e\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u7684OPC DA\u670d\u52a1\u5668\u6a21\u62df\u5668&#xff0c;\u53ef\u5728\u65e0\u5b9e\u9645\u786c\u4ef6\u73af\u5883\u4e0b\u5b9e\u73b0OPC\u5ba2\u6237\u7aef\u7684\u5f00\u53d1\u4e0e\u6d4b\u8bd5\u3002\u8be5\u5de5\u5177\u57fa\u4e8e\u6807\u51c6OPC DA&#xff08;Data Access&#xff09;\u534f\u8bae&#xff0c;\u652f\u6301\u5b9e\u65f6\u6570\u636e\u8bbf\u95ee\u3001\u591a\u8bbe\u5907\u6a21\u62df\u3001\u6545\u969c\u6ce8\u5165\u53ca\u591a\u5ba2\u6237\u7aef\u5e76\u53d1\u8fde\u63a5&#xff0c;\u9002\u7528\u4e8eSCADA\u3001HMI\u3001PLC\u7b49\u7cfb\u7edf\u7684\u96c6\u6210\u4e0e\u8c03\u8bd5\u3002\u901a\u8fc7\u7075\u6d3b\u7684\u6570\u636e\u5efa\u6a21\u4e0e\u65e5\u5fd7\u8c03\u8bd5\u529f\u80fd&#xff0c;\u5f00\u53d1\u8005\u53ef\u9ad8\u6548\u9a8c\u8bc1\u901a\u4fe1\u7a33\u5b9a\u6027\u4e0e\u5bb9\u9519\u80fd\u529b&#xff0c;\u5e7f\u6cdb\u5e94\u7528\u4e8e\u8bbe\u5907\u96c6\u6210\u3001\u6570\u636e\u53ef\u89c6\u5316\u3001\u8fdc\u7a0b\u76d1\u63a7\u4e0e\u5de5\u4e1a\u6570\u636e\u5206\u6790\u573a\u666f\u3002\u672c\u8d44\u6e90\u4e3a\u7ecf\u8fc7\u9a8c\u8bc1\u7684\u5b8c\u6574\u6a21\u62df\u73af\u5883&#xff0c;\u52a9\u529b\u81ea\u52a8\u5316\u5de5\u7a0b\u5e08\u5feb\u901f\u638c\u63e1OPC\u901a\u4fe1\u6838\u5fc3\u6280\u672f\u3002 <\/p>\n<p>   \u672c\u6587\u8fd8\u6709\u914d\u5957\u7684\u7cbe\u54c1\u8d44\u6e90&#xff0c;\u70b9\u51fb\u83b7\u53d6   <img decoding=\"async\" alt=\"menu-r.4af5f7ec.gif\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725163315-6a64e54b97734.gif\" style=\"width:16px;margin-left:4px;vertical-align:text-bottom;cursor:text\" \/>  <\/p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u8fd8\u6709\u914d\u5957\u7684\u7cbe\u54c1\u8d44\u6e90&#xff0c;\u70b9\u51fb\u83b7\u53d6    \u7b80\u4ecb&#xff1a;MatrikonOPC Simulation\u662f\u4e00\u6b3e\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u7684OPC DA\u670d\u52a1\u5668\u6a21\u62df\u5668&#xff0c;\u53ef\u5728\u65e0\u5b9e\u9645\u786c\u4ef6\u73af\u5883\u4e0b\u5b9e\u73b0OPC\u5ba2\u6237\u7aef\u7684\u5f00\u53d1\u4e0e\u6d4b\u8bd5\u3002\u8be5\u5de5\u5177\u57fa\u4e8e\u6807\u51c6OPC DA&#xff08;Data Access&#xff09;\u534f\u8bae&#xff0c;\u652f\u6301\u5b9e\u65f6\u6570\u636e\u8bbf\u95ee\u3001\u591a\u8bbe\u5907\u6a21\u62df\u3001\u6545\u969c\u6ce8\u5165\u53ca\u591a\u5ba2\u6237\u7aef\u5e76\u53d1\u8fde\u63a5&#xff0c;\u9002\u7528\u4e8eSCADA\u3001HMI\u3001PLC\u7b49\u7cfb\u7edf\u7684\u96c6\u6210\u4e0e\u8c03\u8bd5\u3002\u901a\u8fc7\u7075\u6d3b\u7684\u6570\u636e\u5efa<\/p>\n","protected":false},"author":2,"featured_media":83505,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"topic":[],"class_list":["post-83506","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>MatrikonOPC Simulation\u5de5\u4e1a\u7ea7OPC\u670d\u52a1\u5668\u6a21\u62df\u5de5\u5177\u5b9e\u6218\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/83506.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MatrikonOPC Simulation\u5de5\u4e1a\u7ea7OPC\u670d\u52a1\u5668\u6a21\u62df\u5de5\u5177\u5b9e\u6218\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6587\u8fd8\u6709\u914d\u5957\u7684\u7cbe\u54c1\u8d44\u6e90&#xff0c;\u70b9\u51fb\u83b7\u53d6  \u7b80\u4ecb&#xff1a;MatrikonOPC Simulation\u662f\u4e00\u6b3e\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u7684OPC DA\u670d\u52a1\u5668\u6a21\u62df\u5668&#xff0c;\u53ef\u5728\u65e0\u5b9e\u9645\u786c\u4ef6\u73af\u5883\u4e0b\u5b9e\u73b0OPC\u5ba2\u6237\u7aef\u7684\u5f00\u53d1\u4e0e\u6d4b\u8bd5\u3002\u8be5\u5de5\u5177\u57fa\u4e8e\u6807\u51c6OPC DA&#xff08;Data Access&#xff09;\u534f\u8bae&#xff0c;\u652f\u6301\u5b9e\u65f6\u6570\u636e\u8bbf\u95ee\u3001\u591a\u8bbe\u5907\u6a21\u62df\u3001\u6545\u969c\u6ce8\u5165\u53ca\u591a\u5ba2\u6237\u7aef\u5e76\u53d1\u8fde\u63a5&#xff0c;\u9002\u7528\u4e8eSCADA\u3001HMI\u3001PLC\u7b49\u7cfb\u7edf\u7684\u96c6\u6210\u4e0e\u8c03\u8bd5\u3002\u901a\u8fc7\u7075\u6d3b\u7684\u6570\u636e\u5efa\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/83506.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-25T16:33:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725163315-6a64e54b97734.gif\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83506.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/83506.html\",\"name\":\"MatrikonOPC Simulation\u5de5\u4e1a\u7ea7OPC\u670d\u52a1\u5668\u6a21\u62df\u5de5\u5177\u5b9e\u6218\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-07-25T16:33:16+00:00\",\"dateModified\":\"2026-07-25T16:33:16+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/83506.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/83506.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/83506.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MatrikonOPC Simulation\u5de5\u4e1a\u7ea7OPC\u670d\u52a1\u5668\u6a21\u62df\u5de5\u5177\u5b9e\u6218\u5e94\u7528\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MatrikonOPC Simulation\u5de5\u4e1a\u7ea7OPC\u670d\u52a1\u5668\u6a21\u62df\u5de5\u5177\u5b9e\u6218\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/83506.html","og_locale":"zh_CN","og_type":"article","og_title":"MatrikonOPC Simulation\u5de5\u4e1a\u7ea7OPC\u670d\u52a1\u5668\u6a21\u62df\u5de5\u5177\u5b9e\u6218\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u672c\u6587\u8fd8\u6709\u914d\u5957\u7684\u7cbe\u54c1\u8d44\u6e90&#xff0c;\u70b9\u51fb\u83b7\u53d6  \u7b80\u4ecb&#xff1a;MatrikonOPC Simulation\u662f\u4e00\u6b3e\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\u7684OPC DA\u670d\u52a1\u5668\u6a21\u62df\u5668&#xff0c;\u53ef\u5728\u65e0\u5b9e\u9645\u786c\u4ef6\u73af\u5883\u4e0b\u5b9e\u73b0OPC\u5ba2\u6237\u7aef\u7684\u5f00\u53d1\u4e0e\u6d4b\u8bd5\u3002\u8be5\u5de5\u5177\u57fa\u4e8e\u6807\u51c6OPC DA&#xff08;Data Access&#xff09;\u534f\u8bae&#xff0c;\u652f\u6301\u5b9e\u65f6\u6570\u636e\u8bbf\u95ee\u3001\u591a\u8bbe\u5907\u6a21\u62df\u3001\u6545\u969c\u6ce8\u5165\u53ca\u591a\u5ba2\u6237\u7aef\u5e76\u53d1\u8fde\u63a5&#xff0c;\u9002\u7528\u4e8eSCADA\u3001HMI\u3001PLC\u7b49\u7cfb\u7edf\u7684\u96c6\u6210\u4e0e\u8c03\u8bd5\u3002\u901a\u8fc7\u7075\u6d3b\u7684\u6570\u636e\u5efa","og_url":"https:\/\/www.wsisp.com\/helps\/83506.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-07-25T16:33:16+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/07\/20260725163315-6a64e54b97734.gif"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"7 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/83506.html","url":"https:\/\/www.wsisp.com\/helps\/83506.html","name":"MatrikonOPC Simulation\u5de5\u4e1a\u7ea7OPC\u670d\u52a1\u5668\u6a21\u62df\u5de5\u5177\u5b9e\u6218\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-07-25T16:33:16+00:00","dateModified":"2026-07-25T16:33:16+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/83506.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/83506.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/83506.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"MatrikonOPC Simulation\u5de5\u4e1a\u7ea7OPC\u670d\u52a1\u5668\u6a21\u62df\u5de5\u5177\u5b9e\u6218\u5e94\u7528"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83506","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=83506"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/83506\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/83505"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=83506"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=83506"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=83506"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=83506"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}