> 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-solution/selmo-solution-en/selmo-structure-and-standard/selmo-technical-standard-and-structure/description-selmo-plc-code/sequence-logic/less-than-sequence_name-greater-than/structure-less-than-sequence_name-greater-than/sequence-logic-control/zone-call/zone-methods-call/timer-zone.md).

# Timer zone

The timer element enables the modeling of time-dependent steps. A timer step can only transition to the next step after a certain amount of time has elapsed. This time is defined by a timer parameter. An example would be a time-controlled stirring operation in a tank where the step only proceeds to the next step when the predefined stirring time has elapsed. In this code section, the function block fbTon2 is called for the timer step and the time configured for it is passed.

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-solution/selmo-solution-en/selmo-structure-and-standard/selmo-technical-standard-and-structure/description-selmo-plc-code/sequence-logic/less-than-sequence_name-greater-than/structure-less-than-sequence_name-greater-than/sequence-logic-control/zone-call/zone-methods-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.
