{"id":2065,"date":"2021-12-17T02:21:59","date_gmt":"2021-12-17T02:21:59","guid":{"rendered":"http:\/\/gcanbus.com\/?p=2065"},"modified":"2021-12-21T12:56:03","modified_gmt":"2021-12-21T12:56:03","slug":"examples-of-modbus-rtu-can-converter_gcan","status":"publish","type":"post","link":"https:\/\/gcanbus.com\/ru\/examples-of-modbus-rtu-can-converter_gcan\/","title":{"rendered":"\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f Modbus\/RTU-CAN_GCAN"},"content":{"rendered":"<p><strong>5. \u041f\u0440\u0438\u043c\u0435\u0440\u044b<\/strong><br \/>\n\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0439 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043a\u043e\u043c\u0430\u043d\u0434 Modbus.<br \/>\n\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435: \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \"\u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0435\u0440\u0438\u0447\u043d\u043e\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\" \u0438 \"\u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0435\u0440\u0438\u0447\u043d\u0430\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430\".<\/p>\n<p><img decoding=\"async\" class=\"lazyload size-full wp-image-1715 aligncenter\" src=\"http:\/\/gcanbus.com\/wp-content\/uploads\/2021\/12\/1-1P10410045H40.jpg\" data-orig-src=\"http:\/\/gcanbus.com\/wp-content\/uploads\/2021\/12\/1-1P10410045H40.jpg\" alt=\"\" width=\"300\" height=\"300\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27300%27%20height%3D%27300%27%20viewBox%3D%270%200%20300%20300%27%3E%3Crect%20width%3D%27300%27%20height%3D%27300%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-srcset=\"https:\/\/gcanbus.com\/wp-content\/uploads\/2021\/12\/1-1P10410045H40-66x66.jpg 66w, https:\/\/gcanbus.com\/wp-content\/uploads\/2021\/12\/1-1P10410045H40-150x150.jpg 150w, https:\/\/gcanbus.com\/wp-content\/uploads\/2021\/12\/1-1P10410045H40-200x200.jpg 200w, https:\/\/gcanbus.com\/wp-content\/uploads\/2021\/12\/1-1P10410045H40.jpg 300w\" data-sizes=\"auto\" data-orig-sizes=\"(max-width: 300px) 100vw, 300px\" \/><br \/>\n<strong>5.1 \u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 CAN<\/strong><br \/>\n\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u0432\u0435\u0434\u043e\u043c\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 Modbus: 1, \u043f\u0435\u0440\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 Modbus: 0x01, CAN: \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043a\u0430\u0434\u0440, \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0430\u0434\u0440\u0430: 0x181, \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u0434\u0440\u0430 CAN: 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08.<br \/>\n\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 Modbus-\u0432\u0435\u0434\u0443\u0449\u0438\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u0430\u0434\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430:<br \/>\n01 03 00 01 00 04 15 C9<br \/>\n\u041e\u0442\u0432\u0435\u0442\u043d\u044b\u0439 \u043a\u0430\u0434\u0440 GCAN-204:<br \/>\n01 03 08 02 01 04 03 06 05 08 07 17 C1<br \/>\n\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e CRC \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b CRC16. (\u0421 \u0434\u0438\u0441\u043a\u043e\u043c)<br \/>\n\u0412 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u043e\u0434\u0443\u043b\u044c GCAN-204 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043a\u0430\u0434\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u043c \u043a\u0430\u0434\u0440\u0430 0x181 \u043e\u0442 CAN-\u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f.<br \/>\n<strong>5.2 \u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 CAN<\/strong><br \/>\n\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0430\u0434\u0440\u0435\u0441 \u0432\u0435\u0434\u043e\u043c\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 Modbus: 1, \u043f\u0435\u0440\u0432\u044b\u0439 \u0430\u0434\u0440\u0435\u0441 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430 Modbus: 0x101 (\u0434\u0435\u0441\u044f\u0442\u0438\u0447\u043d\u044b\u0439: 257), \u043a\u043e\u0434 \u0444\u0443\u043d\u043a\u0446\u0438\u0438: 16 (10H), CAN: \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043a\u0430\u0434\u0440, \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 \u043a\u0430\u0434\u0440\u0430: 0x201, \u0434\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u0434\u0440\u0430 CAN: 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08.<br \/>\n\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 Modbus-\u0432\u0435\u0434\u0443\u0449\u0438\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442 \u043a\u0430\u0434\u0440 \u0437\u0430\u043f\u0440\u043e\u0441\u0430:<br \/>\n01 10 01 01 00 04 08 02 01 04 03 06 05 08 07 CB 2E<br \/>\n\u041e\u0442\u0432\u0435\u0442\u043d\u044b\u0439 \u043a\u0430\u0434\u0440 GCAN-204:<br \/>\n01 10 01 01 00 04 91 F6<br \/>\n\u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e CRC \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u043e\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b CRC16. \u0412 \u044d\u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 CAN-\u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043a\u0430\u0434\u0440 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u043c \u043a\u0430\u0434\u0440\u0430 0x201 \u0441\u043e \u0441\u0442\u043e\u0440\u043e\u043d\u044b Modbus \u043c\u043e\u0434\u0443\u043b\u044f GCAN-204.<\/p>","protected":false},"excerpt":{"rendered":"<p>5. \u041f\u0440\u0438\u043c\u0435\u0440\u044b \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043c\u043e\u0436\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u0435\u043c\u044b\u0439 \u043f\u043e\u043c\u043e\u0449\u043d\u0438\u043a \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0439 Modbus. \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435: \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \"\u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0435\u0440\u0438\u0447\u043d\u044b\u0439 ...<\/p>","protected":false},"author":1,"featured_media":2799,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[26],"tags":[],"class_list":["post-2065","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solution"],"_links":{"self":[{"href":"https:\/\/gcanbus.com\/ru\/wp-json\/wp\/v2\/posts\/2065","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gcanbus.com\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gcanbus.com\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gcanbus.com\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gcanbus.com\/ru\/wp-json\/wp\/v2\/comments?post=2065"}],"version-history":[{"count":0,"href":"https:\/\/gcanbus.com\/ru\/wp-json\/wp\/v2\/posts\/2065\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gcanbus.com\/ru\/wp-json\/wp\/v2\/media\/2799"}],"wp:attachment":[{"href":"https:\/\/gcanbus.com\/ru\/wp-json\/wp\/v2\/media?parent=2065"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gcanbus.com\/ru\/wp-json\/wp\/v2\/categories?post=2065"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gcanbus.com\/ru\/wp-json\/wp\/v2\/tags?post=2065"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}