mehakfatima - 2025-03-13

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 (i have attached the image) 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.

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.