A groovy modbus library
=======================
[](https://travis-ci.org/stephane/libmodbus)
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 Schneider at
[www.schneiderautomation.com](http://www.schneiderautomation.com).
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/](http://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](http://www.libmodbus.org).
The library is written in C and designed to run on Linux, Mac OS X, FreeBSD and
QNX and Windows.
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](http://www.mingw.org/) 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](http://mxcl.github.com/homebrew/), you
will need to install the following dependencies first: `brew install autoconf
automake libtool`.
Documentation
-------------
The documentation is available [online](http://libmodbus.org/documentation) or
as manual pages after installation.
The documentation is based on
[AsciiDoc](http://www.methods.co.nz/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](CONTRIBUTING.md) document.
没有合适的资源?快使用搜索试试~ 我知道了~
在机器视觉领域,中国一直被halcon,康耐视和基恩士垄断。良心的我自主研发机器视觉自动化软件。在缺损检测领域有着独到的经验。 目前我的软件优势: 1、定位技术上不输halcon。 2、专利检测算法pww特征提取。可以将颜色纹理量化后提取区域轮廓计算量化的面积。 3、图像制程采用多层次定位+pww特征提取检测。比深度学习更可靠。 4、采用流程图和决策图的全中文运动制程。比plc更简单。 5、保留着halcon接口。支持halcon工程师的二次开发使用。 链接:https://pan.baidu.com/s/1kP-qWqNja_S33TpQFRpiTg 提取码:1234 https://download.csdn.net/download/pww71/62047145 当前市场上很多类似软件和我的比差距很大 。首先他们的功能过于庞大,而且不够通用。学习和操作不是普通人能短时间掌握的。而我的软件优势明显。 就是定位和检测。其他的任何算子不论是halcon还是其他厂商的算子都可以定制。从外部接口导入到框架内。定位和检测都是自主研发,检测直接量化颜色纹理和区域轮廓进行分析,是我申报专利
资源推荐
资源详情
资源评论
收起资源包目录






共 3250 条
- 1
- 2
- 3
- 4
- 5
- 6
- 650





















资源评论

pww71
- 粉丝: 75
- 资源: 31

上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
已下载
下载帮助

看过该资源的人还看了
源代码-C#与halcon开发的流程式机器视觉软件系统
装卸机器视觉及其应用
机器视觉app框架 qt5_vs2017_opencv3.zip
数字图像处理与机器视觉 Visual C与MATLAB实现
Python+Qt视觉开发框架
Wpfa:WPF自动化框架原型
visual_testing_using_phantomcss:使用 Phantom CSS 构建一个易于使用的框架,用于为项目添加可视化测试。 您需要做的就是在 json 文件中添加一个节点,然后您就完成了测试。 可以在此基础上将其转换为网站,以便有一天作为业余项目运行视觉测试。 到那时,就是这样
ROS机器人程序设计
基于机器人技术的电能表拆箱机的设计
matlab心线代码-BASIS:Matlab用来管理和处理图像批处理的数据流框架
内容简介:ngsort_device.vcxproj.filters stdafx.cpp TcpIpDlg.cpp TcpIpDlg.h ngsort_device.rc
安全验证
文档复制为VIP权益,开通VIP直接复制
