Previous in Forum: Power Relays   Next in Forum: Generator Behavior To 3-phase Short Circuit
Close
Close
Close
5 comments
Active Contributor

Join Date: Jun 2007
Posts: 24

RS485 to RS232 converter

09/17/2007 3:52 AM

I am using a Radix make 16 channel temperature scanner which communicates with host computer with RS485. I have used a RS485 to RS232 converter in between. The terminals available on the scanner are the following
D+, D-, D+,D-, RS485 Ground
The teminals available on the converter are D+,D- only and a 15 pin DSUB connector on the other side. I have connected only D+ and D- on the scanner to the D+ and D- on the converter. I connected the DSUB connector to the COM1 port on the PC.
I am using a proprietary Labview based utility provided by the vendor. But it says the device is not communicating.
Can anybody pointout what is the mistake.
Also is there a definite way of knowing if the com port is working or not.
Also if I dont want to use the proprietary software given by the vendor what should I do?

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru

Join Date: May 2007
Location: Budapest, Hungary, HA5YAR
Posts: 617
Good Answers: 14
#1

Re: RS485 to RS232 converter

09/18/2007 1:33 AM

RS232 needs some loopbacks: DTR-DSR-DCD, CTS-RTS

__________________
Aged man is not old man...
Register to Reply
Anonymous Poster
#2

Re: RS485 to RS232 converter

09/18/2007 5:49 AM

checkout the data sheet on Maxim, Max3161, or Max3162. Ya missing a few connections as well http://www.ortodoxism.ro/datasheets/maxim/MAX3160-MAX3162.pdf

Register to Reply
Guru
Canada - Member - New Member

Join Date: May 2006
Location: Montreal, Canada
Posts: 632
Good Answers: 11
#3

Re: RS485 to RS232 converter

09/18/2007 8:46 AM

Both proper wiring and proper termination resistors are important.

If you intend to use very long wires, try making it work over shorter wires first.

Also take a better look at the temperature scanner documentation. TD+, TD-, RD+, RD- would make more sense.

Modbus RTU protocol needs that you perform some configurations, slave ID and regular serial parameters.

By proprietary software, du you mean it is purchased (rSCADA) or that you developped it?

__________________
''What the hell has my a** got to do with magic?" Don Quixote
Register to Reply
Guru
Hobbies - DIY Welding - Wannabeabettawelda

Join Date: May 2007
Location: Annapolis, Maryland
Posts: 7870
Good Answers: 452
#4

Re: RS485 to RS232 converter

09/18/2007 9:56 AM

You may have to jumper TD+ to RD+ and TD- to RD- on the scanner since it appears that the converter is a half-duplex system. Or if they aren't label as such, then connect D+ to D+ and D- to D-. Then connect D+ on the scanner to D+ on the converter and D- to D-. If that doesn't work, flip them, D+ to D- and D- to D+.

Read the documentation carefully on the converter. Sometimes all nine connections of the RS-232 link is required and the exact connections can vary. (Not necessarily a one-to one cable, could be null modem, and other connections can be non-standard as well, speaking from my own frustrated experiences eventually remedied by reading the instructions ) The 15 pin D-sub is somewhat unusual for a serial port as it usually is a 9 pin D-sub (Standard density, Shell size 1) or the 25 pin D-sub (Standard density, Shell size 3).

Make sure the PC software is configure to look at COM1 and all the parameters are set per the instructions, parity, baud rate, etc. Good luck in your quest !!

Register to Reply
Guru

Join Date: Aug 2007
Location: Earth - I think.
Posts: 2143
Good Answers: 165
#5

Re: RS485 to RS232 converter

09/18/2007 10:32 AM

1. Post 4 was correct. Check your temperature scanner/converter documentation for the phrase 2-wire and 4-wire setup. I bet if you check the temperature scanner carefully you will find a T or XMT above one set of D+,D- terminals. You may have to get someone who can read braille if the device is old.

2. Post 1 was correct.Check your PC/converter documentation for the phrase software/hardware handshaking. Usually there will be a jumper setup on the converter. If not then you may have to do some jumpering on the PC end of the cable.

3. Check the cable/doc for the converter (if the cable didn't come with the converter), to determine what type of DTE-DCE setup is required on the cable.

4. There are a lot of good sites (some mentioned above) for information about RS232/RS485.

5. Pray to whatever Gods or Devils you believe in - hard. I've been dealing with this for 32 years, and "There ain't nuthin' standard about it".

__________________
TANSTAAFL (If you don't know what that means, Google it - yourself)
Register to Reply
Register to Reply 5 comments
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Copy to Clipboard

Users who posted comments:

Anonymous Poster (1); Brave Sir Robin (1); gigaconcept.com (1); Kilowatt0 (1); Qqberci (1)

Previous in Forum: Power Relays   Next in Forum: Generator Behavior To 3-phase Short Circuit

Advertisement