{"id":51603,"date":"2026-08-04T21:03:40","date_gmt":"2026-08-04T13:03:40","guid":{"rendered":"https:\/\/www.modbus.cn\/51603.html"},"modified":"2026-08-04T21:03:40","modified_gmt":"2026-08-04T13:03:40","slug":"visualhmi-%e8%87%aa%e5%ae%9a%e4%b9%89%e6%97%b6%e9%97%b4%e6%ae%b5%e4%b8%8e%e6%96%87%e4%bb%b6%e5%90%8d%e5%af%bc%e5%87%ba%ef%bc%9aset_export_name","status":"publish","type":"post","link":"http:\/\/www.modbus.cn\/en\/51603.html","title":{"rendered":"VisualHMI \u81ea\u5b9a\u4e49\u65f6\u95f4\u6bb5\u4e0e\u6587\u4ef6\u540d\u5bfc\u51fa\uff1aset_export_name"},"content":{"rendered":"<p>\u8bb0\u5f55\u7c7b\u63a7\u4ef6\uff08\u6570\u636e\u8bb0\u5f55\/\u64cd\u4f5c\u8bb0\u5f55\/\u544a\u8b66\uff09\u5bfc\u51fa CSV \u65f6\uff0c\u7cbe\u786e\u6307\u5b9a\u65f6\u95f4\u8303\u56f4 + \u81ea\u5b9a\u4e49\u6587\u4ef6\u540d\u3002HMI&amp;M&amp;DX + USB \u63a5\u53e3 + \u5b9a\u5236\u56fa\u4ef6\u3002<\/p>\n<h2>1. API \u4e0e\u5bc4\u5b58\u5668<\/h2>\n<table border=\"1\" cellpadding=\"6\" style=\"border-collapse:collapse;font-size:14px\">\n<tr>\n<th>\u9879\u76ee<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<tr>\n<td>set_export_name(name)<\/td>\n<td>\u5bfc\u51fa\u6587\u4ef6\u540d\uff0cUTF-8 \u5b57\u7b26\u4e32\uff0c<strong>\u987b\u624b\u52a8\u52a0 .csv \u6269\u5c55\u540d<\/strong><\/td>\n<\/tr>\n<tr>\n<td>0x0192<\/td>\n<td>\u5bfc\u51fa\u5f00\u59cb\u65f6\u95f4\u6233\uff08UINT32\uff09<\/td>\n<\/tr>\n<tr>\n<td>0x0194<\/td>\n<td>\u5bfc\u51fa\u7ed3\u675f\u65f6\u95f4\u6233\uff08UINT32\uff09<\/td>\n<\/tr>\n<\/table>\n<p>\u65f6\u95f4\u6bb5\u5185\u65e0\u8bb0\u5f55\u5219\u4e0d\u5bfc\u51fa\u6587\u4ef6\u3002<\/p>\n<p><!-- MISSING ot11_Data_Export_1.png --><\/p>\n<p><!-- MISSING ot11_Data_Export_2.png --><\/p>\n<p><!-- MISSING ot11_Data_Export_3.png --><\/p>\n<div class=\"tip\" style=\"border-left:4px solid #f7941e;padding:10px 14px;background:#fff8ef;margin:14px 0\">\u5bfc\u51fa\u4e24\u4e2a\u5751\uff1a<strong>\u2460set_export_name \u7684\u6587\u4ef6\u540d\u5fc5\u987b\u81ea\u5df1\u5e26 .csv\uff0c\u4e0d\u7136\u5bfc\u51fa\u7684\u6587\u4ef6\u6253\u4e0d\u5f00\uff1b\u2461\u65f6\u95f4\u6bb5\u5185\u4e00\u6761\u8bb0\u5f55\u90fd\u6ca1\u6709\uff0c\u7cfb\u7edf\u4e0d\u4f1a\u751f\u6210\u6587\u4ef6\uff08\u4e0d\u662f\u7a7a\u6587\u4ef6\uff0c\u662f\u6839\u672c\u6ca1\u6709\uff09<\/strong>\u3002\u65f6\u95f4\u8303\u56f4\u7528 0x0192\/0x0194 \u4e24\u4e2a UINT32 \u65f6\u95f4\u6233\u63a7\u5236\u3002<\/div>\n<p style=\"color:#888;font-size:13px\">\u6574\u7406\u81ea \u5e7f\u5dde\u5927\u5f69\u79d1\u6280 VisualHMI \u5f00\u53d1\u6587\u6863\uff08hmi-doc.gz-dc.com\uff09\u5176\u4ed6\u6280\u672f\u6559\u7a0b\u300c\u81ea\u5b9a\u4e49\u65f6\u95f4\u6bb5\u4e0e\u6587\u4ef6\u540d\u5bfc\u51fa\u300d\uff0c\u7248\u6743\u5f52\u5927\u5f69\u79d1\u6280\u6240\u6709\u3002<\/p>\n<span id=\"magicpostMarker\"><\/span>","protected":false},"excerpt":{"rendered":"<p>\u8bb0\u5f55\u7c7b\u63a7\u4ef6\uff08\u6570\u636e\u8bb0\u5f55\/\u64cd\u4f5c\u8bb0\u5f55\/\u544a\u8b66\uff09\u5bfc\u51fa CSV \u65f6\uff0c\u7cbe\u786e&#8230;<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[3126,3132],"tags":[3433,3432,3431,3134,3430,3434],"class_list":["post-51603","post","type-post","status-publish","format-standard","hentry","category-hmi-dev","category-hmi-other","tag-0x0192","tag-csv","tag-set_export_name","tag-visualhmi","tag-3430","tag-3434"],"_links":{"self":[{"href":"http:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/posts\/51603","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/comments?post=51603"}],"version-history":[{"count":0,"href":"http:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/posts\/51603\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/media?parent=51603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/categories?post=51603"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.modbus.cn\/en\/wp-json\/wp\/v2\/tags?post=51603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}