{"id":46430,"date":"2023-10-01T14:40:05","date_gmt":"2023-10-01T06:40:05","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=46430"},"modified":"2023-10-01T14:40:05","modified_gmt":"2023-10-01T06:40:05","slug":"msjlxsb","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/46430.html","title":{"rendered":"Modbus\u6570\u636e\u7c7b\u578b\u662fBCD"},"content":{"rendered":"
Modbus\u662f\u4e00\u79cd\u4e13\u95e8\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u8ba9\u8ba1\u7b97\u673a\u548c\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u4e4b\u95f4\u7684\u901a\u4fe1\u53d8\u5f97\u66f4\u52a0\u7b80\u5355\u3001\u53ef\u9760\u548c\u53ef\u9760\u3002Modbus\u6570\u636e\u7c7b\u578b\u662fBCD\uff0c\u8fd9\u662f\u4e00\u79cd\u7528\u4e8e\u5728\u8ba1\u7b97\u673a\u548c\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u4e4b\u95f4\u4f20\u8f93\u6570\u636e\u7684\u6807\u51c6\u683c\u5f0f\u3002BCD\uff08Binary-Coded Decimal\uff09\u662f\u4e00\u79cd\u4e8c\u8fdb\u5236\u7f16\u7801\uff0c\u5b83\u53ef\u4ee5\u5c06\u5341\u8fdb\u5236\u6570\u5b57\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u6570\u5b57\uff0c\u4ee5\u4fbf\u5728\u8ba1\u7b97\u673a\u7cfb\u7edf\u4e2d\u4f7f\u7528\u3002<\/p>\n
BCD\uff08Binary-Coded Decimal\uff09\u662f\u4e00\u79cd\u4e8c\u8fdb\u5236\u7f16\u7801\uff0c\u5b83\u5c06\u5341\u8fdb\u5236\u6570\u5b57\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u6570\u5b57\uff0c\u4ee5\u4fbf\u5728\u8ba1\u7b97\u673a\u7cfb\u7edf\u4e2d\u4f7f\u7528\u3002\u4e00\u4e2aBCD\u6570\u5b57\u75314\u4f4d\u4e8c\u8fdb\u5236\u6570\u5b57\u7ec4\u6210\uff0c\u6bcf\u4f4d\u4e8c\u8fdb\u5236\u6570\u5b57\u53ef\u4ee5\u8868\u793a0-9\u4e4b\u95f4\u7684\u4efb\u610f\u4e00\u4e2a\u5341\u8fdb\u5236\u6570\u5b57\u3002\u5728BCD\u7f16\u7801\u4e2d\uff0c4\u4f4d\u4e8c\u8fdb\u5236\u6570\u5b57\u53ef\u4ee5\u8868\u793a0-99\u4e4b\u95f4\u7684\u4efb\u610f\u4e00\u4e2a\u5341\u8fdb\u5236\u6570\u5b57\uff0c8\u4f4d\u4e8c\u8fdb\u5236\u6570\u5b57\u53ef\u4ee5\u8868\u793a0-999\u4e4b\u95f4\u7684\u4efb\u610f\u4e00\u4e2a\u5341\u8fdb\u5236\u6570\u5b57\uff0c\u4ee5\u6b64\u7c7b\u63a8\u3002<\/p>\n
BCD\u7f16\u7801\u7684\u4f18\u52bf\u5f88\u660e\u663e\uff0c\u5b83\u53ef\u4ee5\u5c06\u5341\u8fdb\u5236\u6570\u5b57\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u6570\u5b57\uff0c\u4ece\u800c\u4f7f\u5f97\u8ba1\u7b97\u673a\u7cfb\u7edf\u53ef\u4ee5\u66f4\u52a0\u6709\u6548\u5730\u5904\u7406\u6570\u636e\u3002\u6b64\u5916\uff0cBCD\u7f16\u7801\u8fd8\u53ef\u4ee5\u63d0\u9ad8\u6570\u636e\u7684\u5b58\u50a8\u6548\u7387\uff0c\u56e0\u4e3a\u5b83\u53ef\u4ee5\u5c06\u5341\u8fdb\u5236\u6570\u5b57\u5b58\u50a8\u5728\u66f4\u5c11\u7684\u5b57\u8282\u4e2d\uff0c\u4ece\u800c\u8282\u7701\u5b58\u50a8\u7a7a\u95f4\u3002<\/p>\n
\u5c3d\u7ba1BCD\u7f16\u7801\u5177\u6709\u8bb8\u591a\u4f18\u70b9\uff0c\u4f46\u5b83\u4e5f\u5b58\u5728\u4e00\u4e9b\u7f3a\u70b9\u3002\u9996\u5148\uff0cBCD\u7f16\u7801\u7684\u6570\u636e\u4f20\u8f93\u6548\u7387\u8f83\u4f4e\uff0c\u56e0\u4e3a\u5b83\u6bd4\u5176\u4ed6\u7f16\u7801\u6a21\u5f0f\u66f4\u8017\u65f6\u3002\u5176\u6b21\uff0cBCD\u7f16\u7801\u7684\u6570\u636e\u4f20\u8f93\u5bb9\u6613\u51fa\u9519\uff0c\u56e0\u4e3a\u5b83\u7684\u6570\u636e\u4f20\u8f93\u901f\u5ea6\u8f83\u6162\uff0c\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u5bb9\u6613\u53d1\u751f\u9519\u8bef\u3002<\/p>\n
Modbus\u6570\u636e\u7c7b\u578b\u662fBCD\uff0c\u56e0\u6b64\u5b83\u53ef\u4ee5\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u4e2d\u7684\u6570\u636e\u4f20\u8f93\u3002Modbus\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u5404\u79cd\u8bbe\u5907\uff0c\u5982PLC\uff08\u53ef\u7f16\u7a0b\u63a7\u5236\u5668\uff09\u3001\u6e29\u5ea6\u4f20\u611f\u5668\u3001\u6d41\u91cf\u8ba1\u7b49\uff0c\u5b83\u53ef\u4ee5\u5c06\u8fd9\u4e9b\u8bbe\u5907\u4e2d\u7684\u6570\u636e\u4ee5BCD\u7f16\u7801\u7684\u5f62\u5f0f\u8fdb\u884c\u4f20\u8f93\uff0c\u4ece\u800c\u63d0\u9ad8\u6570\u636e\u4f20\u8f93\u7684\u6548\u7387\u3002\u6b64\u5916\uff0cModbus\u8fd8\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u5404\u79cd\u8bbe\u5907\u7684\u8fd0\u884c\u72b6\u6001\uff0c\u4ece\u800c\u5b9e\u73b0\u81ea\u52a8\u5316\u63a7\u5236\u3002<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86Modbus\u6570\u636e\u7c7b\u578b\u662fBCD\u7684\u57fa\u672c\u539f\u7406\u3001\u4f18\u70b9\u548c\u7f3a\u70b9\uff0c\u4ee5\u53ca\u5b83\u5728\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u4e2d\u7684\u5e94\u7528\u3002<\/strong>BCD\u7f16\u7801\u53ef\u4ee5\u5c06\u5341\u8fdb\u5236\u6570\u5b57\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u6570\u5b57\uff0c\u4ece\u800c\u63d0\u9ad8\u6570\u636e\u7684\u5b58\u50a8\u6548\u7387\uff0c\u4f46\u5b83\u7684\u6570\u636e\u4f20\u8f93\u6548\u7387\u8f83\u4f4e\uff0c\u4f20\u8f93\u8fc7\u7a0b\u4e2d\u5bb9\u6613\u53d1\u751f\u9519\u8bef\u3002Modbus\u6570\u636e\u7c7b\u578b\u662fBCD\uff0c\u53ef\u4ee5\u7528\u4e8e\u63a7\u5236\u5404\u79cd\u8bbe\u5907\u7684\u8fd0\u884c\u72b6\u6001\uff0c\u4ece\u800c\u5b9e\u73b0\u81ea\u52a8\u5316\u63a7\u5236\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Modbus\u662f\u4e00\u79cd\u4e13\u95e8\u7528\u4e8e\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u5b83\u53ef\u4ee5\u8ba9\u8ba1\u7b97\u673a\u548c\u5de5\u4e1a\u63a7\u5236\u7cfb\u7edf\u4e4b\u95f4\u7684\u901a\u4fe1\u53d8\u5f97\u66f4\u52a0\u7b80\u5355\u3001\u53ef\u9760\u548c\u53ef\u9760\u3002Modbus\u6570\u636e\u7c7b\u578b\u662fBCD\uff0c\u8fd9\u662f\u4e00\u79cd\u7528\u4e8e\u5728\u8ba1\u7b97\u673a\u548c\u5de5\u4e1a<\/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-46430","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\/46430","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=46430"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/46430\/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=46430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=46430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=46430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}