> For the complete documentation index, see [llms.txt](https://support.powerio.com/hub/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.powerio.com/hub/faq/faq-en/hvac-codesys-faq/codesys-edge-gateway-verwenden.md).

# Using CODESYS Edge Gateway

To couple the CODESYS Edge Gateway with the powerIO systems and the CODESYS Automation Server, it is necessary to first put the gateway into maintenance mode. The article then explains which steps are required for this.

## Activate/deactivate Edge Gateway Maintenance Mode

1. Navigate to the IP address of your powerIO device: `http://<IP>:8080`
2. Click in the "Password" field and log in with Enter or click "LOGIN".

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-08-05/aff3671b-439a-4182-8a0c-9126eebd7182/ascreenshot.jpeg?tl_px=767,393&#x26;br_px=2487,1354&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/77328A_standard.png&#x26;wat_pad=524,276" alt="" width="563">

3\. Navigate to "Applications"

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-08-05/7e21fbaa-a574-4497-8a16-ef0305fea30f/ascreenshot.jpeg?tl_px=0,277&#x26;br_px=1719,1238&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/77328A_standard.png&#x26;wat_pad=105,277" alt="" width="563">

4\. The gear icon next to the application must be clicked.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-08-05/4d6b0d06-55c4-4487-b298-034cea8f8020/ascreenshot.jpeg?tl_px=1454,0&#x26;br_px=3174,961&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/77328A_standard.png&#x26;wat_pad=869,255" alt="" width="563">

**5. Select the "Gateway" configuration**

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-08-05/1a6bb083-c022-4fd3-860a-592b4de1f3d5/ascreenshot.jpeg?tl_px=0,263&#x26;br_px=1719,1224&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/77328A_standard.png&#x26;wat_pad=448,277" alt="" width="563">

6\. Now adjust the settings in the "Gateway" configuration file.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-08-05/19d0f310-1ae3-4813-a0fb-9a6f74a79d52/ascreenshot.jpeg?tl_px=544,203&#x26;br_px=2264,1164&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/77328A_standard.png&#x26;wat_pad=524,277" alt="" width="563">

{% hint style="warning" %}
Activate:

* To activate Maintenance Mode, set the value to 1

Deactivate:

* To deactivate Maintenance Mode, set the value to 0
  {% endhint %}

7\. Apply the setting by clicking "SAVE"

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-08-05/754e0fc3-d2b4-4c59-acb6-006740010ce9/ascreenshot.jpeg?tl_px=1454,1607&#x26;br_px=3174,2568&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/77328A_standard.png&#x26;wat_pad=774,276" alt="" width="563">

8\. Restart the application so that the configuration is applied.

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-08-05/3740523e-8c2a-4fa5-a51e-44f8c23723ad/ascreenshot.jpeg?tl_px=1454,0&#x26;br_px=3174,961&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/77328A_standard.png&#x26;wat_pad=994,257" alt="" width="563">

{% hint style="danger" %}
Please note that this also restarts the CODESYS Runtime. Without a restart, the setting will not be applied.
{% endhint %}

## Connect Edge Gateway

1\. Navigate to "Tools"

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-08-05/270b1970-4d63-41ab-be07-d031a7b10bc3/ascreenshot.jpeg?tl_px=0,0&#x26;br_px=1719,961&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/77328A_standard.png&#x26;wat_pad=425,5" alt="" width="560">

2\. Select "Edge Gateway" and then "Connect Edge Gateway"

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-08-05/9531674f-318d-4523-b7f7-e4a2d37798b5/ascreenshot.jpeg?tl_px=472,299&#x26;br_px=2192,1260&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/77328A_standard.png&#x26;wat_pad=524,277" alt="" width="560">

3. Connect to the device

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-08-05/486a8087-a238-47c6-b5a4-a4b016459d55/ascreenshot.jpeg?tl_px=753,0&#x26;br_px=2473,961&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/77328A_standard.png&#x26;wat_pad=523,159" alt="" width="560">

4\. Check the status of the Edge Gateway

<img src="https://ajeuwbhvhr.cloudimg.io/colony-recorder.s3.amazonaws.com/files/2024-08-05/5f61379c-abaa-4f91-bcf4-bd5c4fe61950/ascreenshot.jpeg?tl_px=767,0&#x26;br_px=2487,961&#x26;force_format=png&#x26;width=1120.0&#x26;wat=1&#x26;wat_opacity=1&#x26;wat_gravity=northwest&#x26;wat_url=https://colony-recorder.s3.amazonaws.com/images/watermarks/77328A_standard.png&#x26;wat_pad=524,217" alt="" width="560">

{% hint style="info" %}
In "configuration mode" it is shown whether maintenance mode is active. If it is inactive, activate it as described above. Otherwise, no configurations are possible.\
\
Active:\
![](/files/58866ac13d271d75cf6e1e2871042b1298842045)

Inactive:\
![](/files/7761533d0bce119370a61e41554f91d12b94459a)
{% endhint %}

5\. Enter the server URL and click "Check /Refresh"

<figure><img src="/files/225bbcfbfb9ef5761dab4e59f8046c91b26a74eb" alt="" width="563"><figcaption></figcaption></figure>

6\. Another window opens. Here, the login details must be entered.&#x20;

<figure><img src="/files/0f93602b79ebbc3f16a66239bf93ed751d85a2c6" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="info" %}
If you do not yet have an Automation Server account, please follow the instructions from CODESYS.- [Getting started with the CODESYS Automation Server](https://content.helpme-codesys.com/de/CODESYS%20Automation%20Server/_cas_first_steps.html)
{% endhint %}

7\. Now a name can be assigned for the Edge Gateway. By clicking "Connect to Server", the connection to the Automation Server is established.

<figure><img src="/files/fa14186f8db15f73a6f2b34c029c13b0279a9ee6" alt="" width="563"><figcaption></figcaption></figure>


---

# 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://support.powerio.com/hub/faq/faq-en/hvac-codesys-faq/codesys-edge-gateway-verwenden.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.
