Internet PLC Forum

General => Technical support => Topic started by: dan on March 15, 2007, 01:06:46 PM

Title: RS-485 again
Post by: dan on March 15, 2007, 01:06:46 PM
HI,

As Eddie I have the same problem.
I developed a VB application that works for about 1 year using Com1.
Now I need to use it on Com2 using your Auto485 and is not working (not in RTS not Auto)
I test the communication (Comm3) with the TLServer and this one works only in RTS.
The VB sample I downloaded from your web don't work with Comm3

What we need to do to have Comm 3 working?
Title: Re:RS-485 again
Post by: support on March 15, 2007, 05:02:37 PM
I tested with our Auto485 adapter in Auto mode. No problem communicating using the VB6 sample program if you remember to change the baud rate to 38400 bps (default is 9600 bps) first  before openning the port. However, when Auto485 is put in the RTS-controlled mode, VB6 sample program does not work.

I then tested communication using TLServer and found out that TLServer will work with Auto485 in both Auto and RTS-controlled mode. This is because TLServer program controls the RTS signal before and after transmission. But the simple "MSComm1.Output" function provided by VB6 controls does not have the same feature.

You may want to check with the online community whether someone has written a Visual Basic comm program that controls the RTS signal durng transmission, or give Bill Gates a call - just kidding ;D
Title: Re:RS-485 again
Post by: dan on March 19, 2007, 07:58:21 AM
Hi,

Just an update.

Using a new Auto485 and it works without any problems.


Dan