<?xml version="1.0" encoding="utf-8"?>
<safetyApplication Crc="4236619307" xmlns:dm0="http://schemas.microsoft.com/VisualStudio/2008/DslTools/Core" dslVersion="1.4.0.0" Id="3ec20f0b-73a9-4d25-a7ea-c0f98f4db6b9" name="" mapState="false" mapDiag="false" groupOrderId="1" passificationAllowed="false" temporaryDeactivationAllowed="false" permamentDeactivationAllowed="false" xmlid="0" analogFBOutputReplacementValues="Zero" verifyAnalogFBInputsIfStart="false" userFbId="00000000-0000-0000-0000-000000000000" xmlns="http://schemas.microsoft.com/dsltools/SafetyApplicationLanguage">
  <networks>
    <safetyApplicationHasNetworks Id="d604913c-c32d-43f9-bd8b-3b0a82d03b87">
      <Network Id="a0c088b8-e0fe-4fe8-a3d1-eda2d96f2559" name="STO_SS1_1" networkName="STO_SS1_1" intId="1" networkOrderId="0">
        <functionBlocks>
          <networkHasFunctionBlocks Id="5205c43f-7199-4ea0-8691-545aa4959830">
            <fBOr Id="30758414-b950-476c-b8bb-f9315eeaa7f4" name="ERRORS_ChA" instanceName="ERRORS_ChA" orderOfExecution="1" mapState="false" mapDiag="false" functionName="safeOr">
              <inPorts>
                <functioBlockHasInPorts Id="00be912f-f462-4f0c-afa5-3222a7276f34">
                  <inPort Id="34cbc8e1-ab8d-470b-9a91-1ec44123bc7e" name="OrIn1" portName="OrIn1" portNum="2" objectIndex="8" varId="2" filter="2" portDataType="1" channelInterface="Activated" deactivate1="Break Contact (NC)" maxDeviation="0" resetTime="0">
                    <fbPortGlobalVariableReferences>
                      <functionBlockPortHasFbPortGlobalVariableReferences Id="a2098bc8-5772-48b5-b049-7911cc56b1c4">
                        <fbPortGlobalVariableReference Id="175dd9da-7e03-44af-b704-75c6ed64108b" variableId="0f5326d4-3b94-4fb1-b4a2-42f7dfc522a6" lastKnownPath="ChA.STO_ERROR_STATE" />
                      </functionBlockPortHasFbPortGlobalVariableReferences>
                    </fbPortGlobalVariableReferences>
                  </inPort>
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="235d61a6-60a6-467e-a3a6-4e9f1d3d03e4">
                  <inPort Id="c0653aa6-dfa6-4a95-b318-792bd1428f63" name="OrIn2" portName="OrIn2" portNum="3" objectIndex="9" varId="3" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="ad44e45b-9c8e-4f87-a60e-70ff95701b4a">
                  <inPort Id="bfd56e63-a45b-4a8a-a9e0-15ca93b46825" name="OrIn3" portName="OrIn3" portNum="4" objectIndex="10" varId="4" filter="2" portDataType="1" channelInterface="Activated" deactivate1="Break Contact (NC)" maxDeviation="0" resetTime="0">
                    <fbPortGlobalVariableReferences>
                      <functionBlockPortHasFbPortGlobalVariableReferences Id="ecf38fe3-7071-4409-a1d5-7d794292ddd6">
                        <fbPortGlobalVariableReference Id="9bdd26db-d0c4-4e21-b0ae-571f6c29d4dc" variableId="e80dc9ea-4a5f-4c23-aa2f-fffebb4c6ae6" lastKnownPath="ChA.BRAKE_ERROR_STATE" />
                      </functionBlockPortHasFbPortGlobalVariableReferences>
                    </fbPortGlobalVariableReferences>
                  </inPort>
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="d44f7465-e0dd-4f40-a8af-bd4871ea5175">
                  <inPort Id="39fecd98-6747-48a2-a50c-ba3aec67af98" name="OrIn4" portName="OrIn4" portNum="5" objectIndex="11" varId="5" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="17853f62-c919-47a6-9817-9ec90d65530f">
                  <inPort Id="b1535463-398c-4ea1-b044-2f38bce495b3" name="OrIn5" portName="OrIn5" portNum="6" objectIndex="12" varId="6" filter="2" portDataType="1" channelInterface="Activated" deactivate1="Break Contact (NC)" maxDeviation="0" resetTime="0">
                    <fbPortGlobalVariableReferences>
                      <functionBlockPortHasFbPortGlobalVariableReferences Id="8350488b-0e7c-425f-a336-b36ff358c123">
                        <fbPortGlobalVariableReference Id="f7535a20-b96d-45fc-a48d-7a00fcd5f8d6" variableId="3ec323e4-1cfe-4e50-9d91-53c99b907160" lastKnownPath="ChA.ENCODERVOLTAGE_ERROR_STATE" />
                      </functionBlockPortHasFbPortGlobalVariableReferences>
                    </fbPortGlobalVariableReferences>
                  </inPort>
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="092d7edb-b03e-4f66-ae36-d7c9a0d02ffa">
                  <inPort Id="eb3467d7-f214-4f46-b0e0-e84e66e66828" name="OrIn6" portName="OrIn6" portNum="7" objectIndex="13" varId="7" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="c4119247-52a0-432c-85bd-34c189e35247">
                  <inPort Id="93980638-8837-4cf9-b336-0e1d603fbe4c" name="OrIn7" portName="OrIn7" portNum="8" objectIndex="14" varId="8" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="6cc14312-0033-43a1-94fc-45cec03ecb3b">
                  <inPort Id="6c09aca3-bc6b-4589-ac55-96e1a6370cb5" name="OrIn8" portName="OrIn8" portNum="9" objectIndex="15" varId="9" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
              </inPorts>
              <outPorts>
                <functionBlockHasOutPorts Id="b486e9c1-83e2-46e2-8863-ca77cb8d7edd">
                  <outPort Id="97436b72-a012-4ee5-91a2-89e033be183b" name="OrOut" portName="OrOut" portNum="8" objectIndex="1" varId="20" filter="7" portDataType="1" replacementValue="0">
                    <targetFunctionBlockPorts>
                      <wiredLink Id="65e1c28a-70bb-42b4-9097-2f906ea28fcc">
                        <inPortMoniker name="//STO_SS1_1/SS1_ChA/MonIn2" />
                      </wiredLink>
                    </targetFunctionBlockPorts>
                  </outPort>
                </functionBlockHasOutPorts>
              </outPorts>
            </fBOr>
          </networkHasFunctionBlocks>
          <networkHasFunctionBlocks Id="b1bc2585-8065-48eb-9023-965ef5e6d87a">
            <fBMon Id="26532c82-7c65-4f67-9fc2-93563482b8e1" name="SS1_ChA" instanceName="SS1_ChA" orderOfExecution="2" mapState="false" mapDiag="false" functionName="safeMon" safeInputsAfterDiscError="false" manualFunctionTest="false">
              <inPorts>
                <functioBlockHasInPorts Id="8139c1d8-a480-476d-ab3a-dede21496d55">
                  <inPort Id="92047321-caee-481f-aa23-ba065f76e23f" name="Restart" portName="Restart" portNum="2" objectIndex="0" varId="1" filter="3" portDataType="1" maxDeviation="0" resetTime="0">
                    <fbPortGlobalVariableReferences>
                      <functionBlockPortHasFbPortGlobalVariableReferences Id="84d5cda9-77a4-4daa-8ca3-81f444976926">
                        <fbPortGlobalVariableReference Id="a555786c-a0ac-4de8-9860-264141ec759f" variableId="279d8d55-f8d2-4b2b-affe-b37dba584423" lastKnownPath="ChA.Error_Ack_CMD" />
                      </functionBlockPortHasFbPortGlobalVariableReferences>
                    </fbPortGlobalVariableReferences>
                  </inPort>
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="1361400c-63d7-43f1-a43a-5b6a733d2b03">
                  <inPort Id="1d7f682a-18d6-4bae-bea3-dad64e7fc085" name="MonIn1" portName="MonIn1" portNum="4" objectIndex="8" varId="4" filter="2" portDataType="1" channelInterface="Single-Channel Both Activated" deactivate1="Break Contact (NC)" deactivate2="Make Contact (NO)" maxDeviation="0" resetTime="0">
                    <fbPortGlobalVariableReferences>
                      <functionBlockPortHasFbPortGlobalVariableReferences Id="1aad2a6e-1d11-4ec4-8b1e-a92204158987">
                        <fbPortGlobalVariableReference Id="6c4e092f-f48c-459b-ac44-32cb3005dcd2" variableId="d942dfc8-b76b-4eae-83de-511eced4df86" lastKnownPath="ChA.SS1_CMD" />
                      </functionBlockPortHasFbPortGlobalVariableReferences>
                    </fbPortGlobalVariableReferences>
                  </inPort>
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="02af6cea-b3d6-4705-95b1-672f0e91c4dc">
                  <inPort Id="fe0883e1-a3c0-44ab-a1f4-3691230e7e6b" name="MonIn2" portName="MonIn2" portNum="5" objectIndex="9" varId="5" filter="2" portDataType="1" channelInterface="Both Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="2966e6f2-b9d8-4f42-9a5f-850acb2dd8f3">
                  <inPort Id="ca0f0b40-5709-41eb-89e0-639ba39fb752" name="MonIn3" portName="MonIn3" portNum="6" objectIndex="10" varId="6" filter="2" portDataType="1" channelInterface="Both Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="4004b6e9-1091-4943-90ec-633a29ad72ec">
                  <inPort Id="6daed974-81c1-47d4-98f4-31443035e935" name="MonIn4" portName="MonIn4" portNum="7" objectIndex="11" varId="7" filter="2" portDataType="1" channelInterface="Both Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="d3ea090d-7e0d-47ab-833a-77514bafe1d9">
                  <inPort Id="1dc9d6c0-a2fe-4611-843c-8d943e32cdfe" name="Secure1" portName="Secure1" portNum="9" objectIndex="12" varId="9" filter="2" portDataType="1" channelInterface="Both Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="d10832e5-3cb0-46ea-8e7a-be24480cf49f">
                  <inPort Id="edf9423b-29d9-47c9-bf36-df425ee505af" name="Secure2" portName="Secure2" portNum="10" objectIndex="13" varId="10" filter="2" portDataType="1" channelInterface="Both Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="cc8e679b-0d41-4259-b610-68d1ec5e4e06">
                  <inPort Id="7fb68fb4-0aed-4b8c-8302-6781634060fd" name="EDM1" portName="EDM1" portNum="13" objectIndex="1" varId="13" filter="3" portDataType="1" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="e55d3cad-c602-4785-95c2-33f36c355e18">
                  <inPort Id="02ef958e-02d2-4ef4-855d-62cfb7806574" name="EDM2" portName="EDM2" portNum="14" objectIndex="2" varId="14" filter="3" portDataType="1" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
              </inPorts>
              <outPorts>
                <functionBlockHasOutPorts Id="6c400b2a-bde9-498d-b127-59aafc333cc2">
                  <outPort Id="6d07ff22-4dbf-4cce-a850-9389199db930" name="Error" portName="Error" portNum="4" objectIndex="0" varId="16" filter="7" portDataType="1" replacementValue="0" />
                </functionBlockHasOutPorts>
                <functionBlockHasOutPorts Id="a5ed9278-5c62-489c-9c67-43292e68668a">
                  <outPort Id="6e8eec6d-cd20-4f73-9df2-b1497903da86" name="MonOut" portName="MonOut" portNum="11" objectIndex="1" varId="23" filter="7" portDataType="1" replacementValue="0">
                    <targetFunctionBlockPorts>
                      <wiredLink Id="26581dca-036e-4cc3-8cbd-525219cb1f15">
                        <inPortMoniker name="//STO_SS1_1/INVERT_ERROR_STATE_ChA/OrIn1" />
                      </wiredLink>
                    </targetFunctionBlockPorts>
                  </outPort>
                </functionBlockHasOutPorts>
                <functionBlockHasOutPorts Id="38b16f72-ecf5-4f3c-b6a3-3ede48b01f6c">
                  <outPort Id="0ae75115-32fe-4b3a-945e-fe8b8a4db820" name="MonDelOut" portName="MonDelOut" portNum="12" objectIndex="2" varId="25" filter="7" portDataType="1" replacementValue="0">
                    <targetFunctionBlockPorts>
                      <wiredLink Id="34a08a5c-2d9b-4e5c-8ee0-7c1e32961e4a">
                        <inPortMoniker name="//STO_SS1_1/STO_ChA/MonIn2" />
                      </wiredLink>
                    </targetFunctionBlockPorts>
                  </outPort>
                </functionBlockHasOutPorts>
              </outPorts>
              <parameterPorts>
                <functionBlockHasParamPorts Id="3e511b94-589f-47df-a13f-b8c578ffc888">
                  <parameterPort Id="a90af138-3673-416d-b197-f7e4ce1ca6be" name="Delay Time (ms)" portName="Delay Time (ms)" portNum="8" objectIndex="0" varId="0" filter="0" portDataType="0" timing="2000" userFbPortName="Delay Time (ms)" useInUserFb="false" />
                </functionBlockHasParamPorts>
              </parameterPorts>
            </fBMon>
          </networkHasFunctionBlocks>
          <networkHasFunctionBlocks Id="9cc85a36-e5b1-4148-a07e-b214333d0d3a">
            <fBMon Id="40ad0314-ff84-4875-ae14-2870f31bea03" name="STO_ChA" instanceName="STO_ChA" orderOfExecution="3" mapState="false" mapDiag="false" functionName="safeMon" safeInputsAfterDiscError="false" manualFunctionTest="false">
              <inPorts>
                <functioBlockHasInPorts Id="5844ec45-c658-471b-b260-458b7cb1824e">
                  <inPort Id="1316b714-0cbd-4b0b-b402-6daa39898d14" name="Restart" portName="Restart" portNum="2" objectIndex="0" varId="1" filter="3" portDataType="1" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="97ba6028-8a61-4934-a574-f112d115fcd3">
                  <inPort Id="25fe7d71-9802-4ea8-a382-9dc0a1cb245f" name="MonIn1" portName="MonIn1" portNum="4" objectIndex="8" varId="4" filter="2" portDataType="1" channelInterface="Single-Channel Both Activated" deactivate1="Break Contact (NC)" deactivate2="Break Contact (NC)" maxDeviation="0" resetTime="0">
                    <fbPortGlobalVariableReferences>
                      <functionBlockPortHasFbPortGlobalVariableReferences Id="278c644d-47d4-43f2-b27c-c5b4396f0c93">
                        <fbPortGlobalVariableReference Id="3469d925-44c9-4ba9-94b9-523c0375b53b" variableId="2dbf13ac-81bb-4a72-b6ff-ee6d34ee3e41" lastKnownPath="ChA.STO_CMD" />
                      </functionBlockPortHasFbPortGlobalVariableReferences>
                    </fbPortGlobalVariableReferences>
                  </inPort>
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="1d17d35e-44e6-4bee-a14b-845b61de55f7">
                  <inPort Id="8a49e5ef-3daa-4ad8-bb84-be668a15b482" name="MonIn2" portName="MonIn2" portNum="5" objectIndex="9" varId="5" filter="2" portDataType="1" channelInterface="Both Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="a363f6c1-aa53-49a8-a2a0-612ff0002f9d">
                  <inPort Id="ce88139f-3161-47e5-98dd-320177fe1545" name="MonIn3" portName="MonIn3" portNum="6" objectIndex="10" varId="6" filter="2" portDataType="1" channelInterface="Both Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="ed298627-8765-4da6-8900-247976fba774">
                  <inPort Id="58beb18c-eb99-4f1d-9f55-2ab77a177746" name="MonIn4" portName="MonIn4" portNum="7" objectIndex="11" varId="7" filter="2" portDataType="1" channelInterface="Both Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="6f732167-a47b-40aa-9d36-5060205bf612">
                  <inPort Id="4681bd34-59d3-4591-bd56-d82a311f2820" name="Secure1" portName="Secure1" portNum="9" objectIndex="12" varId="9" filter="2" portDataType="1" channelInterface="Both Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="d1a0eb64-ec30-4869-9dc8-439cf6786d69">
                  <inPort Id="9d18b312-2990-4e0f-95f1-6de39ef8bb48" name="Secure2" portName="Secure2" portNum="10" objectIndex="13" varId="10" filter="2" portDataType="1" channelInterface="Both Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="2d00c69c-77ae-424b-a3d9-62a932b3e741">
                  <inPort Id="a9ab9941-437b-4238-a78c-ca11d0947b30" name="EDM1" portName="EDM1" portNum="13" objectIndex="1" varId="13" filter="3" portDataType="1" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="43a9971a-64cc-4d37-a95e-571c32a9a3c4">
                  <inPort Id="e3cc64c9-6f34-4c35-996a-a3266c89c4b4" name="EDM2" portName="EDM2" portNum="14" objectIndex="2" varId="14" filter="3" portDataType="1" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
              </inPorts>
              <outPorts>
                <functionBlockHasOutPorts Id="3332d8cd-597c-499a-9f6b-2b73d34f57e3">
                  <outPort Id="0579a56b-1b9f-4762-8b58-d72ee67af471" name="Error" portName="Error" portNum="4" objectIndex="0" varId="16" filter="7" portDataType="1" replacementValue="0" />
                </functionBlockHasOutPorts>
                <functionBlockHasOutPorts Id="619eaa61-82d3-4f47-a480-d008b74bc843">
                  <outPort Id="93a66599-57cd-4042-99cc-30737c1900c9" name="MonOut" portName="MonOut" portNum="11" objectIndex="1" varId="23" filter="7" portDataType="1" replacementValue="0">
                    <targetFunctionBlockPorts>
                      <wiredLink Id="58f7fa58-d423-431d-9631-f0004f572f19">
                        <inPortMoniker name="//STO_SS1_1/INVERT_STO_STATE_ChA/OrIn1" />
                      </wiredLink>
                    </targetFunctionBlockPorts>
                  </outPort>
                </functionBlockHasOutPorts>
                <functionBlockHasOutPorts Id="0f6fe182-5371-44b7-88a1-e8038cea56e3">
                  <outPort Id="df3bc894-59e2-457a-a7f0-d089a592c29b" name="MonDelOut" portName="MonDelOut" portNum="12" objectIndex="2" varId="25" filter="7" portDataType="1" replacementValue="0" />
                </functionBlockHasOutPorts>
              </outPorts>
              <parameterPorts>
                <functionBlockHasParamPorts Id="a689a70e-a6b1-4efc-a51b-ec4d363624c8">
                  <parameterPort Id="f413ee34-470d-4040-a600-dfc669f4b162" name="Delay Time (ms)" portName="Delay Time (ms)" portNum="8" objectIndex="0" varId="0" filter="0" portDataType="0" timing="100" userFbPortName="Delay Time (ms)" useInUserFb="false" />
                </functionBlockHasParamPorts>
              </parameterPorts>
            </fBMon>
          </networkHasFunctionBlocks>
          <networkHasFunctionBlocks Id="3c22df9e-3da1-42e8-9228-fdc011b72713">
            <fBOr Id="66017b66-c9a9-485f-a2b8-79552b2b4e35" name="INVERT_STO_STATE_ChA" instanceName="INVERT_STO_STATE_ChA" orderOfExecution="4" mapState="false" mapDiag="false" functionName="safeOr">
              <inPorts>
                <functioBlockHasInPorts Id="21c5e01e-625d-450e-93bd-51cb68503194">
                  <inPort Id="fad1bd61-02a1-4cf4-9638-00a42ddeda13" name="OrIn1" portName="OrIn1" portNum="2" objectIndex="8" varId="2" filter="2" portDataType="1" channelInterface="Activated" deactivate1="Make Contact (NO)" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="3bfb4f77-b8a6-487f-a961-75a1c40ad19c">
                  <inPort Id="06d3bc63-a6c1-46a2-b40f-bdc9d5613950" name="OrIn2" portName="OrIn2" portNum="3" objectIndex="9" varId="3" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="180f2460-0199-488a-b52e-d18485bb423c">
                  <inPort Id="237dad54-a172-499d-af61-4a6f18de6251" name="OrIn3" portName="OrIn3" portNum="4" objectIndex="10" varId="4" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="4750977e-caff-4914-9eec-8ede08c2d4f6">
                  <inPort Id="ab55fc1f-40eb-4ea5-9620-f69d0e126ebc" name="OrIn4" portName="OrIn4" portNum="5" objectIndex="11" varId="5" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="9bc3fe60-d9ab-40e3-9a45-fa0fea4ab553">
                  <inPort Id="3a7e6222-6b8f-4367-a5c2-33ec6830baa6" name="OrIn5" portName="OrIn5" portNum="6" objectIndex="12" varId="6" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="c8796784-ca52-4748-99a2-fa3e22cef01b">
                  <inPort Id="3a22577f-7080-4778-9af1-159f8d46cfce" name="OrIn6" portName="OrIn6" portNum="7" objectIndex="13" varId="7" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="dec8b934-b729-4560-b6fb-70efdcb5881c">
                  <inPort Id="5c80f65c-733a-4acc-892d-3b22b78495ac" name="OrIn7" portName="OrIn7" portNum="8" objectIndex="14" varId="8" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="72d2a150-ec92-4bda-bc7a-6a14648f03ac">
                  <inPort Id="c49d0c3e-a6b2-4eb1-8a98-3e46a5ac15c2" name="OrIn8" portName="OrIn8" portNum="9" objectIndex="15" varId="9" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
              </inPorts>
              <outPorts>
                <functionBlockHasOutPorts Id="0c49364f-5a4e-4f25-a3d0-af49f9d99e39">
                  <outPort Id="9bd98a6a-d805-4c1c-a4ac-1c67cdee896e" name="OrOut" portName="OrOut" portNum="8" objectIndex="1" varId="20" filter="7" portDataType="1" replacementValue="0">
                    <fbPortGlobalVariableReferences>
                      <functionBlockPortHasFbPortGlobalVariableReferences Id="7ff251e9-0c94-4e2f-be59-36dfbe0fb66d">
                        <fbPortGlobalVariableReference Id="793ce05a-62a4-4d6e-8281-9aa5c7b55075" variableId="22aa07c0-ffc1-4b49-986d-a906cb1c846d" lastKnownPath="ChA.STO_STATE" />
                      </functionBlockPortHasFbPortGlobalVariableReferences>
                    </fbPortGlobalVariableReferences>
                  </outPort>
                </functionBlockHasOutPorts>
              </outPorts>
            </fBOr>
          </networkHasFunctionBlocks>
          <networkHasFunctionBlocks Id="cd7ee34e-1bb5-4c0c-a227-ea8b20d3ddef">
            <fBOr Id="ed13212a-0db1-4020-8375-a91869e0497e" name="INVERT_ERROR_STATE_ChA" instanceName="INVERT_ERROR_STATE_ChA" orderOfExecution="5" mapState="false" mapDiag="false" functionName="safeOr">
              <inPorts>
                <functioBlockHasInPorts Id="e10caa4a-cc81-43c8-9579-6df9b2126ed0">
                  <inPort Id="0e0f59fc-b07c-4f17-965d-b21cc9e3e7c3" name="OrIn1" portName="OrIn1" portNum="2" objectIndex="8" varId="2" filter="2" portDataType="1" channelInterface="Activated" deactivate1="Make Contact (NO)" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="9a3d65d9-12ee-4ae4-b2aa-66567e44f9e6">
                  <inPort Id="b1fd570e-1f3f-4653-aa1a-01a881a08eaf" name="OrIn2" portName="OrIn2" portNum="3" objectIndex="9" varId="3" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="74165805-6e92-48a9-9d1b-10c8cfd6c8eb">
                  <inPort Id="1d10d0e1-9ba1-4f5c-a8a2-8abd16921a5b" name="OrIn3" portName="OrIn3" portNum="4" objectIndex="10" varId="4" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="96ac4c39-fc72-4c23-a17c-d620ec988508">
                  <inPort Id="10d845b4-d9ef-4b5b-a563-ef5cd73c0582" name="OrIn4" portName="OrIn4" portNum="5" objectIndex="11" varId="5" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="7d4bd6f4-0c22-4d02-8cd3-c3cbc0396955">
                  <inPort Id="f3ce98e1-46ec-4d94-bf5b-87633a8f4034" name="OrIn5" portName="OrIn5" portNum="6" objectIndex="12" varId="6" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="ac126daa-b8fc-40b9-9cbb-2c8f9832d1ff">
                  <inPort Id="658ce2b6-abb9-40c0-9504-b8da80c8c8d8" name="OrIn6" portName="OrIn6" portNum="7" objectIndex="13" varId="7" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="dcdb9953-4040-4335-98ff-7def6485cb3c">
                  <inPort Id="b505f34c-6006-4498-b164-9fd7f396388a" name="OrIn7" portName="OrIn7" portNum="8" objectIndex="14" varId="8" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
                <functioBlockHasInPorts Id="4628411e-4132-4b35-ad0c-f4a57d6d7479">
                  <inPort Id="7ae2b01c-e2d1-4f2f-bfc1-0f8498ea996a" name="OrIn8" portName="OrIn8" portNum="9" objectIndex="15" varId="9" filter="2" portDataType="1" channelInterface="Deactivated" maxDeviation="0" resetTime="0" />
                </functioBlockHasInPorts>
              </inPorts>
              <outPorts>
                <functionBlockHasOutPorts Id="d1ff1518-1b50-400b-82e4-86667e74858c">
                  <outPort Id="2b761bcf-fc39-4740-95a8-fda53890f031" name="OrOut" portName="OrOut" portNum="8" objectIndex="1" varId="20" filter="7" portDataType="1" replacementValue="0">
                    <fbPortGlobalVariableReferences>
                      <functionBlockPortHasFbPortGlobalVariableReferences Id="3fed4a97-72c0-48c9-ae10-73c544a02831">
                        <fbPortGlobalVariableReference Id="5303cf19-fbbc-4012-86e5-c2b72cf4851b" variableId="3336c728-b596-4058-8c0a-028c64576286" lastKnownPath="ChA.Error_AckReq_STATE" />
                      </functionBlockPortHasFbPortGlobalVariableReferences>
                    </fbPortGlobalVariableReferences>
                  </outPort>
                </functionBlockHasOutPorts>
              </outPorts>
            </fBOr>
          </networkHasFunctionBlocks>
        </functionBlocks>
      </Network>
    </safetyApplicationHasNetworks>
  </networks>
  <twinSAFEGroupAliasPorts>
    <safetyApplicationHasTwinSAFEGroupAliasPort Id="51118e7f-fa49-481b-9040-11d022c137f2">
      <twinSAFEGroupAliasPort Id="090ba0b2-4e39-4d0a-9a5b-f296664e45c5" name="ErrAck" sdsId="0" channelId="0" portName="ErrAck" functionId="0" />
    </safetyApplicationHasTwinSAFEGroupAliasPort>
    <safetyApplicationHasTwinSAFEGroupAliasPort Id="f607070e-d03a-4913-b4a1-6a2ded15f756">
      <twinSAFEGroupAliasPort Id="9269d7f7-728c-4435-9577-034f5a334e63" name="RunStop" sdsId="0" channelId="0" portName="RunStop" functionId="0" />
    </safetyApplicationHasTwinSAFEGroupAliasPort>
  </twinSAFEGroupAliasPorts>
  <variables>
    <safetyApplicationHasVariables Id="7b13c425-ca4a-424d-b680-bc1f126a214b">
      <variable Id="ca936542-67e3-4895-8885-622e9003b89c" name="GroupPort_ErrAck" isLocal="false">
        <sourceUsages>
          <variableHasSourceUsages Id="99d8eda0-7bb5-41f8-9a13-316fafe22fb4">
            <variableUsages Id="abdbb599-9f49-4c59-9b8f-8c07a08af2af">
              <usages>
                <variableUsagesHasUsages Id="ed48cfae-ffc5-4d3b-8ccd-b7063699b8bc">
                  <aliasDeviceIoUsage Id="f07b3d34-88f0-4b9b-bf26-6c22aac96464" sdsId="4" channelId="146" functionId="-1070333439" />
                </variableUsagesHasUsages>
              </usages>
            </variableUsages>
          </variableHasSourceUsages>
        </sourceUsages>
        <targetUsages>
          <variableHasTargetUsages Id="b359366e-d758-4f6b-a82a-268b3f9e0df6">
            <variableUsages Id="7c84aaf9-0147-47ea-a6c0-dcb68ca0be2d">
              <usages>
                <variableUsagesHasUsages Id="76f9202a-bca3-4717-bf2e-831aa7c8d97e">
                  <groupPortUsage Id="0e77a79c-07b3-45e7-b6fe-cdba8c1ca4d8">
                    <twinSAFEGroupAliasPort>
                      <groupPortUsageReferencesTwinSAFEGroupAliasPort Id="36287487-ded4-4b09-80b4-3a4a37cc603e">
                        <twinSAFEGroupAliasPortMoniker name="//ErrAck" />
                      </groupPortUsageReferencesTwinSAFEGroupAliasPort>
                    </twinSAFEGroupAliasPort>
                  </groupPortUsage>
                </variableUsagesHasUsages>
              </usages>
            </variableUsages>
          </variableHasTargetUsages>
        </targetUsages>
      </variable>
    </safetyApplicationHasVariables>
    <safetyApplicationHasVariables Id="806aea1f-cb10-4925-a18f-785e328e5ad2">
      <variable Id="1b51c015-0494-48a3-a881-935ceda682b3" name="GroupPort_Run" isLocal="false">
        <sourceUsages>
          <variableHasSourceUsages Id="4088d1da-855d-43d5-83b2-7bef64cb08d8">
            <variableUsages Id="22b4581a-87f4-4111-8915-5ecdb78861ff">
              <usages>
                <variableUsagesHasUsages Id="b30a73e5-ef53-4884-933c-c29881643730">
                  <aliasDeviceIoUsage Id="e83a3ebd-edf8-4d28-a251-c12237434bcd" sdsId="4" channelId="145" functionId="-1070333695" />
                </variableUsagesHasUsages>
              </usages>
            </variableUsages>
          </variableHasSourceUsages>
        </sourceUsages>
        <targetUsages>
          <variableHasTargetUsages Id="49258e2d-40b9-4065-a908-ef9158ab6daf">
            <variableUsages Id="78dd0756-a07a-4558-b9f1-2f5f72cbc121">
              <usages>
                <variableUsagesHasUsages Id="0ab8c634-86ac-4e4d-bded-ac0b29fff1c7">
                  <groupPortUsage Id="b46febdc-782c-426b-b2da-93b2809daf2f">
                    <twinSAFEGroupAliasPort>
                      <groupPortUsageReferencesTwinSAFEGroupAliasPort Id="1c2fb799-7c4f-4349-8ce8-5c7440ed0c47">
                        <twinSAFEGroupAliasPortMoniker name="//RunStop" />
                      </groupPortUsageReferencesTwinSAFEGroupAliasPort>
                    </twinSAFEGroupAliasPort>
                  </groupPortUsage>
                </variableUsagesHasUsages>
              </usages>
            </variableUsages>
          </variableHasTargetUsages>
        </targetUsages>
      </variable>
    </safetyApplicationHasVariables>
    <safetyApplicationHasVariables Id="810ff830-fa36-4b31-973f-1068e1c91290">
      <variable Id="0c19e7ae-3646-47d6-a060-bf576b026716" name="SS1_ChA" isLocal="false">
        <sourceUsages>
          <variableHasSourceUsages Id="ea9039b7-686d-43ec-b07b-9d72b44d9c29">
            <variableUsages Id="e630edb6-0236-48dd-bc6f-5233db977b2f">
              <usages>
                <variableUsagesHasUsages Id="89b01fb0-eb75-4316-acae-64792f4ce169">
                  <fbPortUsage Id="c6d6d890-a36c-4f63-a8b0-fd92bbf79f84">
                    <functionBlockPort>
                      <fbPortUsageReferencesFunctionBlockPort Id="dab91a44-e113-4ca3-aac2-c89ffdf37785">
                        <outPortMoniker name="//STO_SS1_1/SS1_ChA/MonOut" />
                      </fbPortUsageReferencesFunctionBlockPort>
                    </functionBlockPort>
                  </fbPortUsage>
                </variableUsagesHasUsages>
              </usages>
            </variableUsages>
          </variableHasSourceUsages>
        </sourceUsages>
        <targetUsages>
          <variableHasTargetUsages Id="3fd16b63-4ced-4bc6-a163-448decd4bcbb">
            <variableUsages Id="0a8760a9-e700-4673-a4da-b5687cf51f58">
              <usages>
                <variableUsagesHasUsages Id="59bd0493-ef23-4fa4-93e7-5666c7156a35">
                  <aliasDeviceIoUsage Id="c1a7da10-919d-4064-969f-6399409e7266" sdsId="5" channelId="1" functionId="1131179972" />
                </variableUsagesHasUsages>
                <variableUsagesHasUsages Id="e8dd2556-217b-4987-b182-5543ced78008">
                  <aliasDeviceIoUsage Id="631ccbdf-145c-4edb-8c04-67842d61f493" sdsId="4" channelId="49" functionId="-1061814015" />
                </variableUsagesHasUsages>
              </usages>
            </variableUsages>
          </variableHasTargetUsages>
        </targetUsages>
      </variable>
    </safetyApplicationHasVariables>
    <safetyApplicationHasVariables Id="e135abdb-2a1a-44a4-a725-6b77c8cd9cf3">
      <variable Id="76bcea23-a427-43be-b159-19a8a1e7a967" name="STO_ChA" isLocal="false">
        <sourceUsages>
          <variableHasSourceUsages Id="a1929720-db2f-4243-be6b-5f0d168ce4e3">
            <variableUsages Id="25bb29f0-efba-4ec5-b401-a9859e12cf14">
              <usages>
                <variableUsagesHasUsages Id="73f908b0-20e4-4a98-abf9-a9b99e609ed1">
                  <fbPortUsage Id="54ac7153-8dbb-4682-9fc0-d159130d53e9">
                    <functionBlockPort>
                      <fbPortUsageReferencesFunctionBlockPort Id="ecd88271-740d-4c56-9a9d-f982c2888ca9">
                        <outPortMoniker name="//STO_SS1_1/STO_ChA/MonOut" />
                      </fbPortUsageReferencesFunctionBlockPort>
                    </functionBlockPort>
                  </fbPortUsage>
                </variableUsagesHasUsages>
              </usages>
            </variableUsages>
          </variableHasSourceUsages>
        </sourceUsages>
        <targetUsages>
          <variableHasTargetUsages Id="5ca3499c-bf2b-417c-ba98-c09c5974306c">
            <variableUsages Id="fd3d21a3-c2df-48ef-a906-f46bed16e2ac">
              <usages>
                <variableUsagesHasUsages Id="2af28b17-3466-4348-b440-bcc0faec980d">
                  <aliasDeviceIoUsage Id="48b03519-e441-48cd-9fea-add2fbb49b08" sdsId="4" channelId="1" functionId="-1065287423" />
                </variableUsagesHasUsages>
                <variableUsagesHasUsages Id="a556e3c6-fa04-4aea-bc4b-c3009478b825">
                  <aliasDeviceIoUsage Id="6cd33cb2-79f9-4b53-a93c-7e9512f169ab" sdsId="4" channelId="2" functionId="-1065287167" />
                </variableUsagesHasUsages>
                <variableUsagesHasUsages Id="56da03ff-4dca-4d73-90dc-93f401b96139">
                  <aliasDeviceIoUsage Id="fe0e48f4-e3e3-4c62-87b7-469c4a305c1c" sdsId="4" channelId="4" functionId="-1064828671" />
                </variableUsagesHasUsages>
              </usages>
            </variableUsages>
          </variableHasTargetUsages>
        </targetUsages>
      </variable>
    </safetyApplicationHasVariables>
  </variables>
</safetyApplication>