Any Step Sequences in Time Out

Any Step Sequences in Time Out Der folgende SPS-Code wird verwendet, um zu prüfen, ob eine mit der Zone verbundene Sequenz ein Zeitlimit erreicht hat.

Copy

// --------------------------------Any Step Sequences in Time Out--------------------------------
   {region "Description Any Step Sequences in Time Out"}
   (*
   The following PLC code is used to check if any sequence associated with the zone has reached a time out.
   A reusable output is allocated for this function.
   *)
   {endregion}
   aAnySeqTimeOutMatrix[0] := GVL_<Sequence_name>.stSeqIf.xSeqStepTimeout;


   FOR  iIndex := 0 TO 0 DO
      IF aAnySeqTimeOutMatrix[iIndex] THEN
         GVL_<HwZone_name>.stHwzIf.xAnySeqTimeOut := TRUE;
         EXIT;
      ELSE
         GVL_<HwZone_name>.stHwzIf.xAnySeqTimeOut := FALSE;
      END_IF
   END_FOR

<***>Variablen Name, Kommentar und Datentyp werden aus dem Studio automatisch übernommen

Zuletzt aktualisiert

War das hilfreich?