Author Topic: Modbus software for custom protocol  (Read 1356 times)

0 Members and 1 Guest are viewing this topic.

Offline PSR B1257Topic starter

  • Frequent Contributor
  • **
  • Posts: 330
  • Country: de
Modbus software for custom protocol
« on: June 26, 2023, 11:37:57 am »
Hello all.
Does anybody know of a (Windows) Modbus-software, which allows you to generate a custom poll, for devices which don't speak "standard-Modbus"?
I have not found something like that yet.
In theory, there is no difference between theory and practice. But, in practice, there is.
 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 4262
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
Re: Modbus software for custom protocol
« Reply #1 on: June 26, 2023, 11:54:55 am »
Not sure if "standard Modbus" is really a thing at all, regardless of what specs may be published or what is deemed "conventional" by some.

I use a tool called Simply Modbus, which is pretty flexible, and the best of a bad bunch of Modbus test software that I've been able to find and try. It does have bugs, and the support I've had from the publisher was dismissive and unhelpful, so please don't regard this as a recommendation - but it might be helpful.

Offline PSR B1257Topic starter

  • Frequent Contributor
  • **
  • Posts: 330
  • Country: de
Re: Modbus software for custom protocol
« Reply #2 on: June 26, 2023, 01:35:43 pm »
Thank you.
To be precise, I would like to generate the following poll (and similar ones with 9+2 bytes):
AA 55 01 00 00 0A 11 03 00 which has the checksum 01 1E

According to the screen shots of the software, it seems not possible to generate such custom polls.
In theory, there is no difference between theory and practice. But, in practice, there is.
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4097
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: Modbus software for custom protocol
« Reply #3 on: June 26, 2023, 02:22:40 pm »
Modbus has some function codes, if your request doesn't fit in one of them, it's not vanilla modbus anymore.
 

Offline PSR B1257Topic starter

  • Frequent Contributor
  • **
  • Posts: 330
  • Country: de
Re: Modbus software for custom protocol
« Reply #4 on: June 26, 2023, 06:55:56 pm »
Yeah, that's the crux of it  8)
In theory, there is no difference between theory and practice. But, in practice, there is.
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4097
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: Modbus software for custom protocol
« Reply #5 on: June 26, 2023, 08:04:45 pm »
Well... just go and fork some open source modbus tool and add your function codes?

Or python... chatgpt is very good at that  ;)
 

Offline PSR B1257Topic starter

  • Frequent Contributor
  • **
  • Posts: 330
  • Country: de
Re: Modbus software for custom protocol
« Reply #6 on: June 27, 2023, 10:46:30 am »
Would be nice, if I knew how to properly program  ;)

This software has the desired function: https://www.modbustools.com/test.html

It's commercial, but at least there are free 10min intervals for trial. That's all I need for now.
In theory, there is no difference between theory and practice. But, in practice, there is.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf