{"id":10699,"date":"2020-05-06T11:13:52","date_gmt":"2020-05-06T14:13:52","guid":{"rendered":"http:\/\/kb.elipse.com.br\/en\/?p=10699"},"modified":"2020-05-06T15:21:25","modified_gmt":"2020-05-06T18:21:25","slug":"common-issues-faced-by-modbus-discontinuous-address-in-the-device","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/","title":{"rendered":"Common issues faced by Modbus driver: Discontinuous address in the device"},"content":{"rendered":"<h3>Question:<\/h3>\n<p>A common issue faced by the <a href=\"https:\/\/www.elipse.com.br\/en\/downloads\/?cat=48&#038;key=&#038;language=enus\" target=\"_blank\" rel=\"noopener noreferrer\">Modbus driver<\/a> is when the device&#8217;s address is discontinuous, that is, there are gaps between the addresses. In that case, some memory spaces are either non-existent or cannot be accessed. How can I access the registers, in this situation?<\/p>\n<p>&nbsp;<\/p>\n<h3>Solution:<\/h3>\n<div class=\"page\" title=\"Page 59\">\n<div class=\"section\">\n<div class=\"layoutArea\">\n<div class=\"column\">\n<p>I\/O drivers, such as <a href=\"https:\/\/kb.elipse.com.br\/en\/category\/english\/drivers-en\/modicon-modbus-master-ascrtutcp-2\/\" target=\"_blank\" rel=\"noopener noreferrer\">Modbus<\/a> and alike, are modules from Elipse E3 that enable communication with certain devices. There are two types of I\/O objects: <strong>Tags<\/strong> and <strong>Blocks<\/strong>. Tags are objects that set up the communication with a variable (a memory address) of the acquisition device. Blocks are used for setting up the communication with several variables (several memory addresses in sequence) of the acquisition device.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<p>In the case discussed in this article (discontinuous address at the Modbus driver), you must take extra care when operating with I\/O blocks. If at least one address is invalid, the device will return an error message which will invalidate the whole operation.<\/p>\n<p>To prevent invalid accesses, go to the <a href=\"https:\/\/kb.elipse.com.br\/en\/category\/english\/elipse-e3-en\/iodriver-ioserver-2\/\" target=\"_blank\" rel=\"noopener noreferrer\">IODriver<\/a>&#8216;s properties and edit the value at <em>EnableReadGrouping<\/em> property to <strong>False<\/strong>. Additionally, we suggest accessing the values initially via I\/O Tags, and only after that via I\/O Blocks, in order to check the validity of the requested addresses.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-10297\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/03\/10296\/EnableReadGroupingFalse_.png\" alt=\"\" width=\"420\" height=\"529\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Related articles:<\/h3>\n<hr \/>\n<p>The articles below all refer to common issues faced by the Modbus driver:<\/p>\n<ul>\n<li><a href=\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-multiple-slaves-with-rs-485-converter\/\" target=\"_blank\" rel=\"noopener noreferrer\">Multiple slaves with RS-485 converter<\/a>.<\/li>\n<li><a href=\"https:\/\/kb.elipse.com.br\/en\/?p=10711\" target=\"_blank\" rel=\"noopener noreferrer\">Protocol exception codes<\/a>.<\/li>\n<li><a href=\"https:\/\/kb.elipse.com.br\/en\/?p=10717\" target=\"_blank\" rel=\"noopener noreferrer\">Incrementing non-standard addresses<\/a>.<\/li>\n<li><a href=\"https:\/\/kb.elipse.com.br\/en\/?p=10727\" target=\"_blank\" rel=\"noopener noreferrer\">Scrambled bytes and words<\/a>.<\/li>\n<li><a href=\"https:\/\/kb.elipse.com.br\/en\/?p=10735\" target=\"_blank\" rel=\"noopener noreferrer\">Registers addresses indexation<\/a>.<\/li>\n<li><a href=\"https:\/\/kb.elipse.com.br\/en\/?p=10742\" target=\"_blank\" rel=\"noopener noreferrer\">Interpreting addresses prefixes<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Question: A common issue faced by the Modbus driver is when the device&#8217;s address is discontinuous, that is, there are gaps between the addresses. In that case, some memory spaces&hellip;<\/p>\n","protected":false},"author":34,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[792,789],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Common Issues Faced by Modbus Driver: Discontinuous Address<\/title>\n<meta name=\"description\" content=\"This article shows a common problem faced by Modbus driver: sometimes, the device&#039;s address is discontinuous, that is, there are gaps between the addresses.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Common Issues Faced by Modbus Driver: Discontinuous Address\" \/>\n<meta property=\"og:description\" content=\"This article shows a common problem faced by Modbus driver: sometimes, the device&#039;s address is discontinuous, that is, there are gaps between the addresses.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-06T14:13:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-06T18:21:25+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/03\/10296\/EnableReadGroupingFalse_.png\" \/>\n<meta name=\"author\" content=\"Guilherme de Paoli Beal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Guilherme de Paoli Beal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/\"},\"author\":{\"name\":\"Guilherme de Paoli Beal\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/d51146cee48c7c49ca02ef4bd83187e6\"},\"headline\":\"Common issues faced by Modbus driver: Discontinuous address in the device\",\"datePublished\":\"2020-05-06T14:13:52+00:00\",\"dateModified\":\"2020-05-06T18:21:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/\"},\"wordCount\":509,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Modicon Modbus Master (ASC\/RTU\/TCP)\",\"Drivers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/\",\"name\":\"Common Issues Faced by Modbus Driver: Discontinuous Address\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2020-05-06T14:13:52+00:00\",\"dateModified\":\"2020-05-06T18:21:25+00:00\",\"description\":\"This article shows a common problem faced by Modbus driver: sometimes, the device's address is discontinuous, that is, there are gaps between the addresses.\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Common issues faced by Modbus driver: Discontinuous address in the device\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/d51146cee48c7c49ca02ef4bd83187e6\",\"name\":\"Guilherme de Paoli Beal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5832a66cd553433cf4bd1cdaffe31804?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5832a66cd553433cf4bd1cdaffe31804?s=96&d=mm&r=g\",\"caption\":\"Guilherme de Paoli Beal\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/beal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Common Issues Faced by Modbus Driver: Discontinuous Address","description":"This article shows a common problem faced by Modbus driver: sometimes, the device's address is discontinuous, that is, there are gaps between the addresses.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/","og_locale":"en_US","og_type":"article","og_title":"Common Issues Faced by Modbus Driver: Discontinuous Address","og_description":"This article shows a common problem faced by Modbus driver: sometimes, the device's address is discontinuous, that is, there are gaps between the addresses.","og_url":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2020-05-06T14:13:52+00:00","article_modified_time":"2020-05-06T18:21:25+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2020\/03\/10296\/EnableReadGroupingFalse_.png"}],"author":"Guilherme de Paoli Beal","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Guilherme de Paoli Beal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/"},"author":{"name":"Guilherme de Paoli Beal","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/d51146cee48c7c49ca02ef4bd83187e6"},"headline":"Common issues faced by Modbus driver: Discontinuous address in the device","datePublished":"2020-05-06T14:13:52+00:00","dateModified":"2020-05-06T18:21:25+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/"},"wordCount":509,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Modicon Modbus Master (ASC\/RTU\/TCP)","Drivers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/","url":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/","name":"Common Issues Faced by Modbus Driver: Discontinuous Address","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2020-05-06T14:13:52+00:00","dateModified":"2020-05-06T18:21:25+00:00","description":"This article shows a common problem faced by Modbus driver: sometimes, the device's address is discontinuous, that is, there are gaps between the addresses.","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-discontinuous-address-in-the-device\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Common issues faced by Modbus driver: Discontinuous address in the device"}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/d51146cee48c7c49ca02ef4bd83187e6","name":"Guilherme de Paoli Beal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5832a66cd553433cf4bd1cdaffe31804?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5832a66cd553433cf4bd1cdaffe31804?s=96&d=mm&r=g","caption":"Guilherme de Paoli Beal"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/beal\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/10699"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=10699"}],"version-history":[{"count":8,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/10699\/revisions"}],"predecessor-version":[{"id":10769,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/10699\/revisions\/10769"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=10699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=10699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=10699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}