Modbus RTU through TCP

Forum Home Forums Communicating with Devices Modbus Modbus RTU through TCP

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #211
    lpenalver
    Participant

    Hello.

    I installed Rapid Scada. I think an excellent tool. But I have a problem with reading data when try using Modbus RTU.

    Communication log Modbus TCP = Transmode “TCP”
    2015-05-26 12:06:08 Communication session with Device 12 “DT104”, type: KpModbus, address: 1, call number: 10.3.3.72
    Request element group “Cuenta”
    Send (12): 00 00 00 00 00 06 01 04 00 00 00 02
    Receive (7/7): 00 00 00 00 00 07 01
    Receive (6/6): 04 04 03 E8 01 D1
    OK!

    Communication log Modbus RTU = Transmode “RTU”
    2015-05-26 11:54:25 Communication session with Device 12 “DT104”, type: KpModbus, address: 1, call number: 10.3.3.41
    Request element group “Cuenta”
    Sending data is impossible because the port is not initialized
    Receiving data is impossible because the port is not initialized
    Communication error!
    Request element group “Cuenta”
    Sending data is impossible because the port is not initialized
    Receiving data is impossible because the port is not initialized
    Communication error!
    Request element group “Cuenta”
    Sending data is impossible because the port is not initialized
    Receiving data is impossible because the port is not initialized
    Communication error!

    The device that want to connect is a Nuflo Scanner 2000 – has RS485 communication. But It is remote, I’ve put a MGate3180 Moxa RS485 to TCP converter.

    Another would need to modify data. Can KpModbus.dll library work this way?

    Greetings.

    #212
    Mikhail
    Moderator

    In the case of using Modbus RTU you need to create virtual serial port. The most of converters including Moxa supports creating virtual serial ports.
    Probably, Moxa converts Modbus RTU to Modbus TCP and the data exchange is correct as you show in the first sample, so you don’t need RTU.

    • This reply was modified 8 years, 11 months ago by Mikhail.
    #214
    lpenalver
    Participant

    ok.

    Try again creating a virtual serial port.

    I’ll add comments when you have finished making the tests.

    Thanks.

    #634
    mails2saurabh
    Participant

    Can we write analogue value to the Holding register of the Mod bus device using Rapid Scada.

    when i do reverse i.e. – When i change the value in my Modbus simlator , i am able to read the values on the scheme/ web interface , However i not able to find options, which enable me write on the holding register. Help

    #635
    mails2saurabh
    Participant

    I can see the commands are only discrete (ON, OFF, START etc.) , there is NO window to fill in the analogue value…

    #636
    Mikhail
    Moderator

    Yes, you should use commands to set Modbus registers. To show a texbox in the command web form, choose empty value in Command values cell of Output channels table in SCADA-Administrator.

    #637
    mails2saurabh
    Participant

    Yes, got it.. Thanks.
    Would like to appreciate your quick response ?

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