{"id":2025,"date":"2024-01-04T17:25:18","date_gmt":"2024-01-04T09:25:18","guid":{"rendered":"https:\/\/sanlangcode.com\/?p=2025"},"modified":"2024-01-04T17:25:18","modified_gmt":"2024-01-04T09:25:18","slug":"opc-ua-%e8%8a%82%e7%82%b9%e5%b1%9e%e6%80%a7%e9%a1%bb%e7%9f%a5","status":"publish","type":"post","link":"https:\/\/sanlangcode.com\/index.php\/2024\/01\/04\/opc-ua-%e8%8a%82%e7%82%b9%e5%b1%9e%e6%80%a7%e9%a1%bb%e7%9f%a5\/","title":{"rendered":"OPC UA \u8282\u70b9\u5c5e\u6027\u987b\u77e5"},"content":{"rendered":"\n<p>\u5728 OPC UA \u4e2d\uff0c\u53f6\u5b50\u8282\u70b9\uff08Leaf Node\uff09\u662f\u6570\u636e\u6a21\u578b\u4e2d\u7684\u4e00\u4e2a\u672b\u7aef\u8282\u70b9\uff0c\u5b83\u901a\u5e38\u8868\u793a\u5b9e\u9645\u7684\u6570\u636e\u503c\u6216\u72b6\u6001\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5178\u578b\u7684\u53f6\u5b50\u8282\u70b9\u7684\u5c5e\u6027\uff0c\u8fd9\u4e9b\u5c5e\u6027\u53ef\u4ee5\u5728 Data Access \u89c4\u8303\u4e2d\u627e\u5230\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/sanlangcode.com\/wp-content\/uploads\/2024\/01\/image-120-1024x489.png\" alt=\"\" class=\"wp-image-2029\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\"><li><strong><code>NodeId<\/code>\uff08\u8282\u70b9\u6807\u8bc6\u7b26\uff09\uff1a<\/strong><ul><li><strong>\u4f5c\u7528\uff1a<\/strong> \u8868\u793a\u8282\u70b9\u7684\u552f\u4e00\u6807\u8bc6\u7b26\u3002<\/li><li><strong>\u7c7b\u578b\uff1a<\/strong> NodeId \u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u63cf\u8ff0\uff1a<\/strong> \u7528\u4e8e\u552f\u4e00\u6807\u8bc6\u670d\u52a1\u5668\u4e0a\u7684\u8282\u70b9\u3002NodeId \u5305\u62ec\u547d\u540d\u7a7a\u95f4\u7d22\u5f15\u548c\u8282\u70b9\u6807\u8bc6\u3002\u547d\u540d\u7a7a\u95f4\u7d22\u5f15\u7528\u4e8e\u533a\u5206\u4e0d\u540c\u7684\u547d\u540d\u7a7a\u95f4\uff0c\u800c\u8282\u70b9\u6807\u8bc6\u7528\u4e8e\u5728\u547d\u540d\u7a7a\u95f4\u5185\u552f\u4e00\u6807\u8bc6\u8282\u70b9\u3002<\/li><\/ul><\/li><li><strong><code>DisplayName<\/code>\uff08\u663e\u793a\u540d\u79f0\uff09\uff1a<\/strong><ul><li><strong>\u4f5c\u7528\uff1a<\/strong> \u63d0\u4f9b\u4e00\u4e2a\u4eba\u7c7b\u53ef\u8bfb\u7684\u8282\u70b9\u540d\u79f0\u3002<\/li><li><strong>\u7c7b\u578b\uff1a<\/strong> LocalizedText \u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u63cf\u8ff0\uff1a<\/strong> <code>DisplayName<\/code> \u5b57\u6bb5\u901a\u5e38\u5305\u542b\u8282\u70b9\u7684\u672c\u5730\u5316\u540d\u79f0\uff0c\u4ee5\u4fbf\u66f4\u5bb9\u6613\u7406\u89e3\u8282\u70b9\u4ee3\u8868\u7684\u542b\u4e49\u3002<\/li><\/ul><\/li><li><strong><code>BrowseName<\/code>\uff08\u6d4f\u89c8\u540d\u79f0\uff09\uff1a<\/strong><ul><li><strong>\u4f5c\u7528\uff1a<\/strong> \u63d0\u4f9b\u4e00\u4e2a\u4e0d\u53ef\u53d8\u7684\u3001\u7528\u4e8e\u5728\u670d\u52a1\u5668\u4e2d\u67e5\u627e\u8282\u70b9\u7684\u540d\u79f0\u3002<\/li><li><strong>\u7c7b\u578b\uff1a<\/strong> QualifiedName \u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u63cf\u8ff0\uff1a<\/strong> <code>BrowseName<\/code> \u662f\u670d\u52a1\u5668\u7528\u6765\u67e5\u627e\u8282\u70b9\u7684\u5185\u90e8\u6807\u8bc6\u7b26\u3002\u867d\u7136 <code>DisplayName<\/code> \u662f\u4f9b\u4eba\u7c7b\u9605\u8bfb\u7684\u540d\u79f0\uff0c\u4f46 <code>BrowseName<\/code> \u662f\u7528\u4e8e\u5728\u670d\u52a1\u7aef\u5185\u90e8\u67e5\u627e\u548c\u7ba1\u7406\u8282\u70b9\u7684\u6807\u8bc6\u7b26\u3002<\/li><\/ul><\/li><li><strong><code>DataType<\/code>\uff08\u6570\u636e\u7c7b\u578b\uff09\uff1a<\/strong><ul><li><strong>\u4f5c\u7528\uff1a<\/strong> \u63cf\u8ff0\u8282\u70b9\u7684\u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u7c7b\u578b\uff1a<\/strong> NodeId \u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u63cf\u8ff0\uff1a<\/strong> <code>DataType<\/code> \u5b57\u6bb5\u6307\u5b9a\u4e86\u4e0e\u8282\u70b9\u5173\u8054\u7684\u6570\u636e\u7684\u7c7b\u578b\u3002\u8fd9\u5bf9\u4e8e\u89e3\u91ca\u8282\u70b9\u7684\u503c\u975e\u5e38\u91cd\u8981\u3002<\/li><\/ul><\/li><li><strong><code>Value<\/code>\uff08\u503c\uff09\uff1a<\/strong><ul><li><strong>\u4f5c\u7528\uff1a<\/strong> \u5305\u542b\u8282\u70b9\u7684\u5f53\u524d\u503c\u3002<\/li><li><strong>\u7c7b\u578b\uff1a<\/strong> DataValue \u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u63cf\u8ff0\uff1a<\/strong> <code>Value<\/code> \u5b57\u6bb5\u5305\u542b\u8282\u70b9\u7684\u5f53\u524d\u6570\u503c\u3002\u8fd9\u53ef\u80fd\u662f\u4e00\u4e2a\u5b9e\u9645\u7684\u6570\u636e\u503c\uff0c\u4f8b\u5982\u6e29\u5ea6\u6216\u538b\u529b\uff0c\u6216\u8005\u662f\u4e00\u4e2a\u72b6\u6001\u503c\uff0c\u8868\u793a\u8282\u70b9\u7684\u72b6\u6001\u3002<\/li><\/ul><\/li><li><strong><code>Timestamp<\/code>\uff08\u65f6\u95f4\u6233\uff09\uff1a<\/strong><ul><li><strong>\u4f5c\u7528\uff1a<\/strong> \u6307\u793a\u8282\u70b9\u503c\u7684\u65f6\u95f4\u6233\u3002<\/li><li><strong>\u7c7b\u578b\uff1a<\/strong> DateTime \u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u63cf\u8ff0\uff1a<\/strong> <code>Timestamp<\/code> \u5b57\u6bb5\u8868\u793a\u8282\u70b9\u503c\u7684\u65f6\u95f4\u6233\u3002\u5b83\u53ef\u4ee5\u5305\u62ec <code>ServerTimestamp<\/code> \u548c <code>SourceTimestamp<\/code> \u4e24\u4e2a\u65b9\u9762\uff0c\u5206\u522b\u8868\u793a\u670d\u52a1\u5668\u5904\u7406\u6570\u636e\u7684\u65f6\u95f4\u548c\u6570\u636e\u4ea7\u751f\u7684\u65f6\u95f4\u3002<\/li><\/ul><\/li><li><strong><code>AccessLevel<\/code>\uff08\u8bbf\u95ee\u7ea7\u522b\uff09\uff1a<\/strong><ul><li><strong>\u4f5c\u7528\uff1a<\/strong> \u63cf\u8ff0\u8282\u70b9\u7684\u8bbf\u95ee\u6743\u9650\u3002<\/li><li><strong>\u7c7b\u578b\uff1a<\/strong> Byte \u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u63cf\u8ff0\uff1a<\/strong> <code>AccessLevel<\/code> \u5b57\u6bb5\u5b9a\u4e49\u4e86\u5ba2\u6237\u7aef\u5bf9\u8282\u70b9\u7684\u8bbf\u95ee\u6743\u9650\uff0c\u5305\u62ec\u8bfb\u3001\u5199\u3001\u5386\u53f2\u6570\u636e\u7b49\u3002\u5177\u4f53\u7684\u6570\u503c\u8868\u793a\u5177\u4f53\u7684\u6743\u9650\u3002<\/li><\/ul><\/li><li><strong><code>UserAccessLevel<\/code>\uff08\u7528\u6237\u8bbf\u95ee\u7ea7\u522b\uff09\uff1a<\/strong><ul><li><strong>\u4f5c\u7528\uff1a<\/strong> \u63cf\u8ff0\u7528\u6237\u7684\u8bbf\u95ee\u6743\u9650\u3002<\/li><li><strong>\u7c7b\u578b\uff1a<\/strong> Byte \u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u63cf\u8ff0\uff1a<\/strong> <code>UserAccessLevel<\/code> \u5b57\u6bb5\u5b9a\u4e49\u4e86\u6388\u6743\u7528\u6237\u5bf9\u8282\u70b9\u7684\u8bbf\u95ee\u6743\u9650\u3002\u4e0e <code>AccessLevel<\/code> \u7c7b\u4f3c\uff0c\u4f46\u662f\u53ef\u80fd\u8003\u8651\u4e86\u7528\u6237\u7684\u4e2a\u6027\u5316\u6743\u9650\u8bbe\u7f6e\u3002<\/li><\/ul><\/li><li><strong><code>MinimumSamplingInterval<\/code>\uff08\u6700\u5c0f\u91c7\u6837\u95f4\u9694\uff09\uff1a<\/strong><ul><li><strong>\u4f5c\u7528\uff1a<\/strong> \u63cf\u8ff0\u8282\u70b9\u503c\u7684\u6700\u5c0f\u53ef\u63a5\u53d7\u91c7\u6837\u95f4\u9694\u3002<\/li><li><strong>\u7c7b\u578b\uff1a<\/strong> Double \u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u63cf\u8ff0\uff1a<\/strong> <code>MinimumSamplingInterval<\/code> \u5b57\u6bb5\u8868\u793a\u5bf9\u8282\u70b9\u8fdb\u884c\u91c7\u6837\u7684\u6700\u5c0f\u65f6\u95f4\u95f4\u9694\u3002\u8fd9\u6709\u52a9\u4e8e\u5ba2\u6237\u7aef\u4e86\u89e3\u4f55\u65f6\u53ef\u4ee5\u83b7\u53d6\u8282\u70b9\u7684\u6700\u65b0\u503c\u3002<\/li><\/ul><\/li><li><strong><code>Historizing<\/code>\uff08\u5386\u53f2\u5316\u6807\u5fd7\uff09\uff1a<\/strong><\/li><\/ol>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>\u4f5c\u7528\uff1a<\/strong> \u6307\u793a\u8282\u70b9\u662f\u5426\u652f\u6301\u5386\u53f2\u6570\u636e\u3002<\/li><li><strong>\u7c7b\u578b\uff1a<\/strong> Boolean \u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u63cf\u8ff0\uff1a<\/strong> <code>Historizing<\/code> \u5b57\u6bb5\u8868\u793a\u8282\u70b9\u662f\u5426\u652f\u6301\u5386\u53f2\u6570\u636e\u3002\u5982\u679c\u4e3a <code>true<\/code>\uff0c\u8868\u793a\u8282\u70b9\u7684\u6570\u636e\u53ef\u4ee5\u8fdb\u884c\u5386\u53f2\u5316\uff0c\u5982\u679c\u4e3a <code>false<\/code>\uff0c\u8868\u793a\u8282\u70b9\u4e0d\u652f\u6301\u5386\u53f2\u6570\u636e\u3002<\/li><\/ul>\n\n\n\n<p>\u8fd9\u4e9b\u5c5e\u6027\u7ec4\u5408\u8d77\u6765\u63d0\u4f9b\u4e86\u5173\u4e8e\u53f6\u5b50\u8282\u70b9\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5305\u62ec\u6807\u8bc6\u7b26\u3001\u540d\u79f0\u3001\u6570\u636e\u7c7b\u578b\u3001\u6570\u503c\u3001\u65f6\u95f4\u6233\u3001\u8bbf\u95ee\u6743\u9650\u7b49\u3002\u8fd9\u4e9b\u5c5e\u6027\u5728 OPC UA \u4e2d\u7684 Data Access \u89c4\u8303\u4e2d\u6709\u5177\u4f53\u7684\u5b9a\u4e49\u3002\u8bf7\u6ce8\u610f\uff0c\u5177\u4f53\u7684\u8282\u70b9\u53ef\u80fd\u4f1a\u6839\u636e\u5176\u7528\u9014\u548c\u6240\u5c5e\u7684\u547d\u540d\u7a7a\u95f4\u800c\u6709\u6240\u4e0d\u540c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/sanlangcode.com\/wp-content\/uploads\/2024\/01\/image-121.png\" alt=\"\" class=\"wp-image-2030\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/sanlangcode.com\/wp-content\/uploads\/2024\/01\/image-122.png\" alt=\"\" class=\"wp-image-2031\"\/><\/figure>\n\n\n\n<p>\u5728 OPC UA \u4e2d\uff0c\u4ee5\u4e0b\u662f\u7528\u4e8e\u6807\u8bc6\u8282\u70b9\u548c\u786e\u4fdd\u5176\u72ec\u4e00\u65e0\u4e8c\u6027\u7684\u51e0\u4e2a\u5173\u952e\u5b57\u6bb5\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong><code>NodeId<\/code>\uff08\u8282\u70b9\u6807\u8bc6\u7b26\uff09\uff1a<\/strong><ul><li><strong>\u72ec\u4e00\u65e0\u4e8c\u6027\uff1a<\/strong> \u6bcf\u4e2a\u8282\u70b9\u90fd\u6709\u4e00\u4e2a\u552f\u4e00\u7684 <code>NodeId<\/code>\uff0c\u7528\u4e8e\u5728\u6574\u4e2a OPC UA \u670d\u52a1\u5668\u4e0a\u552f\u4e00\u6807\u8bc6\u8be5\u8282\u70b9\u3002<code>NodeId<\/code> \u662f\u7531\u547d\u540d\u7a7a\u95f4\u7d22\u5f15\u548c\u8282\u70b9\u6807\u8bc6\u7ec4\u6210\u7684\u3002<\/li><\/ul><\/li><li><strong><code>BrowseName<\/code>\uff08\u6d4f\u89c8\u540d\u79f0\uff09\uff1a<\/strong><ul><li><strong>\u72ec\u4e00\u65e0\u4e8c\u6027\uff1a<\/strong> <code>BrowseName<\/code> \u662f\u7528\u4e8e\u5728\u670d\u52a1\u5668\u4e2d\u67e5\u627e\u8282\u70b9\u7684\u5185\u90e8\u6807\u8bc6\u7b26\u3002\u867d\u7136 <code>DisplayName<\/code> \u662f\u4f9b\u4eba\u7c7b\u9605\u8bfb\u7684\u540d\u79f0\uff0c\u4f46 <code>BrowseName<\/code> \u662f\u7528\u4e8e\u5728\u670d\u52a1\u7aef\u5185\u90e8\u67e5\u627e\u548c\u7ba1\u7406\u8282\u70b9\u7684\u6807\u8bc6\u7b26\u3002<\/li><\/ul><\/li><\/ol>\n\n\n\n<p>\u8fd9\u4e24\u4e2a\u5b57\u6bb5\u662f\u7528\u4e8e\u5728 OPC UA \u670d\u52a1\u5668\u4e2d\u552f\u4e00\u6807\u8bc6\u8282\u70b9\u7684\u4e3b\u8981\u6807\u8bc6\u7b26\u3002<code>NodeId<\/code> \u63d0\u4f9b\u4e86\u5168\u5c40\u552f\u4e00\u6027\uff0c\u800c <code>BrowseName<\/code> \u7528\u4e8e\u5728\u670d\u52a1\u5668\u5185\u67e5\u627e\u548c\u68c0\u7d22\u8282\u70b9\u3002<\/p>\n\n\n\n<p>\u8bf7\u6ce8\u610f\uff0c\u867d\u7136 <code>NodeId<\/code> \u662f\u7528\u4e8e\u5728\u6574\u4e2a OPC UA \u670d\u52a1\u5668\u4e0a\u552f\u4e00\u6807\u8bc6\u8282\u70b9\u7684\u4e3b\u8981\u673a\u5236\uff0c\u4f46\u5b83\u7684\u5168\u5c40\u552f\u4e00\u6027\u662f\u76f8\u5bf9\u4e8e\u6574\u4e2a\u670d\u52a1\u5668\u6765\u8bf4\u7684\uff0c\u800c\u4e0d\u662f\u5168\u5c40\u7684\u3002\u5728\u4e0d\u540c\u7684 OPC UA \u670d\u52a1\u5668\u5b9e\u4f8b\u4e2d\uff0c\u76f8\u540c\u7684 <code>NodeId<\/code> \u53ef\u80fd\u88ab\u7528\u4e8e\u4e0d\u540c\u7684\u8282\u70b9\u3002\u56e0\u6b64\uff0c\u5728\u4e0d\u540c\u7684\u670d\u52a1\u5668\u73af\u5883\u4e2d\uff0c\u8981\u786e\u4fdd\u8282\u70b9\u7684\u552f\u4e00\u6027\uff0c\u901a\u5e38\u9700\u8981\u8003\u8651\u5168\u5c40\u552f\u4e00\u6027\u3002<\/p>\n\n\n\n<p>\u5728 OPC UA \u4e2d\uff0c\u8282\u70b9\u7684\u5199\u5165\uff08Write\uff09\u64cd\u4f5c\u901a\u5e38\u662f\u7531\u5ba2\u6237\u7aef\u53d1\u8d77\u7684\uff0c\u800c\u670d\u52a1\u5668\u8d1f\u8d23\u5904\u7406\u8fd9\u4e9b\u5199\u5165\u8bf7\u6c42\u3002\u7136\u800c\uff0c\u6709\u4e9b\u8282\u70b9\u7684\u503c\u662f\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u6216\u7531\u5e95\u5c42\u7cfb\u7edf\u63d0\u4f9b\u7684\uff0c\u4e0d\u5141\u8bb8\u76f4\u63a5\u7531\u5ba2\u6237\u7aef\u5199\u5165\u3002\u4e0b\u9762\u662f\u4e00\u4e9b\u901a\u5e38\u7531\u5ba2\u6237\u7aef\u8fdb\u884c\u5199\u5165\u7684\u8282\u70b9\u7c7b\u578b\uff0c\u4ee5\u53ca\u4e00\u4e9b\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u7684\u8282\u70b9\u7c7b\u578b\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5ba2\u6237\u7aef\u53ef\u5199\u5165\u7684\u8282\u70b9\uff1a<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>\u53d8\u91cf\u8282\u70b9\uff08Variable Nodes\uff09\uff1a<\/strong><ul><li><strong>\u63cf\u8ff0\uff1a<\/strong> \u53d8\u91cf\u8282\u70b9\u901a\u5e38\u7528\u4e8e\u5b58\u50a8\u5b9e\u9645\u7684\u6570\u636e\u503c\uff0c\u5982\u6e29\u5ea6\u3001\u538b\u529b\u7b49\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u5ba2\u6237\u7aef\u901a\u5e38\u53ef\u4ee5\u5199\u5165\u8fd9\u4e9b\u8282\u70b9\u7684\u503c\uff0c\u4ee5\u66f4\u65b0\u5b58\u50a8\u7684\u6570\u636e\u3002<\/li><\/ul><\/li><li><strong>\u5bf9\u8c61\u8282\u70b9\uff08Object Nodes\uff09\uff1a<\/strong><ul><li><strong>\u63cf\u8ff0\uff1a<\/strong> \u5bf9\u8c61\u8282\u70b9\u7528\u4e8e\u7ec4\u7ec7\u548c\u63cf\u8ff0\u5176\u4ed6\u8282\u70b9\u7684\u96c6\u5408\uff0c\u53ef\u4ee5\u5305\u542b\u53d8\u91cf\u3001\u65b9\u6cd5\u7b49\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u5ba2\u6237\u7aef\u53ef\u4ee5\u5199\u5165\u5bf9\u8c61\u8282\u70b9\u7684\u5c5e\u6027\uff0c\u4f8b\u5982\u4fee\u6539\u5bf9\u8c61\u7684\u72b6\u6001\u3002<\/li><\/ul><\/li><li><strong>\u5c5e\u6027\u8282\u70b9\uff08Property Nodes\uff09\uff1a<\/strong><ul><li><strong>\u63cf\u8ff0\uff1a<\/strong> \u5c5e\u6027\u8282\u70b9\u662f\u8282\u70b9\u7684\u9644\u52a0\u4fe1\u606f\uff0c\u5982\u8282\u70b9\u7684\u63cf\u8ff0\u3001\u72b6\u6001\u7b49\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u5ba2\u6237\u7aef\u53ef\u4ee5\u5199\u5165\u4e00\u4e9b\u5c5e\u6027\u8282\u70b9\uff0c\u4f8b\u5982\u4fee\u6539\u8282\u70b9\u7684\u63cf\u8ff0\u4fe1\u606f\u3002<\/li><\/ul><\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u7684\u8282\u70b9\uff1a<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>\u65b9\u6cd5\u8282\u70b9\uff08Method Nodes\uff09\uff1a<\/strong><ul><li><strong>\u63cf\u8ff0\uff1a<\/strong> \u65b9\u6cd5\u8282\u70b9\u5b9a\u4e49\u4e86\u8282\u70b9\u4e0a\u6267\u884c\u7684\u64cd\u4f5c\uff0c\u4e0d\u662f\u5b58\u50a8\u6570\u636e\u7684\u8282\u70b9\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u65b9\u6cd5\u8282\u70b9\u901a\u5e38\u662f\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u7684\uff0c\u5ba2\u6237\u7aef\u4e0d\u80fd\u76f4\u63a5\u5199\u5165\u65b9\u6cd5\u8282\u70b9\u7684\u503c\u3002<\/li><\/ul><\/li><li><strong>\u4e8b\u4ef6\u8282\u70b9\uff08Event Nodes\uff09\uff1a<\/strong><ul><li><strong>\u63cf\u8ff0\uff1a<\/strong> \u4e8b\u4ef6\u8282\u70b9\u7528\u4e8e\u8868\u793a\u53d1\u751f\u5728\u8282\u70b9\u4e0a\u7684\u4e8b\u4ef6\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u4e8b\u4ef6\u8282\u70b9\u901a\u5e38\u662f\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u7684\uff0c\u5ba2\u6237\u7aef\u4e0d\u80fd\u76f4\u63a5\u5199\u5165\u4e8b\u4ef6\u8282\u70b9\u7684\u503c\u3002<\/li><\/ul><\/li><li><strong>\u6570\u636e\u7c7b\u578b\u8282\u70b9\uff08Data Type Nodes\uff09\uff1a<\/strong><ul><li><strong>\u63cf\u8ff0\uff1a<\/strong> \u6570\u636e\u7c7b\u578b\u8282\u70b9\u5b9a\u4e49\u4e86\u8282\u70b9\u7684\u6570\u636e\u7c7b\u578b\uff0c\u901a\u5e38\u7528\u4e8e\u7ea6\u675f\u53d8\u91cf\u7684\u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u6570\u636e\u7c7b\u578b\u8282\u70b9\u901a\u5e38\u662f\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u7684\uff0c\u5ba2\u6237\u7aef\u4e0d\u80fd\u76f4\u63a5\u5199\u5165\u6570\u636e\u7c7b\u578b\u8282\u70b9\u7684\u503c\u3002<\/li><\/ul><\/li><\/ol>\n\n\n\n<p>\u603b\u4f53\u800c\u8a00\uff0c\u670d\u52a1\u5668\u901a\u5e38\u4f1a\u5728\u89c4\u8303\u4e2d\u660e\u786e\u5b9a\u4e49\u54ea\u4e9b\u8282\u70b9\u5141\u8bb8\u5ba2\u6237\u7aef\u5199\u5165\uff0c\u54ea\u4e9b\u8282\u70b9\u662f\u53ea\u8bfb\u7684\u6216\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u7684\u3002\u5728 OPC UA \u7684\u4fe1\u606f\u6a21\u578b\u4e2d\uff0c\u8fd9\u4e9b\u7ea6\u5b9a\u901a\u5e38\u662f\u901a\u8fc7\u8282\u70b9\u7684\u5c5e\u6027\uff08\u5982 <code>AccessLevel<\/code> \u548c <code>UserAccessLevel<\/code>\uff09\u6765\u5b9a\u4e49\u7684\u3002\u5728\u8fdb\u884c\u5199\u5165\u64cd\u4f5c\u4e4b\u524d\uff0c\u5ba2\u6237\u7aef\u901a\u5e38\u9700\u8981\u68c0\u67e5\u8282\u70b9\u7684\u53ef\u5199\u6027\u5c5e\u6027\u4ee5\u786e\u4fdd\u5199\u5165\u64cd\u4f5c\u662f\u5141\u8bb8\u7684\u3002<\/p>\n\n\n\n<p>\u5728 OPC UA \u4e2d\uff0c\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u7528\u7684\u8282\u70b9\u7c7b\u578b\uff0c\u4ee5\u53ca\u5b83\u4eec\u7684\u4e00\u822c\u7528\u9014\u548c\u53ef\u5199\u6027\uff1a<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5e38\u7528\u7684\u5ba2\u6237\u7aef\u53ef\u5199\u5165\u8282\u70b9\uff1a<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>\u53d8\u91cf\u8282\u70b9\uff08Variable Nodes\uff09\uff1a<\/strong><ul><li><strong>\u7528\u9014\uff1a<\/strong> \u5b58\u50a8\u5b9e\u9645\u7684\u6570\u636e\u503c\uff0c\u5982\u6e29\u5ea6\u3001\u538b\u529b\u7b49\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u5ba2\u6237\u7aef\u901a\u5e38\u53ef\u4ee5\u5199\u5165\u8fd9\u4e9b\u8282\u70b9\u7684\u503c\uff0c\u4ee5\u66f4\u65b0\u5b58\u50a8\u7684\u6570\u636e\u3002<\/li><\/ul><\/li><li><strong>\u5bf9\u8c61\u8282\u70b9\uff08Object Nodes\uff09\uff1a<\/strong><ul><li><strong>\u7528\u9014\uff1a<\/strong> \u7ec4\u7ec7\u548c\u63cf\u8ff0\u5176\u4ed6\u8282\u70b9\u7684\u96c6\u5408\uff0c\u53ef\u4ee5\u5305\u542b\u53d8\u91cf\u3001\u65b9\u6cd5\u7b49\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u5ba2\u6237\u7aef\u53ef\u4ee5\u5199\u5165\u5bf9\u8c61\u8282\u70b9\u7684\u5c5e\u6027\uff0c\u4f8b\u5982\u4fee\u6539\u5bf9\u8c61\u7684\u72b6\u6001\u3002<\/li><\/ul><\/li><li><strong>\u5c5e\u6027\u8282\u70b9\uff08Property Nodes\uff09\uff1a<\/strong><ul><li><strong>\u7528\u9014\uff1a<\/strong> \u9644\u52a0\u4fe1\u606f\uff0c\u5982\u8282\u70b9\u7684\u63cf\u8ff0\u3001\u72b6\u6001\u7b49\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u5ba2\u6237\u7aef\u53ef\u4ee5\u5199\u5165\u4e00\u4e9b\u5c5e\u6027\u8282\u70b9\uff0c\u4f8b\u5982\u4fee\u6539\u8282\u70b9\u7684\u63cf\u8ff0\u4fe1\u606f\u3002<\/li><\/ul><\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u5e38\u7528\u7684\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u7684\u8282\u70b9\uff1a<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>\u65b9\u6cd5\u8282\u70b9\uff08Method Nodes\uff09\uff1a<\/strong><ul><li><strong>\u7528\u9014\uff1a<\/strong> \u5b9a\u4e49\u4e86\u8282\u70b9\u4e0a\u6267\u884c\u7684\u64cd\u4f5c\uff0c\u4e0d\u662f\u5b58\u50a8\u6570\u636e\u7684\u8282\u70b9\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u65b9\u6cd5\u8282\u70b9\u901a\u5e38\u662f\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u7684\uff0c\u5ba2\u6237\u7aef\u4e0d\u80fd\u76f4\u63a5\u5199\u5165\u65b9\u6cd5\u8282\u70b9\u7684\u503c\u3002<\/li><\/ul><\/li><li><strong>\u4e8b\u4ef6\u8282\u70b9\uff08Event Nodes\uff09\uff1a<\/strong><ul><li><strong>\u7528\u9014\uff1a<\/strong> \u8868\u793a\u53d1\u751f\u5728\u8282\u70b9\u4e0a\u7684\u4e8b\u4ef6\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u4e8b\u4ef6\u8282\u70b9\u901a\u5e38\u662f\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u7684\uff0c\u5ba2\u6237\u7aef\u4e0d\u80fd\u76f4\u63a5\u5199\u5165\u4e8b\u4ef6\u8282\u70b9\u7684\u503c\u3002<\/li><\/ul><\/li><li><strong>\u6570\u636e\u7c7b\u578b\u8282\u70b9\uff08Data Type Nodes\uff09\uff1a<\/strong><ul><li><strong>\u7528\u9014\uff1a<\/strong> \u5b9a\u4e49\u4e86\u8282\u70b9\u7684\u6570\u636e\u7c7b\u578b\uff0c\u901a\u5e38\u7528\u4e8e\u7ea6\u675f\u53d8\u91cf\u7684\u6570\u636e\u7c7b\u578b\u3002<\/li><li><strong>\u53ef\u5199\u6027\uff1a<\/strong> \u6570\u636e\u7c7b\u578b\u8282\u70b9\u901a\u5e38\u662f\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u7684\uff0c\u5ba2\u6237\u7aef\u4e0d\u80fd\u76f4\u63a5\u5199\u5165\u6570\u636e\u7c7b\u578b\u8282\u70b9\u7684\u503c\u3002<\/li><\/ul><\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">\u793a\u4f8b\uff1a<\/h3>\n\n\n\n<p>\u5728\u4e00\u4e2a\u5178\u578b\u7684\u5de5\u4e1a\u81ea\u52a8\u5316\u573a\u666f\u4e2d\uff0c\u5e38\u89c1\u7684\u53ef\u5199\u5165\u8282\u70b9\u5305\u62ec\u5b58\u50a8\u8bbe\u5907\u72b6\u6001\u7684\u53d8\u91cf\u8282\u70b9\u3001\u63a7\u5236\u8bbe\u5907\u72b6\u6001\u7684\u5bf9\u8c61\u8282\u70b9\u3001\u4ee5\u53ca\u63a7\u5236\u6307\u4ee4\u7684\u65b9\u6cd5\u8282\u70b9\u3002\u800c\u7531\u670d\u52a1\u5668\u81ea\u884c\u5904\u7406\u7684\u8282\u70b9\u53ef\u80fd\u5305\u62ec\u8868\u793a\u62a5\u8b66\u6216\u6545\u969c\u4e8b\u4ef6\u7684\u4e8b\u4ef6\u8282\u70b9\uff0c\u8868\u793a\u8bbe\u5907\u7c7b\u578b\u7684\u6570\u636e\u7c7b\u578b\u8282\u70b9\u7b49\u3002<\/p>\n\n\n\n<p>\u5177\u4f53\u7684\u4f7f\u7528\u573a\u666f\u548c\u8282\u70b9\u7c7b\u578b\u4f1a\u6839\u636e\u5b9e\u9645\u7684\u5de5\u4e1a\u5e94\u7528\u548c\u8bbe\u5907\u914d\u7f6e\u800c\u6709\u6240\u4e0d\u540c\u3002\u5728\u8fdb\u884c OPC UA \u5f00\u53d1\u65f6\uff0c\u6700\u597d\u53c2\u8003\u76f8\u5173\u89c4\u8303\u548c\u8bbe\u5907\u6587\u6863\u4ee5\u4e86\u89e3\u5177\u4f53\u7684\u8282\u70b9\u7c7b\u578b\u548c\u4f7f\u7528\u65b9\u5f0f\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 OPC UA \u4e2d\uff0c\u53f6\u5b50\u8282\u70b9\uff08&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":2030,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[],"class_list":["post-2025","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-41"],"_links":{"self":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/2025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/comments?post=2025"}],"version-history":[{"count":0,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/posts\/2025\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/media?parent=2025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/categories?post=2025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sanlangcode.com\/index.php\/wp-json\/wp\/v2\/tags?post=2025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}