You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first returns its data, the second fails that way :
Info Data
----------------------------------
00 Manufacturer: EPsolar Tech co., Ltd
01 Model: Tracer2215BN
02 Version: V02.05+V07.12
int(0)
Cannot get Rated Data
Cannot get RealTime Data
Cannot get Statistical Data
Cannot get Settings Data
Cannot get Coil Data
Cannot get Discrete Data
Do you have an idea where it could come from ?
Thanks :-)
The text was updated successfully, but these errors were encountered:
Hi,
For others who share the same issue, I got mine working. The default wait reply for serial is 0.1 sec, I guess this is too fast for result to properly (crc'd properly) produce crc16.
I tweak the serial send message to 0.5 sec, and it works!
Open PhpSerialModbus.php, there are two sendMessage() you need to change the wait delay, change to 0.5sec, in sendRawQuery()
public function sendRawQuery ($string, $response = true) {
$this->serial->sendMessage($string, 0.5);
...
}
and in sendQuery()
public function sendQuery ($slaveId, $functionCode, $registerAddress, $regCountOrData, $response = true)
{ ...
// Send over serial port
$this->serial->sendMessage($queryString, 0.5);
...
}
Hi,
I have 2 devices from EpSolar :
The first returns its data, the second fails that way :
Do you have an idea where it could come from ?
Thanks :-)
The text was updated successfully, but these errors were encountered: