Replies: 3 comments 4 replies
-
It seems like the RX&TX are simply looped back, since you receive what you send... Do you know the pinout of the RS232 port, did you cut the connector and used your own connector&pinout? ...on the sunsynk the RS232 port is a DB9... I've only seen RS485 pins on the RS485, but have not looked into this at all recently |
Beta Was this translation helpful? Give feedback.
-
Although someone have reported the RS232 works, no one has gone through the trouble to document this/create a PR on the sunsynk repo. So it would be good to do this once you've figured out the pinouts 😉 As you can see in the current readme, everyone uses RS485 |
Beta Was this translation helpful? Give feedback.
-
Did you manage to get it working? After rewiring you cable/probably? Did you have to add a db9 plug to get to the rs232 port? |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I've bought a FT232RL device and would like to see if I can get this working.
CE-LINK USB to Rj45 (Rs232) Console (Ft232rl) 1.83m Cable
At the moment I'm able to connect to the device, but face some problems with the response.
I'm using the pymodbus driver and connecting to /dev/ttyUSB0 (internally displayed as /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_AB0NEEMV-if00-port0)
Any help will be greatly appreciated.
Here's the debug log.
2023-02-03 17:07:35,648 DEBUG Using selector: EpollSelector
2023-02-03 17:07:35,650 DEBUG Connecting.
2023-02-03 17:07:35,690 DEBUG Client connected to modbus server
2023-02-03 17:07:35,691 INFO Protocol made connection.
2023-02-03 17:07:35,697 INFO Connected to /dev/ttyUSB0
2023-02-03 17:07:35,698 INFO Reading startup sensors rated_power, serial
2023-02-03 17:07:35,705 DEBUG send: 0x0 0x3 0x0 0x3 0x0 0x5 0x74 0x18
2023-02-03 17:07:35,708 DEBUG Adding transaction 0
2023-02-03 17:07:35,729 DEBUG recv: 0x0 0x3 0x0 0x3 0x0 0x5 0x74 0x18
2023-02-03 17:07:35,731 DEBUG Frame check failed, ignoring!!
2023-02-03 17:07:35,732 DEBUG Resetting frame - Current Frame in buffer - 0x0 0x3 0x0 0x3 0x0 0x5 0x74 0x18
2023-02-03 17:07:45,733 ERROR Timeout reading:
2023-02-03 17:07:45,734 INFO ############################################################
2023-02-03 17:07:45,735 INFO No response on the Modbus interface, try checking the wiring to the Inverter, the USB-to-RS485 converter, etc
2023-02-03 17:07:45,736 INFO ############################################################
2023-02-03 17:07:45,737 CRITICAL This Add-On will terminate in 30 seconds, use the Supervisor Watchdog to restart
Regards,
Stephan
Beta Was this translation helpful? Give feedback.
All reactions