Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fawno/modbus
Modbus RTU serial protocol in PHP
https://github.com/fawno/modbus
dds238 energy-meter energy-monitor modbus modbus-rtu php
Last synced: about 5 hours ago
JSON representation
Modbus RTU serial protocol in PHP
- Host: GitHub
- URL: https://github.com/fawno/modbus
- Owner: fawno
- License: mit
- Created: 2019-02-22T04:46:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-10T00:38:56.000Z (over 2 years ago)
- Last Synced: 2024-09-18T10:19:27.914Z (about 2 months ago)
- Topics: dds238, energy-meter, energy-monitor, modbus, modbus-rtu, php
- Language: PHP
- Homepage:
- Size: 1000 KB
- Stars: 7
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Modbus
[![GitHub license](https://img.shields.io/github/license/fawno/Modbus)](https://github.com/fawno/Modbus/blob/master/LICENSE)
[![GitHub release](https://img.shields.io/github/release/fawno/Modbus)](https://github.com/fawno/Modbus/releases)
[![Packagist](https://img.shields.io/packagist/v/fawno/modbus)](https://packagist.org/packages/fawno/modbus)
[![PHP](https://img.shields.io/packagist/php-v/fawno/modbus)](https://php.net)Modbus RTU serial protocol in PHP
# Install
composer require fawno/modbus# Example
```php
open();// Read parsed data
$data = $dds238->read();// Read data as raw
$data_raw = $dds238->read();// Parse raw data
$data = $dds238->parse($data_raw);```