{"id":62301,"date":"2023-11-02T21:30:38","date_gmt":"2023-11-02T13:30:38","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=62301"},"modified":"2023-11-02T21:30:38","modified_gmt":"2023-11-02T13:30:38","slug":"mjdmsjzz","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/62301.html","title":{"rendered":"Modbus DataPtr\uff1a\u89e3\u8bfbModbus\u6570\u636e\u6307\u9488"},"content":{"rendered":"
Modbus\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u5de5\u4e1a\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u4e3a\u8fde\u63a5\u8bbe\u5907\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u6709\u6548\u7684\u65b9\u5f0f\u3002DataPtr\u662fModbus\u534f\u8bae\u4e2d\u4e00\u4e2a\u91cd\u8981\u7684\u6982\u5ff5\uff0c\u5b83\u6307\u7684\u662f\u67d0\u4e2a\u7279\u5b9a\u7684\u6570\u636e\u5730\u5740\uff0c\u7528\u4e8e\u5b58\u50a8\u6216\u8bfb\u53d6\u6570\u636e\u3002\u672c\u6587\u5c06\u5bf9Modbus DataPtr\u8fdb\u884c\u8be6\u7ec6\u89e3\u8bfb\uff0c\u4ee5\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3Modbus\u534f\u8bae\u3002<\/p>\n
DataPtr\u662f\u4e00\u79cd\u6307\u5411\u7279\u5b9a\u6570\u636e\u5730\u5740\u7684\u6307\u9488\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u5b58\u50a8\u6216\u8bfb\u53d6\u6570\u636e\u3002\u5b83\u53ef\u4ee5\u6307\u5411\u7279\u5b9a\u7684\u5b57\u8282\uff0c\u4e5f\u53ef\u4ee5\u6307\u5411\u7279\u5b9a\u7684\u4f4d\uff08bit\uff09\u3002DataPtr\u7684\u683c\u5f0f\u7531Modbus\u534f\u8bae\u5b9a\u4e49\uff0c\u5b83\u7531\u4e00\u4e2a16\u4f4d\u7684\u5730\u5740\u548c\u4e00\u4e2a8\u4f4d\u7684\u957f\u5ea6\u7ec4\u6210\u3002\u5730\u5740\u662f\u6307\u67d0\u4e2a\u7279\u5b9a\u7684\u6570\u636e\u5730\u5740\uff0c\u957f\u5ea6\u662f\u6307\u8981\u8bfb\u53d6\u7684\u6570\u636e\u7684\u957f\u5ea6\uff0c\u5355\u4f4d\u4e3a\u5b57\u8282\u3002<\/p>\n
DataPtr\u53ef\u4ee5\u7528\u6765\u8bfb\u53d6\u7279\u5b9a\u7684\u6570\u636e\uff0c\u4e5f\u53ef\u4ee5\u7528\u6765\u5b58\u50a8\u6570\u636e\u3002\u5f53\u4f7f\u7528DataPtr\u8bfb\u53d6\u6570\u636e\u65f6\uff0c\u53ef\u4ee5\u6307\u5b9a\u8981\u8bfb\u53d6\u7684\u6570\u636e\u7684\u5730\u5740\u548c\u957f\u5ea6\uff0c\u4ee5\u8bfb\u53d6\u6307\u5b9a\u7684\u6570\u636e\u3002\u5f53\u4f7f\u7528DataPtr\u5b58\u50a8\u6570\u636e\u65f6\uff0c\u53ef\u4ee5\u6307\u5b9a\u8981\u5b58\u50a8\u7684\u6570\u636e\u7684\u5730\u5740\u548c\u957f\u5ea6\uff0c\u4ee5\u5b58\u50a8\u6307\u5b9a\u7684\u6570\u636e\u3002<\/p>\n
DataPtr\u7684\u4f18\u52bf\u5728\u4e8e\u5b83\u53ef\u4ee5\u6307\u5411\u4efb\u4f55\u6570\u636e\uff0c\u800c\u4e0d\u4ec5\u4ec5\u662f\u67d0\u4e2a\u7279\u5b9a\u7684\u6570\u636e\u3002\u8fd9\u4f7f\u5f97DataPtr\u66f4\u52a0\u7075\u6d3b\uff0c\u53ef\u4ee5\u7528\u6765\u8bfb\u53d6\u548c\u5b58\u50a8\u4efb\u610f\u7684\u6570\u636e\u3002\u53e6\u5916\uff0cDataPtr\u8fd8\u53ef\u4ee5\u6307\u5411\u7279\u5b9a\u7684\u4f4d\uff08bit\uff09\uff0c\u8fd9\u4f7f\u5f97DataPtr\u66f4\u52a0\u7cbe\u7ec6\uff0c\u53ef\u4ee5\u7528\u6765\u8bfb\u53d6\u548c\u5b58\u50a8\u66f4\u5c0f\u7684\u6570\u636e\u3002<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86Modbus DataPtr\u7684\u57fa\u672c\u6982\u5ff5\u3001\u5e94\u7528\u548c\u4f18\u52bf\u3002<\/strong>DataPtr\u662fModbus\u534f\u8bae\u4e2d\u4e00\u4e2a\u91cd\u8981\u7684\u6982\u5ff5\uff0c\u5b83\u6307\u7684\u662f\u67d0\u4e2a\u7279\u5b9a\u7684\u6570\u636e\u5730\u5740\uff0c\u53ef\u4ee5\u7528\u6765\u8bfb\u53d6\u548c\u5b58\u50a8\u6570\u636e\u3002DataPtr\u7684\u4f18\u52bf\u5728\u4e8e\u5b83\u53ef\u4ee5\u6307\u5411\u4efb\u4f55\u6570\u636e\uff0c\u800c\u4e0d\u4ec5\u4ec5\u662f\u67d0\u4e2a\u7279\u5b9a\u7684\u6570\u636e\uff0c\u8fd9\u4f7f\u5f97DataPtr\u66f4\u52a0\u7075\u6d3b\u548c\u7cbe\u7ec6\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Modbus\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u5de5\u4e1a\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u4e3a\u8fde\u63a5\u8bbe\u5907\u63d0\u4f9b\u4e86\u4e00\u79cd\u7b80\u5355\u6709\u6548\u7684\u65b9\u5f0f\u3002DataPtr\u662fModbus\u534f\u8bae\u4e2d\u4e00\u4e2a\u91cd\u8981\u7684\u6982\u5ff5\uff0c\u5b83\u6307\u7684\u662f\u67d0\u4e2a\u7279\u5b9a\u7684\u6570\u636e\u5730\u5740\uff0c\u7528\u4e8e\u5b58\u50a8\u6216\u8bfb\u53d6\u6570<\/p>\n","protected":false},"author":1,"featured_media":1839,"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],"class_list":["post-62301","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-m-3"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/62301","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=62301"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/62301\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/1839"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=62301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=62301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=62301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}