Modbus TCP – can't read device

Forum Home Forums Communicating with Devices Modbus TCP – can't read device

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #6009
    AvatarMarko
    Participant

    Hello,

    i encountered problem with one device that we read via modbus TCP. Communication log is repeating next

    2019-10-26 02:47:19 Establish a TCP connection with 192.168.x.x:x
    Error establishing TCP connection: No connection could be made because the target machine actively refused it 192.168.x.x:x

    2019-10-26 02:47:20 Unable to communicate with Device 301 “HMI-x” because connection is not established

    2019-10-26 02:47:20 Attempt to establish TCP connection can not be earlier than 5 seconds after the previous.

    2019-10-26 02:47:20 Unable to communicate with Device 301 “HMI-x” because connection is not established

    2019-10-26 02:47:20 Attempt to establish TCP connection can not be earlier than 5 seconds after the previous.

    2019-10-26 02:47:20 Unable to communicate with Device 301 “HMI-x” because connection is not established
    and so on.

    Strange thing is that we can ping device and he is returning. Plus we have remote software to access to that device and that is working correctly.

    #6010
    Avatarmanjey73
    Participant

    Does the device allow connection over multiple sockets or does it only work over one socket ? Disable the SOFTWARE it works with and try again.

    #6011
    MikhailMikhail
    Moderator

    Ping is not a connection to TCP socket. You should try the advice in the previous message.

    #6014
    AvatarMarko
    Participant

    Remote software is not turn on 100% of time. We use software only to check is device working properly. The problem with connection occurs when remote software wasn’t active at all. There must be something else that result problem.

    #6015
    MikhailMikhail
    Moderator

    Refusing connection can be done by the device itself, by network equipment or firewall.

    You can also try to connect by Hercules.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.