All Projects → goddland16 → Modbus-TCP

goddland16 / Modbus-TCP

Licence: GPL-2.0 license
Modbus TCP client library to interact with Modbus servers such as PLCs.

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Modbus-TCP

modbus-esp8266
Most complete Modbus library for Arduino. A library that allows your Arduino board to communicate via Modbus protocol, acting as a master, slave or both. Supports network transport (Modbus TCP) and Serial line/RS-485 (Modbus RTU). Supports Modbus TCP Security for ESP8266/ESP32.
Stars: ✭ 332 (+672.09%)
Mutual labels:  arduino-library, modbus-tcp, modbus-client, modbus-server
EasyModbusTCP.Java
EasyModbusTCP library for Java implementation
Stars: ✭ 76 (+76.74%)
Mutual labels:  modbus-tcp, modbus-client
PMserial
Arduino library for PM sensors with serial interface
Stars: ✭ 41 (-4.65%)
Mutual labels:  arduino-library
LiquidCrystal I2C
This is an Arduino library for HD44780 LCD display, operated in 4 bit mode over I2C bus with 8-bit I/O expander PCF8574
Stars: ✭ 20 (-53.49%)
Mutual labels:  arduino-library
ps2dev
Arduino library to emulate PS2 keyboard/mouse
Stars: ✭ 67 (+55.81%)
Mutual labels:  arduino-library
arduino-cereal
Drop-in replacement for Arduino's serial monitor with variable watches.
Stars: ✭ 45 (+4.65%)
Mutual labels:  arduino-library
max1704x
Arduino library for the MAX17043 and MAX17044 LiPo Battery Fuel Gauge.
Stars: ✭ 16 (-62.79%)
Mutual labels:  arduino-library
qp-arduino
QP real-time embedded frameworks/RTOS for Arduino (AVR and SAM)
Stars: ✭ 37 (-13.95%)
Mutual labels:  arduino-library
Arduino-FVM
Byte Token Threaded Forth Virtual Machine (FVM) for Arduino
Stars: ✭ 35 (-18.6%)
Mutual labels:  arduino-library
Arduino-Shell
RPN Postscript/Forth Command Shell for Arduino
Stars: ✭ 19 (-55.81%)
Mutual labels:  arduino-library
ESP32 I2C Slave
I2C slave library for ESP32
Stars: ✭ 70 (+62.79%)
Mutual labels:  arduino-library
DCCpp
This is the library version of DCC++ for Arduino, to control railroading DCC devices.
Stars: ✭ 18 (-58.14%)
Mutual labels:  arduino-library
library-registry
Arduino Library Manager list
Stars: ✭ 95 (+120.93%)
Mutual labels:  arduino-library
ModularSensors
An Arduino library to give environmental sensors a common interface of functions for use with Arduino-framework dataloggers, such as the EnviroDIY Mayfly.
Stars: ✭ 63 (+46.51%)
Mutual labels:  arduino-library
SparkFun SerLCD Arduino Library
A library to seamlessly control the SparkFun SerLCD over I2C, SPI, and Serial.
Stars: ✭ 18 (-58.14%)
Mutual labels:  arduino-library
FlexyStepper
Stepper motor control library for Arduino supporting in motion changes
Stars: ✭ 41 (-4.65%)
Mutual labels:  arduino-library
SerialTransfer
Arduino library to transfer dynamic, packetized data fast and reliably via Serial, I2C, or SPI
Stars: ✭ 273 (+534.88%)
Mutual labels:  arduino-library
ServoTimer2
ServoTimer2 is a simple library for Arduino 1.x that does not use Timer1 in case of a conflict.
Stars: ✭ 29 (-32.56%)
Mutual labels:  arduino-library
go-modbus
modbus write in pure go, support rtu,ascii,tcp master library,also support tcp slave.(WIP new implement<old: https://github.com/thinkgos/gomodbus >)
Stars: ✭ 124 (+188.37%)
Mutual labels:  modbus-tcp
arduino-ble-gadget
Create your own Do-It-Yourself BLE enabled sensor gadget on the ESP32 platform.
Stars: ✭ 31 (-27.91%)
Mutual labels:  arduino-library

README

Overview

This is an Arduino library for communicating with Modbus server over Ethernet (via TCP protocol). Arduino will act as a Modbus client and request data from Modbus Server(which could be any device or PLC).

Hardware

This library has been tested with an Arduino Mega with following Compatible Ethernet ICs.

  1. Wizent W5100 - Ethernet library.
  2. ENC28J60 - UIPEthernet library.
  3. ESP8266 - ESP8266 library.

Note: It can be made compatible with Wiznet W5500 model, by adding new Ethernet2 library in the header file.

Settings

Depending on the ic used set the following Macros.

  1. define WIZNET_W5100 = 0
  2. define ENC28J60 = 0
  3. define ESP8266 = 1

Features

The following Modbus functions have been implemented:

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
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].