> 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/operands.md).

# Operands

The Sequence Logic Control is the basis for controlling and monitoring the automatic operation of the machine. For each zone there is an array (aZ1, aZ2, …) which maps the operands from the system layer for each step (index). When assigning there are the following values:

0=don’t care (no action by the zone takes place) 1=Interlock Check (I - monitoring of the zone's input signal with interruption of the automatic mode) 2=Sequence Check (S - change of the input signal and activation of the zone's output signal) 3=Monitoring Check (M - monitoring of the zone's input signal without interruption of the automatic mode)

Copy

```
// ########################### SEQUENCE LOGIC CONTROL ###########################
   {region "Description Sequence Logic Control"}
   (*
   The Sequence Logic Control section of the PLC software provides the actual control and 
   monitoring of every individual machine movement/action within the step sequence.
   This section is divided into ‘Sequence Zones’.
   A ‘Sequence zone’ is responsible for the control and monitoring of an individual action(e.g.Clamp Forward).
   Therefore each step of a sequence can contain one or more ‘Sequence Zones’.
   Under the influence of the step counter, the ‘Sequence Zone’ will set relevant real world outputs and 
   monitor the corresponding real world inputs associated with the particular movement or operation.
   *)
   {endregion}

      // Zones Operands Assigns
      aZ1[01]:= 0 ; aZ2[01]:= 0 ; aZ3[01]:= 0 ; aZ4[01]:= 0 ; aZ5[01]:= 0 ; aZ6[01]:= 0 ; aZ7[01]:= 0 ; aZ8[01]:= 1 ; aZ9[01]:= 1 ; aZ10[01]:= 0 ; aZ11[01]:= 0 ; aZ12[01]:= 0 ; aZ13[01]:= 0 ; aZ14[01]:= 0 ; aZ15[01]:= 0 ; aZ16[01]:= 0 ; aZ17[01]:= 0 ; aZ18[01]:= 0 ;  // Step Name: Step 1
      aZ1[02]:= 2 ; aZ2[02]:= 0 ; aZ3[02]:= 0 ; aZ4[02]:= 0 ; aZ5[02]:= 0 ; aZ6[02]:= 0 ; aZ7[02]:= 0 ; aZ8[02]:= 1 ; aZ9[02]:= 0 ; aZ10[02]:= 2 ; aZ11[02]:= 0 ; aZ12[02]:= 2 ; aZ13[02]:= 0 ; aZ14[02]:= 0 ; aZ15[02]:= 0 ; aZ16[02]:= 0 ; aZ17[02]:= 0 ; aZ18[02]:= 0 ;  // Step Name: Step 2
      aZ1[03]:= 0 ; aZ2[03]:= 0 ; aZ3[03]:= 0 ; aZ4[03]:= 0 ; aZ5[03]:= 0 ; aZ6[03]:= 2 ; aZ7[03]:= 0 ; aZ8[03]:= 0 ; aZ9[03]:= 0 ; aZ10[03]:= 1 ; aZ11[03]:= 2 ; aZ12[03]:= 0 ; aZ13[03]:= 0 ; aZ14[03]:= 0 ; aZ15[03]:= 2 ; aZ16[03]:= 0 ; aZ17[03]:= 0 ; aZ18[03]:= 1 ;  // Step Name: Decision 1
      aZ1[04]:= 0 ; aZ2[04]:= 1 ; aZ3[04]:= 0 ; aZ4[04]:= 0 ; aZ5[04]:= 1 ; aZ6[04]:= 0 ; aZ7[04]:= 2 ; aZ8[04]:= 0 ; aZ9[04]:= 0 ; aZ10[04]:= 1 ; aZ11[04]:= 0 ; aZ12[04]:= 2 ; aZ13[04]:= 0 ; aZ14[04]:= 0 ; aZ15[04]:= 1 ; aZ16[04]:= 0 ; aZ17[04]:= 0 ; aZ18[04]:= 1 ;  // Step Name: Step Path 1
      aZ1[05]:= 0 ; aZ2[05]:= 0 ; aZ3[05]:= 1 ; aZ4[05]:= 1 ; aZ5[05]:= 0 ; aZ6[05]:= 0 ; aZ7[05]:= 0 ; aZ8[05]:= 2 ; aZ9[05]:= 0 ; aZ10[05]:= 1 ; aZ11[05]:= 2 ; aZ12[05]:= 0 ; aZ13[05]:= 0 ; aZ14[05]:= 0 ; aZ15[05]:= 1 ; aZ16[05]:= 0 ; aZ17[05]:= 0 ; aZ18[05]:= 1 ;  // Step Name: Step Path 2
      aZ1[06]:= 0 ; aZ2[06]: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09]:= 0 ;  // Step Name: Step Path 1 Iteration 2
      aZ1[10]:= 0 ; aZ2[10]:= 0 ; aZ3[10]:= 1 ; aZ4[10]:= 1 ; aZ5[10]:= 0 ; aZ6[10]:= 0 ; aZ7[10]:= 0 ; aZ8[10]:= 2 ; aZ9[10]:= 0 ; aZ10[10]:= 1 ; aZ11[10]:= 2 ; aZ12[10]:= 0 ; aZ13[10]:= 0 ; aZ14[10]:= 0 ; aZ15[10]:= 1 ; aZ16[10]:= 0 ; aZ17[10]:= 1 ; aZ18[10]:= 0 ;  // Step Name: Step Path 2 Iteration 2
      aZ1[11]:= 0 ; aZ2[11]:= 0 ; aZ3[11]:= 0 ; aZ4[11]:= 0 ; aZ5[11]:= 0 ; aZ6[11]:= 0 ; aZ7[11]:= 2 ; aZ8[11]:= 0 ; aZ9[11]:= 0 ; aZ10[11]:= 1 ; aZ11[11]:= 0 ; aZ12[11]:= 2 ; aZ13[11]:= 0 ; aZ14[11]:= 0 ; aZ15[11]:= 1 ; aZ16[11]:= 0 ; aZ17[11]:= 1 ; aZ18[11]:= 0 ;  // Step Name: Step End Iteration 2
      aZ1[12]:= 0 ; aZ2[12]:= 0 ; aZ3[12]:= 0 ; aZ4[12]:= 0 ; aZ5[12]:= 0 ; aZ6[12]:= 0 ; aZ7[12]:= 1 ; aZ8[12]:= 0 ; aZ9[12]:= 0 ; aZ10[12]:= 1 ; aZ11[12]:= 2 ; aZ12[12]:= 0 ; aZ13[12]:= 0 ; aZ14[12]:= 0 ; aZ15[12]:= 1 ; aZ16[12]:= 0 ; aZ17[12]:= 1 ; aZ18[12]:= 0 ;  // Step Name: Jump 7 Iteration 2
      aZ1[13]:= 0 ; aZ2[13]:= 0 ; aZ3[13]:= 0 ; aZ4[13]:= 0 ; aZ5[13]:= 0 ; aZ6[13]:= 0 ; aZ7[13]:= 1 ; aZ8[13]:= 0 ; aZ9[13]:= 0 ; aZ10[13]:= 1 ; aZ11[13]:= 0 ; aZ12[13]:= 2 ; aZ13[13]:= 0 ; aZ14[13]:= 0 ; aZ15[13]:= 0 ; aZ16[13]:= 2 ; aZ17[13]:= 0 ; aZ18[13]:= 2 ;  // Step Name: Repeater 8
      aZ1[14]:= 0 ; aZ2[14]:= 0 ; aZ3[14]:= 0 ; aZ4[14]:= 0 ; aZ5[14]:= 0 ; aZ6[14]:= 0 ; aZ7[14]:= 0 ; aZ8[14]:= 2 ; aZ9[14]:= 2 ; aZ10[14]:= 0 ; aZ11[14]:= 2 ; aZ12[14]:= 0 ; aZ13[14]:= 0 ; aZ14[14]:= 0 ; aZ15[14]:= 0 ; aZ16[14]:= 0 ; aZ17[14]:= 0 ; aZ18[14]:= 0 ;  // Step Name: Step 9
      aZ1[15]:= 0 ; aZ2[15]:= 0 ; aZ3[15]:= 0 ; aZ4[15]:= 0 ; aZ5[15]:= 0 ; aZ6[15]:= 0 ; aZ7[15]:= 0 ; aZ8[15]:= 0 ; aZ9[15]:= 0 ; aZ10[15]:= 0 ; aZ11[15]:= 0 ; aZ12[15]:= 0 ; aZ13[15]:= 2 ; aZ14[15]:= 0 ; aZ15[15]:= 0 ; aZ16[15]:= 0 ; aZ17[15]:= 0 ; aZ18[15]:= 0 ;  // Step Name: CrossSeq Master Setter 10
      aZ1[16]:= 0 ; aZ2[16]:= 0 ; aZ3[16]:= 0 ; aZ4[16]:= 0 ; aZ5[16]:= 0 ; aZ6[16]:= 0 ; aZ7[16]:= 0 ; aZ8[16]:= 0 ; aZ9[16]:= 0 ; aZ10[16]:= 0 ; aZ11[16]:= 0 ; aZ12[16]:= 0 ; aZ13[16]:= 0 ; aZ14[16]:= 2 ; aZ15[16]:= 0 ; aZ16[16]:= 0 ; aZ17[16]:= 0 ; aZ18[16]:= 0 ;  // Step Name: CrossSeq Master Getter 10
```

<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/operands.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.
