{"id":39504,"date":"2023-10-02T05:55:08","date_gmt":"2023-10-01T21:55:08","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=39504"},"modified":"2023-10-02T05:55:08","modified_gmt":"2023-10-01T21:55:08","slug":"mgffz","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/39504.html","title":{"rendered":"Modbus\u7ed9Float\u8d4b\u503c"},"content":{"rendered":"
Modbus\u662f\u4e00\u79cd\u901a\u7528\u7684\uff0c\u4e25\u683c\u7684\uff0c\u4e3b\u8981\u7528\u4e8e\u5de5\u4e1a\u81ea\u52a8\u5316\u7684\u901a\u8baf\u534f\u8bae\u3002\u5b83\u53ef\u4ee5\u7528\u6765\u5b9e\u73b0\u4e0d\u540c\u7c7b\u578b\u7684\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u4ee5\u53ca\u5728\u8fd9\u4e9b\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u3002Modbus\u534f\u8bae\u652f\u6301\u591a\u79cd\u6570\u636e\u7c7b\u578b\uff0c\u5176\u4e2d\u4e4b\u4e00\u662ffloat\u7c7b\u578b\uff0c\u5b83\u53ef\u4ee5\u7528\u6765\u8868\u793a\u5341\u8fdb\u5236\u5c0f\u6570\uff0c\u5728\u5de5\u4e1a\u81ea\u52a8\u5316\u9886\u57df\uff0cfloat\u7c7b\u578b\u7684\u6570\u636e\u7ecf\u5e38\u7528\u4e8e\u8868\u793a\u4f20\u611f\u5668\u7684\u6d4b\u91cf\u503c\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Modbus\u534f\u8bae\u7ed9float\u7c7b\u578b\u7684\u6570\u636e\u8d4b\u503c\uff0c\u4ee5\u53ca\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u7684\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n
Modbus\u534f\u8bae\u91c7\u7528\u5ba2\u6237\u7aef\/\u670d\u52a1\u5668\u67b6\u6784\uff0c\u5ba2\u6237\u7aef\u53d1\u51fa\u8bf7\u6c42\uff0c\u670d\u52a1\u5668\u63a5\u6536\u5e76\u5904\u7406\u8bf7\u6c42\uff0c\u7136\u540e\u5c06\u54cd\u5e94\u53d1\u9001\u7ed9\u5ba2\u6237\u7aef\u3002Modbus\u534f\u8bae\u4f7f\u7528\u4ee5\u592a\u7f51\u3001RS485\u6216RS232\u7b49\u4f20\u8f93\u5a92\u4ecb\u8fdb\u884c\u901a\u4fe1\uff0c\u5b83\u652f\u6301\u591a\u79cd\u6570\u636e\u7c7b\u578b\uff0c\u5176\u4e2d\u5305\u62ec\u5e03\u5c14\u578b\u3001\u65e0\u7b26\u53f7\u6574\u578b\u3001\u6709\u7b26\u53f7\u6574\u578b\u3001\u6d6e\u70b9\u578b\u7b49\u3002<\/p>\n
Modbus\u534f\u8bae\u4e2d\u7684float\u7c7b\u578b\u662f\u4e00\u79cd32\u4f4d\u6d6e\u70b9\u6570\uff0c\u5b83\u7531\u4e24\u4e2a16\u4f4d\u7684\u5b57\u7ec4\u6210\uff0c\u5206\u522b\u8868\u793a\u6307\u6570\u548c\u5c3e\u6570\uff0c\u56e0\u6b64float\u7c7b\u578b\u7684\u6570\u636e\u53ef\u4ee5\u8868\u793a\u66f4\u5927\u8303\u56f4\u7684\u6570\u503c\uff0c\u6bd4\u5982\u5341\u8fdb\u5236\u5c0f\u6570\u3002<\/p>\n
Modbus\u534f\u8bae\u652f\u6301\u591a\u79cd\u6570\u636e\u7c7b\u578b\uff0c\u5176\u4e2d\u4e4b\u4e00\u662ffloat\u7c7b\u578b\uff0c\u4f7f\u7528Modbus\u534f\u8bae\u7ed9float\u7c7b\u578b\u8d4b\u503c\u7684\u65b9\u6cd5\u5982\u4e0b\uff1a<\/p>\n
\u4f7f\u7528Modbus\u534f\u8bae\u7ed9float\u7c7b\u578b\u7684\u6570\u636e\u8d4b\u503c\u65f6\uff0c\u9700\u8981\u6ce8\u610f\u4ee5\u4e0b\u51e0\u70b9\uff1a<\/p>\n
Modbus\u534f\u8bae\u652f\u6301\u591a\u79cd\u6570\u636e\u7c7b\u578b\uff0c\u5176\u4e2d\u4e4b\u4e00\u662ffloat\u7c7b\u578b\uff0c\u4f7f\u7528Modbus\u534f\u8bae\u7ed9float\u7c7b\u578b\u7684\u6570\u636e\u8d4b\u503c\u7684\u65b9\u6cd5\u662f\uff1a\u9996\u5148\u786e\u5b9afloat\u7c7b\u578b\u7684\u6570\u636e\u6240\u5728\u7684\u5730\u5740\uff0c\u7136\u540e\u786e\u5b9a\u8981\u7ed9float\u7c7b\u578b\u6570\u636e\u8d4b\u7684\u503c\uff0c\u6700\u540e\u5c06\u8fd9\u4e24\u4e2a16\u4f4d\u7684\u5b57\u53d1\u9001\u7ed9Modbus\u670d\u52a1\u5668\uff0c\u670d\u52a1\u5668\u63a5\u6536\u5230\u8fd9\u4e24\u4e2a\u5b57\u4e4b\u540e\uff0c\u5c31\u53ef\u4ee5\u5c06float\u7c7b\u578b\u7684\u6570\u636e\u8d4b\u503c\u6210\u529f\u3002<\/strong>\u4f7f\u7528Modbus\u534f\u8bae\u7ed9float\u7c7b\u578b\u7684\u6570\u636e\u8d4b\u503c\u65f6\uff0c\u9700\u8981\u6ce8\u610ffloat\u7c7b\u578b\u7684\u6570\u636e\u5728Modbus\u534f\u8bae\u4e2d\u662f\u7531\u4e24\u4e2a16\u4f4d\u7684\u5b57\u7ec4\u6210\u7684\uff0c\u56e0\u6b64\u9700\u8981\u6ce8\u610f\u8fd9\u4e24\u4e2a\u5b57\u7684\u987a\u5e8f\uff0c\u5426\u5219\u4f1a\u9020\u6210\u6570\u636e\u8d4b\u503c\u5931\u8d25\u7684\u60c5\u51b5\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Modbus\u662f\u4e00\u79cd\u901a\u7528\u7684\uff0c\u4e25\u683c\u7684\uff0c\u4e3b\u8981\u7528\u4e8e\u5de5\u4e1a\u81ea\u52a8\u5316\u7684\u901a\u8baf\u534f\u8bae\u3002\u5b83\u53ef\u4ee5\u7528\u6765\u5b9e\u73b0\u4e0d\u540c\u7c7b\u578b\u7684\u8bbe\u5907\u4e4b\u95f4\u7684\u901a\u4fe1\uff0c\u4ee5\u53ca\u5728\u8fd9\u4e9b\u8bbe\u5907\u4e4b\u95f4\u8fdb\u884c\u6570\u636e\u4ea4\u6362\u3002Modbus\u534f\u8bae\u652f\u6301\u591a\u79cd\u6570\u636e\u7c7b\u578b\uff0c<\/p>\n","protected":false},"author":1,"featured_media":4132,"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-39504","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\/39504","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=39504"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/39504\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media\/4132"}],"wp:attachment":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/media?parent=39504"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=39504"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=39504"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}