All Step Sequences End of Cycle Reached
// All Step Sequences End Of Cycle Reached
{region "Description Stop at End Of Cycle Mode"}
(*
The plc code below are used to check if all sequences associated with the zone have reached their end of cycle.
A reusable output is allocated for this function. This is used below for the End of cycle lamp indicator.
*)
{endregion}
aAllSeqEOCMatrix[0] := GVL_<Sequence_name>.stSeqIf.xSeqEndOfCycleReached;
GVL_<HwZone_name>.stHwzIf.xAllSeqEocReached := TRUE;
FOR iIndex := 0 TO 0 DO
IF NOT aAllSeqEOCMatrix[iIndex] THEN
GVL_<HwZone_name>.stHwzIf.xAllSeqEocReached := FALSE;
EXIT;
END_IF
END_FORZuletzt aktualisiert
War das hilfreich?

