ModbusMaster v1.0.0 released
2016-09-11
Arduino
Overview
ModbusMaster
is an Arduino library for communicating with Modbus slaves over RS232/485 (via RTU protocol). Version 1.0.0 was released on 11 Sep 2016 and includes a number of changes.
Features
The following Modbus functions are available:
Discrete Coils/Flags
- 0x01 - Read Coils
- 0x02 - Read Discrete Inputs
- 0x05 - Write Single Coil
- 0x0F - Write Multiple Coils
Registers
- 0x03 - Read Holding Registers
- 0x04 - Read Input Registers
- 0x06 - Write Single Register
- 0x10 - Write Multiple Registers
- 0x16 - Mask Write Register
- 0x17 - Read Write Multiple Registers
Both full-duplex and half-duplex RS232/485 transceivers are supported. Callback functions are provided to toggle Data Enable (DE) and Receiver Enable (/RE) pins.
Change log
Implemented enhancements:
- Add continuous integration testing with travis #55
- Add Code of Conduct #54
- Create PULL_REQUEST_TEMPLATE #49
- Create ISSUE_TEMPLATE #48
- Change license to Apache 2.0 #45
- Set __MODBUSMASTER_DEBUG__ to 0 by default #35
- Pass Stream object instead of integer reference #17
- Add LICENSE, convert project to Apache 2.0 #67 (4-20ma)
- Add example sketch for half-duplex RS485 #66 (kintel)
- Add continuous integration testing with Travis CI #63 (4-20ma)
- Add initial .travis.yml configuration #62 (4-20ma)
- Add CODE_OF_CONDUCT #56 (4-20ma)
- Add initial PULL_REQUEST_TEMPLATE #53 (4-20ma)
- Add initial ISSUE_TEMPLATE #50 (4-20ma)
- Add preTransmission(), postTransmission() for half-duplex #44 (kintel)
- Disable __MODBUSMASTER_DEBUG__ mode by default #43 (kintel)
- Add STYLE coding style guide #29 (4-20ma)
Closed issues:
- Fix documentation references in ModbusMaster.h, .cpp #69
- Clean up template wording #64
- Add Label section to CONTRIBUTING #60
- Update README contact information #58
Merged pull requests:
- Clean up ISSUE/PULL_REQUEST templates #65 (4-20ma)
- Add label guidance to CONTRIBUTING #61 (4-20ma)
- Update README contact information #59 (4-20ma)
- Add email address to CODE_OF_CONDUCT #57 (4-20ma)
- Clarify instructions in ISSUE_TEMPLATE #52 (4-20ma)
- Add ISSUE_TEMPLATE title reqs, separator lines #51 (4-20ma)
License
|
|
Resources
4-20ma / ModbusMaster
Source Code Documentation
Modicon Modbus Protocol Reference Guide PI-MBUS-300