339888

所属分类:网络编程
开发工具:C++
文件大小:173KB
下载次数:1
上传日期:2017-12-16 13:21:25
上 传 者qfipo_905379
说明:  Modbus open source development library,很好用,很稳定

文件列表:
Ndoc\libmodbus.txt (8493, 2098-01-01)
Ndoc\modbus_close.txt (792, 2098-01-01)
Ndoc\modbus_connect.txt (964, 2098-01-01)
Ndoc\modbus_flush.txt (564, 2098-01-01)
Ndoc\modbus_free.txt (444, 2098-01-01)
Ndoc\modbus_get_byte_from_bits.txt (764, 2098-01-01)
Ndoc\modbus_get_byte_timeout.txt (957, 2098-01-01)
Ndoc\modbus_get_float.txt (747, 2098-01-01)
Ndoc\modbus_get_float_dcba.txt (801, 2098-01-01)
Ndoc\modbus_get_header_length.txt (638, 2098-01-01)
Ndoc\modbus_get_response_timeout.txt (1090, 2098-01-01)
Ndoc\modbus_get_socket.txt (633, 2098-01-01)
Ndoc\modbus_mapping_free.txt (558, 2098-01-01)
Ndoc\modbus_mapping_new.txt (1658, 2098-01-01)
Ndoc\modbus_mask_write_register.txt (917, 2098-01-01)
Ndoc\modbus_new_rtu.txt (1753, 2098-01-01)
Ndoc\modbus_new_tcp.txt (1556, 2098-01-01)
Ndoc\modbus_new_tcp_pi.txt (1752, 2098-01-01)
Ndoc\modbus_read_bits.txt (996, 2098-01-01)
Ndoc\modbus_read_input_bits.txt (1035, 2098-01-01)
Ndoc\modbus_read_input_registers.txt (1237, 2098-01-01)
Ndoc\modbus_read_registers.txt (1604, 2098-01-01)
Ndoc\modbus_receive.txt (1038, 2098-01-01)
Ndoc\modbus_receive_confirmation.txt (1015, 2098-01-01)
Ndoc\modbus_reply.txt (1191, 2098-01-01)
Ndoc\modbus_reply_exception.txt (1318, 2098-01-01)
Ndoc\modbus_report_slave_id.txt (1611, 2098-01-01)
Ndoc\modbus_rtu_get_rts.txt (832, 2098-01-01)
Ndoc\modbus_rtu_get_serial_mode.txt (1606, 2098-01-01)
Ndoc\modbus_rtu_set_rts.txt (2022, 2098-01-01)
Ndoc\modbus_rtu_set_serial_mode.txt (1615, 2098-01-01)
Ndoc\modbus_send_raw_request.txt (1850, 2098-01-01)
Ndoc\modbus_set_bits_from_byte.txt (708, 2098-01-01)
Ndoc\modbus_set_bits_from_bytes.txt (794, 2098-01-01)
Ndoc\modbus_set_byte_timeout.txt (1483, 2098-01-01)
Ndoc\modbus_set_debug.txt (954, 2098-01-01)
Ndoc\modbus_set_error_recovery.txt (2380, 2098-01-01)
Ndoc\modbus_set_float.txt (681, 2098-01-01)
... ...

A groovy modbus library ======================= 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) (). 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 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 can be generated in man pages and HTML files. The HTML files aren't built by default by the `make` command but by`make htmldoc` in *docs* directory. The documentation is also available [online](http://libmodbus.org/documentation). 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). Report a Bug ------------ Before reporting a bug, take care to read the documentation (RTFM!) and to provide enough information: 1. libmodbus version 2. OS/environment/architecture 3. libmodbus backend (TCP, RTU, IPv6) 3. Modbus messages when running in debug mode (`man modbus_set_debug`) To report your problem, you can: * fill a bug report on the issue tracker . * or send an email to the libmodbus mailing list [libmodbus@googlegroups.com](https://groups.google.com/forum/#!forum/libmodbus). If your prefer live talk when your're looking for help or to offer contribution, there is also a channel called #libmodbus on Freenode.

近期下载者

相关文件


收藏者