phpmodbus
phpmodbus copied to clipboard
An implementation of the basic functionality of the Modbus TCP and UDP based protocol using PHP.
Hi, need some advice about FC7 whether it works with phpmodbus? if no, any advice for the solution? thank you.
you need to use __construct() instead of class name.
Hi! I get the following exception when trying to read the data: readCoils: START Connected Packet: e4e30000000600013000000c Send Wait data ... Wait data ... Wait data ... Wait data ......
Updated the library for PHP 8.x compatibility: - Replaced old-style constructors - Made IEC helpers static - Switched from key_exists to array_key_exists Tested with PHP 8.0–8.3 + Modbus Web Test...