Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: RS232 communication works, RS485 doesn't..?
PostPosted: Mon Mar 21, 2016 5:27 am 

Joined: Mon Mar 21, 2016 5:17 am
Posts: 1

Offline
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!


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron