Modbus rtu problem

Hello, when I want to read data from Modbus RTU, I can read it using function blocks. However, I can’t read it by adding it as a tree from the left side. We often encounter this problem when reading from energy analyzers. Has anyone encountered this before?

Is the COM port already in use ?
What port are you using (integrated serial port or the 750-65x ?

COM port is not used. Integrated port products.and I set it as Rs485 from the settings.

  1. First thing to check is if your able to read any device using the Modbus Configurator. this will ensure all settings are correct . i usualy use a rs485 to USB cable , along a modbus slave simulator in the PC.
  2. Check the settings in all the 3 lines here image
  3. what is the error you get when using the modbus configurator.
  4. Sometimes you need the 120ohm resistor to be in place. usualy this should be common for the configurator and FB method, only once i had such a issue.

I’m doing everything you said here. But I can’t get any results. It always gives a timeout error. However, when I use FB with the same settings, there is no problem.

Maybe this is an obvious question, but you are disabling the Modbus_Read POU when testing the MB RTU configurator? Only one master can bind to the serial port at a time.

I am trying it only with the configurator without creating the function block, but it does not read it.It doesn’t do this all the time. While it reads some devices, it doesn’t read them with the configurator.

Hi,

when you are using the configurator, do you have set the serial port in WBM to RS-485?

I think, when you are using the function blocks then the WBM settings are overwritten, but when using the configurator the WBM setting ist used.

yes. I set the port from WBM to RS485.