iX Talk

RS232 communication works, RS485 doesn't..?
Page 1 of 1

Author:  Daniel.S [ Mon Mar 21, 2016 5:27 am ]
Post subject:  RS232 communication works, RS485 doesn't..?

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!

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group