libmodbus-dev
Colin Law
clanlaw at gmail.com
Sat Jan 14 21:59:53 UTC 2023
On Sat, 14 Jan 2023 at 21:35, walter graham <walter_graham at hotmail.com> wrote:
> Hi there!
>
> I installed libmodbus-dev from https://libmodbus.org/getting_started/
>
> However, I am new to this and have no idea how to "run" libmodbus or even what the command is.
> Can you point me in the right direction? The website seems like it's only for installing.
>
> My only experience is setting up master and slave back in 1993 on msdos. I am not quite sure where to start with Linux.
>
> I could not find anything in my desktop start menu so tried Terminal command line using libmodbus and libmodbus-dev and those commands are not found. I re-installed libmodbus-dev using Synaptic Package manager and no change.
That is just a library, you will need to use a programming language
such as C++ to do the modbus comms.
In fact, if you are trying to talk to devices using modbus then have a
look at node-red (https://node-red.org). It is great fun to use and
you should be able to get going very quickly. I recommend watching
this playlist:
https://www.youtube.com/playlist?list=PLyNBB9VCLmo1hyO-4fIZ08gqFcXBkHy-6.
The videos are done by the developers of node-red. They're nice &
short and to the point.
Also there is a great, and welcoming, support forum if you need help.
For installing on Ubuntu use the Ubuntu/Debian/Pi install script at
https://nodered.org/docs/getting-started/raspberrypi
Colin
More information about the ubuntu-users
mailing list