{"id":2636,"date":"2022-12-03T15:07:47","date_gmt":"2022-12-03T15:07:47","guid":{"rendered":"https:\/\/csiag.eu\/?p=2636"},"modified":"2023-01-12T09:40:41","modified_gmt":"2023-01-12T09:40:41","slug":"medicao-de-desempenho-hm_lm","status":"publish","type":"post","link":"https:\/\/csiag.eu\/pt\/blog\/2022\/12\/03\/hm_lm-leistungsmessung\/","title":{"rendered":"HG_LM_Power \u2013 Medi\u00e7\u00e3o de pot\u00eancia"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Tempo de leitura<\/span> <span class=\"rt-time\"> &lt;1<\/span> <span class=\"rt-label rt-postfix\">minuto<\/span><\/span>\n<p>Este programa permite registrar e controlar o consumo m\u00e1ximo de energia permitido em termos de seguran\u00e7a. <\/p>\n\n\n\n<p>Se a corrente m\u00e1xima permitida for excedida, os consumidores e\/ou os n\u00edveis de pot\u00eancia dispon\u00edveis s\u00e3o desligados ou ligados.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Hardware instalado<br>\u2013 M\u00f3dulo de rel\u00e9 Homematic de 4 vias&nbsp;<a href=\"https:\/\/www.amazon.de\/HomeMatic-HM-LC-SW4-PCB-4-Kanal-Schaltaktor-Komplettbausatz\/dp\/B002BZGBA0\/ref=sr_1_1?__mk_de_DE=%C3%85M%C3%85%C5%BD%C3%95%C3%91&amp;crid=Z241YRYEPSUX&amp;keywords=homematic+HM-LC-Sw4-WM&amp;qid=1667671691&amp;sprefix=homematic+hm-lc-sw4-wm%2Caps%2C137&amp;sr=8-1\" target=\"_blank\" rel=\"noreferrer noopener\">HM-LC-Sw4-WM<\/a><br>\u2013 Atuador de comuta\u00e7\u00e3o em trilho DIN Homematic com medi\u00e7\u00e3o de pot\u00eancia <a href=\"https:\/\/de.elv.com\/elv-homematic-hutschienen-schaltaktor-mit-leistungsmessung-hm-es-pmsw1-dr-150749\" target=\"_blank\" rel=\"noreferrer noopener\">HM-ES-PMSw1-DR<\/a><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Vari\u00e1veis do sistema a serem criadas<br>\u2013 Var_HG_LM_POWER (tipo real)<br>\u2013 Var_HG_LM_VOLTAGE (tipo real)<br>\u2013 HG_LM_POWER (para exibir o valor na GUI da web)<br>\u2013 HG_LM_VOLTAGE (para exibir o valor na GUI da web)<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Programas a serem criados<br>\u2013 SV_IT (temperatura interna vari\u00e1vel do sistema)<br><\/li>\n\n\n\n<li>R\u00f3tulos de canal<br>- \/ -<\/li>\n<\/ul>\n\n\n\n<p>O programa:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"243\" src=\"https:\/\/csiag.eu\/wp-content\/uploads\/2022\/12\/image-21-1024x243.png\" alt=\"\" class=\"wp-image-2784\" srcset=\"https:\/\/csiag.eu\/wp-content\/uploads\/2022\/12\/image-21-1024x243.png 1024w, https:\/\/csiag.eu\/wp-content\/uploads\/2022\/12\/image-21-300x71.png 300w, https:\/\/csiag.eu\/wp-content\/uploads\/2022\/12\/image-21-768x182.png 768w, https:\/\/csiag.eu\/wp-content\/uploads\/2022\/12\/image-21-1536x364.png 1536w, https:\/\/csiag.eu\/wp-content\/uploads\/2022\/12\/image-21-2048x485.png 2048w, https:\/\/csiag.eu\/wp-content\/uploads\/2022\/12\/image-21-1560x369.png 1560w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Programa \u2013 HG_LM_Power \u2013 Determinar dados de medi\u00e7\u00e3o AC<\/figcaption><\/figure>\n<\/div>\n\n\n<p>O c\u00f3digo:<code><br>Var_HG_LM_POWER real;<br>Var_HG_LM_VOLTAGE real<\/code>;<\/p>\n\n\n\n<p><code>varHG_LM_POWER;<br>var HG_LM_VOLTAGE;<\/code><\/p>\n\n\n\n<p><code>Var_HG_LM_POWER = dom.GetObject(&quot;BidCos-RF.TEQ0864424:2.POWER&quot;).Value();<br>WriteLine(&quot;Var_HG_LM_POWER&quot;);WriteLine(Var_HG_LM_POWER);<br>dom.GetObject(&quot;HG_LM_POWER&quot;).State(Var_HG_LM_POWER);<\/code><\/p>\n\n\n\n<p><code>Var_HG_LM_VOLTAGE = dom.GetObject(&quot;BidCos-RF.TEQ0864424:2.VOLTAGE&quot;).Value();<br>WriteLine(&quot;Var_HG_LM_VOLTAGE&quot;);WriteLine(Var_HG_LM_VOLTAGE);<br>dom.GetObject(&quot;HG_LM_VOLTAGE&quot;).State(Var_HG_LM_VOLTAGE);<\/code><\/p>\n\n\n\n<p>A sa\u00edda do script (se as linhas <code>WriteLinha(&quot;...&quot;)<\/code> n\u00e3o est\u00e3o comentados):<\/p>\n\n\n\n<p><code>Var_HG_LM_POWER<br>210.750000<br>Var_HG_LM_VOLTAGE<br>228.100000<\/code><\/p>","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Tempo de leitura<\/span> <span class=\"rt-time\"> &lt;1<\/span> <span class=\"rt-label rt-postfix\">minuto<\/span><\/span>Este programa \u00e9 utilizado para registar e controlar o consumo m\u00e1ximo de energia permitido - relacionado com os fus\u00edveis. Se a corrente m\u00e1xima permitida for ultrapassada, as cargas e\/ou os n\u00edveis de pot\u00eancia dispon\u00edveis s\u00e3o desligados ou ligados. O programa: O c\u00f3digo:real Var_HG_LM_POWER;real Var_HG_LM_VOLTAGE; var HG_LM_POWER;var HG_LM_VOLTAGE; Var_HG_LM_POWER = dom.GetObject(\"BidCos-RF.TEQ0864424:2.POWER\").Value();WriteLine(\"Var_HG_LM_POWER\");WriteLine(Var_HG_LM_POWER);dom.GetObject(\"HG_LM_POWER\").State(Var_HG_LM_POWER); Var_HG_LM_VOLTAGE = dom.GetObject(\"BidCos-RF.TEQ0864424:2.VOLTAGE\").Value();WriteLine(\"Var_HG_LM_VOLTAGE\");WriteLine(Var_HG_LM_VOLTAGE);dom.GetObject(\"HG_LM_VOLTAGE\").State(Var_HG_LM_VOLTAGE); A sa\u00edda do script (se as linhas WriteLine(\" ... \")...&nbsp;<a href=\"https:\/\/csiag.eu\/pt\/blog\/2022\/12\/03\/hm_lm-leistungsmessung\/\" rel=\"bookmark\">Ler mais \"<span class=\"screen-reader-text\">HG_LM_Power \u2013 Medi\u00e7\u00e3o de pot\u00eancia<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","footnotes":""},"categories":[346,347],"tags":[445,447,389,381,448,446,444],"class_list":["post-2636","post","type-post","status-publish","format-standard","hentry","category-smarthome","category-smarthome-im-wohnmobil","tag-hutschienen-schaltaktor","tag-leistung","tag-leistungsmessung","tag-relais-modul","tag-spannung","tag-strom","tag-stromverbrauch"],"modified_by":"Achim Goerner","_links":{"self":[{"href":"https:\/\/csiag.eu\/pt\/wp-json\/wp\/v2\/posts\/2636","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csiag.eu\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csiag.eu\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csiag.eu\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/csiag.eu\/pt\/wp-json\/wp\/v2\/comments?post=2636"}],"version-history":[{"count":0,"href":"https:\/\/csiag.eu\/pt\/wp-json\/wp\/v2\/posts\/2636\/revisions"}],"wp:attachment":[{"href":"https:\/\/csiag.eu\/pt\/wp-json\/wp\/v2\/media?parent=2636"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csiag.eu\/pt\/wp-json\/wp\/v2\/categories?post=2636"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csiag.eu\/pt\/wp-json\/wp\/v2\/tags?post=2636"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}