Skip to content

help needed on actual modbusRTU implementation #114

Open
@rzylius

Description

@rzylius

Dear Alexander,

I have a solar inverter with quite a specification:

The IMEON RS485 port is configured to use the following

  • Baud rate : 9600
  • Data bits per Byte : 8
  • Parity : None
  • Stop bits : 1
  • Encoding: big endian(MSB LSB: value 0x
  • CRC: little endian (LSB MSB: value 0x3412 is 0x1234)
  • Slave address: 0x01
  • Data message format: Hexadecimal
  • The instant read values in the database are updated each 10 seconds.
  • The set values are updated each 1 minute in database.
  • Response timeout is 10 seconds.

I got connected and all works pretty ok out of the box. But I quite often I receive error (not consistently)

EX_TIMEOUT = 0xE4, // Custom. Operation not finished within reasonable time

I tried to play with #define MODBUSIP_TIMEOUT 1000 setting, without apparent improvement. maybe you may advise the logic how I should try to customize settings for it to work reliably?

Very much appreciate your work,

regards, Rimantas

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions