{"id":10711,"date":"2020-05-06T11:14:29","date_gmt":"2020-05-06T14:14:29","guid":{"rendered":"http:\/\/kb.elipse.com.br\/en\/?p=10711"},"modified":"2020-05-06T11:14:29","modified_gmt":"2020-05-06T14:14:29","slug":"common-issues-faced-by-modbus-driver-protocol-exception-codes","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/","title":{"rendered":"Common issues faced by Modbus driver: Protocol exception codes"},"content":{"rendered":"<h3>Question:<\/h3>\n<p>A common issue faced by <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 this: the communication takes place, but the tag displays an error message. According to the driver log, you can identify a default error message. How can I interpret this message? Which are the protocol exception codes for Modbus driver?<\/p>\n<p>&nbsp;<\/p>\n<h3>Solution:<\/h3>\n<p>Firstly, there are some exception codes expected by <a href=\"https:\/\/kb.elipse.com.br\/en\/category\/english\/drivers-en\/modicon-modbus-master-ascrtutcp-2\/\" target=\"_blank\" rel=\"noopener noreferrer\">Modbus<\/a> protocol; these codes are returned by a device whenever a request is received but can&#8217;t be executed, for any reasons. When the driver receives these codes, it will register them in its communication log alongside the \u201cMODBUS exception response\u201d message.<\/p>\n<p>The following table lists the exception codes as well as their meaning. Codes not listed below are specific to certain devices; therefore, you should look them up in their respective documentation.<\/p>\n<p>&nbsp;<\/p>\n<h3>Table:<\/h3>\n<table border=\"1\">\n<tbody>\n<tr>\n<td width=\"102\"><strong>Code<\/strong><br \/>\n<strong>(Hexadecimal)<\/strong><\/td>\n<td width=\"132\"><strong>Name<\/strong><\/td>\n<td width=\"463\"><strong>Meaning<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"102\">01<\/td>\n<td width=\"132\">ILLEGAL FUNCTION<\/td>\n<td width=\"463\">\n<p class=\"p1\"><span class=\"s1\">The function code received in the query is not an allowable action for the slave. If a Poll Program Complete command was issued, then this code indicates that no program function preceded it.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"102\">02<\/td>\n<td width=\"132\">ILLEGAL DATA ADDRESS<\/td>\n<td width=\"463\">\n<p class=\"p1\"><span class=\"s1\">The data address received in the query is not an allowable address for the slave and therefore cannot be used.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"102\">03<\/td>\n<td width=\"132\">ILLEGAL DATA VALUE<\/td>\n<td width=\"463\">\n<p class=\"p1\"><span class=\"s1\">A value contained in the query data field is not an allowable value for the slave.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"102\">04<\/td>\n<td width=\"132\">SLAVE DEVICE FAILURE<\/td>\n<td width=\"463\">\n<p class=\"p1\"><span class=\"s1\">An unrecoverable error occurred while the slave was attempting to perform the request action.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"102\">05<\/td>\n<td width=\"132\">ACKNOWLEDGE<\/td>\n<td width=\"463\">\n<p class=\"p1\"><span class=\"s1\">The slave has accepted a request and is processing it, but a long duration of time is required. This response is returned to prevent a timeout error from occurring in the master. The master can then issue a Poll Program Complete message to determine if processing is completed.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"102\">06<\/td>\n<td width=\"132\">SLAVE DEVICE BUSY<\/td>\n<td width=\"463\">\n<p class=\"p1\"><span class=\"s1\">The slave is processing a long-duration program command. The master should retransmit the message later when the slave is free.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"102\">08<\/td>\n<td width=\"132\">MEMORY PARITY ERROR<\/td>\n<td width=\"463\">\n<p class=\"p1\"><span class=\"s1\">The slave attempted to read extended memory, but detected a parity error in the memory. The master can retry the request, but service may be required on the slave device.<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"102\">0A<\/td>\n<td width=\"132\">GATEWAY PATH UNAVAILABLE<\/td>\n<td width=\"463\">Used alongside gateways. Basically, this code means the gateway couldn&#8217;t allocate an internal path to process the request. Therefore, the gateway could probably be misconfigured or overloaded.<\/td>\n<\/tr>\n<tr>\n<td width=\"102\">0B<\/td>\n<td width=\"132\">GATEWAY TARGET DEVICE FAILED TO RESPOND<\/td>\n<td width=\"463\">Used alongside gateways. Basically, this code means that no answer was received by the destination device. Therefore, the device could probably be absent from the network.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\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=10699\" target=\"_blank\" rel=\"noopener noreferrer\">Discontinuous address in the device<\/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 Modbus driver is this: the communication takes place, but the tag displays an error message. According to the driver log, you can identify a&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: Protocol exception codes<\/title>\n<meta name=\"description\" content=\"This article illustrates the Modbus protocol exception codes, displayed when there is a communication error between the driver and Elipse E3.\" \/>\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-driver-protocol-exception-codes\/\" \/>\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: Protocol exception codes\" \/>\n<meta property=\"og:description\" content=\"This article illustrates the Modbus protocol exception codes, displayed when there is a communication error between the driver and Elipse E3.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/\" \/>\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:14:29+00:00\" \/>\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-driver-protocol-exception-codes\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/\"},\"author\":{\"name\":\"Guilherme de Paoli Beal\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/d51146cee48c7c49ca02ef4bd83187e6\"},\"headline\":\"Common issues faced by Modbus driver: Protocol exception codes\",\"datePublished\":\"2020-05-06T14:14:29+00:00\",\"dateModified\":\"2020-05-06T14:14:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/\"},\"wordCount\":451,\"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-driver-protocol-exception-codes\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/\",\"name\":\"Common issues faced by Modbus driver: Protocol exception codes\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2020-05-06T14:14:29+00:00\",\"dateModified\":\"2020-05-06T14:14:29+00:00\",\"description\":\"This article illustrates the Modbus protocol exception codes, displayed when there is a communication error between the driver and Elipse E3.\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/#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: Protocol exception codes\"}]},{\"@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: Protocol exception codes","description":"This article illustrates the Modbus protocol exception codes, displayed when there is a communication error between the driver and Elipse E3.","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-driver-protocol-exception-codes\/","og_locale":"en_US","og_type":"article","og_title":"Common issues faced by Modbus driver: Protocol exception codes","og_description":"This article illustrates the Modbus protocol exception codes, displayed when there is a communication error between the driver and Elipse E3.","og_url":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2020-05-06T14:14:29+00:00","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-driver-protocol-exception-codes\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/"},"author":{"name":"Guilherme de Paoli Beal","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/d51146cee48c7c49ca02ef4bd83187e6"},"headline":"Common issues faced by Modbus driver: Protocol exception codes","datePublished":"2020-05-06T14:14:29+00:00","dateModified":"2020-05-06T14:14:29+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/"},"wordCount":451,"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-driver-protocol-exception-codes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/","url":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/","name":"Common issues faced by Modbus driver: Protocol exception codes","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2020-05-06T14:14:29+00:00","dateModified":"2020-05-06T14:14:29+00:00","description":"This article illustrates the Modbus protocol exception codes, displayed when there is a communication error between the driver and Elipse E3.","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/common-issues-faced-by-modbus-driver-protocol-exception-codes\/#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: Protocol exception codes"}]},{"@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\/10711"}],"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=10711"}],"version-history":[{"count":4,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/10711\/revisions"}],"predecessor-version":[{"id":10754,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/10711\/revisions\/10754"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=10711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=10711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=10711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}