Author Topic: RS-485 again  (Read 6078 times)

dan

  • Newbie
  • Posts: 47
    • View Profile
RS-485 again
« 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?

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3171
    • View Profile
    • Internet Programmable PLCs
Re:RS-485 again
« Reply #1 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
« Last Edit: March 15, 2007, 07:20:43 PM by support »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

dan

  • Newbie
  • Posts: 47
    • View Profile
Re:RS-485 again
« Reply #2 on: March 19, 2007, 07:58:21 AM »
Hi,

Just an update.

Using a new Auto485 and it works without any problems.


Dan