{"id":5486,"date":"2025-12-02T13:20:26","date_gmt":"2025-12-02T10:20:26","guid":{"rendered":"https:\/\/tp-pla.ru\/?p=5486"},"modified":"2025-12-02T13:21:50","modified_gmt":"2025-12-02T10:21:50","slug":"%d0%be%d0%bf%d0%b8%d1%81%d0%b0%d0%bd%d0%b8%d0%b5-%d1%80%d0%b5%d0%b3%d0%b8%d1%81%d1%82%d1%80%d0%be%d0%b2-%d0%b4%d0%bb%d1%8f","status":"publish","type":"post","link":"https:\/\/tp-pla.ru\/?p=5486","title":{"rendered":"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432 \u0434\u043b\u044f"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"460\" src=\"https:\/\/tp-pla.ru\/wp-content\/uploads\/2025\/12\/IMG_4174-700x460.jpg\" alt=\"\" class=\"wp-image-5487\" srcset=\"https:\/\/tp-pla.ru\/wp-content\/uploads\/2025\/12\/IMG_4174-700x460.jpg 700w, https:\/\/tp-pla.ru\/wp-content\/uploads\/2025\/12\/IMG_4174-300x197.jpg 300w, https:\/\/tp-pla.ru\/wp-content\/uploads\/2025\/12\/IMG_4174-768x505.jpg 768w, https:\/\/tp-pla.ru\/wp-content\/uploads\/2025\/12\/IMG_4174-1536x1010.jpg 1536w, https:\/\/tp-pla.ru\/wp-content\/uploads\/2025\/12\/IMG_4174-2048x1347.jpg 2048w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p>\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b MODBUS RTU\/ASCII, <\/p>\n\n\n\n<p>\u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u043e\u0440\u0442\u0430 57600 , <\/p>\n\n\n\n<p>8N1, <\/p>\n\n\n\n<p>\u0430\u0434\u0440\u0435\u0441 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u043d\u0430 \u0448\u0438\u043d\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441\u043e 120 \u043f\u043e 132, <\/p>\n\n\n\n<p>\u043d\u0430 255 \u0442\u043e\u0436\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442.<br>\u041f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0430\u0434\u0440\u0435\u0441 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u0437\u0430\u0433\u043e\u0440\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u0430\u0432\u043e\u043c \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u043e\u043a\u043d\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 A128 \u0437\u043d\u0430\u0447\u0438\u0442 \u0430\u0434\u0440\u0435\u0441 128.<br>\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432 MODBUS \u0430\u0434\u0440\u0435\u0441 7F \u0432\u0441\u0435\u0433\u043e 8 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432 \u043f\u043e 2 \u0441\u0438\u043c\u0432\u043e\u043b\u0430, \u0433\u0434\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0431\u0438\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0431\u0438\u0442 7-\u043c\u0438\u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u043a\u043e\u043c\u0435\u0441\u0442\u0430.<br>\u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441 \u043b\u0435\u0432\u0430 \u043d\u0430 \u043f\u0440\u0430\u0432\u043e: \u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u0440\u0430\u0437\u0440\u044f\u0434, \u0437\u0430\u0442\u0435\u043c \u043c\u043b\u0430\u0434\u0448\u0438\u0439 (\u0441\u043c \u0444\u043e\u0442\u043e).<\/p>\n\n\n\n<p>\u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u043f\u0435\u0440\u0435\u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0438 \u0438\u0437 ASCII \u0432 7-\u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043d\u044b\u0439 \u043a\u043e\u0434 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u0435 :<\/p>\n\n\n\n<p>uint8_t Decode7seg( uint8_t *Sym )<br>{<br>uint8_t S = *Sym;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>switch( S )\n{\n    case '0' : S = 0x3F; break;\n    case '1' : S = 0x06; break;\n    case '2' : S = 0x5B; break;\n    case '3' : S = 0x4F; break;\n    case '4' : S = 0x66; break;\n    case '5' : S = 0x6D; break;\n    case '6' : S = 0x7D; break;\n    case '7' : S = 0x07; break;\n    case '8' : S = 0x7F; break;\n    case '9' : S = 0x6F; break;\n    case 'A' : S = 0x77; break;\n    case 'B' : S = 0xFF; break;\n    case 'C' : S = 0xFF; break;\n    case 'D' : S = 0xFF; break;\n    case 'E' : S = 0x79; break;\n    case 'F' : S = 0x71; break;\n    case 'r' : S = 0x50; break;\n    case '?' : S = 0x53; break;\n    case '-' : S = 0x40; break;\n    case ' ' : S = 0x00; break;\n    default : S = 0x53;\n}\n\nreturn S;<\/code><\/pre>\n\n\n\n<p>}<\/p>\n\n\n\n<p>\u043f\u0440\u0438\u043c\u0435\u0440 : \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u043e 0075 \u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u043f\u0440\u0430\u0432\u043e\u043c \u043f\u043e\u043b\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u0430.<br>\u041f\u0438\u0448\u0435\u043c \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 7F \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 3F3F, \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 80 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 076D.<br>\u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u0430 \u0442\u043e\u0447\u043a\u0430, \u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0443\u043c\u043c\u0438\u0440\u0443\u0435\u043c \u043f\u043e \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u043c\u0443 \u0438\u043b\u0438 \u0441 \u0447\u0438\u0441\u043b\u043e\u043c 80, \u0442\u043e\u0447\u043a\u0430 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u0431\u0438\u0442.<br>\u041f\u0440\u0438\u043c\u0435\u0440 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u044c \u0447\u0438\u0441\u043b\u043e 7.5 \u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u043f\u0440\u0430\u0432\u043e\u043c \u043f\u043e\u043b\u0435 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u0430.<br>\u041f\u0438\u0448\u0435\u043c \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 7F \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 0000, \u0432 \u0440\u0435\u0433\u0438\u0441\u0442\u0440 80 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 07ED (ED= 6D|80).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b MODBUS RTU\/ASCII, \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043f\u043e\u0440\u0442\u0430 57600 , 8N1, \u0430\u0434\u0440\u0435\u0441 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 \u043d\u0430 \u0448\u0438\u043d\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0441\u043e 120 \u043f\u043e 132, \u043d\u0430 255 \u0442\u043e\u0436\u0435 \u043e\u0442\u0432\u0435\u0447\u0430\u0435\u0442.\u041f\u0440\u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0430\u0434\u0440\u0435\u0441 \u0438\u043d\u0434\u0438\u043a\u0430\u0442\u043e\u0440\u0430 \u0437\u0430\u0433\u043e\u0440\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0440\u0430\u0432\u043e\u043c \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u043e\u043a\u043d\u0435, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 A128 \u0437\u043d\u0430\u0447\u0438\u0442 \u0430\u0434\u0440\u0435\u0441 128.\u041d\u0430\u0447\u0430\u043b\u043e \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432 MODBUS \u0430\u0434\u0440\u0435\u0441 7F \u0432\u0441\u0435\u0433\u043e 8 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043e\u0432 \u043f\u043e 2 \u0441\u0438\u043c\u0432\u043e\u043b\u0430, \u0433\u0434\u0435 \u043a\u0430\u0436\u0434\u044b\u0439 \u0431\u0438\u0442 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 \u0431\u0438\u0442 7-\u043c\u0438\u0441\u0435\u0433\u043c\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u043a\u043e\u043c\u0435\u0441\u0442\u0430.\u041f\u043e\u0440\u044f\u0434\u043e\u043a \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441 \u043b\u0435\u0432\u0430 \u043d\u0430 \u043f\u0440\u0430\u0432\u043e: \u0441\u0442\u0430\u0440\u0448\u0438\u0439 \u0440\u0430\u0437\u0440\u044f\u0434, \u0437\u0430\u0442\u0435\u043c \u043c\u043b\u0430\u0434\u0448\u0438\u0439 [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-5486","post","type-post","status-publish","format-standard","hentry","category-21"],"_links":{"self":[{"href":"https:\/\/tp-pla.ru\/index.php?rest_route=\/wp\/v2\/posts\/5486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tp-pla.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tp-pla.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tp-pla.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tp-pla.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5486"}],"version-history":[{"count":1,"href":"https:\/\/tp-pla.ru\/index.php?rest_route=\/wp\/v2\/posts\/5486\/revisions"}],"predecessor-version":[{"id":5488,"href":"https:\/\/tp-pla.ru\/index.php?rest_route=\/wp\/v2\/posts\/5486\/revisions\/5488"}],"wp:attachment":[{"href":"https:\/\/tp-pla.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tp-pla.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tp-pla.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}