# CODESYS Edge Gateway verwenden

Um das CODESYS Edge Gateway mit den powerIO-Systemen und dem CODESYS Automation Server zu koppeln, ist es erforderlich, das Gateway zunächst in den Wartungsmodus zu versetzen. Im Anschluss wird im Artikel erläutert, welche Schritte dafür notwendig sind.

## Edge-Gateway Maintenance Mode aktivieren/deaktivieren

1. Zur IP-Adresse Ihres powerIO-Geräts navigieren: `http://<IP>:8080`
2. Auf das Feld "Passwort" klicken und sich mit Enter anmelden oder auf "LOGIN" klicken.

<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\. Zu "Applications" navigieren

<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\. Das Zahnradsymbol neben der Anwendung muss angeklickt werden.

<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. Die "Gateway" Konfiguration auswählen**

<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\. Nun passen Sie die Einstellungen in der "Gateway" Konfigurationsdatei an.

<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" %}
Aktivieren:

* Um den Maintenance Mode zu aktivieren, setzen Sie den Wert 1

Deaktivieren:

* Um den Maintenance Mode zu deaktivieren, setzen Sie den Wert auf 0
  {% endhint %}

7\. Übernehmen Sie die Einstellung mit klick auf "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\. Starten Sie die Anwendung neu, damit die Konfiguration übernommen wird.

<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" %}
Bitte beachten Sie, dass dies auch die CODESYS Runtime neustartet. Ohne Neustart wird die Einstellung nicht übernommen.
{% endhint %}

## Connect Edge-Gateway

1\. Navigiere zu "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\. Wähle "Edge Gateway" und anschließend "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. Verbindung mit dem Gerät herstellen

<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\. Überprüfe den Status des Edge-Gateways

<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" %}
Im "Konfigurationsmodus" wird angezeigt, ob der Wartungsmodus aktiv ist. Wenn er inaktiv ist, aktiviere ihn wie oben beschrieben. Andernfalls sind keine Konfigurationen möglich.\
\
Aktiv:\
![](/files/TjtD1e8k5u1ddteSc8Nq)

Inaktiv:\
![](/files/i9Azj4hZ5SNLoMrtZv5V)
{% endhint %}

5\. Server URL angeben und auf "Check /Refresh" klicken

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

6\. Es öffnet sich ein weiteres Fenster. Hier müssen die Anmeldedaten eingegeben werden.&#x20;

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

{% hint style="info" %}
Falls Sie noch keinen Automation Server Account besitzen, folgen Sie bitte der Anleitung von CODESYS.- [Erste Schritte mit dem CODESYS Automation Server](https://content.helpme-codesys.com/de/CODESYS%20Automation%20Server/_cas_first_steps.html)
{% endhint %}

7\. Nun kann ein Name für das Edge-Gateway vergeben werden. Mit Klick auf "Connect to Server", wird die Verbindung zum Automation Server hergestellt.

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


---

# Agent Instructions: 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:

```
GET https://support.powerio.com/hub/faq-and-news/hvac-codesys-faq/codesys-edge-gateway-verwenden.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
