Global Release
//--------------------------------Global Automatic Release--------------------------------
{region "Description Global Automatic Release"}
(*
The PLC code sums together the release Push Button pressed Flag from all Hardware Zone.
This allows all sequences in all zones to be started in automatic simultaneously by employing
the Global Relaise Push Button pressed Output in every Hardware Zone Automatic Release network.
*)
{endregion}
aAutoRelMatrix[0] := GVL_Global_HMI.stHmiIf.xHmiAutomaticRelease;
aAutoRelMatrix[1] := GVL_<HwZone_name>.stHwzIf.xReleasePbPressed;
FOR iIndex := 0 TO 1 DO
IF aAutoRelMatrix[iIndex] THEN
GVL_Global.stGlobalIf.xRelease := TRUE;
EXIT;
ELSE
GVL_Global.stGlobalIf.xRelease := FALSE;
END_IF
END_FORZuletzt aktualisiert
War das hilfreich?

