> 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/cross-sequence-zone.md).

# Cross-sequence zone

The Cross Sequence consists of Cross Sequence Master and Cross Sequence Slave. The Cross Sequence is used to organize the releases between two sequences.

Copy

```
   // --------------------------- ZONE 13 | CrossSeq_Master_Setter_10 ---------------------------

      // Zone Condition Assigns
      aCondZone13[0] := TRUE;
      aPaircheckZone13[0] := FALSE;

      fbZone13.P_iIndexOfLamp := 35;
      fbZone13.P_xInputPolarity := eInputPolarity.Active_High;
      fbZone13.P_xIsSystemZone := TRUE;

      fbZone13( // CrossSeq_Master_Setter_10
         xNoPBPressed := GVL_<Sequence_name>.stSeqIf.xSeqNoPBpressed, 
         xAutomaticRelease := GVL_<Sequence_name>.stSeqIf.xSeqAutomaticReleased, 
         iActualStepCounter := GVL_<Sequence_name>.iStepCounter, 
         aZone := aZ13, 
         aLampMatrix := aMatrix, 
         aTempMatrix := aTemp,
         aMonMatrix := GVL_<Sequence_name>_HMI.aHmiMon,
         aMonBuffer := GVL_<Sequence_name>_HMI.aHmiMonBuffer,
         aStepMatrix := aStep);

      IF fbZone13.M_InOutput(
            xManualRelease := GVL_<Sequence_name>.stSeqIf.xSeqManualReleased, 
            xFeedbackInput := GVL_Global.xCS_Sequence1_CrossSeq_Master_Setter_10, 
            xManualPB := FALSE, 
            timFeedbackInput := T#0MS, 
            aCross := aCrossZone13, 
            aCond := aCondZone13, 
            aFeedbackPairCheckInput := aPaircheckZone13) THEN
         GVL_Global.xCS_Sequence1_CrossSeq_Master_Setter_10 := TRUE;
      END_IF

   // --------------------------- ZONE 14 | CrossSeq_Master_Getter_10 ---------------------------

      // Zone Condition Assigns
      aCondZone14[0] := TRUE;
      aPaircheckZone14[0] := FALSE;

      fbZone14.P_iIndexOfLamp := 37;
      fbZone14.P_xInputPolarity := eInputPolarity.Active_Low;
      fbZone14.P_iIndexOfPaircheckLamp := 38;
      fbZone14.P_xIsSystemZone := TRUE;

      fbZone14( // CrossSeq_Master_Getter_10
         xNoPBPressed := GVL_<Sequence_name>.stSeqIf.xSeqNoPBpressed, 
         xAutomaticRelease := GVL_<Sequence_name>.stSeqIf.xSeqAutomaticReleased, 
         iActualStepCounter := GVL_<Sequence_name>.iStepCounter, 
         aZone := aZ14, 
         aLampMatrix := aMatrix, 
         aTempMatrix := aTemp,
         aMonMatrix := GVL_<Sequence_name>_HMI.aHmiMon,
         aMonBuffer := GVL_<Sequence_name>_HMI.aHmiMonBuffer,
         aStepMatrix := aStep);
      
      fbZone14.M_Input(
         xFeedbackInput := GVL_Global.xCS_Sequence1_CrossSeq_Master_Setter_10, 
         timFeedbackInput := T#0MS,  
         xManualRelease := GVL_<Sequence_name>.stSeqIf.xSeqManualReleased, 
         aCross := aCrossZone14, 
         aFeedbackPairCheckInput := aPaircheckZone14);
```


---

# 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/cross-sequence-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.
