> For the complete documentation index, see [llms.txt](https://manual.senseforce.io/manual/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://manual.senseforce.io/manual/senseforce-edge/edge-configuration/input-plugins/siemens-sinumerik-plugin/creating-connection-definition-file.md).

# Creating connection definition file

Use the following tool to dynamically create the connection definition of your PLC or SINUMERIK:&#x20;

{% file src="/files/-Lt4tcfYKblHfXjxN1nX" %}
SIEMENS PLC CONNECTION CONFIG TOOL
{% endfile %}

Open AGLink40\_Config.exe and select the folder of your S7/SINUMERIK plugin as a settings folder.

![Settings directory](/files/-Lt4vLV8uw-yK1Io0jkV)

Add the PLC and optionally the NCK to the "Connections" tab as illustrated below.

For best results first, add the PLC with PLC no 0 and then the NCK with PLC no 1.&#x20;

![Connection configuration tool](/files/-Lt55FEo2myS-QX0lD1e)

Click "Apply" or "OK" to persist the changes to your configuration definition file (AGLink40CfgDev0000.xml).&#x20;
