BlocklyJavascriptTypeScriptRules
Protokoll
Ausgewählte Blöcke exportieren
<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="]S2:-i_cClm)#Ng3aMlw">Module_OST</variable>
    <variable id="1xSe56|KYFJswcDcnmU5">Module_WEST</variable>
    <variable id="UjUq^K!:w82kQQ@t]~y8">Gesamtleistung</variable>
  </variables>
  <block type="create" id="Sg8!t-S}q_QBaWE^Iz,M" disabled="true" x="-413" y="-88">
    <field name="NAME">Vis.Fronius_berechnen.DC_Leistung_OST</field>
    <next>
      <block type="on_ext" id="{hxc7j4D[9f6wmL/O5C8">
        <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
        <field name="CONDITION">ne</field>
        <field name="ACK_CONDITION"></field>
        <value name="OID0">
          <shadow type="field_oid" id="DC)TOQhc!v-h[}`bXMhh">
            <field name="oid">fronius.0.inverter.1.UDC_2</field>
          </shadow>
        </value>
        <value name="OID1">
          <shadow type="field_oid" id=".1+K|RSJQM29kik$.e$;">
            <field name="oid">fronius.0.inverter.1.IDC_2</field>
          </shadow>
        </value>
        <statement name="STATEMENT">
          <block type="variables_set" id="2l.iVqr|eii@%+}Na8qX">
            <field name="VAR" id="]S2:-i_cClm)#Ng3aMlw">Module_OST</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="-W0yfTCo875IQvz[e8q2">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="jdFr5_W`W?k+k^cr`#e@">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="get_value" id="U#sjvs(sdHM-~%8)YA*w">
                    <field name="ATTR">val</field>
                    <field name="OID">fronius.0.inverter.1.UDC_2</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id=":8Nb1%O@W-?kW@XQhr.N">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="get_value" id="^4:_Og]P}RzQ^;:3:?FT">
                    <field name="ATTR">val</field>
                    <field name="OID">fronius.0.inverter.1.IDC_2</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="update" id="|tLIJh2OY[x,ew]MuYok">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">javascript.0.Vis.Fronius_berechnen.DC_Leistung_OST</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="math_rndfixed" id="4Cb|_ueC$az8oh+XE}k6">
                    <field name="n">3</field>
                    <value name="x">
                      <shadow type="math_number" id="82^{8;@]$;GQf:#Se|(f">
                        <field name="NUM">3.1234</field>
                      </shadow>
                      <block type="variables_get" id="7G?t8LE+[Gv!a9P4as%W">
                        <field name="VAR" id="]S2:-i_cClm)#Ng3aMlw">Module_OST</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="create" id="9-YQvVdFjt~WyW(+VgYo" disabled="true">
            <field name="NAME">Vis.Fronius_berechnen.DC_Leistung_WEST</field>
            <next>
              <block type="on_ext" id=":,HNN_gp(()WZfb[+TEp">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="e%g:j9oKzp}|o9y?|68L">
                    <field name="oid">fronius.0.inverter.1.UDC</field>
                  </shadow>
                </value>
                <value name="OID1">
                  <shadow type="field_oid" id="_,R3z$6yqIV!9p;GUc^k">
                    <field name="oid">fronius.0.inverter.1.IDC</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="variables_set" id="z7!/G]Dqc2D]loMQ(dHf">
                    <field name="VAR" id="1xSe56|KYFJswcDcnmU5">Module_WEST</field>
                    <value name="VALUE">
                      <block type="math_arithmetic" id="bMFs#XC(ZC+H.-,[)vf6">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="get_value" id="Fa`npA?+.-iKX0wx8[ul">
                            <field name="ATTR">val</field>
                            <field name="OID">fronius.0.inverter.1.UDC</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="get_value" id="nz@7fRvL?]F~xz@B?6nG">
                            <field name="ATTR">val</field>
                            <field name="OID">fronius.0.inverter.1.IDC</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="update" id="Uua%cA.HVrULAy(k@m87">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">javascript.0.Vis.Fronius_berechnen.DC_Leistung_WEST</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_rndfixed" id="cT!Np0#5f03JtYR~w^2W">
                            <field name="n">3</field>
                            <value name="x">
                              <shadow type="math_number" id="N{e|8+8]D:PyhlC5GYod">
                                <field name="NUM">3.1234</field>
                              </shadow>
                              <block type="variables_get" id="YwGdfM_LDOUX.:mKS//n">
                                <field name="VAR" id="1xSe56|KYFJswcDcnmU5">Module_WEST</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="create" id="suy05:m10Cb9ud6kPwd(" disabled="true">
                    <field name="NAME">Vis.Fronius_berechnen.DC_Gesamtleistung</field>
                    <next>
                      <block type="on_ext" id="aF7{2x7[ySGDXT1J~`zW">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <value name="OID0">
                          <shadow type="field_oid" id="of4FDTp868BGKy^T?Z|^">
                            <field name="oid">javascript.0.Vis.Fronius_berechnen.DC_Leistung_OST</field>
                          </shadow>
                        </value>
                        <value name="OID1">
                          <shadow type="field_oid" id="q=/xpZw1MG.H!cVRTTG_">
                            <field name="oid">javascript.0.Vis.Fronius_berechnen.DC_Leistung_WEST</field>
                          </shadow>
                        </value>
                        <statement name="STATEMENT">
                          <block type="variables_set" id="l1nVjpLHG[j{a+l1Mx=4">
                            <field name="VAR" id="UjUq^K!:w82kQQ@t]~y8">Gesamtleistung</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="Z}HR6Fwn1.rG7MI=3Gz]">
                                <field name="OP">ADD</field>
                                <value name="A">
                                  <shadow type="math_number">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="get_value" id="G2,D^-G[w}#=y993quXQ">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Vis.Fronius_berechnen.DC_Leistung_OST</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="get_value" id=",{`QFEj/qX4p2B.S5JIi">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Vis.Fronius_berechnen.DC_Leistung_WEST</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="update" id="7PSPMjwJwPSIf2(m1p1p">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">javascript.0.Vis.Fronius_berechnen.DC_Gesamtleistung</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_rndfixed" id="jst;P]cw!~x7vXAFUY7!">
                                    <field name="n">3</field>
                                    <value name="x">
                                      <shadow type="math_number" id="1SvF~uHb)EjrWR{WMbhH">
                                        <field name="NUM">3.1234</field>
                                      </shadow>
                                      <block type="variables_get" id="J-BNl+OBEgFj#[!Sr?{:">
                                        <field name="VAR" id="UjUq^K!:w82kQQ@t]~y8">Gesamtleistung</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>
<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="]S2:-i_cClm)#Ng3aMlw">Module_OST</variable>
    <variable id="1xSe56|KYFJswcDcnmU5">Module_WEST</variable>
    <variable id="UjUq^K!:w82kQQ@t]~y8">Gesamtleistung</variable>
  </variables>
  <block type="create" id="Sg8!t-S}q_QBaWE^Iz,M" disabled="true" x="-413" y="-88">
    <field name="NAME">Vis.Fronius_berechnen.DC_Leistung_OST</field>
    <next>
      <block type="on_ext" id="{hxc7j4D[9f6wmL/O5C8">
        <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
        <field name="CONDITION">ne</field>
        <field name="ACK_CONDITION"></field>
        <value name="OID0">
          <shadow type="field_oid" id="DC)TOQhc!v-h[}`bXMhh">
            <field name="oid">fronius.0.inverter.1.UDC_2</field>
          </shadow>
        </value>
        <value name="OID1">
          <shadow type="field_oid" id=".1+K|RSJQM29kik$.e$;">
            <field name="oid">fronius.0.inverter.1.IDC_2</field>
          </shadow>
        </value>
        <statement name="STATEMENT">
          <block type="variables_set" id="2l.iVqr|eii@%+}Na8qX">
            <field name="VAR" id="]S2:-i_cClm)#Ng3aMlw">Module_OST</field>
            <value name="VALUE">
              <block type="math_arithmetic" id="-W0yfTCo875IQvz[e8q2">
                <field name="OP">MULTIPLY</field>
                <value name="A">
                  <shadow type="math_number" id="jdFr5_W`W?k+k^cr`#e@">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="get_value" id="U#sjvs(sdHM-~%8)YA*w">
                    <field name="ATTR">val</field>
                    <field name="OID">fronius.0.inverter.1.UDC_2</field>
                  </block>
                </value>
                <value name="B">
                  <shadow type="math_number" id=":8Nb1%O@W-?kW@XQhr.N">
                    <field name="NUM">1</field>
                  </shadow>
                  <block type="get_value" id="^4:_Og]P}RzQ^;:3:?FT">
                    <field name="ATTR">val</field>
                    <field name="OID">fronius.0.inverter.1.IDC_2</field>
                  </block>
                </value>
              </block>
            </value>
            <next>
              <block type="update" id="|tLIJh2OY[x,ew]MuYok">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">javascript.0.Vis.Fronius_berechnen.DC_Leistung_OST</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="math_rndfixed" id="4Cb|_ueC$az8oh+XE}k6">
                    <field name="n">3</field>
                    <value name="x">
                      <shadow type="math_number" id="82^{8;@]$;GQf:#Se|(f">
                        <field name="NUM">3.1234</field>
                      </shadow>
                      <block type="variables_get" id="7G?t8LE+[Gv!a9P4as%W">
                        <field name="VAR" id="]S2:-i_cClm)#Ng3aMlw">Module_OST</field>
                      </block>
                    </value>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </statement>
        <next>
          <block type="create" id="9-YQvVdFjt~WyW(+VgYo" disabled="true">
            <field name="NAME">Vis.Fronius_berechnen.DC_Leistung_WEST</field>
            <next>
              <block type="on_ext" id=":,HNN_gp(()WZfb[+TEp">
                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="e%g:j9oKzp}|o9y?|68L">
                    <field name="oid">fronius.0.inverter.1.UDC</field>
                  </shadow>
                </value>
                <value name="OID1">
                  <shadow type="field_oid" id="_,R3z$6yqIV!9p;GUc^k">
                    <field name="oid">fronius.0.inverter.1.IDC</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="variables_set" id="z7!/G]Dqc2D]loMQ(dHf">
                    <field name="VAR" id="1xSe56|KYFJswcDcnmU5">Module_WEST</field>
                    <value name="VALUE">
                      <block type="math_arithmetic" id="bMFs#XC(ZC+H.-,[)vf6">
                        <field name="OP">MULTIPLY</field>
                        <value name="A">
                          <shadow type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="get_value" id="Fa`npA?+.-iKX0wx8[ul">
                            <field name="ATTR">val</field>
                            <field name="OID">fronius.0.inverter.1.UDC</field>
                          </block>
                        </value>
                        <value name="B">
                          <shadow type="math_number">
                            <field name="NUM">1</field>
                          </shadow>
                          <block type="get_value" id="nz@7fRvL?]F~xz@B?6nG">
                            <field name="ATTR">val</field>
                            <field name="OID">fronius.0.inverter.1.IDC</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="update" id="Uua%cA.HVrULAy(k@m87">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">javascript.0.Vis.Fronius_berechnen.DC_Leistung_WEST</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_rndfixed" id="cT!Np0#5f03JtYR~w^2W">
                            <field name="n">3</field>
                            <value name="x">
                              <shadow type="math_number" id="N{e|8+8]D:PyhlC5GYod">
                                <field name="NUM">3.1234</field>
                              </shadow>
                              <block type="variables_get" id="YwGdfM_LDOUX.:mKS//n">
                                <field name="VAR" id="1xSe56|KYFJswcDcnmU5">Module_WEST</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="create" id="suy05:m10Cb9ud6kPwd(" disabled="true">
                    <field name="NAME">Vis.Fronius_berechnen.DC_Gesamtleistung</field>
                    <next>
                      <block type="on_ext" id="aF7{2x7[ySGDXT1J~`zW">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <value name="OID0">
                          <shadow type="field_oid" id="of4FDTp868BGKy^T?Z|^">
                            <field name="oid">javascript.0.Vis.Fronius_berechnen.DC_Leistung_OST</field>
                          </shadow>
                        </value>
                        <value name="OID1">
                          <shadow type="field_oid" id="q=/xpZw1MG.H!cVRTTG_">
                            <field name="oid">javascript.0.Vis.Fronius_berechnen.DC_Leistung_WEST</field>
                          </shadow>
                        </value>
                        <statement name="STATEMENT">
                          <block type="variables_set" id="l1nVjpLHG[j{a+l1Mx=4">
                            <field name="VAR" id="UjUq^K!:w82kQQ@t]~y8">Gesamtleistung</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="Z}HR6Fwn1.rG7MI=3Gz]">
                                <field name="OP">ADD</field>
                                <value name="A">
                                  <shadow type="math_number">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="get_value" id="G2,D^-G[w}#=y993quXQ">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Vis.Fronius_berechnen.DC_Leistung_OST</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="get_value" id=",{`QFEj/qX4p2B.S5JIi">
                                    <field name="ATTR">val</field>
                                    <field name="OID">javascript.0.Vis.Fronius_berechnen.DC_Leistung_WEST</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="update" id="7PSPMjwJwPSIf2(m1p1p">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">javascript.0.Vis.Fronius_berechnen.DC_Gesamtleistung</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_rndfixed" id="jst;P]cw!~x7vXAFUY7!">
                                    <field name="n">3</field>
                                    <value name="x">
                                      <shadow type="math_number" id="1SvF~uHb)EjrWR{WMbhH">
                                        <field name="NUM">3.1234</field>
                                      </shadow>
                                      <block type="variables_get" id="J-BNl+OBEgFj#[!Sr?{:">
                                        <field name="VAR" id="UjUq^K!:w82kQQ@t]~y8">Gesamtleistung</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>