86Diuno IDE includes this library from Coding version 318 to support the Modbus communication protocol, an industrial communication standard published in 1979 for communication between automated electronic devices such as Programmable logic controllers (PLCs).
86Duino Modbus library for communicating with Modbus over RS232/485/Ethernet (via RTU/ASCII/TCP protocol).
Modbus is a master/slave based protocol where a master node communicates with multiple slave nodes on the network. Each node has a unique address. When the master node sends a packet to the specified address, only the slave node at the corresponding address receives and parses the packet and executes and responds to commands based on the packet contents.
Modbus allows multiple devices (approximately 240) to connect and communicate on the same network. For example, a device that measures temperature and humidity can transmit the results to a computer. In Supervisory Control and Data Acquisition (SCADA) systems, Modbus is commonly used to connect monitoring computers with Remote Terminal Units (RTUs).
86Duino’s Modbus library has the following features:
- It supports Modbus RTU, TCP, and ASCII sub-protocols.
- Runs as both Modbus master and Modbus slave nodes.
- Support Modbus gateway function
