Previous in Forum: How structure and unions applied in real world?   Next in Forum: Free Strategic Management Software?
Close
Close
Close
11 comments
Rate Comments: Nested
Guru

Join Date: Feb 2008
Posts: 638
Good Answers: 45

RS 422 Not Talking

02/15/2010 10:54 AM

Attached is the RS 422 data coming from a server and a radio. When I run a remote control funtion and the radio is turned on, the server is unable to connect to the radio. While the application is running on the server, I can power- cycle the radio and get the server to see the radio. The server will only acknowledge the radio for a second and then display a fault "Lost connection". When the radio is turned on it sends FF 80 78 3C (Hex), I guess this means "I am on and in remote mode". When the server is polling the radio for status I see 10 00 40 10 43 (Hex), I think that means "what is your status". It appears that the radio is not picking up what the server is sending. Maybe the RS422 voltage is not high enough. Attached are the waveforms coming from the server and from the radio (Tx+ and - pin's). Page one is coming from the server, notice the voltage is 448 mV. The second page is from the radio and the voltage is 3.76 V. A big difference. Any thoughts or ideas? Is the voltage too low? Any ideas on how to get this to work? I am running out of things to try.

I am 100% positive that the cabling is correct

__________________
This moment is as it should be.
Register to Reply
Pathfinder Tags: RS 422 data
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru

Join Date: Feb 2008
Posts: 638
Good Answers: 45
#1

Re: RS 422 Not Talking

02/15/2010 10:57 AM

Second page

__________________
This moment is as it should be.
Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15600
Good Answers: 981
#2

Re: RS 422 Not Talking

02/15/2010 11:09 AM

The 0.5 volt peak to peak signal is too low to meet RS 422 standards. This maybe because the driver is bad or is not really RS 422 compatible, the receiver is in correctly terminated with a differential impedance of 100 ohms or the wiring is incorrect. I have done and seen all these.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Anonymous Poster
#3
In reply to #2

Re: RS 422 Not Talking

02/15/2010 1:23 PM

If it is a differential signal, the minimum sensitivity signal amplitude is about 300mV (general data for LVDS). For non differential it is, indeed, too low.

Register to Reply
Guru

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

Re: RS 422 Not Talking

02/15/2010 8:03 PM

The server is undoubtedly using RS-232. Get yourself an inexpensive RS-232 to RS-422 converter. Past that you might be having an issue with the protocol used.

__________________
TANSTAAFL (If you don't know what that means, Google it - yourself)
Register to Reply
Associate

Join Date: Feb 2010
Location: Birmingham, England
Posts: 44
Good Answers: 2
#5

Re: RS 422 Not Talking

02/16/2010 4:59 AM

Is this a problem that has recently occurred from a previously working state or is it a problem you are experiencing whilst trying the set the system up?

What happens if you disconnect the connections from the server to the radio? Does the amplitude go up? This may tell you if there is a hardware fault on the server transmit side or the radio receiver end.

Can you post a waveform that shows the 5 bytes with the start and stop states as well.

Regards.

Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#6

Re: RS 422 Not Talking

02/16/2010 5:32 AM

Are you displaying a differential signal: i.e. using two probes and displaying trace A minus trace B.

OR are you just showing us one leg (the other leg being the opposite).

OR is it the output of the RS422 receiver.

Are you sure the first screen is not captured using a divide by ten (usually bizarrely called a X10) probe.

Synchronous (with a clock signal) OR asynchronous (some thing like "9600 baud 7 bits one stop bit parity" type) comms.

Half duplex or (both signals running in opposite directions on the same wires) or full duplex (separate sets of wires for Tx and Rx) ?

I wish I knew how to get CR4 to accept larger higher resolution pictures. But tell us what the scope settings are vertical and horizontal (I think I can make out the 200mV per division and 1V per division vertical ones).

EDIT----- I've looked at the pictures in more detail

I think I can make out 1ms per division for the first screen and 2 ms per division for the second.

On that basis it looks as though the first screen shows:-

08 C2 08 02 HEX at 4.8 K Baud 8 bits no parity 1 stop bit


red = stop bit green = start bit . I don't think any other patterns of bits, parity, stop bits fit, but I could be wrong.

the second screen seems to show

55 HEX at 2.4 K Baud

Normally the Tx and Rx should both be the same speed.

Neither of the sets of data seem to agree with the values you have quoted, but check the comms. set up first.

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply Score 1 for Good Answer
Associate

Join Date: Feb 2010
Location: Birmingham, England
Posts: 44
Good Answers: 2
#7
In reply to #6

Re: RS 422 Not Talking

02/16/2010 6:08 AM

Oops! I was so engrossed with the larger trace, I didn't see the wider one on the top.

Using your labelling system, I can see that with the white bits you can get 01 34 01 04. The fifth bit at the end is incomplete on the trace and is probably the 00. Got this by reading LSB to MSB from left to right, not the usual way around! I suppose it depends on how the OP got his data.

Regards.

Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#8
In reply to #7

Re: RS 422 Not Talking

02/16/2010 6:40 AM

I think you may be right.

Or even 4? 10 43 10 40 ?0

OR 4? 10 43 10 40 ?8

Which is getting close to what they should be (but backwards).

That would make the other data AA instead of 55 I think.

__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply
Guru
Engineering Fields - Electrical Engineering - New Member

Join Date: Oct 2007
Location: Sour Lake, TX 30°08'59.68"N 94°19'42.81"W
Posts: 675
Good Answers: 13
#9
In reply to #6

Re: RS 422 Not Talking

02/16/2010 6:26 PM

Are you sure the first screen is not captured using a divide by ten (usually bizarrely called a X10) probe.

One GA from me wouldn't be as rewarding as a good deed in the Electronic Engineer's paradise. How in the world, after so maaaany years of engineering, I haven't noticed (not that I didn't know what each mean) the discrepancy between X10 and ÷ ? I, probably considered (in my EE subconstient) that it is x10 attenuation...I don't know. Shame on me!

__________________
Bridge rule #1: Nobody is as good as he thinks about himself nor as dumb, as his partner thinks...
Register to Reply
Guru

Join Date: Feb 2008
Posts: 638
Good Answers: 45
#11
In reply to #6

Re: RS 422 Not Talking

02/25/2010 1:09 PM

You are correct!

Clocking mismatch issues with the new model PCI card. Had to re-configure the data rate and clock-multiplier. Working now.

Another problem solved!

__________________
This moment is as it should be.
Register to Reply
Anonymous Poster
#10

Re: RS 422 Not Talking

02/16/2010 8:11 PM

Tim Hawley Master Mech.

Helo Szwasta,

Your problem is simple.

You can only use one RS422 connection on one com port at a time.

What you need to do is add an addition RS422 comm port by using you PCMCIA port or add an additional serial I/O interface board to your hardware profile. This will allow you to use two (2) serial ports at one time.

Best Regards, Tim

Register to Reply
Register to Reply 11 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Anonymous Poster (2); indel (1); Jagote (2); Kilowatt0 (1); Randall (2); redfred (1); szwasta (2)

Previous in Forum: How structure and unions applied in real world?   Next in Forum: Free Strategic Management Software?

Advertisement