RS-232
Thomas Hayes
Posts: 1,164
Hello All
Here is a really cool problem that had me for several hours. The install was 4 projectors, lifts, screens, drapes, etc.(big for a school system) When I down loaded the program to test the system 2 of the 4 projectors worked. Like normal we tested that the Rx/Tx LEDS were coming for all 4. Checked the projector baud rate, etc- all ok. Went up to the projectors and removed the 9-pin cable, now is were it gets funky, the Rx/Tx LEDS still worked for the projector with the cable removed at one end Tested the cable for shorts-ok, rang cable to make sure we had the correct cable-ok. Ran a new cable to test- projectors both worked, but their existing cables tested good and the runs were less or just over 50'. Took a real good look at the 2 projectors that worked and the 2 that didn't. All were wired correctly but we noticed that the working projectors used 1-pr and the the non working were wired with 2-pr. Re-checked the colour code and pin out-ok. Only thing was that the installer had used a wire from the second pair for pin#5(gnd) and not the shield. Removed the wire and wired pin#5 to the shield-projector worked!! Some time back I remember reading an article that RS-232 distance had more to do with the cap. of the wire than the total length of cable. I've ran 4 connector before with no issues but the 2 pair at this distance was enough not to work. So even if a cable tests good it could still be bad.
Here is a really cool problem that had me for several hours. The install was 4 projectors, lifts, screens, drapes, etc.(big for a school system) When I down loaded the program to test the system 2 of the 4 projectors worked. Like normal we tested that the Rx/Tx LEDS were coming for all 4. Checked the projector baud rate, etc- all ok. Went up to the projectors and removed the 9-pin cable, now is were it gets funky, the Rx/Tx LEDS still worked for the projector with the cable removed at one end Tested the cable for shorts-ok, rang cable to make sure we had the correct cable-ok. Ran a new cable to test- projectors both worked, but their existing cables tested good and the runs were less or just over 50'. Took a real good look at the 2 projectors that worked and the 2 that didn't. All were wired correctly but we noticed that the working projectors used 1-pr and the the non working were wired with 2-pr. Re-checked the colour code and pin out-ok. Only thing was that the installer had used a wire from the second pair for pin#5(gnd) and not the shield. Removed the wire and wired pin#5 to the shield-projector worked!! Some time back I remember reading an article that RS-232 distance had more to do with the cap. of the wire than the total length of cable. I've ran 4 connector before with no issues but the 2 pair at this distance was enough not to work. So even if a cable tests good it could still be bad.
0
Comments
Cable capacitance has the same affect on RS-232 as it would on RS-422, etc. It really isn't an issue at typical cable lengths for our systems and at typical baud rates.
The ideal 232 cable would be an individually shielded conductor for TXD and another for RXD. However, a shielded pair for both channels of the 232 is usually fine. I have heard stories of crosstalk between the RXD and TXD, but have never seen it myself. If it occurs, it's probably a symptom of a lack of termination at the devices.
A Cat-5 twisted pair should never be used for RS-232. I have seen it done quite a bit and can result in intermittant operation, especially in places with potential sources of RFI.
I use West Penn 452 for my RS-232 lines. It's cheap and small.
If you use CAT5 for RS232 you should never use one twisted pair for RX and TX.
In some installations it helped to do TX and GND on a twisted pair and RX and GND.
If you have a long run and a CAT5, I would suggest to buy an RS422 to RS232 converter for the projector side and hook it up to the RS422 lines on the netlinx device.
Then you should not have any crosstalk at all and you can have LONG runs :-)
http://www.amxforums.com/showthread.php?t=3733
I note that this is a newish 'issue' and appears to be related to circuit design in the newer processors only.
For my own debug purposes I performed an A/B test between 3100 and an NXI. I have a 10m high grade TSP cable and the 'issue' always occurs on the NI and when the same cable is then connected to the NXI there is no fault present.