{"id":2292,"date":"2019-03-25T17:38:55","date_gmt":"2019-03-25T20:38:55","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/kb23112-io-blocks-ideal-size-with-modbus-driver\/"},"modified":"2019-06-10T14:32:23","modified_gmt":"2019-06-10T17:32:23","slug":"kb23112-io-blocks-ideal-size-with-modbus-driver","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/","title":{"rendered":"KB-23112: I\/O Block&#8217;s ideal size with Modbus driver."},"content":{"rendered":"<p><span style=\"font-weight: bold;\">Question:<\/span><\/p>\n<p>What is better for communication performance purposes: one single block with 1,100 elements, or the same number of elements split into smaller blocks?<br \/>\n<br style=\"font-weight: bold;\" \/><span style=\"font-weight: bold;\">Solution:<\/span><\/p>\n<div style=\"text-align: justify;\">Support to superblocks has been a feature of Elipse&#8217;s Modbus Master driver since its version 2.01. This resource is supported by E3 and by Elipse Power, and can be enabled via the object&#8217;s <span style=\"font-style: italic;\">EnableReadGrouping <\/span>option in the Organizer.<\/p>\n<p>Enabling this feature frees the user from having to consider block sizing. They can, for example, develop applications containing only PLC tags, because grouping optimization in reading operations is done automatically by both E3 and the driver.<\/p>\n<p>Elipse SCADA, however, does not support superblocks; when using it with Modbus, the I\/O block&#8217;s size must be considered.<\/p>\n<p><span style=\"font-weight: bold;\">Elipse SCADA<\/span><\/p>\n<p>Automatic block splitting has been a feature of Modbus driver since its version 2.00. With this resource, the driver can now manage by itself the splitting of blocks larger than the protocol limits. Thus, the user will not need to consider whether they are exceeding the block&#8217;s maximum limit, because it is driver that will split these blocks into their proper sizes.<\/p>\n<p>Still, knowing the protocol&#8217;s limits can help the user project optimized block sizes in Elipse SCADA, which does not support superblocks.<\/p>\n<p><span style=\"font-weight: bold;\">NOTE<\/span>: Both superblocks grouping in E3 and the automatic block splitting in the driver require the device to support the limits established by standard Modbus. There are devices, however, that only support inferior limits. To make sure superblocks grouping and automatic block splitting will work in these cases, a new feature from version 2.03 will allow the driver to customize the maximum limit supported by the PDU (Protocol Data Unit). To apply this feature, access the driver&#8217;s <span style=\"font-weight: bold;\">Extra <\/span>settings, check the option <span style=\"font-style: italic; font-weight: bold;\">Customize Max. PDU Size<\/span> on <span style=\"font-weight: bold;\">Modbus <\/span>tab, and set the maximum amount of bytes supported by the device.<\/p>\n<p><span style=\"font-weight: bold;\">Limits Supported by the Protocol <\/span><br style=\"font-weight: bold;\" \/><br \/>\nModbus protocol sets a simple data unit called PDU (Protocol Data Unit), which will remain unchanged in the protocol&#8217;s several modes and communication layers.<\/p>\n<p>The whole communication frame, which includes the PDU and other additional fields from the header, is called ADU (Application Data Unit).<\/p><\/div>\n<p>This means that a complete Modbus frame (ADU) can have a PDU whose maximum size is 253 bytes.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3722\/PDU_US.png\" alt=\"\" width=\"500\" height=\"90\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p>So, depending on the data type\/Modbus function being used in the communication, the protocol will present the following limits for block elements:<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3722\/Tabela_US.png\" alt=\"\" width=\"482\" height=\"161\" align=\"Baseline\" border=\"0\" \/><\/div>\n<p>For further information, please refer to <a href=\"http:\/\/www.modbus.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Modbus&#8217;s official website<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: What is better for communication performance purposes: one single block with 1,100 elements, or the same number of elements split into smaller blocks? Solution: Support to superblocks has been&hellip;<\/p>\n","protected":false},"author":1,"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],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>KB-23112: I\/O Block&#039;s ideal size with Modbus driver. - Elipse Knowledgebase<\/title>\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\/kb23112-io-blocks-ideal-size-with-modbus-driver\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KB-23112: I\/O Block&#039;s ideal size with Modbus driver.\" \/>\n<meta property=\"og:description\" content=\"Question: What is better for communication performance purposes: one single block with 1,100 elements, or the same number of elements split into smaller blocks? Solution: Support to superblocks has been&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/\" \/>\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=\"2019-03-25T20:38:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-06-10T17:32:23+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3722\/PDU_US.png\" \/>\n<meta name=\"author\" content=\"Elipse Software\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Elipse Software\" \/>\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\/kb23112-io-blocks-ideal-size-with-modbus-driver\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/\"},\"author\":{\"name\":\"Elipse Software\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87\"},\"headline\":\"KB-23112: I\/O Block&#8217;s ideal size with Modbus driver.\",\"datePublished\":\"2019-03-25T20:38:55+00:00\",\"dateModified\":\"2019-06-10T17:32:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/\"},\"wordCount\":411,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Modicon Modbus Master (ASC\/RTU\/TCP)\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/\",\"name\":\"[:pt]KB-23112: I\/O Block's ideal size with Modbus driver.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:38:55+00:00\",\"dateModified\":\"2019-06-10T17:32:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KB-23112: I\/O Block&#8217;s ideal size with Modbus driver.\"}]},{\"@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\/def69ea453ea60b250497b89225a9f87\",\"name\":\"Elipse Software\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g\",\"caption\":\"Elipse Software\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"KB-23112: I\/O Block's ideal size with Modbus driver. - Elipse Knowledgebase","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\/kb23112-io-blocks-ideal-size-with-modbus-driver\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]KB-23112: I\/O Block's ideal size with Modbus driver.[:] - Elipse Knowledgebase","og_description":"Question: What is better for communication performance purposes: one single block with 1,100 elements, or the same number of elements split into smaller blocks? Solution: Support to superblocks has been&hellip;","og_url":"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:38:55+00:00","article_modified_time":"2019-06-10T17:32:23+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID3722\/PDU_US.png"}],"author":"Elipse Software","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Elipse Software","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/"},"author":{"name":"Elipse Software","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/def69ea453ea60b250497b89225a9f87"},"headline":"KB-23112: I\/O Block&#8217;s ideal size with Modbus driver.","datePublished":"2019-03-25T20:38:55+00:00","dateModified":"2019-06-10T17:32:23+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/"},"wordCount":411,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Modicon Modbus Master (ASC\/RTU\/TCP)"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/","url":"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/","name":"[:pt]KB-23112: I\/O Block's ideal size with Modbus driver.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:38:55+00:00","dateModified":"2019-06-10T17:32:23+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/kb23112-io-blocks-ideal-size-with-modbus-driver\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"KB-23112: I\/O Block&#8217;s ideal size with Modbus driver."}]},{"@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\/def69ea453ea60b250497b89225a9f87","name":"Elipse Software","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff1f7ec38f4687b06f6851d97b3cd2d0?s=96&d=mm&r=g","caption":"Elipse Software"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/webmasterelipse-com-br\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/2292"}],"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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=2292"}],"version-history":[{"count":1,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/2292\/revisions"}],"predecessor-version":[{"id":7189,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/2292\/revisions\/7189"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=2292"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=2292"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=2292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}