<?xml version="1.0" encoding="utf-8"?>
<safetyApplication Crc="3835520041" xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.5.0.0" Id="3cca60e8-420f-409f-a0f7-d3d25187c0e0" name="" mapState="false" mapDiag="false" groupOrderId="0" passificationAllowed="false" temporaryDeactivationAllowed="false" permamentDeactivationAllowed="false" xmlid="0" analogFBOutputReplacementValues="Zero" verifyAnalogFBInputsIfStart="false" userFbId="3cca60e8-420f-409f-a0f7-d3d25187c0e0" xmlns="http://schemas.microsoft.com/dsltools/SafetyApplicationLanguage">
  <comments>
    <comment Id="0c5bcaf3-69c4-479f-9e2d-41ee0f78df69" text="Spannungsbereich Segment&#xD;&#xA;49V - 81.5V&#xD;&#xA;" currentNetworkOrderId="0">
      <networks>
        <commentReferencesNetworks Id="bd0fc2fd-34ea-4da5-b3bc-9432089aa27f">
          <networkMoniker name="//Network1" />
        </commentReferencesNetworks>
      </networks>
    </comment>
  </comments>
  <networks>
    <safetyApplicationHasNetworks Id="a6cb272d-0df7-4e05-b126-6021c5e5a890">
      <Network Id="113b151d-ae26-4551-8b76-b6cd9f83e576" name="Network1" networkName="Network1" intId="1" networkOrderId="0">
        <functionBlocks>
          <networkHasFunctionBlocks Id="1154747a-7fb0-4ca5-9886-12846b514b7a">
            <fBScaling Id="644da0de-5040-46ef-aa0e-e128a8d02d15" name="FBScaling1" instanceName="FBScaling1" orderOfExecution="1" mapState="false" mapDiag="false" functionName="safeScaling">
              <inPorts>
                <functioBlockHasInPorts Id="08b27b7b-8c81-4b33-99b6-e4d241713ddd">
                  <inPort Id="354d8f81-efc8-44cf-900c-fa4eed9158b4" name="AnalogIn" portName="AnalogIn" portNum="3" objectIndex="16" varId="1" filter="1974016" portDataType="258" channelInterface="Activated" deactivate1="Break Contact (NC)" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
              </inPorts>
              <outPorts>
                <functionBlockHasOutPorts Id="19c3bfa5-db94-4fe4-b56a-977527ef6751">
                  <outPort Id="eb717f62-ce6e-4ee9-8327-799c39d27605" name="Error" portName="Error" portNum="3" objectIndex="0" varId="2" filter="73472" portDataType="1" replacementValue="0" />
                </functionBlockHasOutPorts>
                <functionBlockHasOutPorts Id="d2619b88-032e-4e36-9c37-f39b5e48e10d">
                  <outPort Id="ef27b269-e99d-4589-9b14-070febfc9cae" name="StuckAtError" portName="StuckAtError" portNum="4" objectIndex="1" varId="3" filter="73472" portDataType="1" replacementValue="0" />
                </functionBlockHasOutPorts>
                <functionBlockHasOutPorts Id="24cd61f6-566d-44ab-a8ee-b02c0198ba75">
                  <outPort Id="14c973f6-779e-48e2-91d0-de1c9c11747e" name="AnalogOut" portName="AnalogOut" portNum="5" objectIndex="16" varId="4" filter="1974016" portDataType="258" replacementValue="0">
                    <targetFunctionBlockPorts>
                      <wiredLink Id="e8d0dbde-e813-4e8f-9d07-45d55b7b19dc">
                        <inPortMoniker name="//Network1/FBLimit1/AnalogIn" />
                      </wiredLink>
                    </targetFunctionBlockPorts>
                  </outPort>
                </functionBlockHasOutPorts>
              </outPorts>
              <parameterPorts>
                <functionBlockHasParamPorts Id="0e296feb-71c1-41ad-b895-476fca59dd42">
                  <parameterPort Id="e2e3d635-86f0-48a1-a3ec-2c241f27273c" name="Scaling Factor Multiplier" portNum="5" objectIndex="0" varId="0" filter="0" portDataType="0" timing="1500" userFbPortName="Sensor Max Voltage (0,1V)" useInUserFb="true" />
                </functionBlockHasParamPorts>
                <functionBlockHasParamPorts Id="146240c5-6a92-4198-a845-ba0f119d63c3">
                  <parameterPort Id="a46e3669-2797-44da-bf38-baa797b3ee14" name="Scaling Factor Divisor" portName="Scaling Factor" portNum="6" objectIndex="0" varId="0" filter="0" portDataType="0" timing="32767" userFbPortName="AI Max Value" useInUserFb="true" />
                </functionBlockHasParamPorts>
                <functionBlockHasParamPorts Id="8cd37080-feef-484e-aaf7-fc452299a3ca">
                  <parameterPort Id="ed9b053b-1e01-4b6e-b7bf-26df725679aa" name="Scaling Offset" portName="Scaling Offset" portNum="7" objectIndex="0" varId="0" filter="0" portDataType="0" timing="0" userFbPortName="Scaling Offset" useInUserFb="false" />
                </functionBlockHasParamPorts>
                <functionBlockHasParamPorts Id="95961cd1-e934-48bb-bcd5-1747b22701f9">
                  <parameterPort Id="d9df99e0-8cb4-4472-bc8b-3c7a53132bd9" name="Watchdog (ms)" portName="Watchdog (ms)" portNum="8" objectIndex="0" varId="0" filter="0" portDataType="0" timing="0" userFbPortName="Watchdog (ms)" useInUserFb="false" />
                </functionBlockHasParamPorts>
              </parameterPorts>
            </fBScaling>
          </networkHasFunctionBlocks>
          <networkHasFunctionBlocks Id="5bcc3ac9-d14e-446a-9f57-dc81f73b4545">
            <fBLimit Id="20320d24-6d9b-4a63-b453-543c1aa638fe" name="FBLimit1" instanceName="FBLimit1" orderOfExecution="2" mapState="false" mapDiag="false" functionName="safeLimit">
              <inPorts>
                <functioBlockHasInPorts Id="0143a6a9-b58b-4cf4-aa6b-777d25d0c392">
                  <inPort Id="bef76e78-a9dc-4183-baaa-9d87b4bdfe41" name="AnalogIn" portName="AnalogIn" portNum="2" objectIndex="16" varId="1" filter="1974016" portDataType="258" channelInterface="Activated" deactivate1="Break Contact (NC)" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="780f2d34-a0b6-4594-8d28-328c850ad6d6">
                  <inPort Id="ba231e27-ff07-4d48-bff4-1f43e9ae7201" name="MinValue" portName="MinValue" portNum="3" objectIndex="17" varId="2" filter="1974016" portDataType="2" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="c6d80f80-0cac-4bea-baa2-563cbc261ede">
                  <inPort Id="5cae9def-16dc-4e14-b55b-4e0c99b5007e" name="MaxValue" portName="MaxValue" portNum="4" objectIndex="18" varId="3" filter="1974016" portDataType="2" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
              </inPorts>
              <outPorts>
                <functionBlockHasOutPorts Id="6a279c0c-a1d0-4327-b7b2-ec67865ad3fc">
                  <outPort Id="7a867dff-c598-44fe-8b0b-95aeafde1576" name="Error" portName="Error" portNum="2" objectIndex="0" varId="4" filter="73472" portDataType="1" replacementValue="0" />
                </functionBlockHasOutPorts>
                <functionBlockHasOutPorts Id="b94a8266-af01-40fe-9d82-03becf497a4a">
                  <outPort Id="e3a862b3-c12e-4451-b75e-00b7d069c561" name="InLimit" portName="InLimit" portNum="3" objectIndex="1" varId="5" filter="73472" portDataType="1" replacementValue="0" />
                </functionBlockHasOutPorts>
                <functionBlockHasOutPorts Id="d952a3dc-a2be-4b48-a5e9-66f88f1ac9bf">
                  <outPort Id="a14b75a2-ae71-4d9e-950b-fc4019cb6a27" name="BelowMin" portName="BelowMin" portNum="4" objectIndex="2" varId="6" filter="73472" portDataType="1" replacementValue="0" />
                </functionBlockHasOutPorts>
                <functionBlockHasOutPorts Id="1d7d24be-4709-42ce-a6a9-90acde53e529">
                  <outPort Id="07ed28a5-b753-4c4f-807b-2a87e07c35e3" name="AboveMax" portName="AboveMax" portNum="5" objectIndex="3" varId="7" filter="73472" portDataType="1" replacementValue="0" />
                </functionBlockHasOutPorts>
              </outPorts>
              <parameterPorts>
                <functionBlockHasParamPorts Id="b810c547-cc02-424a-8802-5e492bfede79">
                  <parameterPort Id="2a861593-f9ee-40be-a3b7-4bba1599d3ee" name="Minimum Value" portName="Minimum Value" portNum="5" objectIndex="0" varId="0" filter="0" portDataType="0" timing="500" userFbPortName="Min Voltage (0,1V)" useInUserFb="false" />
                </functionBlockHasParamPorts>
                <functionBlockHasParamPorts Id="6081228f-9080-4106-9667-d75795fd9a17">
                  <parameterPort Id="254a36ee-bf16-4cdc-bc7f-a40a50297b3d" name="Maximum Value" portName="Maximum Value" portNum="6" objectIndex="0" varId="0" filter="0" portDataType="0" timing="815" userFbPortName="Max Voltage(0,1V)" useInUserFb="false" />
                </functionBlockHasParamPorts>
              </parameterPorts>
            </fBLimit>
          </networkHasFunctionBlocks>
        </functionBlocks>
      </Network>
    </safetyApplicationHasNetworks>
  </networks>
  <variables>
    <safetyApplicationHasVariables Id="cd6128c2-8ba3-4bc6-b406-d8e02fcec1f0">
      <variable Id="3a255715-0cc4-428d-91b7-2b46cbbe49af" name="xInRange" isLocal="false">
        <sourceUsages>
          <variableHasSourceUsages Id="2ee1970e-68ab-4228-95e2-80d61317c8ae">
            <variableUsages Id="4c1bfec3-2704-4308-87d1-37fdcaa74d8d">
              <usages>
                <variableUsagesHasUsages Id="74f93846-d0a4-4add-8cf9-7d0903984214">
                  <fbPortUsage Id="05237498-132c-4b55-a24d-64abc421c616">
                    <functionBlockPort>
                      <fbPortUsageReferencesFunctionBlockPort Id="805d5f47-6eca-4d6e-824f-4722a2fbb95a">
                        <outPortMoniker name="//Network1/FBLimit1/InLimit" />
                      </fbPortUsageReferencesFunctionBlockPort>
                    </functionBlockPort>
                  </fbPortUsage>
                </variableUsagesHasUsages>
              </usages>
            </variableUsages>
          </variableHasSourceUsages>
        </sourceUsages>
        <targetUsages>
          <variableHasTargetUsages Id="fa6c71df-c638-491c-91d8-7402c9e36348">
            <variableUsages Id="ee183c5a-b262-42af-ae8a-ff44105f121e" />
          </variableHasTargetUsages>
        </targetUsages>
      </variable>
    </safetyApplicationHasVariables>
    <safetyApplicationHasVariables Id="6470e6ce-2006-4f80-a865-c170b1d7edf6">
      <variable Id="f927dee6-0357-4ac2-9955-22cf1966e011" name="iUnitVoltage" isLocal="false">
        <sourceUsages>
          <variableHasSourceUsages Id="be8cc603-5c27-4911-b099-82c8329b9305">
            <variableUsages Id="3f2fd632-31b4-4406-bbd0-ed9b09edf735" />
          </variableHasSourceUsages>
        </sourceUsages>
        <targetUsages>
          <variableHasTargetUsages Id="4e4d6fe3-0564-4df5-ab73-6fc1e9d325c0">
            <variableUsages Id="7b024965-73f5-4d82-8621-e2adbe7fc14f">
              <usages>
                <variableUsagesHasUsages Id="e79e5e31-417d-47cf-8f96-71fbe3294e1d">
                  <fbPortUsage Id="e0cd3d67-4c5a-483d-b397-3a804c9d1910">
                    <functionBlockPort>
                      <fbPortUsageReferencesFunctionBlockPort Id="90c8bf0c-08a4-49e9-8164-da5689eb72c8">
                        <inPortMoniker name="//Network1/FBScaling1/AnalogIn" />
                      </fbPortUsageReferencesFunctionBlockPort>
                    </functionBlockPort>
                  </fbPortUsage>
                </variableUsagesHasUsages>
              </usages>
            </variableUsages>
          </variableHasTargetUsages>
        </targetUsages>
      </variable>
    </safetyApplicationHasVariables>
  </variables>
</safetyApplication>