Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RS485 not receiving anything
#5
Hi,

Thanks for testing this!

In my case, the device represents the inputs/outputs as registers, not coils. I used the write_lambda in debugging the problem to make sure that I get the correct modbus command (which I know is now correct because the output actually toggles).

Have you checked if you can also read the inputs from the KC868-H32BS via RS485?

The weird thing in my case is that nothing comes in on the UART. Can you confirm that if you add this code to the UART definition in esphome, that you then can see incoming messages in addition to the outgoing messages?

Code:
logger:
  level: DEBUG

  debug:
    direction: BOTH
    dummy_receiver: false
    after:
      timeout: 1s
    sequence:
      - lambda: UARTDebug::log_hex(direction, bytes,' ');
Reply


Messages In This Thread
RS485 not receiving anything - by victorclaessen - 03-28-2023, 03:53 PM
RE: RS485 not receiving anything - by admin - 03-29-2023, 12:20 AM
RE: RS485 not receiving anything - by admin - 03-31-2023, 04:55 AM
RE: RS485 not receiving anything - by victorclaessen - 03-31-2023, 09:13 AM
RE: RS485 not receiving anything - by admin - 03-31-2023, 01:21 PM
RE: RS485 not receiving anything - by admin - 03-31-2023, 02:11 PM
RE: RS485 not receiving anything - by admin - 04-11-2023, 01:24 PM
RE: RS485 not receiving anything - by admin - 04-12-2023, 06:19 AM
RE: RS485 not receiving anything - by admin - 04-19-2023, 12:54 AM
RE: RS485 not receiving anything - by admin - 04-20-2023, 06:34 AM
RE: RS485 not receiving anything - by admin - 05-01-2023, 11:45 AM
RE: RS485 not receiving anything - by Yocee - 01-14-2024, 03:35 PM
RE: RS485 not receiving anything - by aucirc - 10-06-2024, 03:36 PM
RE: RS485 not receiving anything - by admin - 10-07-2024, 01:10 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)