Modbus RTU Communication Error

Forum Home Forums Communicating with Devices Modbus Modbus RTU Communication Error

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12704
    KevinVt
    Participant

    Hello Mikhail,

    I had set up a test communication line of Modbus RTU, it connect good, but always get Error belows:
    ————————————————————-
    2023-05-25 17:55:25 Session with the device [3] ModbusRTU_T1
    Request element group “TestDevice1”
    Send (8): 01 03 00 00 00 02 C4 0B
    Receive (0/2):
    Error: communication failed
    Request element group “TestDevice1”
    Send (8): 01 03 00 00 00 02 C4 0B
    Receive (0/2):
    Error: communication failed
    Request element group “TestDevice1”
    Send (8): 01 03 00 00 00 02 C4 0B
    Receive (0/2):
    Error: communication failed
    ——————————————-
    I am sure the send data to modbus master is good, and the logs of modbus master is correct as below:
    ——————————————–
    18:00:23.56 Request from Client – Functioncode: 3 ; Starting Address: 0 Quantity : 2
    18:00:23.56 Response To Client – Functioncode: 3 ; Bytecount: 4 ; Send values: 8 6
    ——————————————–

    Dear Mikhail, could you please help me to identify what’s the problems?

    Thanks.

    #12707
    KevinVt
    Participant

    Dear Mikhail,

    I got the solution of this question, default value of Timeout and Delay in RTU device are 0, it’s OK when set Timeout to 1000 and Delay to 200.

    Thanks.

    #12719
    Mikhail
    Moderator

    Hello,
    Glad the problem got resolved.

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