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

# GlobalControl

```
<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4024.15">
  <POU Name="GlobalControl" Id="{58d571c9-3ec5-44fb-95d1-17b8477effd1}" SpecialFunc="None">
    <Declaration><![CDATA[///copyright SELMO Technology GmbH by SELMOstudio
///2025.7.12.13000
///This function has been automatically generated.
PROGRAM GlobalControl
]]></Declaration>
    <Implementation>
      <ST><![CDATA[//########################################################################### Global Calls ###########################################################################
    Global_TCMZ(); // Global CMZ
    GlobalUtilities(); // Global functions

// HWZ calls
    Station20();

//############################################################################ LICENSING #############################################################################
{region "Description Licensing"}
(*
This program module is used to constantly check the license.If a license has not yet been purchased,
this can be done by sending an e - mail to support@selmo.at or online via SelmoStudio.
A request ID "GVL_Global.strRequestID" is required for licensing.
This ID is read automatically by the program block.
The purchased license key must then be entered at "GVL_Global.strLicenseKey".
If no licensing has been carried out, the entire PLC program is in demo mode.
In this mode the 'Automatic operation release' is reset after 30 minutes.
Please note that this program block is only called once per PLC!
*)
{endregion}
    SelmoLicenseInfo(
        dwChecksum :=16#2CD1F83E,
        xLicenseValid => GVL_Global.xLicenseValid,
        strLicenseKey := GVL_Global.strLicenseKey,
        strRequestID => GVL_Global.strRequestID,
        xChecksumValid => GVL_Global.xChecksumValid);]]></ST>
    </Implementation>
    <LineIds Name="GlobalControl">
      <LineId Id="3" Count="24" />
      <LineId Id="2" Count="0" />
    </LineIds>
  </POU>
</TcPlcObject>
```


---

# 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/globalcontrol.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.
