{"id":8301,"date":"2019-08-16T11:04:23","date_gmt":"2019-08-16T14:04:23","guid":{"rendered":"http:\/\/kb.elipse.com.br\/en\/?p=8301"},"modified":"2019-08-16T11:04:23","modified_gmt":"2019-08-16T14:04:23","slug":"demo-applications-communication-between-iccp-server-and-client","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/","title":{"rendered":"Demo applications: Communication between ICCP Server and Client."},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>This article shows how communication with <a href=\"https:\/\/kb.elipse.com.br\/en\/?s=iccp\" target=\"_blank\" rel=\"noopener noreferrer\">ICCP protocol<\/a> works. It presents two demo applications that communicate with each other:\u00a0 while one of them was developed with ICCP Server, the other one was consequently developed with ICCP client. Furthermore, these applications comply with the Client\/Server architecture principle; not only were developed in different domains but must also run in distinct environments.<\/p>\n<p>&nbsp;<\/p>\n<h2>Setting up ICCP Server and Client<\/h2>\n<p>Generally speaking, the first thing you must do is to access the Client driver settings. To do so, go to <strong>Ethernet <\/strong>tab, and set up:<\/p>\n<ul>\n<li>firstly, the IP ou hostname where the Server driver is, and<\/li>\n<li>secondly, the connection port set up in the Server.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-7892\" src=\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/07\/7891\/IP_Driver.png\" alt=\"conex\u00e3o ao ICCP Server\" width=\"289\" height=\"79\" \/><\/p>\n<p>Before running the applications, choose a destination folder for each driver; this folder is consequently were you will save the BLT files. Then, you can find these files at the end of this article. To do so, access the drivers settings, on\u00a0 <strong>ICCP General <\/strong>tab and <strong>BLT File Path<\/strong> field.<\/p>\n<p>&nbsp;<\/p>\n<h2>Syntax examples<\/h2>\n<blockquote><p>This is an example of a <strong>Direct Operate <\/strong>type commmand<strong>,<\/strong> declared at the Client driver&#8217;s BLT file:<\/p>\n<p><em><code>1; COMMAND_NAME; C ;0 ;0 ;0 ;50 ; 0<\/code><\/em><\/p>\n<p>For the IOTag at Item field of <strong>Direct Operate<\/strong> command, use the following syntax:<\/p>\n<p><em><code>COMMAND_NAME:Operate<\/code><\/em><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<blockquote><p>This is an example of a <strong>Select Before Operate <\/strong>type commmand, declared at the Client driver&#8217;s BLT file:<\/p>\n<p><em><code>1; COMMAND_NAME; C ;0 ;0 ;1 ;50 ;<\/code> 0<\/em><\/p>\n<p>For the IOTag at <strong>Select <\/strong>command<strong>,<\/strong> which you must fire before <strong>Operate<\/strong> command (<strong>Item <\/strong>field), use the following syntax:<\/p>\n<p><em><code>COMMAND_NAME:Select<\/code><\/em><\/p>\n<p>For the IOTag at Item field of <strong>Operate<\/strong> command, use the following syntax:<\/p>\n<p><em><code>COMMAND_NAME:Operate<\/code><\/em><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<blockquote><p>This is an example of a DataSet (declared only at BLT Client) that reports data immediatly via\u00a0 \u201cObjectChange\u201d flag:<\/p>\n<p><em><code>DATASET_NAME;0;0;0;0;60;96;0;0;1;1<\/code><\/em><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<blockquote><p>This is an example of a discrete point, with Quality and TimeStamp; declared at BLT Client file:<\/p>\n<p><em><code>1;DATAVALUE_NAME;DiscreteQTimeTagExtended;0;0;0;<\/code><\/em><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<blockquote><p>This is an example of a real type point (for analog variables), with Quality and TimeStamp; declared at BLT Client file:<\/p>\n<p><em><code>1;DATAVALUE_NAME;RealQTimeTagExtended;0;0;0;<\/code><\/em><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<blockquote><p>Example of a point that indicates the equipment&#8217;s status (usually switches and breakers), with Quality and TimeStamp; declared at BLT Client file:<\/p>\n<p><em><code>1;DATAVALUE_NAME;STATE;StateQTimeTagExtended;0;0;0;<\/code><\/em><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>In conclusion: these are the steps to follow to make your ICCP demo applications work. For further information on how to set up the drivers, go to our article <strong><a href=\"https:\/\/kb.elipse.com.br\/en\/setting-up-elipses-iccp-driver\/\" target=\"_blank\" rel=\"noopener noreferrer\">Setting up Elipse&#8217;s ICCP Driver<\/a><\/strong>.<\/p>\n<h2>Attachments:<\/h2>\n<p><a href=\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/07\/7891\/ICCP_Client.zip\">ICCP_Client.zip<\/a><br \/>\n<a href=\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/07\/7891\/ICCP_Server.zip\">ICCP_Server.zip<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction This article shows how communication with ICCP protocol works. It presents two demo applications that communicate with each other:\u00a0 while one of them was developed with ICCP Server, the&hellip;<\/p>\n","protected":false},"author":21,"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":[836],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>ICCP Server and Client: Example of communication between applications<\/title>\n<meta name=\"description\" content=\"This article shows how ICPP communication works, through two demo applications dvelopes with ICCP Server and Client, respectively.\" \/>\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\/demo-applications-communication-between-iccp-server-and-client\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ICCP Server and Client: Example of communication between applications\" \/>\n<meta property=\"og:description\" content=\"This article shows how ICPP communication works, through two demo applications dvelopes with ICCP Server and Client, respectively.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/\" \/>\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-08-16T14:04:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/07\/7891\/IP_Driver.png\" \/>\n<meta name=\"author\" content=\"Willian Straccioni Pagini\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Willian Straccioni Pagini\" \/>\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\/demo-applications-communication-between-iccp-server-and-client\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/\"},\"author\":{\"name\":\"Willian Straccioni Pagini\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/f0e928dc4f4b1278e13a1f223e9f8929\"},\"headline\":\"Demo applications: Communication between ICCP Server and Client.\",\"datePublished\":\"2019-08-16T14:04:23+00:00\",\"dateModified\":\"2019-08-16T14:04:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/\"},\"wordCount\":393,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"ICCP\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/\",\"name\":\"ICCP Server and Client: Example of communication between applications\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-08-16T14:04:23+00:00\",\"dateModified\":\"2019-08-16T14:04:23+00:00\",\"description\":\"This article shows how ICPP communication works, through two demo applications dvelopes with ICCP Server and Client, respectively.\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Demo applications: Communication between ICCP Server and Client.\"}]},{\"@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\/f0e928dc4f4b1278e13a1f223e9f8929\",\"name\":\"Willian Straccioni Pagini\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/25c2e1f9c762d5e6d38edd47ea3ef5d3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/25c2e1f9c762d5e6d38edd47ea3ef5d3?s=96&d=mm&r=g\",\"caption\":\"Willian Straccioni Pagini\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/willian\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ICCP Server and Client: Example of communication between applications","description":"This article shows how ICPP communication works, through two demo applications dvelopes with ICCP Server and Client, respectively.","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\/demo-applications-communication-between-iccp-server-and-client\/","og_locale":"en_US","og_type":"article","og_title":"ICCP Server and Client: Example of communication between applications","og_description":"This article shows how ICPP communication works, through two demo applications dvelopes with ICCP Server and Client, respectively.","og_url":"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-08-16T14:04:23+00:00","og_image":[{"url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/07\/7891\/IP_Driver.png"}],"author":"Willian Straccioni Pagini","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Willian Straccioni Pagini","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/"},"author":{"name":"Willian Straccioni Pagini","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/f0e928dc4f4b1278e13a1f223e9f8929"},"headline":"Demo applications: Communication between ICCP Server and Client.","datePublished":"2019-08-16T14:04:23+00:00","dateModified":"2019-08-16T14:04:23+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/"},"wordCount":393,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["ICCP"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/","url":"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/","name":"ICCP Server and Client: Example of communication between applications","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-08-16T14:04:23+00:00","dateModified":"2019-08-16T14:04:23+00:00","description":"This article shows how ICPP communication works, through two demo applications dvelopes with ICCP Server and Client, respectively.","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/demo-applications-communication-between-iccp-server-and-client\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Demo applications: Communication between ICCP Server and Client."}]},{"@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\/f0e928dc4f4b1278e13a1f223e9f8929","name":"Willian Straccioni Pagini","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/25c2e1f9c762d5e6d38edd47ea3ef5d3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/25c2e1f9c762d5e6d38edd47ea3ef5d3?s=96&d=mm&r=g","caption":"Willian Straccioni Pagini"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/willian\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/8301"}],"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\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=8301"}],"version-history":[{"count":12,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/8301\/revisions"}],"predecessor-version":[{"id":8313,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/8301\/revisions\/8313"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=8301"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=8301"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=8301"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}