> For the complete documentation index, see [llms.txt](https://infosys.selmotech.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infosys.selmotech.com/selmo-struktur-und-standard/selmo-technischer-standard-und-struktur/beschreibung-selmo-plc-code/sequence-logic/less-than-sequence_name-greater-than/struktur-less-than-sequence_name-greater-than/sequence-logic-control/zone-call/zonen-methoden-call/timer-zone.md).

# Timer Zone

Das Timer-Element ermöglicht die Modellierung von zeitabhängigen Schritten. Ein Timer-Schritt kann erst in den folgenden Schritt wechseln, wenn eine bestimmte Zeit abgelaufen ist. Diese Zeit wird durch einen Timer-Parameter festgelegt. Ein Beispiel hierfür wäre ein zeitgesteuerter Rührvorgang in einem Tank, bei dem der Schritt erst dann zum nächsten Schritt übergeht, wenn die vordefinierte Rührzeit abgelaufen ist. In diesem Codeabschnitt wird der Funktionsbaustein fbTon2 für den Timer Step aufgerufen und die dafür konfigurierte Zeit übergeben.

Copy

```
// --------------------------- TIMER CALLS ---------------------------
      fbTon2(IN:= GVL_Sequence1.iStepCounter = 2 AND GVL_Sequence1.stSeqIf.xSeqAutomaticReleased, PT:= T#5000MS);

   // --------------------------- ZONE 1 | Step 2 Timer ---------------------------

      // Zone Condition Assigns
      aCondZone1[0] := TRUE;
      aPaircheckZone1[0] := FALSE;

      fbZone1.P_iIndexOfLamp := 11;
      fbZone1.P_xInputPolarity := eInputPolarity.Active_High;
      fbZone1.P_xManualRelease := GVL_Sequence1.stSeqIf.xSeqManualReleased;
      fbZone1.P_xFeedbackInput := fbTon2.Q;
      fbZone1.P_xManualPB := FALSE;
      fbZone1.P_timFeedbackInput := T#0MS;
      fbZone1.P_xNoPBPressed := GVL_Sequence1.stSeqIf.xSeqNoPBpressed;
      fbZone1.P_xAutomaticRelease := GVL_Sequence1.stSeqIf.xSeqAutomaticReleased;
      fbZone1.P_iActualStepCounter := GVL_Sequence1.iStepCounter;
      fbZone1.P_xIsSystemZone := TRUE;

      fbZone1( // Step 2 Timer
         aZone := aZ1,
         aLampMatrix := aMatrix,
         aTempMatrix := aTemp,
         aMonMatrix := GVL_Sequence1_HMI.aHmiMon,
         aMonBuffer := GVL_Sequence1_HMI.aHmiMonBuffer,
         aStepMatrix := aStep);

      GVL_Sequence1_IOs.o_xZone_1 := fbZone1.M_InOutput(
         aCross := aCrossZone1,
         aCond := aCondZone1,
         aFeedbackPairCheckInput := aPaircheckZone1);

      // Feedback state
      xFeedbackStateZone1 := fbZone1.P_xFeedbackState;
```

<br>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://infosys.selmotech.com/selmo-struktur-und-standard/selmo-technischer-standard-und-struktur/beschreibung-selmo-plc-code/sequence-logic/less-than-sequence_name-greater-than/struktur-less-than-sequence_name-greater-than/sequence-logic-control/zone-call/zonen-methoden-call/timer-zone.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
