Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

What's similar / not smiliar between rs-485 and rs-232

Hi everyone,

 

I'm a student and working on a project. I am supposed to communicate with a device. There is behind this device, a RS-232 port. The problem, is that the device only indicate me the baud rates with noticed "RS-485 interface" (there is not noticed parity, number of stop-bit ...). 

 

I tried to communicate with him with RS-232 port but it didn't work ... 😞 . I would like to know if there is a difference between RS-232 and RS-485 port because i found nothing on internet ...

 

Thanks you very much ! 

 

PS : i'm a french student, sorry if my english isn't very good ! ^^

0 Kudos
Message 1 of 6
(1,454 Views)

The voltage levels are completely different.  On top of that RS-485 and RS-422 use differential pairs instead of single wires.  Otherwise, there are not much difference when at short distances.  RS-485 and RS-422 can travel a lot further.  Here are some links:

RS-232 

RS-485 



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 6
(1,449 Views)

Thanks for you answer. Are the ports for 232 and 485 the same ? (the one with 9 pins). 

0 Kudos
Message 3 of 6
(1,447 Views)

The connectors for both are commonly DB-9.  But the pin-outs are completely different.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 6
(1,441 Views)

Ok i get it. I still have two question : are the cable working with both port ? Or are there cables for 232 and cables for 485 ? 

 

And on a RS-485 connexion, should we only get the baud rate (no partity , no stop bit ... ?) ?

0 Kudos
Message 5 of 6
(1,438 Views)

Depends on the cable.  There are "NULL Modem" cables that swap the RX and TX lines.  And then there are straight through cables.  The straight through cables should work for both.

 

For standard UART, you should have more parameters than just the baud rate.  The best you can do is assume the normal defaults as per the VISA Configure Serial Port.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 6
(1,419 Views)