# Need Help Configuring Energy Analyzers via Modbus TCP & RTU (RS-485) in CODESYS 3.5

**URL:** https://www.wago.community/t/need-help-configuring-energy-analyzers-via-modbus-tcp-rtu-rs-485-in-codesys-3-5/1666
**Category:** CODESYS
**Tags:** pfc200, pfc100
**Created:** [March 13, 2025, 6:43am UTC](https://www.wago.community/t/need-help-configuring-energy-analyzers-via-modbus-tcp-rtu-rs-485-in-codesys-3-5/1666 "2025-03-13T06:43:45Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Mehak\_Fatima](https://avatars.discourse-cdn.com/v4/letter/m/ad7895/32.png) [@Mehak\_Fatima](https://www.wago.community/u/Mehak_Fatima)
#### Post date: [March 13, 2025, 6:43am UTC](https://www.wago.community/t/need-help-configuring-energy-analyzers-via-modbus-tcp-rtu-rs-485-in-codesys-3-5/1666/1 "2025-03-13T06:43:45Z")

</div>

Hello everyone,

I am currently working on reading data from energy analyzers using **Modbus TCP and RTU (RS-485)**.

In my previous software, I used the following method to add slave devices and configure registers:

1. Add the Modbus slave device.
2. Configure the communication parameters (baud rate, parity, etc.).
3. Define the registers and their addresses for data retrieval.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/9/924d6b1c8067292fef108243164bc465711ac995.png)  
wMX6Ktx8SZqUgl.png)

Now, I am trying to achieve the same in **CODESYS 3.5** , but I am not sure how to configure the Modbus master, add slave devices, and set up the registers properly.

If anyone has experience with **Modbus TCP/RTU setup in CODESYS 3.5** , I would really appreciate your guidance! A step-by-step explanation or any references/tutorials would be extremely helpful.

Thanks in advance!

---

<div class="post-metadata">

### Author: ![Thruser](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@Thruser](https://www.wago.community/u/Thruser)
#### Post date: [March 13, 2025, 2:25pm UTC](https://www.wago.community/t/need-help-configuring-energy-analyzers-via-modbus-tcp-rtu-rs-485-in-codesys-3-5/1666/2 "2025-03-13T14:25:26Z")

</div>

Hi,

see migration guide [Migration Guide – from e!COCKPIT to CODESYS V3.5](https://techdocs.wago.com/Software/eCOCKPIT_Migration/en-US/index.html#2326433803)  
see also on youtube [https://www.youtube.com/watch?v=EIP9MejFmuo](https://www.youtube.com/watch?v=EIP9MejFmuo)
