RS232 communication works, RS485 doesn't..?
Posted: Mon Mar 21, 2016 5:27 am
Hi,
I'm programming serial communications on a T7A. So far I've been using RS232 and I have working code for both sending and receiving data (output via COM1, input via COM3). To eliminate external errors, I'm looping from COM1 straight back into COM3 - I basically use no other devices whatsoever and it's working fine.
However, I need to switch to RS485 instead ( COM2 and COM4 set for RS485) for the actual communication. The only code I changed was setting input and output to COM2 and COM4 respectively.
No data gets sent, confirmed via maxterm and a RS232/485 converter. What am I doing wrong?
Thanks for your help!
I'm programming serial communications on a T7A. So far I've been using RS232 and I have working code for both sending and receiving data (output via COM1, input via COM3). To eliminate external errors, I'm looping from COM1 straight back into COM3 - I basically use no other devices whatsoever and it's working fine.
However, I need to switch to RS485 instead ( COM2 and COM4 set for RS485) for the actual communication. The only code I changed was setting input and output to COM2 and COM4 respectively.
No data gets sent, confirmed via maxterm and a RS232/485 converter. What am I doing wrong?
Thanks for your help!