We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modbus extension
#2
Hi,

As I understand it, ModBus is a protocol that can communication by serial or TCP, i.e. it is effectively a communication language.

The LitDev extension can send data by serial or by TCP, but there is no ModBus facility, therefore in its current state you would have to code the byte data to send and interpret any received data.

I believe this is possible, but it may be tricky to encode/decode the messages correctly.  To some extent it depends on what you you want to do with the communication (control/visualisation of data etc), and what documentation you have for the roof device.

Perhaps someone else here has experience with ModBus can also help.

There are .Net libraries for ModBus, that could in principle be incorporated into a Small Basic extension, but the capabilitities of SB extensions will inevitably be a subset of the full capabilities, therefore depending on your coding experience, writing the communication directly in C# may be an option.

With maybe a few more details we can help you progress this project.
Reply


Messages In This Thread
Modbus extension - by letsrock - 08-17-2025, 02:52 PM
RE: Modbus extension - by litdev - 08-17-2025, 04:53 PM
RE: Modbus extension - by Scout - 08-17-2025, 05:58 PM
RE: Modbus extension - by letsrock - 08-17-2025, 07:40 PM
RE: Modbus extension - by litdev - 08-17-2025, 09:17 PM
RE: Modbus extension - by litdev - 08-18-2025, 11:17 AM
RE: Modbus extension - by letsrock - 08-19-2025, 10:13 AM
RE: Modbus extension - by litdev - 08-19-2025, 07:36 PM
RE: Modbus extension - by Scout - 08-19-2025, 09:13 PM
RE: Modbus extension - by litdev - 08-19-2025, 09:36 PM
RE: Modbus extension - by letsrock - 08-22-2025, 10:04 AM
RE: Modbus extension - by AbsoluteBeginner - 08-22-2025, 02:46 PM
RE: Modbus extension - by litdev - 08-22-2025, 03:58 PM
RE: Modbus extension - by letsrock - 08-22-2025, 05:10 PM
RE: Modbus extension - by litdev - 08-22-2025, 07:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)