ModbusTCP

  1. last year

    Jaap C

    8 Jan 2019 Testers, Xojo Pro Europe, Holland

    Do you know if there is a working ModbusTCP class somewhere?

  2. Kato G

    9 Jan 2019 Testers Europe (Norway)

    Server or client?

  3. Christian S

    9 Jan 2019 Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    Long ago...

    I think I helped a client with CRC calculations.

  4. Kato G

    9 Jan 2019 Testers Europe (Norway)

    I have a modbus tcp client class that supports multiple clients. 255 units and full range addressing (65535 registers)

  5. Jaap C

    21 Jan 2019 Testers, Xojo Pro Europe, Holland

    Thx guys! My reply is a little bit late, but I created a new classes with a lot of internet research by myself. The tools my customers asked for are ready for a fieldtest in a network with a lot of modbus-plc's.

  6. Jaap C

    21 Jan 2019 Testers, Xojo Pro Europe, Holland

    @ChristianSchmitz Long ago...

    I think I helped a client with CRC calculations.

    ModbusTCP isn't using CRC!

  7. Hi Kato,

    I'am also interested in your Xojo Modbus TCP Class client.

    I'd like to connect the Mobus TCP client part with my domotic PLC to create a custom SCADA on for ex. a raspberry pi.
    I could use commercial modbus OCX files, but then the xojo app only runs on windows PC's.

    I already found your "ComCheck Modbus Edition" simple modbus TCP read holding register socket example. :-)

    But I'm really interested in a full Modbus class. So I don't have to reinvent the wheel (read/write holding registers, format,..)anymore.

    Any help would be great. (my mail adress: monty_burns_007@hotmail.com)

    many thanks in advance

  8. Kato G

    25 May 2019 Testers Europe (Norway)

    Hi Monty
    I will give you the details by mail.

  9. 2 weeks ago

    Hi! a potential customer asked me to build an application to receive data from a machine and write them in a MS SQL database.
    The machine uses Modbus - TCP protocol.

    So, I found this thread, how can I do that?

  10. Kato G

    May 11 Testers Europe (Norway)

    Hi @Ciro M
    You wrote , i doubt this.
    This means that "this machine" is a server and your application would be a client.

    My code acts like a client device (like a plc)

    I guess that you would poll data fram a device and store this in a database. In modbus the client don't send anything before it's asked.

    "Receive data from a machine".. modbus don't work like this.

    Kato

  11. Maurizio R

    May 11 Testers, Xojo Pro

    Hi Ciro,
    the Modbus TCP protocol is very simple to implement if you have some knowledge about TCP socket programming.
    A very simple and detailed protocol description can be found here Detailed description of the Modbus TCP protocol with command examples

  12. @Kato G Hi @Ciro M
    You wrote , i doubt this.
    This means that "this machine" is a server and your application would be a client.

    My code acts like a client device (like a plc)

    I guess that you would poll data fram a device and store this in a database. In modbus the client don't send anything before it's asked.

    "Receive data from a machine".. modbus don't work like this.

    Kato

    Hi, is for me the first modbus application, the customer told me to take (or receive) data from machine and put them in a SQL table. In this way the ERP/MES can use these data.

    is possibie?

  13. last week

    Kato G

    May 16 Testers Europe (Norway)

    Yes it's possible.
    Do you know what kind of equipment this is?

  14. Alex B

    May 16 Testers, Xojo Pro Vancouver - Canada

    I have a serial mod bus class, probably wouldn’t be too hard to convert to tcp. I also have a canbus module that works with raspberry pi, it has can, can over serial and can over tcp, I am also planning to add can over udp. I am working on a NMEA0183 module too.

or Sign Up to reply!