Modbus RTU comunication issue

Forum Home Forums Communicating with Devices Modbus Modbus RTU comunication issue

This topic contains 6 replies, has 2 voices, and was last updated by Mikhail Mikhail 4 months, 4 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5565
    Avatar
    cooldjmc
    Participant

    Hi, i’m getting a comunication issue in Comunicator after some modbus rquests that are workink ok, i get this error messages:

    2019-06-17 17:00:09 Communication session with the Device 4 “Compresor 4”, type: KpModbus, call number: 4
    Request element group “Comp-DATA”
    Send (8): 04 03 00 00 00 5D 84 66
    Receive (5/5): 04 03 BA 00 00
    Receive (186/186): 00 5C 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 01 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 28 00 24 00 1F 00 00 01 87 00 00 00 0C 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 15 00 12 00 02 00 08 00 28 00 2C 00 25 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 E2 01 4B 00 00 00 05 00 00 00 00 02 03 02 03 00 00 00 00 00 00 00 39 00 00 00 00 00 00 00 00 00 00 00 4B 00 00 00 00 00 00 00 00 00 00 00 17 00 00 00 00 13 70
    OK!

    2019-06-17 17:00:10 Communication session with the Device 4 “Compresor 4”, type: KpModbus, call number: 4
    Request element group “Comp-DATA”
    Send (8): 04 03 00 00 00 5D 84 66
    Receive (5/5): 04 03 BA 00 00
    Receive (186/186): 00 5C 00 01 00 01 00 00 3F 3F 00 00 00 01 02 00 00 00 00 00 00 01 00 01 00 01 00 3F 3F 3F 3F 01 00 01 00 00 00 00 00 00 00 00 00 01 00 28 00 24 00 1F 00 00 01 87 00 00 00 0C 00 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 3F 3F 00 00 00 00 00 00 01 02 04 08 00 00 00 00 00 00 00 80 00 00 00 00 00 00 00 15 00 12 00 02 00 08 00 28 00 2C 00 25 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 E2 01 4B 00 00 00 05 00 00 00 00 02 03 02 03 00 00 00 00 00 00 3F 3F 00 39 00 00 00 00 00 00 00 00 00 08 00 4B 00 00 00 00 00 00 00 00
    CRC error!
    Request element group “Comp-DATA”
    Send (8): 04 03 00 00 00 5D 84 66
    Receive (0/5):
    Communication error!
    Request element group “Comp-DATA”
    Send (8): 04 03 00 00 00 5D 84 66
    Receive (0/5):
    Communication error!

    2019-06-17 17:00:14 Communication session with the Device 4 “Compresor 4”, type: KpModbus, call number: 4
    Request element group “Comp-DATA”
    Send (8): 04 03 00 00 00 5D 84 66
    Receive (0/5):
    Communication error!
    Request element group “Comp-DATA”
    Send (8): 04 03 00 00 00 5D 84 66
    Receive (5/5): 04 3F 3F 03 BA
    Incorrect PDU function code
    Request element group “Comp-DATA”
    Send (8): 04 03 00 00 00 5D 84 66
    Receive (0/5):
    Communication error!

    2019-06-17 17:00:18 Communication session with the Device 4 “Compresor 4”, type: KpModbus, call number: 4
    Request element group “Comp-DATA”
    Send (8): 04 03 00 00 00 5D 84 66
    Receive (0/5):
    Communication error!
    Request element group “Comp-DATA”
    Send (8): 04 03 00 00 00 5D 84 66
    Receive (0/5):
    Communication error!
    Request element group “Comp-DATA”
    Send (8): 04 03 00 00 00 5D 84 66
    Receive (0/5):
    Communication error!

    2019-06-17 17:00:23 Communication session with the Device 4 “Compresor 4”, type: KpModbus, call number: 4
    Request element group “Comp-DATA”
    2019-06-17 17:00:23 Error communicating with Device 4 “Compresor 4”: Error writing data: Uno de los dispositivos conectados al sistema no funciona.

    2019-06-17 17:00:23 Close serial port COM4

    2019-06-17 17:00:23 Open serial port COM4
    2019-06-17 17:00:23 Error executing the communication channel actions before session with a device: Error opening serial port: Access to the port ‘COM4’ is denied.

    2019-06-17 17:00:23 Unable to communicate with Device 4 “Compresor 4” because connection is not established

    2019-06-17 17:00:24 Open serial port COM4
    2019-06-17 17:00:24 Error executing the communication channel actions before session with a device: Attempt to open serial port can not be earlier than 5 seconds after the previous.

    2019-06-17 17:00:24 Unable to communicate with Device 4 “Compresor 4” because connection is not established

    2019-06-17 17:00:24 Open serial port COM4
    2019-06-17 17:00:24 Error executing the communication channel actions before session with a device: Attempt to open serial port can not be earlier than 5 seconds after the previous.

    2019-06-17 17:00:24 Unable to communicate with Device 4 “Compresor 4” because connection is not established

    2019-06-17 17:00:24 Open serial port COM4
    2019-06-17 17:00:24 Error executing the communication channel actions before session with a device: Attempt to open serial port can not be earlier than 5 seconds after the previous.

    #5567
    Mikhail
    Mikhail
    Moderator

    Hi,

    How the devices are physically connected to Rapid SCADA server?

    #5569
    Avatar
    cooldjmc
    Participant

    Hi, are conected with USB to Rs485 converters, there are 2, each one conected to a USB port on the mainboard. Each converter pulls 2 RTU Slaves. But the test i made is only with one slave active.

    #5575
    Mikhail
    Mikhail
    Moderator

    The log says that there are problems with a converter:

    2019-06-17 17:00:23 Open serial port COM4
    2019-06-17 17:00:23 Error executing the communication channel actions before session with a device: Error opening serial port: Access to the port ‘COM4’ is denied.

    #5576
    Mikhail
    Mikhail
    Moderator

    May be other application uses the same port COM4.

    #5582
    Avatar
    cooldjmc
    Participant

    Thank you for your answers. what i don’t understand is after this:
    2019-06-17 17:00:23 Communication session with the Device 4 “Compresor 4”, type: KpModbus, call number: 4
    Request element group “Comp-DATA”
    2019-06-17 17:00:23 Error communicating with Device 4 “Compresor 4”: Error writing data: Uno de los dispositivos conectados al sistema no funciona.

    2019-06-17 17:00:23 Close serial port COM4

    the COM port remains blocked and no other app can open it, also if i try restart the computer it won’t restart remains on “Shutting down windows ” screen and i must reset it.

    #5585
    Mikhail
    Mikhail
    Moderator

    Seems like hardware problem. What USB-COM converter do you use?

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

You must be logged in to reply to this topic.