{"id":43555,"date":"2023-10-04T22:37:53","date_gmt":"2023-10-04T14:37:53","guid":{"rendered":"https:\/\/www.techphant.cn\/?p=43555"},"modified":"2023-10-04T22:37:53","modified_gmt":"2023-10-04T14:37:53","slug":"lyzsrhyxdsxzdh","status":"publish","type":"post","link":"https:\/\/www.techphant.cn\/blog\/43555.html","title":{"rendered":"Libmodbus\u79fb\u690dSTM8\uff1a\u5982\u4f55\u6709\u6548\u5730\u5b9e\u73b0\u81ea\u52a8\u5316"},"content":{"rendered":"
Libmodbus\u662f\u4e00\u79cd\u5f00\u6e90\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u53ef\u7528\u4e8e\u63a7\u5236\u548c\u76d1\u63a7\u8bbe\u5907\u4e0a\u7684\u4f20\u611f\u5668\u548c\u63a7\u5236\u5668\u3002\u5b83\u53ef\u4ee5\u5c06\u4e0d\u540c\u7684\u8bbe\u5907\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u5b9e\u73b0\u81ea\u52a8\u5316\uff0c\u5e76\u4f7f\u7cfb\u7edf\u66f4\u5177\u53ef\u9760\u6027\u548c\u7075\u6d3b\u6027\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528Libmodbus\u79fb\u690dSTM8\uff0c\u5b9e\u73b0\u66f4\u9ad8\u6548\u7684\u81ea\u52a8\u5316\u3002<\/p>\n
Libmodbus\u662f\u4e00\u79cd\u5f00\u6e90\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u7528\u4e8e\u63a7\u5236\u548c\u76d1\u63a7\u8bbe\u5907\u4e0a\u7684\u4f20\u611f\u5668\u548c\u63a7\u5236\u5668\u3002\u5b83\u4f7f\u7528TCP\/IP\u534f\u8bae\uff0c\u53ef\u4ee5\u5c06\u4e0d\u540c\u7684\u8bbe\u5907\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u5b9e\u73b0\u81ea\u52a8\u5316\uff0c\u5e76\u4f7f\u7cfb\u7edf\u66f4\u5177\u53ef\u9760\u6027\u548c\u7075\u6d3b\u6027\u3002Libmodbus\u53ef\u4ee5\u5728\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\uff0c\u5305\u62ecLinux\u3001Windows\u548cMac OS X\uff0c\u56e0\u6b64\u53ef\u4ee5\u5728\u591a\u79cd\u786c\u4ef6\u5e73\u53f0\u4e0a\u4f7f\u7528\u3002<\/p>\n
STM8\u662f\u4e00\u79cd\u9ad8\u6027\u80fd\u3001\u4f4e\u529f\u8017\u76848\u4f4d\u5fae\u63a7\u5236\u5668\uff0c\u5177\u6709\u4e30\u5bcc\u7684\u5916\u8bbe\uff0c\u53ef\u4ee5\u7528\u4e8e\u8bb8\u591a\u5e94\u7528\u573a\u666f\uff0c\u5982\u5bb6\u7528\u7535\u5668\u3001\u6c7d\u8f66\u7535\u5b50\u3001\u5de5\u4e1a\u63a7\u5236\u7b49\u3002STM8\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u7f16\u7a0b\u8bed\u8a00\uff0c\u5982C\u3001C++\u548cAssembly\uff0c\u5e76\u53ef\u4ee5\u4e0e\u591a\u79cd\u5916\u8bbe\u8fdb\u884c\u901a\u4fe1\uff0c\u5982I2C\u3001SPI\u3001UART\u7b49\u3002<\/p>\n
\u8981\u4f7f\u7528Libmodbus\u79fb\u690dSTM8\uff0c\u9996\u5148\u9700\u8981\u51c6\u5907\u4e00\u5757STM8\u5f00\u53d1\u677f\uff0c\u5e76\u5c06\u5176\u8fde\u63a5\u5230\u7535\u8111\u4e0a\u3002\u6b64\u5916\uff0c\u8fd8\u9700\u8981\u4e00\u4e2aUSB\u8f6c\u4e32\u53e3\u6a21\u5757\uff0c\u7528\u4e8e\u5c06STM8\u5f00\u53d1\u677f\u8fde\u63a5\u5230\u7535\u8111\u4e0a\u3002<\/p>\n
\u4e3a\u4e86\u5c06Libmodbus\u79fb\u690d\u5230STM8\uff0c\u9700\u8981\u51c6\u5907\u4e00\u4e9b\u8f6f\u4ef6\u5de5\u5177\uff0c\u5982STM8\u5f00\u53d1\u73af\u5883\uff0c\u7528\u4e8e\u7f16\u7a0bSTM8\uff0c\u4ee5\u53caLibmodbus\u5e93\uff0c\u7528\u4e8e\u5b9e\u73b0Libmodbus\u534f\u8bae\u3002<\/p>\n
\u5b8c\u6210\u786c\u4ef6\u548c\u8f6f\u4ef6\u51c6\u5907\u540e\uff0c\u53ef\u4ee5\u5f00\u59cb\u7f16\u7a0b\u5b9e\u73b0Libmodbus\u79fb\u690dSTM8\u3002\u9996\u5148\uff0c\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u5de5\u7a0b\uff0c\u5e76\u5c06Libmodbus\u5e93\u6587\u4ef6\u5bfc\u5165\u5de5\u7a0b\u4e2d\u3002\u7136\u540e\uff0c\u6839\u636e\u9700\u8981\uff0c\u7f16\u5199STM8\u4ee3\u7801\uff0c\u4ee5\u5b9e\u73b0Libmodbus\u534f\u8bae\u3002\u6700\u540e\uff0c\u5c06STM8\u4ee3\u7801\u70e7\u5f55\u5230STM8\u5f00\u53d1\u677f\u4e2d\uff0c\u5373\u53ef\u5b8c\u6210Libmodbus\u79fb\u690dSTM8\u7684\u5b9e\u73b0\u3002<\/p>\n
\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Libmodbus\u79fb\u690dSTM8\uff0c\u5b9e\u73b0\u66f4\u9ad8\u6548\u7684\u81ea\u52a8\u5316\u3002<\/strong>Libmodbus\u662f\u4e00\u79cd\u5f00\u6e90\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u53ef\u4ee5\u5c06\u4e0d\u540c\u7684\u8bbe\u5907\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u5b9e\u73b0\u81ea\u52a8\u5316\uff0c\u5e76\u4f7f\u7cfb\u7edf\u66f4\u5177\u53ef\u9760\u6027\u548c\u7075\u6d3b\u6027\u3002\u8981\u4f7f\u7528Libmodbus\u79fb\u690dSTM8\uff0c\u9700\u8981\u51c6\u5907\u4e00\u5757STM8\u5f00\u53d1\u677f\uff0c\u4ee5\u53caSTM8\u5f00\u53d1\u73af\u5883\u548cLibmodbus\u5e93\uff0c\u7136\u540e\u6839\u636e\u9700\u8981\u7f16\u5199STM8\u4ee3\u7801\uff0c\u5b9e\u73b0Libmodbus\u534f\u8bae\uff0c\u6700\u540e\u5c06STM8\u4ee3\u7801\u70e7\u5f55\u5230STM8\u5f00\u53d1\u677f\u4e2d\uff0c\u5373\u53ef\u5b8c\u6210Libmodbus\u79fb\u690dSTM8\u7684\u5b9e\u73b0\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" Libmodbus\u662f\u4e00\u79cd\u5f00\u6e90\u7684\u901a\u4fe1\u534f\u8bae\uff0c\u53ef\u7528\u4e8e\u63a7\u5236\u548c\u76d1\u63a7\u8bbe\u5907\u4e0a\u7684\u4f20\u611f\u5668\u548c\u63a7\u5236\u5668\u3002\u5b83\u53ef\u4ee5\u5c06\u4e0d\u540c\u7684\u8bbe\u5907\u8fde\u63a5\u5728\u4e00\u8d77\uff0c\u5b9e\u73b0\u81ea\u52a8\u5316\uff0c\u5e76\u4f7f\u7cfb\u7edf\u66f4\u5177\u53ef\u9760\u6027\u548c\u7075\u6d3b\u6027\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528L<\/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":[109],"class_list":["post-43555","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-zdh"],"_links":{"self":[{"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/43555","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=43555"}],"version-history":[{"count":0,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/posts\/43555\/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=43555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/categories?post=43555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techphant.cn\/wp-json\/wp\/v2\/tags?post=43555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}