Forum Home › Forums › Communicating with Devices › Modbus › Communication errors
- This topic has 24 replies, 2 voices, and was last updated 6 years, 8 months ago by MarCus0.
-
AuthorPosts
-
May 30, 2017 at 7:00 am #2215MikhailModerator
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?
May 30, 2017 at 7:01 am #2216MikhailModeratorI 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#enronmodMay 30, 2017 at 11:24 am #2223MarCus0ParticipantHi
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
MarekRegards
MarekMay 31, 2017 at 5:35 am #2227MikhailModeratorHi,
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.
May 31, 2017 at 9:52 am #2230MarCus0ParticipantHi
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
MarekMay 31, 2017 at 3:03 pm #2233MikhailModeratorWhich 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-integrationLet me know when Bosch answers about Modbus TCP 🙂
June 19, 2017 at 6:21 am #2273MarCus0ParticipantHi 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 6 years, 9 months ago by Mikhail.
June 20, 2017 at 8:10 am #2278MikhailModeratorHi 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.
June 20, 2017 at 8:15 am #2280MikhailModeratorI just sent you an email.
August 3, 2017 at 8:51 am #2457MarCus0ParticipantHi
Just to know.
Bosch exchange unit(BMS Gate) and now every thing working properly.
Thank You Mikhail for Your support.Regards
-
AuthorPosts
- You must be logged in to reply to this topic.