{"id":3599,"date":"2019-03-25T17:45:04","date_gmt":"2019-03-25T20:45:04","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/demo-application-communicating-with-iec-8705104-protocol\/"},"modified":"2019-07-04T17:00:59","modified_gmt":"2019-07-04T20:00:59","slug":"demo-application-communicating-with-iec-8705104-protocol","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/","title":{"rendered":"Demo application: Communicating with IEC 870-5-104 protocol."},"content":{"rendered":"<div align=\"justify\">\n<p><b>Overview:<\/b><\/p>\n<p>Two demo applications (Master and Slave) for using IEC 870-5-104 protocol were developed to run in two different machines. In order to have it working properly, access the driver settings at the Master application and insert the IP or the name of the machine where the Slave application is being executed.<\/p>\n<div align=\"center\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5239EN\/1.png\" alt=\"\" width=\"248\" height=\"101\" align=\"baseline\" border=\"0\" \/><\/div>\n<p><u>Main functions used at the Master application (N2 parameter):<\/u><\/p>\n<p>Value <b>4<\/b>: values written on a tag whose N2 parameter = 4 will be reported to the Master only via general query, in list format.<br \/>\nValor <b>5<\/b>:\u00a0 values written on a tag whose N2 parameter = 5 will be reported to the Master immediately, and also via general query.<br \/>\nValue <b>10<\/b>: <b>Select <\/b>command.<br \/>\nValue <b>11<\/b>: <b>Execute <\/b>command.<br \/>\nValue <b>30<\/b>: <b>Select <\/b>command with <b>LongPulse<\/b>.<br \/>\nValue <b>31<\/b>: <b>Execute <\/b>command with <b>LongPulse<\/b>.<\/p>\n<p><u>Main functions used at the Slave application (N2 parameter):<br \/>\n<\/u><br \/>\nValue <b>4<\/b>: values written on a tag whose N2 parameter = 4 will be reported to the Master only via general query, in list format.<br \/>\nValue <b>5<\/b>:\u00a0 values written on a tag whose N2 parameter = 5 will be reported to the Master immediately, and also via general query.<br \/>\nValue <b>4 <\/b>(<b>Command Indication<\/b>): to handle a command received at the slave application, you must use a command block and, on this block&#8217;s OnRead event, split the information blocks received.<\/p>\n<p><u>Main ASDUs used for events (N3 parameter):<\/u><\/p>\n<p><b>30\u00a0 M_SP_TB_1<\/b>: single point with timestamp.<br \/>\n<b>33 M_BO_TB_1<\/b>: bit string with 32 bits and timestamp.<br \/>\n<b>34 M_ME_TD_1<\/b>: measurement value, standardized with timestamp.<br \/>\n<b>35 M_ME_TE_1<\/b>: measurement value, scaled with timestamp.<br \/>\n<b>36 M_ME_TF_1<\/b>: measurement value, short float point with timestamp.<br \/>\n<b>37 M_IT_TB_1<\/b>: total values, integrated to timestamp.<br \/>\n<b>38 M_EP_TD_1<\/b>: device&#8217;s protection event with timestamp.<\/p>\n<p><u>Main ASDUs used for commands (N3 parameter):<\/u><\/p>\n<p><b>45 C_SC_NA_1<\/b>: single point.<br \/>\n<b>50 C_SE_NC_1<\/b>: set point command, short float point.<\/p>\n<h3>Attachments:<\/h3>\n<p><a href=\"\/wp-content\/uploads\/2019\/03\/IEC870104_MasterEN.zip\">IEC870104_MasterEN<\/a><\/p>\n<p><a href=\"\/wp-content\/uploads\/2019\/03\/IEC870104_SlaveEN.zip\">IEC870104_SlaveEN<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Autor<br \/>\nGabriel Manara<\/p>\n","protected":false},"author":15,"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":[733,795],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Demo application: Communicating with IEC 870-5-104 protocol. - 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\/demo-application-communicating-with-iec-8705104-protocol\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Demo application: Communicating with IEC 870-5-104 protocol.\" \/>\n<meta property=\"og:description\" content=\"Autor Gabriel Manara\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/\" \/>\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:45:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-07-04T20:00:59+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5239EN\/1.png\" \/>\n<meta name=\"author\" content=\"Gabriel Manara\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gabriel Manara\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 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-application-communicating-with-iec-8705104-protocol\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/\"},\"author\":{\"name\":\"Gabriel Manara\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/62f73726da552619d723db2fd82e3530\"},\"headline\":\"Demo application: Communicating with IEC 870-5-104 protocol.\",\"datePublished\":\"2019-03-25T20:45:04+00:00\",\"dateModified\":\"2019-07-04T20:00:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/\"},\"wordCount\":606,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Demo Application\",\"IEC 870-5-101\/102\/104 (Master,Slave)\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/\",\"url\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/\",\"name\":\"[:pt]Demo application: Communicating with IEC 870-5-104 protocol.[:en]Demo application: Communicating with IEC 870-5-104 protocol.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:45:04+00:00\",\"dateModified\":\"2019-07-04T20:00:59+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Demo application: Communicating with IEC 870-5-104 protocol.\"}]},{\"@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\/62f73726da552619d723db2fd82e3530\",\"name\":\"Gabriel Manara\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8f08450bea42667090b5d00999160306?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8f08450bea42667090b5d00999160306?s=96&d=mm&r=g\",\"caption\":\"Gabriel Manara\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/manara\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Demo application: Communicating with IEC 870-5-104 protocol. - 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\/demo-application-communicating-with-iec-8705104-protocol\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]Demo application: Communicating with IEC 870-5-104 protocol.[:en]Demo application: Communicating with IEC 870-5-104 protocol.[:] - Elipse Knowledgebase","og_description":"[:pt]Autor Gabriel Manara[:en]Autor Gabriel Manara[:]","og_url":"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:45:04+00:00","article_modified_time":"2019-07-04T20:00:59+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID5239EN\/1.png"}],"author":"Gabriel Manara","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Gabriel Manara","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/"},"author":{"name":"Gabriel Manara","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/62f73726da552619d723db2fd82e3530"},"headline":"Demo application: Communicating with IEC 870-5-104 protocol.","datePublished":"2019-03-25T20:45:04+00:00","dateModified":"2019-07-04T20:00:59+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/"},"wordCount":606,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Demo Application","IEC 870-5-101\/102\/104 (Master,Slave)"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/","url":"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/","name":"[:pt]Demo application: Communicating with IEC 870-5-104 protocol.[:en]Demo application: Communicating with IEC 870-5-104 protocol.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:45:04+00:00","dateModified":"2019-07-04T20:00:59+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/en\/demo-application-communicating-with-iec-8705104-protocol\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Demo application: Communicating with IEC 870-5-104 protocol."}]},{"@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\/62f73726da552619d723db2fd82e3530","name":"Gabriel Manara","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8f08450bea42667090b5d00999160306?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8f08450bea42667090b5d00999160306?s=96&d=mm&r=g","caption":"Gabriel Manara"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/manara\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3599"}],"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\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=3599"}],"version-history":[{"count":2,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3599\/revisions"}],"predecessor-version":[{"id":7416,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/3599\/revisions\/7416"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=3599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=3599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=3599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}