toggio / PhpSerialModbus

A very easy-to-use implementation of the Modbus RTU serial protocol in PHP
GNU General Public License v2.0
61 stars 28 forks source link

CRC check failed #4

Closed ydniw closed 5 years ago

ydniw commented 5 years ago

Hi,

I'm getting CRC error for Realtime Data

Realtime Data DEBUG [query sent]: \x01\x43\x31\x00\x00\x76\xcb\x1f DEBUG [response received]: \x01\x43\xec\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x2c\x0f\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x04\x76\x00\x00\x00\x00 DEBUG [crc check failed]: (expected \x24\x1e received \x00\x00) DEBUG [response received]: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x09\xc4\x0d\x43\x0d\x43\x09\xc4\x00\x00\x09\xc4\x04\xb0 DEBUG [crc check failed]: (expected \xfa\x7f received \x04\xb0) Cannot get RealTime Data

Statistical Data DEBUG [query sent]: \x01\x43\x33\x00\x00\x76\xca\xa7 DEBUG [response received]: \xc5\xb0 DEBUG [no response] DEBUG [response received]: \x01\x43\xec\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x7f\xff\xff\xff\x00\x09\x00\x00\x04\x78\x04\x74\x00\x00\x00\x00\x00\x03 DEBUG [crc check failed]: (expected \x2e\x9a received \x00\x03) Cannot get Statistical Data

my rig:

Anyone experiencing the same?

ydniw commented 5 years ago

Hi,

I'm getting CRC error for Realtime Data

Realtime Data DEBUG [query sent]: \x01\x43\x31\x00\x00\x76\xcb\x1f DEBUG [response received]: \x01\x43\xec\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x2c\x0f\xff\xff\x00\x00\x00\x00\x00\x00\x00\x00\x04\x76\x00\x00\x00\x00 DEBUG [crc check failed]: (expected \x24\x1e received \x00\x00) DEBUG [response received]: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x09\xc4\x0d\x43\x0d\x43\x09\xc4\x00\x00\x09\xc4\x04\xb0 DEBUG [crc check failed]: (expected \xfa\x7f received \x04\xb0) Cannot get RealTime Data

Statistical Data DEBUG [query sent]: \x01\x43\x33\x00\x00\x76\xca\xa7 DEBUG [response received]: \xc5\xb0 DEBUG [no response] DEBUG [response received]: \x01\x43\xec\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x7f\xff\xff\xff\x00\x09\x00\x00\x04\x78\x04\x74\x00\x00\x00\x00\x00\x03 DEBUG [crc check failed]: (expected \x2e\x9a received \x00\x03) Cannot get Statistical Data

my rig:

  • RPi Zero W
  • connected to Epever
  • 00 Manufacturer: EPsolar Tech co., Ltd
  • 01 Model: Tracer2210A
  • 02 Version: V01.12+V02.11C

Anyone experiencing the same?

ydniw commented 5 years ago

Please see my reply https://github.com/toggio/PhpEpsolarTracer/issues/15