{"id":9087,"date":"2019-10-15T14:56:57","date_gmt":"2019-10-15T17:56:57","guid":{"rendered":"http:\/\/kb.elipse.com.br\/en\/?p=9087"},"modified":"2024-06-03T10:31:08","modified_gmt":"2024-06-03T13:31:08","slug":"opc-servers-redundancy-in-elipse-e3","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/","title":{"rendered":"OPC Servers Redundancy in Elipse E3."},"content":{"rendered":"<h2>Question:<\/h2>\n<p>Is there\u00a0 any native OPC redundancy tool in the <strong>Elipse E3<\/strong> OPC Driver? How can I use it? If there is none, how can I work around it?<\/p>\n<h2>Solution:<\/h2>\n<p style=\"text-align: justify;\"><span class=\"ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak\" dir=\"ltr\">Since <strong>version 6.6<\/strong>, Elipse E3 has a property called ServerMachine2 in the OPC Communication Driver.<\/span><\/p>\n<p style=\"text-align: justify;\">For<strong> versions prior to 6.6<\/strong>, the Communication Driver, there is no native <a href=\"https:\/\/opcfoundation.org\/\">OPC<\/a> redundancy in the <strong>Elipse E3<\/strong> OPC Driver. Therefore, the alternative in this case it to create a user event to monitor the value of the <a href=\"https:\/\/kb.elipse.com.br\/en\/category\/english\/elipse-e3-en\/opcclient-3\/\" target=\"_blank\" rel=\"noopener noreferrer\">OPC driver<\/a>&#8216;s <em>ServerStatus<\/em> property.<\/p>\n<blockquote><p>The <em>ServerStatus<\/em> property establishes the status of the connection with the OPC Server, and is a read-only property. The available options are: <strong>-1: ServerStatus_Uknown<\/strong> (the OPC driver is connected to the OPC Server, but the status is unknown, or then the <em>ReconnectPeriod<\/em> property was set up as 0), and <strong>0: ServerStatus_NotConnected<\/strong> (the OPc driver is not connected to the OPC Server).<\/p><\/blockquote>\n<figure id=\"attachment_8904\" style=\"width: 641px\"  class=\"wp-caption aligncenter\"><img loading=\"lazy\" class=\"wp-image-8904 size-full\" src=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/10\/8902\/ServerStatusChanged.png\" alt=\"there is NO native OPC redundancy in Elipse E3\" width=\"641\" height=\"155\" \/><figcaption class=\"wp-caption-text\">User-generated event that monitors the value of <em>ServerStatus<\/em> property<\/figcaption><\/figure>\n<p>This event will require a script featuring the <em>ServerStatus <\/em>property<em>,<\/em> as seen above. In this script, you will be able to change the name of the Server whenever the OPC Server status is different from 1. For example, you can follow the script below, that illustrates this situation.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"js\">Sub DriverOPC1_ServerStatusChanged()\r\n\u00a0 \u00a0 \u00a0if ServerStatus <> 1 then\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Deactivate()\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 if ServerMachine = \"Servidor1\" then\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0ServerMachine = \"Servidor2\"\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 else\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0ServerMachine = \"Servidor1\"\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 end if\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 Activate()\r\n\u00a0 \u00a0 \u00a0end if\r\nEnd Sub<\/pre>\n<p>&nbsp;<\/p>\n<p>For further information on OPC redundancy in Elipse E3, please check our <a href=\"https:\/\/kb.elipse.com.br\/en\/category\/english\/elipse-e3-en\/opcclient-3\/\" target=\"_blank\" rel=\"noopener noreferrer\">OPC Client<\/a> section in this <strong>KnowledgeBase<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question: Is there\u00a0 any native OPC redundancy tool in the Elipse E3 OPC Driver? How can I use it? If there is none, how can I work around it? Solution:&hellip;<\/p>\n","protected":false},"author":7,"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":[755],"tags":[931,908,911,910],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Native OPC Redundancy in Elipse E3&#039;s OPC Servers.<\/title>\n<meta name=\"description\" content=\"The article illustrates how to work around the fact that there is no native OPC redundancy in Elipse E3&#039;s OPCClient driver.\" \/>\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\/opc-servers-redundancy-in-elipse-e3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Native OPC Redundancy in Elipse E3&#039;s OPC Servers.\" \/>\n<meta property=\"og:description\" content=\"The article illustrates how to work around the fact that there is no native OPC redundancy in Elipse E3&#039;s OPCClient driver.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/\" \/>\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-10-15T17:56:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-03T13:31:08+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/10\/8902\/ServerStatusChanged.png\" \/>\n<meta name=\"author\" content=\"Paulo Gustavo S\u00fcffert\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paulo Gustavo S\u00fcffert\" \/>\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\/opc-servers-redundancy-in-elipse-e3\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/\"},\"author\":{\"name\":\"Paulo Gustavo S\u00fcffert\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/8517ae12d1613d5a70f61b30399b5090\"},\"headline\":\"OPC Servers Redundancy in Elipse E3.\",\"datePublished\":\"2019-10-15T17:56:57+00:00\",\"dateModified\":\"2024-06-03T13:31:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/\"},\"wordCount\":239,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"keywords\":[\"redundancy\",\"opc\",\"servermachine\",\"serverstatus\"],\"articleSection\":[\"OPCClient\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/\",\"name\":\"Native OPC Redundancy in Elipse E3's OPC Servers.\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-10-15T17:56:57+00:00\",\"dateModified\":\"2024-06-03T13:31:08+00:00\",\"description\":\"The article illustrates how to work around the fact that there is no native OPC redundancy in Elipse E3's OPCClient driver.\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OPC Servers Redundancy in Elipse E3.\"}]},{\"@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\/8517ae12d1613d5a70f61b30399b5090\",\"name\":\"Paulo Gustavo S\u00fcffert\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ce04e818ef4126e9cba08720cfcfbf2a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ce04e818ef4126e9cba08720cfcfbf2a?s=96&d=mm&r=g\",\"caption\":\"Paulo Gustavo S\u00fcffert\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/pgustavo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Native OPC Redundancy in Elipse E3's OPC Servers.","description":"The article illustrates how to work around the fact that there is no native OPC redundancy in Elipse E3's OPCClient driver.","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\/opc-servers-redundancy-in-elipse-e3\/","og_locale":"en_US","og_type":"article","og_title":"Native OPC Redundancy in Elipse E3's OPC Servers.","og_description":"The article illustrates how to work around the fact that there is no native OPC redundancy in Elipse E3's OPCClient driver.","og_url":"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-10-15T17:56:57+00:00","article_modified_time":"2024-06-03T13:31:08+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/10\/8902\/ServerStatusChanged.png"}],"author":"Paulo Gustavo S\u00fcffert","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Paulo Gustavo S\u00fcffert","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/"},"author":{"name":"Paulo Gustavo S\u00fcffert","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/8517ae12d1613d5a70f61b30399b5090"},"headline":"OPC Servers Redundancy in Elipse E3.","datePublished":"2019-10-15T17:56:57+00:00","dateModified":"2024-06-03T13:31:08+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/"},"wordCount":239,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"keywords":["redundancy","opc","servermachine","serverstatus"],"articleSection":["OPCClient"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/","url":"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/","name":"Native OPC Redundancy in Elipse E3's OPC Servers.","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-10-15T17:56:57+00:00","dateModified":"2024-06-03T13:31:08+00:00","description":"The article illustrates how to work around the fact that there is no native OPC redundancy in Elipse E3's OPCClient driver.","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/opc-servers-redundancy-in-elipse-e3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"OPC Servers Redundancy in Elipse E3."}]},{"@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\/8517ae12d1613d5a70f61b30399b5090","name":"Paulo Gustavo S\u00fcffert","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ce04e818ef4126e9cba08720cfcfbf2a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ce04e818ef4126e9cba08720cfcfbf2a?s=96&d=mm&r=g","caption":"Paulo Gustavo S\u00fcffert"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/pgustavo\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/9087"}],"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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=9087"}],"version-history":[{"count":6,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/9087\/revisions"}],"predecessor-version":[{"id":16423,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/9087\/revisions\/16423"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=9087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=9087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=9087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}