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

@@ -228,10 +228,7 @@ VAR PERSISTENT
END_VAR
]]></Declaration>
<Implementation>
<ST><![CDATA[// Reset error flag
xError := FALSE;
// Reset all modules in automatic mode
<ST><![CDATA[// Reset all modules in automatic mode
xAllModulesInAutoMode := TRUE;
// Reset Safety
@@ -420,6 +417,10 @@ CASE _iState OF
_iState := 7;
END_IF
IF _xErrorInternal THEN
_iState := 1000;
END_IF
1: // Wait for ready in safety check mode
IF _xAllModulesReady THEN
@@ -838,7 +839,7 @@ END_IF
// Reset safetyinterlock timeout alarm
IF _fbSafetyIntlkTimeoutAlarm.bRaised AND xConfirmAlarms THEN
_fbInverterStartupTimeoutAlarm.Clear(0, TRUE);
_fbSafetyIntlkTimeoutAlarm.Clear(0, TRUE);
END_IF
// Copy status to hmi interface