10.07.2015 Views

Practical Industrial Data Networks:Design, Installation and ...

Practical Industrial Data Networks:Design, Installation and ...

Practical Industrial Data Networks:Design, Installation and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

110 <strong>Practical</strong> <strong>Industrial</strong> <strong>Data</strong> <strong>Networks</strong>: <strong>Design</strong>, <strong>Installation</strong> <strong>and</strong> Troubleshooting7.4.3 Detailed troubleshooting7.4.3.1 Mis-wired communication cablingEIA-232 wiring for 3-wire point-to-point modeThere are various wiring scenarios such as point-to-point, multi-drop two-wire, multidrop4-wire, etc. In a point-to-point configuration, the physical st<strong>and</strong>ard used is usuallyEIA-232 on a 25-pin D connector, which means a minimum of three wires, are used.They are: on the DTE (master) side, transmit (TxD – pin 2), receive (RxD – pin 3) <strong>and</strong>signal ground (common – pin 7). On the DCE (slave) side they are; receive (RxD – pin2), transmit (TxD – pin 3) <strong>and</strong> signal ground (common – pin 7).The other pins were primarily used for h<strong>and</strong>shaking between the two devices for dataflow control. Nowadays, these pins are rarely used as the flow control is controlled viasoftware h<strong>and</strong>shaking protocols. Details of these protocols can be obtained from the<strong>Practical</strong> <strong>Industrial</strong> <strong>Data</strong> <strong>Networks</strong>: <strong>Design</strong>, <strong>Installation</strong> <strong>and</strong> Troubleshooting bookreleased by IDC.With the advent of VLSI technology, the footprint of the various devices have atendency to shrink; even the physical connections of communications have been nowst<strong>and</strong>ardized on 9-pin D connectors. The pin assignment that has been adopted is the IBMst<strong>and</strong>ard in which the pin configurations are as follows. On the DTE (master) side,transmit (TxD – pin 3), receive (RxD – pin 2) <strong>and</strong> signal ground (common – pin 5). Onthe DCE (slave) side receive (RxD – pin 3), transmit (TxD – pin 2) <strong>and</strong> signal ground(common – pin 5).It follows that the cabling between the two devices must be straight through pin-for-pin.In this manner, the transmit pin of the master is directly connected to the receive pin ofthe slave <strong>and</strong> vice versa. Such cable is referred to as a straight-through cable. Thesecables are st<strong>and</strong>ard off-the-shelf products available in st<strong>and</strong>ard pre-determined lengths.Alternatively they can be fabricated to custom lengths, with ease.Master devices usually are the present-day IBM compatible computers, with a Modbusapplication installed on it, <strong>and</strong> therefore have the st<strong>and</strong>ard IBM EIA-232 port provided.The slave devices usually have a user selectable option to have either an EIA-232 or EIA-485 port for communication. Unfortunately some manufacturers, in order to force thecustomers to return to them time-<strong>and</strong>-again, employ a strategy of modifying thesest<strong>and</strong>ards to their own advantage.Illustrated below are a couple of these combinations:Case ISt<strong>and</strong>ard RS-232 PortNon-St<strong>and</strong>ardRS-232 CableNon-St<strong>and</strong>ardRS-232 PortCase IISt<strong>and</strong>ard RS-232 PortNon-St<strong>and</strong>ardRS-232 to RS-485Converter & CableNon-St<strong>and</strong>ardRS-232 PortFigure 7.13Typical customizations in EIA-232 cabling

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!