MODBUS TCP – Unable to write data to the transport connection

Forum Home Forums Communicating with Devices MODBUS TCP – Unable to write data to the transport connection

This topic contains 1 reply, has 2 voices, and was last updated by Mikhail Mikhail 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3709
    Avatar
    Marko
    Participant

    Hello,
    I have problem with connection with modbus tcp device. If i put period time in communicator for more then 20 sec every second attempt will result as error.
    Here are the logs.

    2018-05-14 12:54:40 Establish a TCP connection with 192.168.xxx.xxx:502

    2018-05-14 12:54:40 Communication session with the Device 91 “HMI-Kancelarija”, type: KpModbus, address: 1, call number: 192.168.xxx.xxx
    Request element group “Read”
    Send (12): 00 00 00 00 00 06 01 03 00 00 00 03
    Receive (7/7): 00 00 00 00 00 09 01
    Receive (8/8): 03 06 00 35 00 31 00 45
    OK!

    2018-05-14 12:55:00 Communication session with the Device 91 “HMI-Kancelarija”, type: KpModbus, address: 1, call number: 192.168.xxx.xxx
    Request element group “Read”
    Error writing data: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.
    Receive (0/7):
    Communication error!
    Unable to request because connection is not established
    Unable to request because connection is not established

    #3711
    Mikhail
    Mikhail
    Moderator

    Hi,
    Untick “Stay connected” checkbox in the properties of communication layer.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.