Global Fault Reset
//--------------------------------Global Fault Reset--------------------------------
{region "Description Global Fault Reset"}
(*
The PLC code below sums the fault reset flags from all Hardware Zone.
This allows a common fault reset to all zones when any zone fault reset Push Button is pressed.
*)
{endregion}
aResetMatrix[0] := GVL_Global_HMI.stHmiIf.xHmiFaultReset;
aResetMatrix[1] := GVL_HwZone1.stHwzIf.xFaultResetPbPressed;
FOR iIndex := 0 TO 1 DO
IF aResetMatrix[iIndex] THEN
GVL_Global.stGlobalIf.xFaultReset := TRUE;
EXIT;
ELSE
GVL_Global.stGlobalIf.xFaultReset := FALSE;
END_IF
END_FORZuletzt aktualisiert
War das hilfreich?

