by Jon Tungland // @runnane // www.runnane.no
I am not responsible for any problems, crashes, failures or pain this piece of software will cause. Use it on your own risk.
rPHPModbus is a set of PHP classes to communicate with modbus masters. For now, function codes 1-6 and 16 are implemented. In addition, rPHPDupline, a PHP class for communicating with the Carlo Gavazzi Dupline(r) Smart-House solution is attached. Tested on debian6 amd64 against Carlo Gavazzi Smart-House WinCE Based Controller BH8-CTRLX-230 running fw 3.02.04.
Sync it with https://github.com/runnane/rPHPModbus.git rPHPModbus
See examples.php for how to use it.
- Modbus Exception Handling
- Implementing Modbus function code 15, 22, 23
- Better request/response packaging (make objects?) rModbusRequest/rModbusResponse ?
- phpDoc
- Check compability with other archs/os-es