All Step Sequence Automatic Release
// --------------------------------All Step Sequences Automatic Release--------------------------------
{region "Description All Step Sequences Automatic Release"}
(*
The plc code below are used to check if all sequences associated with the zone have automatic release and hence have all started.
A reusable output is allocated for this function. This is used below for the automatic status lamp indicator.
*)
{endregion}
aAllSeqAutoRelMatrix[0] := GVL_<Sequence_name>.stSeqIf.xSeqAutomaticReleased;
GVL_<HwZone_name>.stHwzIf.xAllSeqAutoRelease := TRUE;
FOR iIndex := 0 TO 0 DO
IF NOT aAllSeqAutoRelMatrix[iIndex] THEN
GVL_<HwZone_name>.stHwzIf.xAllSeqAutoRelease := FALSE;
EXIT;
END_IF
END_FORZuletzt aktualisiert
War das hilfreich?

