> For the complete documentation index, see [llms.txt](https://docs.aitheon.com/industrial-automation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aitheon.com/industrial-automation/type-of-device-plc/wago-pfc100-plc-modbus-tcp-configuration.md).

# WAGO PFC100 PLC Modbus TCP Configuration

## Instruction for configuration WAGO PFC 100 PLC as Modbus/TCP Server (Slave)

1\. Create a new **Empty project** in e!COCKPIT software. &#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPimb7e1mudozBdKp5r%2F-MPioT_j5G_5tlw6y5Qs%2Fcreate.jpg?alt=media\&token=8472c105-9020-41b0-b831-fdaee1c91471)

2\. **Scan** your network and select your PLC. Mark it and click **Apply selection**.  &#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPiaCoHT3fEam0I46ss%2F-MPiaaYvvzNJc4ViwZpF%2Fscan.png?alt=media\&token=7ce742d8-2a7a-427a-b8f5-d605c1c7b160)

3\. Right-click on the proper PLC and choose **Scan**. &#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPiaCoHT3fEam0I46ss%2F-MPib61q1zlfQZ4Tn9xq%2Fscan.png?alt=media\&token=765b7307-160a-4e01-bba3-f13d4dbf7ff1)

4\. After finding additional modules for PLC select it all and click **Apply selection**. &#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPimb7e1mudozBdKp5r%2F-MPip7BJaz5LmJlMMZ3z%2Fscan.jpg?alt=media\&token=d63b137b-0ed4-4fbd-ad33-322611e70949)

5\. After returning to the **Network/Devices** go to the **Product catalog** menu on the right side of the window. Choose the *Other communication parties -> Modbus TCP -> WAGO -> Generic\_Modbus\_Master*. You can either double-click or drag-n-drop it to an empty field in **Network/Devices**.&#x20;

Click the grey bottom Ethernet output point of one block and then click a corresponding one at the bottom of the other one to create the connection.

Choose the **MODBUS (TCP)** Protocol option.  &#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPjCQD8Ic_a4z3LOoQx%2F-MPjCxiE2ZypPitovsj1%2FPicture1.png?alt=media\&token=0a5be5ce-fd0d-4e11-8db2-0ee484c944d7)

6\. Right-click on **Application (PFC 100)** on the left side of the project tree and choose **Global Variable List**. A window will pop-up, give the new list a name in it.&#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPhg_WcWlbel_-U5tif%2F-MPhkT28B2gpDb_rTbvm%2FPicture6.png?alt=media\&token=697497ee-9c5e-4da6-8a52-240d6e566389)

7\. In the GVL tab create several variables. (In the example we create 3 variables: **wModbus1**, **wModbus2**, **bModbus1**).&#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPhg_WcWlbel_-U5tif%2F-MPhkXeQLKxhBuHTstW9%2FPicture7.png?alt=media\&token=29bf9fa0-7ee4-442d-a226-f8daccdb551a)

8\. Go to **Network/Devices** and choose your controller (click on the controller pic). Under the controller picture in the **MODBUS slave** tab right-click on **PLC variable** and choose **Add from Program**.&#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPhg_WcWlbel_-U5tif%2F-MPhkd-CCrd5B-TZp8Ru%2FPicture8.png?alt=media\&token=0e3e8dc1-16a6-41ed-9d58-26e76db79991)

9\. Choose the wanted variables in the **GVL** (global variables list) and click **OK**. &#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPhg_WcWlbel_-U5tif%2F-MPhksF0zDRGUY4YE5kF%2FPicture9.png?alt=media\&token=b6d90a25-6103-4376-91c9-bbd466b84ed2)

10\. Check **Direction** for each variable and also check **MODBUS** **address**.  &#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPic9BNAUA10i04jGgN%2F-MPice33X--hJFAjRdAv%2Fdirect.png?alt=media\&token=42702a57-9d28-49b8-b49c-f99dea8779a2)

11\. Right-click on **Application (PFC 100)** on the left side of the project tree and choose **Connect**. &#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPicjwsg7kNnRejeJrR%2F-MPid9OUTs1goJ2VERl6%2Fconnect.png?alt=media\&token=8ee0bdb2-6312-43b8-a594-5ce98c605d6b)

12\.  After establishing a connection and downloading the program choose **Start** and check the result.&#x20;

![](https://2932290758-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MPhYZyRjl1LMzh5UVLj%2F-MPjD7srLUJuzn-2-TLH%2F-MPjEgd3DaO697C14Hlc%2Fstart.jpg?alt=media\&token=d1553968-3fe8-4a72-b805-93a0de68d547)
