Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble controlling the H100 Inverter using RS485 Protocol
#5
(06-23-2023, 10:35 PM)admin Wrote: you can use a serial port debug tool on widnows PC, send command to check whether VFD can work well, need confirm your command whether is correctly. Then add to your own program software.

Thanks for your response. I do use a Serial Port Monitor and based on the commands that have been shown in the video, the packets are right. The register address, values being written, and checksum all make sense. Please refer to the attached images to gain an understanding of what I tried using the Serial Port Monitor. 

But still, somehow, the inverter is not responding to the commands. I also switched the J4 switch to ON to ENABLE RS485.

Here are the different fixes I tried so far:

- I have also rechecked the wire connections to make sure nothing is loosely connected.
- I have also tried using a different RS485 converter but that also didn't fix the issue. 
- I also made sure that all the FTDI drivers are up-to-date and compatible with my Windows 11 machine.

I can't really think of more ways to debug this problem.

If it helps, this is the RS485 converter by DTech I'm currently using:

https://www.amazon.com/Serial-Converter-...15671&th=1

Another question I have is:

I'm curious that in the video on KinCony IoT's YouTube channel ( how to control VFD (Variable Frequency Drive) inverter by KC868-COLB - YouTube ), although he checks the RS485, hex, types in the command, and presses send, something might be happening in the backend of the software that I'm missing out on in my code. Maybe a different way of passing the command or parsing the hex? 

Right now, as you can see in the code that I shared previously, I'm converting the hexadecimal command into bytes and writing it on the appropriate serial port.

Please let me know, thanks!


Attached Files Image(s)
               
Reply


Messages In This Thread
RE: Trouble controlling the H100 Inverter using RS485 Protocol - by shaolink - 06-25-2023, 04:43 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)