16
Technology Training that works Technology Training that Works www.idc-online.com/slideshare Practical Troubleshooting & Problem Solving of Ethernet Networks: RS-232 Fundamentals

Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Embed Size (px)

DESCRIPTION

The Fieldbus and DeviceNet standards are also becoming a standard at the field and instrumentation level, and are replacing the traditional approaches in the plant today. Ethernet is fast becoming the obvious choice for industrial control networking worldwide. While the basic structure of Ethernet has not changed much, the faster technologies such as fast Ethernet and gigabit Ethernet have increased the complexity and choices you have available in planning and designing these systems. There has also been a convergence between Fieldbus and DeviceNet standards in that they are also increasingly becoming based on industrial Ethernet for the higher speed data transfer applications. There is a fair degree of confusion about where Fieldbus, DeviceNet and Ethernet, are applied and the workshop commences with a clear comparison between the different standards and where they are applied. The first day focuses on AsiBus, DeviceNet, Profibus and Foundation Fieldbus technologies in a simple and understandable manner. A detailed discussion is conducted on the application of these technologies in your plant today. There are many misconceptions on the best standard to apply in a given section of the plant. This workshop will promote the theme which is rapidly growing strength, in that you should focus on your application and apply the particular Fieldbus or DeviceNet to match this application and ensure easy interconnectivity between the different standards. Picking one standard to match all applications is not really a practical approach. Ethernet is then discussed with a brief outline of the fundamentals of Ethernet and its operation. The method of access is discussed in depth, and topics such as full duplex and auto negotiation are explained. The best methods of designing and installing the cabling systems are explored with the discussion ranging from 10Base-T over twisted pair to gigabit Ethernet cabling methods of optimising Ethernet to obtain the best performance are also defined.

Citation preview

Page 1: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

Practical Troubleshooting & Problem Solving of Ethernet Networks:

RS-232 Fundamentals

Page 2: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

DTE vs DCE

• DTE– Data Terminal Equipment– Transmits on Pin 2 for 25-pin connector

• DCE– Data Communications Equipment– Transmits on Pin 3 for 25-pin connector

Page 3: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

RS-232 Connections (DB25)

Page 4: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

EIA-232

• Electrical Signal levels– Logic 0 =+3 to+25V = Control ON– Logic 1 = -3 to -25V = Control OFF

• Mechanical Interface– DB-25, DB-9 connectors

• Circuit Functionality

Page 5: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

Voltage Levels for EIA-232

Data Line Driver

Control Line Driver

0 (Space)

1 (On)

1 (Mark)

0 (Off)

Data Lines

Driver Receiver

Control Lines

Data Receiver

Control Receiver

+25 V

+25 V

+25 V

+25 V

-25 V

-25 V

-25 V

-25 V

+5 V

+5 V

+3 V

+3 V

-5 V

-5 V

-3 V

-3 V

0 V

0 V

0 V

0 V

ON

OFF

0

1

Page 6: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

Pin AssignmentsPin Number

(DTE)DB9 Connector IBM Assignment

DB25 ConnectorEIA-232 Pin Assignment

1 Received Line Signal Shield

2 Received Data Transmitted Data

3 Transmitted Data Received Data

4 DTE Ready Request to Send

5 Signal Common/Ground Clear to Send

6 DCE Ready DCE Ready

7 Request to Send Signal Common/Ground

8 Clear to Send Received Line Signal

9 Ring Indicator + Voltage (Testing)

20 - DTE Ready

22 - Ring Indicator

Page 7: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

Limitations• Point-to-Point

• Distance Limitation = 2500pf (50ft @ 50pf/ft)

• 20kbps

• -3 to -25V and +3 to +25 V

• Note Table 2.1 Page 30 !

Page 8: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

Typical Approach

• Check basic Parameters

• Identify which is DTE and DCE

• Clarify handshaking compatibility– either Hardware– or Software

• Check actual protocol– use protocol analyzer

Page 9: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

Test Equipment

• Multimeter

• LED

• Breakout Box

• PC Based Protocol Analyzer

• Dedicated Protocol Analyzer

Page 10: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

Breakout Box

LEDs usually Bi-Color

Red commonly Positive Green commonly Negative

DIPSwitches

Common

Page 11: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

RS-232 Breakout Box

Page 12: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

Protocol Analyzer Connections

Protocol Analyzer

Page 13: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

Typical RS-232 Problems

• Mechanical Problems– Keep wires short– Stranded wire instead of solid wire– Only one wire soldered per pin– Bare wire should not be visible– Back shell must secure wire

Page 14: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

Typical RS-232 Problems

• Setup Problems– Software setup compatible

• 8N1or 7E1 or 7O1

– Baud rate correct– Code correct - Binary/Hex or ASCII– Software set up for handshaking

• Hardware or Software control

Page 15: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

Typical RS-232 Problems

• Noise Problems

– Ground Induced Noise

– Induced Noise on TX or RX lines

– Induced noise on Control Lines

Page 16: Practical Fieldbus, DeviceNet & Ethernet for Indusrty

Technology Training that worksTechnology Training that Workswww.idc-online.com/slideshare

DO YOU WANT TO KNOW MORE?

If you are interested in further training or information, please visit:

http://idc-online.com/slideshare