Added some fixed during pre safety check

- Fixed bug that SafetyIntlkTimeout could not be acknowledged
- Pumps now dont shut off during error in unit (except over- or underpressure), setpoint is now set to discharge power
- Fixed bug not able to restart safety-check when not all strings where off
- Adjusted Safetyparameters to match safetycheck protocol
This commit is contained in:
Matthias Heisig
2025-06-03 18:02:19 +02:00
parent 2f9f4df261
commit f12063e294
23 changed files with 1808 additions and 1924 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<safetyApplicationLanguageDiagram Crc="2204218878" dslVersion="1.5.0.0" Id="5f7d34e8-561e-4bd5-a055-c0766db198ec" absoluteBounds="0, 0, 13.375, 10.125" name="TwinSAFE">
<safetyApplicationLanguageDiagram Crc="2839475949" dslVersion="1.5.0.0" Id="5f7d34e8-561e-4bd5-a055-c0766db198ec" absoluteBounds="0, 0, 13.375, 10.125" name="TwinSAFE">
<safetyApplicationMoniker name="/" />
<nestedChildShapes>
<networkSwimLane Id="14d06ffe-7c45-4271-af0b-cbeefe33a9c2" absoluteBounds="0, 0, 13.375, 10.095">
@@ -46,147 +46,147 @@
</outPortShape>
</relativeChildShapes>
</fBAndShape>
<userFunctionBlockShape Id="5176fea3-27b6-4edb-a1f1-c723143df1f7" absoluteBounds="2.625, 6.875, 2.2568806171417237, 2.97">
<userFunctionBlockMoniker name="//Network1/UserFunctionBlock4" />
<relativeChildShapes>
<inPortShape Id="3cd33956-8a3c-42fc-9387-43e95e8e9f55" absoluteBounds="2.545, 7.35, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit1Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="836294b2-9015-4241-98f3-fba9e12b66cd" absoluteBounds="2.545, 7.62, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit1Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="d5a7724a-1dac-4dbd-8ae7-5ea2e66c18a0" absoluteBounds="2.545, 7.8900000000000006, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit2Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="6b783609-186f-4a93-b9b3-325c8dd4ba3e" absoluteBounds="2.545, 8.16, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit2Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="dcdb2b97-3315-4e19-a33c-b627d90013ca" absoluteBounds="2.545, 8.43, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit3Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="b34ce190-8566-49a1-99ab-c10ad1b134bf" absoluteBounds="2.545, 8.7, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit3Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="2d0e7ae3-4a71-4579-b0f5-428e238d6afe" absoluteBounds="2.545, 8.97, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit4Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="95d1496d-a5e0-4ec3-a6f9-ab959e2c208c" absoluteBounds="2.545, 9.24, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit4Temp2" />
<relativeChildShapes />
</inPortShape>
<outPortShape Id="89551fc6-07a7-40be-a776-f6333eb29be0" absoluteBounds="4.7818806171417236, 7.35, 0.15, 0.15">
<metaOutPortMoniker name="//Network1/UserFunctionBlock4/xTempInRange" />
<relativeChildShapes />
</outPortShape>
</relativeChildShapes>
</userFunctionBlockShape>
<userFunctionBlockShape Id="02b41cff-d606-45ce-86be-d09c8eafdad7" absoluteBounds="2.625, 3.75, 2.2568806171417237, 2.97">
<userFunctionBlockMoniker name="//Network1/UserFunctionBlock2" />
<relativeChildShapes>
<inPortShape Id="8d5a07d5-acb5-442d-b87b-096383636201" absoluteBounds="2.545, 4.225, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock2/iUnit1Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="af359488-da4c-4e60-b34e-ec522c82c5e3" absoluteBounds="2.545, 4.495, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock2/iUnit1Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="2589d6bb-3a8f-4db6-a103-b780ccf4ea65" absoluteBounds="2.545, 4.7650000000000006, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock2/iUnit2Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="ef2cd09b-5f6a-4327-98e5-cdf4eade7fe5" absoluteBounds="2.545, 5.035, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock2/iUnit2Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="ca44140d-1ef5-4df0-af58-d61f69800841" absoluteBounds="2.545, 5.305, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock2/iUnit3Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="036ea97f-b814-4213-bd08-ad450558fb3e" absoluteBounds="2.545, 5.575, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock2/iUnit3Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="8a0c0066-1f26-4528-904f-bcb51e5cba0d" absoluteBounds="2.545, 5.8450000000000006, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock2/iUnit4Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="479a4f82-aa1a-4fa6-92a6-f3fa08e56b14" absoluteBounds="2.545, 6.115, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock2/iUnit4Temp2" />
<relativeChildShapes />
</inPortShape>
<outPortShape Id="bd493140-8c9f-41a2-964d-a5ce74458997" absoluteBounds="4.7818806171417236, 4.225, 0.15, 0.15">
<metaOutPortMoniker name="//Network1/UserFunctionBlock2/xTempInRange" />
<relativeChildShapes />
</outPortShape>
</relativeChildShapes>
</userFunctionBlockShape>
<userFunctionBlockShape Id="0730420f-88a1-4f7c-a38e-d40ab26442bc" absoluteBounds="2.625, 0.625, 2.2568806171417237, 2.97">
<userFunctionBlockShape Id="bd2089b4-d84d-4782-a0c9-48568e75a5a9" absoluteBounds="2.625, 6.875, 2.2568806171417237, 2.97">
<userFunctionBlockMoniker name="//Network1/UserFunctionBlock1" />
<relativeChildShapes>
<inPortShape Id="dff67280-3be2-45c0-81d5-1ac10e20c051" absoluteBounds="2.545, 1.1, 0.15, 0.15">
<inPortShape Id="778d43d8-de97-47a4-8a42-21e5807a99fc" absoluteBounds="2.545, 7.35, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock1/iUnit1Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="c8624a31-16b5-4382-8875-cc6f2aa8bcb7" absoluteBounds="2.545, 1.37, 0.15, 0.15">
<inPortShape Id="da172ccf-9f37-43b7-bb0c-52f19a603d27" absoluteBounds="2.545, 7.62, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock1/iUnit1Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="dd61ca5d-be65-479e-a74e-69bcc045e05a" absoluteBounds="2.545, 1.6400000000000001, 0.15, 0.15">
<inPortShape Id="53339c9b-1c24-4c9a-bd2a-a660e40e4cbc" absoluteBounds="2.545, 7.8900000000000006, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock1/iUnit2Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="c4bd93f7-8ade-4bdc-b313-1a976675830a" absoluteBounds="2.545, 1.9100000000000001, 0.15, 0.15">
<inPortShape Id="db8b261f-c318-4e8c-95af-3c7c46740cee" absoluteBounds="2.545, 8.16, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock1/iUnit2Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="491d3032-00fd-46ad-b340-990495148dba" absoluteBounds="2.545, 2.18, 0.15, 0.15">
<inPortShape Id="20d99cb7-e7d6-4bd1-8533-d93fbb28cc40" absoluteBounds="2.545, 8.43, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock1/iUnit3Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="2b026647-2073-4be7-a87b-3c72fa070f15" absoluteBounds="2.545, 2.45, 0.15, 0.15">
<inPortShape Id="244276ee-0307-4698-a6c8-1e09b9a07603" absoluteBounds="2.545, 8.7, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock1/iUnit3Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="346c70e3-282a-439c-a1f1-ed47fe35fad6" absoluteBounds="2.545, 2.72, 0.15, 0.15">
<inPortShape Id="4079b689-c8a8-4f08-b341-c559c442e660" absoluteBounds="2.545, 8.97, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock1/iUnit4Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="9107e33b-43c1-44b9-8556-9272436727d9" absoluteBounds="2.545, 2.99, 0.15, 0.15">
<inPortShape Id="9cae7262-ca06-452e-94f1-2e09b2677001" absoluteBounds="2.545, 9.24, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock1/iUnit4Temp2" />
<relativeChildShapes />
</inPortShape>
<outPortShape Id="766dff7b-c59d-4029-a327-41b8b28207fb" absoluteBounds="4.7818806171417236, 1.1, 0.15, 0.15">
<outPortShape Id="ad6a905e-fa62-4b74-81a3-29fc59f1c070" absoluteBounds="4.7818806171417236, 7.35, 0.15, 0.15">
<metaOutPortMoniker name="//Network1/UserFunctionBlock1/xTempInRange" />
<relativeChildShapes />
</outPortShape>
</relativeChildShapes>
</userFunctionBlockShape>
<wiredLinkConnector Id="2a97b97a-76db-4fac-8e68-7244a4b7caaf" edgePoints="[(4.93188061714172 : 7.425); (6.06470307790585 : 7.425); (6.06470307790585 : 3.235); (7.295 : 3.235)]" manuallyRouted="true" fixedFrom="Caller" fixedTo="Caller" color="0, 0, 0" thickness="0.01" expandedManuallyRouted="false">
<wiredLinkMoniker Id="076370d9-f86a-4670-99cb-4553c8ada181" />
<userFunctionBlockShape Id="73de2ca4-914e-4726-99d4-880cfa62b6c1" absoluteBounds="2.625, 3.75, 2.2568806171417237, 2.97">
<userFunctionBlockMoniker name="//Network1/UserFunctionBlock3" />
<relativeChildShapes>
<inPortShape Id="6e5a039c-d993-431e-bfc0-6e36221821d7" absoluteBounds="2.545, 4.225, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock3/iUnit1Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="9e7ba39f-d47a-4c7d-a25f-d34952f79590" absoluteBounds="2.545, 4.495, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock3/iUnit1Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="ed0c41bc-a674-46fb-808c-cfb49a4028ec" absoluteBounds="2.545, 4.7650000000000006, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock3/iUnit2Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="3e9a9903-e084-45b2-b126-8db2fe781bb4" absoluteBounds="2.545, 5.035, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock3/iUnit2Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="2fb6afb7-7f93-4087-8273-714d87003db0" absoluteBounds="2.545, 5.305, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock3/iUnit3Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="56481f91-30ff-4474-b710-20717ed03c1a" absoluteBounds="2.545, 5.575, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock3/iUnit3Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="fafa3c82-9996-4753-beb2-9386343125b6" absoluteBounds="2.545, 5.8450000000000006, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock3/iUnit4Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="48102127-1a0b-4178-b099-4333c005a9a5" absoluteBounds="2.545, 6.115, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock3/iUnit4Temp2" />
<relativeChildShapes />
</inPortShape>
<outPortShape Id="8fecaf33-8c96-4318-ad2f-191a0ab52062" absoluteBounds="4.7818806171417236, 4.225, 0.15, 0.15">
<metaOutPortMoniker name="//Network1/UserFunctionBlock3/xTempInRange" />
<relativeChildShapes />
</outPortShape>
</relativeChildShapes>
</userFunctionBlockShape>
<userFunctionBlockShape Id="1e37938c-5e3b-40bd-834b-3d3c6e50f96f" absoluteBounds="2.625, 0.625, 2.2568806171417237, 2.97">
<userFunctionBlockMoniker name="//Network1/UserFunctionBlock4" />
<relativeChildShapes>
<inPortShape Id="1ccac5ee-9a23-44fe-8d91-26d75a9d9eab" absoluteBounds="2.545, 1.1, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit1Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="885b9522-8301-4f19-871c-ed7132f373e4" absoluteBounds="2.545, 1.37, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit1Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="de74b5e0-1f01-494a-a6d8-1a7e1b5a0464" absoluteBounds="2.545, 1.6400000000000001, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit2Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="6c2a709e-30c6-4dfe-a5b7-f6bf3bf03d92" absoluteBounds="2.545, 1.9100000000000001, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit2Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="0e0aefc1-3baa-43c4-b80c-feb2da7534b2" absoluteBounds="2.545, 2.18, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit3Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="7029fba6-a4a9-400d-b71f-b016e36e2f55" absoluteBounds="2.545, 2.45, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit3Temp2" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="6ae28381-7bb7-459c-a5cc-cf3a763c50f7" absoluteBounds="2.545, 2.72, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit4Temp1" />
<relativeChildShapes />
</inPortShape>
<inPortShape Id="5e4c6c72-56a3-4f3d-a126-d9fe0265794f" absoluteBounds="2.545, 2.99, 0.15, 0.15">
<metaInPortMoniker name="//Network1/UserFunctionBlock4/iUnit4Temp2" />
<relativeChildShapes />
</inPortShape>
<outPortShape Id="902e7156-0f50-4f84-bf28-b2f24f60b797" absoluteBounds="4.7818806171417236, 1.1, 0.15, 0.15">
<metaOutPortMoniker name="//Network1/UserFunctionBlock4/xTempInRange" />
<relativeChildShapes />
</outPortShape>
</relativeChildShapes>
</userFunctionBlockShape>
<wiredLinkConnector Id="e87a3344-d985-4b93-9cd4-536e9c4f0f80" edgePoints="[(4.93188061714172 : 7.425); (6.06470307790585 : 7.425); (6.06470307790585 : 3.235); (7.295 : 3.235)]" manuallyRouted="true" fixedFrom="Caller" fixedTo="Caller" color="0, 0, 0" thickness="0.01" expandedManuallyRouted="false">
<wiredLinkMoniker Id="116db80c-876d-42c6-b02c-a0252b95085d" />
<nodes>
<outPortShapeMoniker Id="89551fc6-07a7-40be-a776-f6333eb29be0" />
<outPortShapeMoniker Id="ad6a905e-fa62-4b74-81a3-29fc59f1c070" />
<inPortShapeMoniker Id="b196d6f9-6f4a-472e-8c8b-e1ca08847853" />
</nodes>
</wiredLinkConnector>
<wiredLinkConnector Id="97bf5c8a-2979-4a36-82da-c402ce320acc" edgePoints="[(4.93188061714172 : 4.3); (5.30688061714172 : 4.3); (5.30688061714172 : 2.965); (7.295 : 2.965)]" manuallyRouted="true" fixedFrom="Caller" fixedTo="Caller" color="0, 0, 0" thickness="0.01" expandedManuallyRouted="false">
<wiredLinkMoniker Id="26dad22c-37c1-492d-b01a-50791940ed98" />
<wiredLinkConnector Id="4790cab1-67eb-4500-b679-5dfdf2afbe37" edgePoints="[(4.93188061714172 : 4.3); (5.30688061714172 : 4.3); (5.30688061714172 : 2.965); (7.295 : 2.965)]" manuallyRouted="true" fixedFrom="Caller" fixedTo="Caller" color="0, 0, 0" thickness="0.01" expandedManuallyRouted="false">
<wiredLinkMoniker Id="9c4c3dc1-84f7-492e-ac9a-a1f4c0566b42" />
<nodes>
<outPortShapeMoniker Id="bd493140-8c9f-41a2-964d-a5ce74458997" />
<outPortShapeMoniker Id="8fecaf33-8c96-4318-ad2f-191a0ab52062" />
<inPortShapeMoniker Id="65564486-c1a5-466a-ad48-16c5f5be20af" />
</nodes>
</wiredLinkConnector>
<wiredLinkConnector Id="b2015ea7-37f8-424d-8b7c-b28d3a139673" edgePoints="[(4.93188061714172 : 1.175); (5.30688061714172 : 1.175); (5.30688061714172 : 2.695); (7.295 : 2.695)]" manuallyRouted="true" fixedFrom="Caller" fixedTo="Caller" color="0, 0, 0" thickness="0.01" expandedManuallyRouted="false">
<wiredLinkMoniker Id="6a879ad6-807a-4181-a27c-084cfc467336" />
<wiredLinkConnector Id="3fa4d95b-e390-46f7-a858-2c1de839a20c" edgePoints="[(4.93188061714172 : 1.175); (5.30688061714172 : 1.175); (5.30688061714172 : 2.695); (7.295 : 2.695)]" manuallyRouted="true" fixedFrom="Caller" fixedTo="Caller" color="0, 0, 0" thickness="0.01" expandedManuallyRouted="false">
<wiredLinkMoniker Id="1939d27c-7882-442a-8798-e1d28ee19587" />
<nodes>
<outPortShapeMoniker Id="766dff7b-c59d-4029-a327-41b8b28207fb" />
<outPortShapeMoniker Id="902e7156-0f50-4f84-bf28-b2f24f60b797" />
<inPortShapeMoniker Id="b32fd359-5456-4933-89ed-4a7fa7bb5872" />
</nodes>
</wiredLinkConnector>