> 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/hardware-zone-control/less-than-hwzone_name-greater-than/less-than-hwzone_name-greater-than_control/automatic-lamp-indication.md).

# Automatic lamp indication

**Automatic Lamp Indication** The following PLC code is used to activate the automatic start lamps for this zone. If ALL associated sequences are ready to start, the lamps flash. If all associated sequences have automatic release, the lamps stay on continuously to indicate that all associated sequences are OK. The lamp test contact is simply used to test whether the lamps work.

Copy

```
// --------------------------------Automatic Lamp Indication--------------------------------
   {region "Description Automatic Lamp Indication"}
   (*
   The following PLC code is used to activate the start automatic lamps for that zone. 
   If ALL the associated sequences are ready to start then the lamps will flash. 
   If All the associated sequences have automatic release then the lamps will be on continuously to indicate that all associated sequences are ok. 
   The lamp test contact is simply used to test if the lamps work.
   *)
    {endregion}

   GVL_<HwZone_name>_IOs.xAutoLamp := (GVL_<HwZone_name>.stHwzIf.xAllSeqReadyToStart AND GVL_Global.stGlobalIf.xFlashOutput AND GVL_<HwZone_name>.stHwzIf.xAutomaticModeOn) OR GVL_<HwZone_name>.stHwzIf.xAllSeqAutoRelease OR GVL_<HwZone_name>.stHwzIf.xLampTest;
```

<\*\*\*>Variable name, comment and data type are automatically taken from the Studio


---

# 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/hardware-zone-control/less-than-hwzone_name-greater-than/less-than-hwzone_name-greater-than_control/automatic-lamp-indication.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.
