Communication errors

Forum Home Forums Communicating with Devices Modbus Communication errors

This topic contains 24 replies, has 2 voices, and was last updated by Avatar MarCus0 2 years, 3 months ago.

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #2215
    Mikhail
    Mikhail
    Moderator

    Hi Marek,

    Probably the device uses a derivative protocol based on Modbus, but not standard Modbus. And this is the cause of the problems. Please read carefully the device manual. What is written in the manual about the supported protocol?

    #2216
    Mikhail
    Mikhail
    Moderator

    I mean:
    What is Enron Modbus?
    Enron Modbus is a modification to the standard Modicon modbus communication protocol developed by Enron Corporation.
    See http://www.simplymodbus.ca/FAQ.htm#enronmod

    #2223
    Avatar
    MarCus0
    Participant

    Hi

    See https://www.bosch-industrial.com/files/mng/Controllers-Accessories_Databook.pdf page 107 where is BMS-MOD described.
    There is nothing about any protocol modification and register range is similar to standard modbus. There are described web management and configuration.

    I contacted with Bosch about that but I’m not sure if I have any chance to solve this problem in that way.

    If not is there any chance to modify KpModbus.dll to omit this first length (00 06) in slave answer and just base on second byte count to calculate answer length?

    Regards
    Marek

    Regards
    Marek

    #2227
    Mikhail
    Mikhail
    Moderator

    Hi,
    I’ve read. Definitely, there is no notes that Modbus is not standard. Strange, Bosch is well known brand.

    Before decide, you should try to read other kind of data – input registers and check if it works or not, and what the issues are.

    Also I strongly recommend trying Modbus RTU mode. It is strict and includes check sum. There is no way to dodge with protocol.

    #2230
    Avatar
    MarCus0
    Participant

    Hi
    Modbus over serial communication working properly :).
    I will try to push on Bosch bay the way as they still not solved their problem with internal communication to external unit. We will see what they will say. Just to know.

    By the way, I’ve looked(I need to own up that thought to manipulate with KpModbus:)) at your git hub.
    Which development environment You use? It is .NET?
    I know slightly C from programming AVR’s but this is different.
    Any way code looking really nice :), really appreciate.

    Regards
    Marek

    #2233
    Mikhail
    Mikhail
    Moderator

    Which development environment You use? It is .NET?

    I use Microsoft Visual Studio 2015 Community Edition.
    In case of questions about programming, create new posts in http://forum.rapidscada.org/?forum=development-and-integration

    Let me know when Bosch answers about Modbus TCP 🙂

    #2273
    Avatar
    MarCus0
    Participant

    Hi Mikhail

    What is Your email?
    I wrote on info… but there was no answer.
    I want to ask about purchase details.

    Regards
    Marek

    • This reply was modified 2 years, 5 months ago by Mikhail Mikhail.
    #2278
    Mikhail
    Mikhail
    Moderator

    Hi Marek,

    info… is the correct email, but I haven’t receive a message from you. Can you send it again, please. Usually I reply within a day.

    #2280
    Mikhail
    Mikhail
    Moderator

    I just sent you an email.

    #2457
    Avatar
    MarCus0
    Participant

    Hi

    Just to know.
    Bosch exchange unit(BMS Gate) and now every thing working properly.
    Thank You Mikhail for Your support.

    Regards

Viewing 10 posts - 16 through 25 (of 25 total)

You must be logged in to reply to this topic.