Modbus TCP Slave

luko303
2015-03-05
2015-09-30
  • luko303 - 2015-03-05

    Hello
    I have a problem with my Pi because i can't read data from modbus slave TCP. I try find something in google but it still doesn't work.
    Please for help.
    Best regards

    IMG: codesys_pi.jpg

     
  • luko303 - 2015-06-07

    Hello
    I have a Pi 2 B ver. 1.1. I can't read data with my weather station. IP address, port, register is correct. What do I wrong ?

    IMG: 1.jpg

     
  • Trydal - 2015-08-09

    Do you got some progress on this one ? Got same problem. Try to connect to a Midnite Classic charger (Modbus TCP (ascII), and not able to get any values. Connection ok, so finding device.
    Any help appreciated !

    when using Modbus TCP client 7.1 I got values:

    IMG: MODBUS_TCP.GIF

    IMG: Simply Midbus TCP Client71 com.GIF

     
  • eschwellinger

    eschwellinger - 2015-08-10

    Hi,
    you need mapped variables (use the IO's in your pou) or set the option always update.

    BR
    Edwin

    IMG: always.jpg

     
  • Trydal - 2015-08-10

    Thanks a lot, solved my problems !!!!!

     
  • luko303 - 2015-09-06

    Hello
    Yes, it's really work but i have another problem. I have two modbus tcp slave devices, and this configuration doesn't work.

    IMG: code_01.jpg

     
  • eschwellinger

    eschwellinger - 2015-09-30

    Hi,

    please add the Name of the modbzus slave to the watch window
    and check their error states, see my screenshot.

    BR
    Edwin

    IMG: Modbus_checkSlaves.jpg

     

Log in to post a comment.