{"id":19081,"date":"2025-07-07T11:28:17","date_gmt":"2025-07-07T03:28:17","guid":{"rendered":"https:\/\/icop-shop.com\/?p=19081"},"modified":"2025-07-07T14:05:14","modified_gmt":"2025-07-07T06:05:14","slug":"technical-tips-run-a-modbus-rtu-example-on-nx8mm-35","status":"publish","type":"post","link":"https:\/\/icop-shop.com\/ja\/technical-tips\/technical-tips-run-a-modbus-rtu-example-on-nx8mm-35\/","title":{"rendered":"Run a modbus RTU example on NX8MM-35"},"content":{"rendered":"\n<p>This article will tell you how to run a modbus RTU example on NX8MM-35.<br>We used&nbsp;<a href=\"https:\/\/libmodbus.org\/\" target=\"_blank\" rel=\"noreferrer noopener\"><mark class=\"has-inline-color has-ast-global-color-1-color\">libmodbus<\/mark><\/a><mark class=\"has-inline-color has-ast-global-color-1-color\">&nbsp;<\/mark>to utilize the modbus function via 2x RS485 (1 modbus server &amp; 1 modbus client on the same SBC) on NX8MM-35 under Yocto in this tips.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-alpha-channel-opacity has-background is-style-wide\" style=\"margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50);background-color:#f9f9f9;color:#f9f9f9\" \/>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Key Features of Modbus:<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Master-Slave (Client-Server) Architecture:<\/strong>&nbsp;A master (client) device initiates communication, while slave (server) devices respond.<\/li>\n\n\n\n<li><strong>Simple and Open Protocol:<\/strong>&nbsp;Easy to implement and widely supported in industrial systems.<\/li>\n\n\n\n<li><strong>Multiple Communication Modes:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Modbus RTU (Remote Terminal Unit): Uses binary data format over serial communication (RS-232, RS-485).<\/li>\n\n\n\n<li>Modbus ASCII: Uses human-readable ASCII characters for serial communication.<\/li>\n\n\n\n<li>Modbus TCP\/IP: Runs over Ethernet, allowing faster and more flexible networking.<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Common Uses of Modbus:<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Monitoring and control of industrial equipment.<\/li>\n\n\n\n<li>SCADA (Supervisory Control and Data Acquisition) systems.<\/li>\n\n\n\n<li>Energy meters, temperature sensors, and other field devices<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-alpha-channel-opacity has-background is-style-wide\" style=\"margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50);background-color:#f9f9f9;color:#f9f9f9\" \/>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>Tools you need:<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20)\">i.MX series products like&nbsp;<a href=\"https:\/\/www.icop.com.tw\/product\/NX8MM-35\" target=\"_blank\" rel=\"noreferrer noopener\"><mark class=\"has-inline-color has-ast-global-color-1-color\">NX8MM-35<\/mark><\/a>&nbsp;\/&nbsp;<a href=\"https:\/\/www.icop.com.tw\/product\/PN8M-090T-8A\" target=\"_blank\" rel=\"noreferrer noopener\"><mark class=\"has-inline-color has-ast-global-color-1-color\">PN8M-090T<\/mark><\/a>&nbsp;\/&nbsp;<a href=\"https:\/\/www.icop.com.tw\/product\/EBOX-IMX8MM\" target=\"_blank\" rel=\"noreferrer noopener\"><mark class=\"has-inline-color has-ast-global-color-1-color\">EBOX-IMX8MM<\/mark><\/a>\n<ul class=\"wp-block-list\">\n<li>In this tips, we use NX8MM-35 as an example.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20)\">Yocto Linux 4.0 sample image with libmodbus:&nbsp;<a href=\"https:\/\/wiki.icop.com.tw\/product\/index.php\/How_to_Restore_Yocto_Linux_4.0_to_the_eMMC_on_NX8MM-35\" target=\"_blank\" rel=\"noreferrer noopener\"><mark class=\"has-inline-color has-ast-global-color-1-color\">Image<\/mark><\/a>&nbsp;\/<mark class=\"has-inline-color has-ast-global-color-1-color\">&nbsp;<\/mark><a href=\"https:\/\/wiki.icop.com.tw\/product\/index.php\/How_to_Restore_Yocto_Linux_4.0_to_the_eMMC_on_NX8MM-35\" target=\"_blank\" rel=\"noreferrer noopener\"><mark class=\"has-inline-color has-ast-global-color-1-color\">Guide<\/mark><\/a>\n<ul class=\"wp-block-list\">\n<li>In the default recipe, you will need to add &#8220;libmodbus-dev&#8221; to IMAGE_INSTALL:append in local.conf before you build your own image.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20)\">Modbus test tool sample code file:&nbsp;<a href=\"https:\/\/ftp.icop.com.tw\/share\/3OlMT72K\" target=\"_blank\" rel=\"noreferrer noopener\">Download link<\/a><\/li>\n\n\n\n<li style=\"margin-top:var(--wp--preset--spacing--20);margin-bottom:var(--wp--preset--spacing--20)\">NX8MM-35 with the test fixture connectoing 2xRS485<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-1024x683.png\" alt=\"\" class=\"wp-image-19084\" title=\"\" srcset=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-1024x683.png 1024w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-300x200.png 300w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-768x512.png 768w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-18x12.png 18w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-600x400.png 600w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-64x43.png 64w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1.png 1442w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-alpha-channel-opacity has-background is-style-wide\" style=\"margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50);background-color:#f9f9f9;color:#f9f9f9\" \/>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"Run a modbus RTU example on NX8MM-35\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/x9wUZ3OwKQ8?start=2&#038;feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>1. Boot up the board and compile the modbus test tool<\/strong><\/h3>\n\n\n\n<p>First, boot up the board, and plug in a USB disk which contains the modbus test tool sample code file and open the terminal.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><\/ol>\n\n\n\n<p>1.Access the USB disk and input the code below:<\/p>\n\n\n\n<p><code>$ gcc modbus_test_v2.c -o modbus_test_v2 -lmodbus<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-1gcc_modbus.png\"><img decoding=\"async\" width=\"909\" height=\"561\" src=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-1gcc_modbus.png\" alt=\"\" class=\"wp-image-19089\" title=\"\" srcset=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-1gcc_modbus.png 909w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-1gcc_modbus-300x185.png 300w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-1gcc_modbus-768x474.png 768w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-1gcc_modbus-18x12.png 18w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-1gcc_modbus-600x370.png 600w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-1gcc_modbus-64x39.png 64w\" sizes=\"(max-width: 909px) 100vw, 909px\" \/><\/a><\/figure>\n\n\n\n<p>2.Move the compiled application to the your appointed file in the system and access it (In this case, we make a file called modbustest.)<\/p>\n\n\n\n<p><code>$ mv modbus_test_v2 \/modbustest <\/code><\/p>\n\n\n\n<p><code>$ cd \/modbustest<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-2_cdmodbus.png\"><img decoding=\"async\" width=\"918\" height=\"544\" src=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-2_cdmodbus.png\" alt=\"\" class=\"wp-image-19091\" title=\"\" srcset=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-2_cdmodbus.png 918w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-2_cdmodbus-300x178.png 300w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-2_cdmodbus-768x455.png 768w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-2_cdmodbus-18x12.png 18w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-2_cdmodbus-600x356.png 600w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step1-2_cdmodbus-64x38.png 64w\" sizes=\"(max-width: 918px) 100vw, 918px\" \/><\/a><\/figure>\n\n\n\n<p>Use the command below to check the function description:<\/p>\n\n\n\n<p style=\"margin-top:0;margin-bottom:0\"><code>$ \/.modbus_test_v2<\/code><\/p>\n\n\n\n<p style=\"border-style:none;border-width:0px\"><code>Usage: .\/modbus_test_v2 [-s|-c] [-r gpio_index] serial_port <\/code><\/p>\n\n\n\n<p style=\"border-style:none;border-width:0px\"><code>-s : server<\/code><\/p>\n\n\n\n<p style=\"border-style:none;border-width:0px\"><code>-c : client<\/code><\/p>\n\n\n\n<p style=\"border-style:none;border-width:0px\"><code>-r : rts-gpios : dm446c rts-gpios numbers: ttymxc0=128, ttymxc3=9<\/code><\/p>\n\n\n\n<p>We use COM1 (ttymxc0\/GPIO128) and COM4 (ttymxc3\/GPIO9) on the NX8MM-35 for RS-485 communication, performing point-to-point Modbus RTU testing between the two ports.<br>(Be sure to short J39 to switch the COM port to RS485 mode.)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-1024x683.png\" alt=\"\" class=\"wp-image-19084\" title=\"\" srcset=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-1024x683.png 1024w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-300x200.png 300w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-768x512.png 768w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-18x12.png 18w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-600x400.png 600w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1-64x43.png 64w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/2025041010445125-1.png 1442w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\"><strong>2. Start to perform Modbus RTU testing on NX8MM-35<\/strong><\/h3>\n\n\n\n<p>1. Open another terminal and input command below to set COM4 to server mode:<\/p>\n\n\n\n<p><code>.\/modbus_test_v2 -s -r 9 \/dev\/ttymxc3<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-1-modbusserver.png\"><img loading=\"lazy\" decoding=\"async\" width=\"741\" height=\"425\" src=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-1-modbusserver.png\" alt=\"\" class=\"wp-image-19093\" title=\"\" srcset=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-1-modbusserver.png 741w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-1-modbusserver-300x172.png 300w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-1-modbusserver-18x10.png 18w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-1-modbusserver-600x344.png 600w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-1-modbusserver-64x37.png 64w\" sizes=\"(max-width: 741px) 100vw, 741px\" \/><\/a><\/figure>\n\n\n\n<p>2.Use the existing terminal to set COM1 to client mode and send the signal to server(COM4)<\/p>\n\n\n\n<p><code>.\/modbus_test_v2 -c -r 128 \/dev\/ttymxc0<\/code><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-2_modbusclient.png\"><img loading=\"lazy\" decoding=\"async\" width=\"787\" height=\"284\" src=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-2_modbusclient.png\" alt=\"\" class=\"wp-image-19094\" title=\"\" srcset=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-2_modbusclient.png 787w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-2_modbusclient-300x108.png 300w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-2_modbusclient-768x277.png 768w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-2_modbusclient-18x6.png 18w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-2_modbusclient-600x217.png 600w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-2_modbusclient-64x23.png 64w\" sizes=\"(max-width: 787px) 100vw, 787px\" \/><\/a><\/figure>\n\n\n\n<p>After executing the command above, the server (COM4) successfully receives the Modbus RTU signal from the client (COM1), marking the completion of the test.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-3complete.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"346\" src=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-3complete-1024x346.png\" alt=\"\" class=\"wp-image-19095\" title=\"\" srcset=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-3complete-1024x346.png 1024w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-3complete-300x101.png 300w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-3complete-768x259.png 768w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-3complete-1536x519.png 1536w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-3complete-18x6.png 18w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-3complete-600x203.png 600w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-3complete-64x22.png 64w, https:\/\/icop-shop.com\/wp-content\/uploads\/2025\/07\/step2-3complete.png 1617w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-alpha-channel-opacity has-background is-style-wide\" style=\"margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50);background-color:#f9f9f9;color:#f9f9f9\" \/>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<figure class=\"wp-block-image size-large\" style=\"margin-top:var(--wp--preset--spacing--30);margin-bottom:var(--wp--preset--spacing--30)\"><a href=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2024\/06\/NX8MM-35-4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2024\/06\/NX8MM-35-4-1024x1024.png\" alt=\"NX8MM-35-42CMEBG2-TF\" class=\"wp-image-15826\" title=\"\" srcset=\"https:\/\/icop-shop.com\/wp-content\/uploads\/2024\/06\/NX8MM-35-4-1024x1024.png 1024w, https:\/\/icop-shop.com\/wp-content\/uploads\/2024\/06\/NX8MM-35-4-300x300.png 300w, https:\/\/icop-shop.com\/wp-content\/uploads\/2024\/06\/NX8MM-35-4-150x150.png 150w, https:\/\/icop-shop.com\/wp-content\/uploads\/2024\/06\/NX8MM-35-4-768x768.png 768w, https:\/\/icop-shop.com\/wp-content\/uploads\/2024\/06\/NX8MM-35-4-12x12.png 12w, https:\/\/icop-shop.com\/wp-content\/uploads\/2024\/06\/NX8MM-35-4-600x600.png 600w, https:\/\/icop-shop.com\/wp-content\/uploads\/2024\/06\/NX8MM-35-4-100x100.png 100w, https:\/\/icop-shop.com\/wp-content\/uploads\/2024\/06\/NX8MM-35-4.png 1081w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p class=\"has-medium-font-size\"><strong>Main Features of<mark class=\"has-inline-color has-ast-global-color-1-color\">&nbsp;<\/mark><a href=\"https:\/\/www.icop.com.tw\/product\/NX8MM-35\" target=\"_blank\" rel=\"noreferrer noopener\"><mark class=\"has-inline-color has-ast-global-color-1-color\">NX8MM-35<\/mark><\/a>:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>i.MX 8M Mini Quad-core ARM Cortex-A53 up to 1.6\/1.8GHz<\/li>\n\n\n\n<li>Memory: Up to 4GB LPDDR4<\/li>\n\n\n\n<li>Storage: Up to 64GB eMMC<\/li>\n\n\n\n<li>Display: LVDS\/HDMI interface<\/li>\n\n\n\n<li>Camera: MIPI-CSI interface<\/li>\n\n\n\n<li>Connectivity: GLANx2, USB x4, COMx4, i2c, SPI, GPIO,Touch, MiniPCIe with Sim Card holder and HD Audio.<\/li>\n\n\n\n<li>Temperature range: -20\u00b0C to +70\u00b0C or -40\u00b0C to +80\u00b0C (Optional)<\/li>\n<\/ul>\n<\/div>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-alpha-channel-opacity has-background is-style-wide\" style=\"margin-top:var(--wp--preset--spacing--50);margin-bottom:var(--wp--preset--spacing--50);background-color:#f9f9f9;color:#f9f9f9\" \/>\n\n\n\n<p>For more info and&nbsp;sample request, please write to<mark class=\"has-inline-color has-ast-global-color-1-color\">&nbsp;<\/mark><a href=\"mailto:info@icop.com.tw\"><mark class=\"has-inline-color has-ast-global-color-1-color\">info@icop.com.tw<\/mark><\/a>, call your nearest&nbsp;<a href=\"https:\/\/www.icop.com.tw\/branches\" target=\"_blank\" rel=\"noopener\"><mark class=\"has-inline-color has-ast-global-color-1-color\">ICOP Branch<\/mark><\/a>, or contact our&nbsp;<a href=\"https:\/\/www.icop.com.tw\/distributors\" target=\"_blank\" rel=\"noopener\"><mark class=\"has-inline-color has-ast-global-color-1-color\">Worldwide Official Distributor<\/mark>.<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article will tell you how to run a modbus RTU example on NX8MM-35.We used&nbsp;libmodbus&nbsp;to utilize the modbus function via 2x RS485 (1 modbus server &amp; 1 modbus client on the same SBC) on NX8MM-35 under Yocto in this tips. Key Features of Modbus: Common Uses of Modbus: Tools you [&hellip;]<\/p>\n","protected":false},"author":215,"featured_media":19097,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","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":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[284],"tags":[352,319,297],"class_list":["post-19081","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical-tips","tag-modbus","tag-nx8mm-35","tag-sbc"],"_links":{"self":[{"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/posts\/19081","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/users\/215"}],"replies":[{"embeddable":true,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/comments?post=19081"}],"version-history":[{"count":0,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/posts\/19081\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/media\/19097"}],"wp:attachment":[{"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/media?parent=19081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/categories?post=19081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icop-shop.com\/ja\/wp-json\/wp\/v2\/tags?post=19081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}