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

It took me a while to source an RS485-USB adapter. Now I can see follow the communication between the A16 and the expansion board.

Physically, I can confirm that the A16 sends a request: 01 03 00 01 00 01 d5 ca
And that the expansion board sends a response: 01 03 02 00 01 79 84

That totally makes sense. But in the esphome log I confirm see that the response is not received by the UART (and therefore not handled by esphome).

Code:
14:47:01    [V]    [modbus_controller:036]   Sending next modbus command to device 1 register 0x01 count 1
14:47:01    [VV]    [uart.arduino_esp32:151]  Flushing...
14:47:01    [V]    [modbus:199]              Modbus write: 01.03.00.01.00.01.D5.CA (8)
14:47:01    [V]    [modbus_controller:486]      Command sent 3 0x1 1
14:47:02    [D]    [uart_debug:114]      >>> 01 03 00 01 00 01 D5 CA
14:47:03    [D]    [modbus_controller:032]      Modbus command to device=1 register=0x01 countdown=0 no
                                                  response received - removed from send queue

Also, with a modbus test program (CAS Modbus Scanner) I can confirm the working of the expansion board. Reading and writing works.

Do you agree that the only remaining conclusion is that there must be something wrong on the board between the RS485 chip and the ESP32 input?
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 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 victorclaessen - 04-11-2023, 12:54 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)