> 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/hardware-zonen-control/less-than-hwzone_name-greater-than/gvl_less-than-hwzone_name-greater-than.md).

# GVL\_\<HwZone\_name>

***

Copy

```
VAR_GLOBAL
   /// Hardware Zonen Schnittstelle
   stHwzIf: stHardwareZoneInterface;
END_VAR
```

**stHardwareZoneInterface**

***

Copy

```
TYPE stHardwareZoneInterface :
STRUCT
   /// output: fatal fault
   xFatalFault: BOOL;
   /// output: gate / fortress fault
   xGateFortressFault: BOOL;
   /// output: warning fault
   xWarningFault: BOOL;
   /// output: Tcmz fault
   xTcmzFault: BOOL;
   /// output: automatic mode
   xAutomaticModeOn: BOOL;
   /// output: manual mode
   xManualModeOn: BOOL;
   /// output: start up alarm
   xStartUpAlarm: BOOL;
   /// output: Any Step Sequences Ready To Start In Zone
   xAnySeqReadyToStart: BOOL;
   /// output: Any Step Sequences in Single Step Mode
   xAnySeqSingleStep: BOOL;
   /// output: Any Step Sequences in Time Out
   xAnySeqTimeOut: BOOL;
   /// output: Any Step Sequences End Of Cycle Reached
   xAnySeqEocReached: BOOL;
   /// output: Any sequence has an interlock fault
   xAnySeqInterlockFault: BOOL;
   /// output: Any sequence has a cmz fault
   xAnySeqCmzFault: BOOL;
   /// output: Any sequence in Ghost Mode 
   xAnySeqGhostModeOn: BOOL;
   /// output: All Step Sequences Ready To Start in Zone 
   xAllSeqReadyToStart: BOOL;
   /// output: All Step Sequences Automatic Release in Zone
   xAllSeqAutoRelease: BOOL;
   /// output: All Step Sequences End Of Cycle Reached
   xAllSeqEocReached: BOOL;
   /// output: automatic mode selected
   xAutomaticSelected: BOOL;
   /// output: manual mode selected
   xManualSelected: BOOL;
   /// output: auto release request flag
   xAutoReleaseRequest: BOOL;
   /// output: fault reset flag
   xFaultResetPbPressed: BOOL;
   /// output: release pushbutton pressed
   xReleasePbPressed: BOOL;
   /// output: voltage release section confirmation
   xGateSectionConfirm: BOOL;
   /// output: gate fortress fault tcmz
   xGateFortressFaultTcmz: BOOL;
   /// output: lamp test
   xLampTest: BOOL;
   /// output: fault reset
   xFaultReset: BOOL;
END_STRUCT
END_TYPE
```

**GVL\_\<HwZone\_name>\_HMI**

***

Copy

```
VAR_GLOBAL
   /// Hardware Zonen HMI Schnittstelle
   stHmiIf: stHmiHardwareZone;
   /// Hardware zone automatic release request
   xAutomaticReleaseRequest: BOOL;
END_VAR
```

**stHmiHardwareZone**

***

```
TYPE stHmiHardwareZone :
STRUCT
   /// HMI button: activate stop at the end of cycle mode 
   xHmiPbEoc: BOOL;
   /// HMI display:  stop at End Of Cycle mode is on
   xHmiEocModeOn: BOOL;
   /// HMI display:  stop at End Of Cycle mode is off
   xHmiEocModeOff: BOOL;
   /// HMI button:  hmi lamp test button
   xHmiLampTest: BOOL;
   /// HMI button:  hmi trip reset button
   xHmiFaultReset: BOOL;
END_STRUCT
END_TYPE
```

**GVL\_\<HwZone\_name>\_IOs**

***

```
VAR_GLOBAL
   /// zone manual mode Keyswitch
   xManualModeKeySwitch: BOOL := TRUE;
   /// zone automatic mode Keyswitch
   xAutomaticModeKeySwitch: BOOL;
   /// zone Safety Function Keyswitch
   xSafetyFunctionKeySwitch: BOOL;
   /// zone emergency stop relay
   xEmergencyStopRelay: BOOL;
   /// zone fault reset
   xFaultReset: BOOL;
   /// zone auto release
   xRelease: BOOL;
   /// zone lamp test
   xLampTest: BOOL;
   /// zone automatic lamp indication
   xAutoLamp: BOOL;
   /// zone safety gate lamp indication
   xSafetyGateLamp: BOOL;
   /// zone emergency stop lamp indication
   xEmergencyStopLamp: BOOL;
   /// zone stop at end of cycle lamp indication
   xEocLamp: BOOL;
   /// global fault reset
   xGlobalFaultReset: BOOL;
END_VAR
```

**GVL\_\<HwZone\_name>\_Parameters**

***

```
VAR_GLOBAL PERSISTENT
   ///<Parameter name>
   <iParameter_name>: <INT>;
END_VAR

VAR_GLOBAL
   /// Empty VAR_GLOBAL | Workaround for PersistentVars limitations
   _placeholder: BOOL;
END_VAR
```

<\*\*\*>Variablen Name, Kommentar und Datentyp werden aus dem Studio automatisch übernommen

**\<HwZone\_name>**

***

```
PROGRAM <HwZone_name>
VAR
END_VA
```


---

# 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/hardware-zonen-control/less-than-hwzone_name-greater-than/gvl_less-than-hwzone_name-greater-than.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.
