It seems that converter uses a trick to get its power from the RTS and DTR signals which Kanalog does not have. The manual says to apply 5V or 12V to pin 6 if you don't have those. Did you do this?What kind of converter do you have?
I have below converter, and manual.
https://www.hexin-technology.com/shared ... Manual.pdf
https://www.hexin-technology.com/RS-232 ... t-257.html
Also because RS-485 is half duplex (it can't transmit and receive at the same time) it somehow needs to know which it should be doing. Its not clear how your converter does this. You might use a converter that states flow control signals are not required as Kanalog doesn't support RS232 flow control signals. It only supports Transmit and Receive signals.
That's not telling us how it is wired. Specify what pins are connected to what.How is it wired?
This connector has rs232 at one end and RS485 to the other end. Rs232 is wired with KANALOG JP10 with RJ12 connector, and RS485 is connected to LEADSHINE servo drive CN4 connector.
Please post the modified program.What baud rate did you use on the PC?
I used 57600 baud rate, and i have changed the same in Modbusmasterver1.c also.
Please get oneDo you have an oscilloscope to check activity on the Kanalog Tx and Rx lines?
No.