All Projects → stephane → Libmodbus

stephane / Libmodbus

Licence: lgpl-2.1
A Modbus library for Linux, Mac OS X, FreeBSD, QNX and Windows

Programming Languages

c
50402 projects - #5 most used programming language
M4
1887 projects
javascript
184084 projects - #8 most used programming language
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to Libmodbus

libzbxmodbus
Loadable module to integrate Modbus (RTU, TCP and encapsulated) into Zabbix. Bulk data collection included.
Stars: ✭ 44 (-97.82%)
Mutual labels:  modbus, libmodbus
Ohsce
PHP HI-REL SOCKET TCP/UDP/ICMP/Serial .高可靠性PHP通信&控制框架SOCKET-TCP/UDP/ICMP/硬件Serial-RS232/RS422/RS485 AND MORE!
Stars: ✭ 206 (-89.8%)
Mutual labels:  automation, modbus
Github Project Automation Plus
🤖 Automate GitHub Project cards with any webhook event
Stars: ✭ 134 (-93.36%)
Mutual labels:  automation
Pithy Test
简化接口测试
Stars: ✭ 139 (-93.12%)
Mutual labels:  automation
Gatling Sbt Plugin Demo
Showcase of the Gatling Plugin for SBT
Stars: ✭ 137 (-93.21%)
Mutual labels:  automation
Whatsapp Bulk Sender
Send bulk messages right from your WhatsApp Android Client or WhatsApp Web
Stars: ✭ 135 (-93.31%)
Mutual labels:  automation
Chronicler
A better way to write your release notes.
Stars: ✭ 138 (-93.16%)
Mutual labels:  automation
Cve 2020 0688 exp
CVE-2020-0688_EXP Auto trigger payload & encrypt method
Stars: ✭ 134 (-93.36%)
Mutual labels:  automation
Instagram Bot
An Instagram bot developed using the Selenium Framework
Stars: ✭ 138 (-93.16%)
Mutual labels:  automation
Brotab
Control your browser's tabs from the command line
Stars: ✭ 137 (-93.21%)
Mutual labels:  automation
Gladys
A privacy-first, open-source home assistant
Stars: ✭ 1,874 (-7.18%)
Mutual labels:  automation
Auto Youtube Subscription Playlist 2
Script automatically adds videos to playlists from Youtube channels and/or subscriptions (Youtube Collections alternative).
Stars: ✭ 136 (-93.26%)
Mutual labels:  automation
Pythonic
Graphical Python programming for trading and automation
Stars: ✭ 131 (-93.51%)
Mutual labels:  automation
Learn Devops
🚧 Learn the craft of "DevOps" (Developer Operations) to Deploy your App and Monitor it so it stays "Up"!
Stars: ✭ 139 (-93.12%)
Mutual labels:  automation
Mysmarthome
⭐️ ALIVE Again! ⭐️ SmartHome - Nothing but smarthome stuff here! Have fun browsing through my home automation setup... ping me on Discord with any questions! 👍
Stars: ✭ 133 (-93.41%)
Mutual labels:  automation
Generator Jekyll Starter Kit
🚀 Jekyll Progressive Web App Generator.
Stars: ✭ 139 (-93.12%)
Mutual labels:  automation
Autoenum
Automatic Service Enumeration Script
Stars: ✭ 134 (-93.36%)
Mutual labels:  automation
Tensor
Tensor - Comprehensive web-based automation framework and Centralized infrastructure management platform
Stars: ✭ 136 (-93.26%)
Mutual labels:  automation
Actorcloud
Open-source IoT Platform
Stars: ✭ 138 (-93.16%)
Mutual labels:  modbus
Autokey
AutoKey, a desktop automation utility for Linux and X11, formerly hosted at OldAutoKey. Updated to run on Python 3.
Stars: ✭ 2,095 (+3.76%)
Mutual labels:  automation

A groovy modbus library

Build Status

Overview

libmodbus is a free software library to send/receive data with a device which respects the Modbus protocol. This library can use a serial port or an Ethernet connection.

The functions included in the library have been derived from the Modicon Modbus Protocol Reference Guide which can be obtained from www.modbus.org.

The license of libmodbus is LGPL v2.1 or later.

The documentation is available as manual pages (man libmodbus to read general description and list of available functions) or Web pages www.libmodbus.org/documentation/. The documentation is licensed under the Creative Commons Attribution-ShareAlike License 3.0 (Unported) (http://creativecommons.org/licenses/by-sa/3.0/).

The official website is www.libmodbus.org.

The library is written in C and designed to run on Linux, Mac OS X, FreeBSD, Embox, QNX and Windows.

You can use the library on MCUs with Embox RTOS.

Installation

You will only need to install automake, autoconf, libtool and a C compiler (gcc or clang) to compile the library and asciidoc and xmlto to generate the documentation (optional).

To install, just run the usual dance, ./configure && make install. Run ./autogen.sh first to generate the configure script if required.

You can change installation directory with prefix option, eg. ./configure --prefix=/usr/local/. You have to check that the installation library path is properly set up on your system (/etc/ld.so.conf.d) and library cache is up to date (run ldconfig as root if required).

The library provides a libmodbus.pc file to use with pkg-config to ease your program compilation and linking.

If you want to compile with Microsoft Visual Studio, you need to install https://github.com/chemeris/msinttypes to fill the absence of stdint.h.

To compile under Windows, install MinGW and MSYS then select the common packages (gcc, automake, libtool, etc). The directory ./src/win32/ contains a Visual C project.

To compile under OS X with homebrew, you will need to install the following dependencies first: brew install autoconf automake libtool.

To build under Embox, you have to use its build system.

Documentation

The documentation is available online or as manual pages after installation.

The documentation is based on AsciiDoc. Only man pages are built by default with make command, you can run make htmldoc in doc directory to generate HTML files.

Testing

Some tests are provided in tests directory, you can freely edit the source code to fit your needs (it's Free Software :).

See tests/README for a description of each program.

For a quick test of libmodbus, you can run the following programs in two shells:

  1. ./unit-test-server
  2. ./unit-test-client

By default, all TCP unit tests will be executed (see --help for options).

It's also possible to run the unit tests with make check.

To report a bug or to contribute

See CONTRIBUTING document.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].