he purpose of this troubleshooting guide is to direct qualied service personnel to the causes of network problems
and provide remedies. The primary goal of troubleshooting is to minimize network downtime. Test procedures
T
resistance of the physical media layer. It is usually sucient to have a true RSM multimeter, such as Fluke ® 87-3 Digital
Multimeter or similar to run tests and obtain reliable measurements. For information on designing DeviceNet™ systems,
refer to ODVA publication 27: “DeviceNet Planning and Installation Manual”.
1.1 Network Components
DeviceNet uses a trunk line and drop line topology to connect nodes for communication. Here is an example:.
described in this Troubleshooting Guide require the use of test equipment to measure voltage, current, and
Trunk Line
TR
TR = Terminating Resistor
ComponentDescription
Trunk LineThe network cable between terminators. It is usually a
Drop LineThe network cable between the trunk and nodes. Each
TapA branching point from the trunk line. There may be one
Terminating ResistorThe 121 Ohm resistor that is connected to the end of the
NodeAn addressable device that communicates on the
Power SupplyThe 24-volt DC source that powers network
NODENODE
NODE
Drop Line
TapTap
NODENODE
Trunk Line
TR
POWER
SUPPLY
“thick” cable.
drop line may be no longer than 6 meters (20 feet)
node on a drop line, as with a tee tap, or multiple drop
lines, as with a multiport junction box.
Trunk Line. There are two terminators per network.
network. There may be as many as 64 nodes per network.
communication. There may be multiple power supplies
on a network, located anywhere on the network.
There are ve conductors in DeviceNet™ cables. There are three connector types commonly used on DeviceNet systems:
7/8 16 minifast ® (mini), M12 eurofast ® (micro), and screw terminal (open). Table I shows the connector pin denitions
and Table II shows the connector styles.
NameWire ColorDescription
Shield DrainBareConnection to the shields in the cable
V+RedConnection to the bus 24 VDC supply
V-BlackConnection to the bus supply common (0 VDC)
CANHBlueData connection (high dierential)
CANLWhiteData connection (low dierential)
DeviceNet™ Cable Classication
Table I: Pin Denitions
Male mini
Connector
1 = Bare (Drain)
2 = Red (V+)
3 = Black (V-)
4 = White (CANH)
5 = Blue (CANL)
Table II: Connector Styles
Male Connectors
Female mini
Connector
minifast (mini)eurofast (micro)Open Style Front View
Male micro
Connector
1 = Bare (Drain)
2 = Red (V+)
3 = Black (V-)
4 = White (CANH)
5 = Blue (CANL)
Female micro
Connector
Open Female Connector
Rear View
5 = Red (V+)
4 = White (CANH)
3 = Bare (Drain)
2 = Blue (CANL)
1 = Black (V-)
The maximum cable length used in trunk-drop topology depends on the data rate:
Table IV: Thick Cable and Cable II Topology
Communication RateNetwork LengthTrunk LengthMaximum DropCumulative Drop
125 kb500 m (1640ft)500 m (1640 ft)6 m (20ft)156 m (512 ft)
250 kb250 m (820 ft)250 m (820 ft)6 m (20 ft)78 m (256 ft)
500 kb100 m (328 ft)100 m (328 ft)6 m (20 ft)39 m (128 ft)
The length of the network is the sum of the trunk length and cumulative drop length.
Thick Cable Capacity
The power distribution chart, Figure 1, shows the maximum allowed current through the power conductors of the thick
cable. Distance is measured from a single 24 VDC power source. If the maximum current exceeds the specied value
at any given point on the network, the power supply systems should be re-designed. Figure 1 provides thick cable
current ratings.
Figure 1: Current available through power conductors of thick cable
An essential part of the troubleshooting process is knowing the layout of the network. Survey the network to determine
the location (or existence) of these components.
Network Topology
• The trunk cable connects nodes and taps. Look for a terminating resistor at each end.
• The drop lines are the non-terminated cables that connect nodes to the trunk.
Location of Nodes
• Count the nodes and note their location on the network.
Location of Power Supplies
• There may be more than one power supply on a network, located at the end, middle, or anywhere along the cable. Only one of
the power supplies must be the grounding point for network power.
When Things Go Wrong
The rst question is always “What has changed?” If you have added or replaced nodes, changed wiring, or congured
a scanner, start to look for a problem where you were working. If you cannot nd a problem there, you will need
to determine if the problem is caused by the physical media, a node communication fault, or the network power
distribution. It is sometimes dicult to determine the root problem, because there can be more than one network
problem. In general, check for physical media and node conguration problems before network power distribution or
isolating node communication faults.
Symptoms of Physical Media Problems
For This SymptomTake This ActionSee Procedure
All nodes on a trunk segment or
on a drop stop communicating
then may recover or go bus-o.
Nodes sporadically stop
communicating, and then recover.
The network communicates
only when the number of nodes
or trunk length is reduced.
Check all wiring and connectors on
the segment between the power
supply and the terminating power.
Check for loose wiring or a loose
connector leading to the node.
Check the resistance between
conductors on the bus cable,
CAN DC resistance, and
terminating resistor values.
DescriptionTermination is used to match the impedance of a node to the impedance of the
transmission line being used. When impedances are mismatched, the transmitted
signal is not completely absorbed by the load and a portion is reected back
into the transmission line. If the source, transmission line and load impedance
are equal, these reections are eliminated. This test measures series resistance
of DeviceNet™ data pair conductors and attached terminating resistors.
Procedure1. Turn all network power supplies o..
2. Measure and record DC resistance between CANH and
CANL at the middle and end of the network.
If Measured
Values are:
<50 OhmsCheck for more than two terminating resistors.
Check for short-circuit between CANH and CANL wiring.
Check nodes for faulty transceivers (refer to CAN Transceiver Resistance Test).
60 OhmsNormal - do nothing.
71-121 OhmsCheck for open circuits in CANH or CANL wiring..
Check for one missing terminating resistor.
Problem Resolution • Split the network down the middle into two segments.
• Check resistance of each segment - should be 121 Ohm since only a single.
• terminating resistor is present on each segment.
• Mark a break point and leave it disconnected.
• At least one segment will show resistance = to 121 Ohm.
• Split a bad segment into two sections and add, temporarily, a terminating resistor.
• to the non-terminated section. Mark the location of the break point and temporary.
• terminating resistor.
• Check the resistance of each section - should be 121 Ohm.
• Continue splitting the network until the problem is located and repaired.
• Remove all temporary resistors and bring network back to original state.
• Verify once again that the assembled network has 60 Ohm resistance.
The same procedure is used to locate connector shorts or faulty transceivers.
DescriptionThe shield and V- of the DeviceNet™ cable system must be grounded at a single
location as shown in Figure 4, preferably near the physical center of the network. If
multiple power supplies are present, ground only at the power supply closest to the
middle of the network. This test will indicate if multiple grounds are connected.
Procedure1. Turn o all network power supplies..
2. Disconnect V- and Shield wires are from earth ground and from each other.
3. Measure and record the DC resistance between Shield and
earth ground at the far most ends of the network..
4. Connect the V- and Shield wires to earth ground.
If Measured
Values are:
Note:Grounding wire could be up to 10-ft long. Grounding is done with:
<1 M OhmCheck for additional grounded V- or Shield wires
DescriptionWhen the current is drawn through the power pair on the DeviceNet™ trunk line, the
resistance of the power pair conductors produces the common mode voltage drop.
The eect of the common mode voltage is that the V+ line decreases from the 24 VDC
at the power supply as you move farther from the power supply. More signicantly,
the V- line increases from the 0 VDC value at the power supply along the length of the
trunk line. This test assumes that V+ decreases and V- increases are equal. Since CANH
and CANL both are referenced to the V- wire, if the voltage on the V- line varies more
than 4.65 VDC at any two points the CAN transceivers will fail to operate properly.
Procedure1. Turn all network power supplies on.
2. Congure all nodes for their maximum current draw from network
power. Turn on outputs that use network power.
3. Measure and record DC voltage between V+ and V- where
each power supply connects to the trunk.
4. Measure and record DC voltage between V+ and V- at the ends of the network.
If the dierence
between any
two measured
values is:
<9.3 VoltsNormal Range
>9.3 VoltsNetwork will not operate properly. Possible solutions:
• Shorten overall length of the network cable
• Move power supply in direction of overloaded section
• Move nodes from overloaded section to less loaded section
• Move high current loads close to the power supply
DescriptionEach node contains a CAN transceiver that generates dierential signals onto the data
conductors. When the network communication is idle, the CANH and CANL voltages
are approximately 2.5 volts. Faulty transceivers can cause the idle voltages to vary and
disrupt network communication. Although this test indicates that faulty transceivers
may exist on a network, it will not indicate which node has the faulty transceiver. If a
node with a faulty transceiver is found, perform the CAN Transceiver Resistance Test.
Procedure1. Turn all network power supplies on.
2. Congure all nodes for their maximum current draw from network
power. Turn on outputs that use network power.
3. Measure and record DC voltage between V+ and V- where
each power supply connects to the trunk.
4. Measure and record DC voltage between V+ and V- at the ends of the network.
If CANH and/or
CANL are:
<2/0 Volts• CANH/CANL conductor has
intermittent short to shield or V-.
• Check all open style and eld wireable connectors.
• Check CANH and CANL conductors for continuity.
• Possible faulty transceiver on one or mode
nodes (refer to CAN Transceiver).
2.0 - 3.0 VoltsNormal Range.
>3.0 Volts• CANH/CANL conductor has intermittent short
to V+. Network in bus-o state (error 91). Check
all open style and eld wireable connectors.
• Check for excessive common mode voltage
(refer to Power Common Mode Voltage Test).
DescriptionThe CAN transceivers used in DeviceNet™ nodes have one circuit that controls CANH and another
circuit that controls CANL. Experience shows that electrical damage to one or both circuits
may increase the leakage current in these circuits. This test uses an ohm/meter to measure the
current leakage through the CAN circuits. Note: The reference values listed below are derived
from tests with Philips Model PCA82C251 CAN transceivers and Fluke® multimeter Models
77 and 87. Other combinations of transceivers and multimeters may yield dierent results.
Procedure 11. Disconnect the node from the network. Leave the node unpowered.
2. Measure and record the DC resistance between CANH and V-.
3. Measure and record the DC resistance between CANH and V+.
4. Measure and record the DC resistance between CANL and V-.
5. Measure and record the DC resistance between CANL and V+.
If Measured
Values are:
Procedure 2Measure resistance between CANH (signal probe) and CANL (common probe)
If Measured
Values are:
<1 M OhmsFaulty CAN transceiver
4 M - 6 M OhmsNormal Range
>6 M OhmsFaulty CAN transceiver
<36 KohmsFaulty or deteriorated CAN transceiver
36> Kohms <39Normal Range
ESD Discharge Test
DescriptionThe following test shows if power and communication lines are aected by an electrostatic
discharge. ESD may cause damage to the nodes and disrupt network communication. Every
node is aected by discharge and in the long run most components will deteriorate, thus
reducing network performance and reliability. A repeated node failure in the same production
area indicates that an ESD discharge is above the components ratings. Transceiver PCA82C251
is rated for +/- 250 VDC ESD discharge, classication B, machine model: C=100 pF, R=0 Ohm.
Tektronix ® scope model THS730A, 200 Mhz, 1 GSs, or similar may be used for ESD test.
Procedure 11. Connect Channel 1 to CANH and set voltage reference to 500 V.
2. Connect Channel 2 to CANL and set voltage reference to 500 V.
3. Set dierential signal CANH - CANL.
4. Set time reference to 200 nsec.
5. Set trigger point at CH 1, at 250 V.
6. Measure voltage and adjust reference levels as required.
If CANH
Measured
Values are:
<200 VDC
>200 VDC
Acceptable ESD discharge
Control systems must be grounded
The methods described below are used on TURCK and DeviceNet™ products and may be dierent than other vendors’
implementations. The default node address is 63 and the communication rate is set at 125 kbps (kilobits per second). The
node address and communication rate parameters can be set in hardware or software. The factory default is Software
Conguration. Changes to DIP switch settings take eect the next time the device is powered up or when the device
receives a software reset.
Hardware Address/Comm Rate Conguration
Hardware conguration of node addresses and communication rates is
accomplished using DIP switches located under the device cover. Switches
S7 and S8 adjust the communication rate and switches S1-S6 set the node
address using binary code. Switch S1 is the least signicant bit and switch
S6 is the most signicant bit.
Software Address/Comm Rate Conguration
Software conguration of node addresses and communication rates is active
when DIP switches S7 and S8 are ON. The node address and communication
rates are stored in nonvolatile memory. Changes to the node address and
communication rate require the use of a DeviceNet conguration tool.
Switches S1-S6 are ignored when in software conguration mode.
Rotary Switches
Rotary switches provide a more convenient and reliable way of setting the
node address or data rate.
The MSD (the Most Signicant Digit) switch sets a tenth
digit and the LSD (the Least Signicant Digit) sets a single
digit. The valid address range is 0-63.
The MSD switch set to the PGM (programmable) position
allows use of node commissioning or software setup of
the node address.
The Data Rate switch, when available, is used for the
Node Address (00-63)
23
1
0
PGM
4
MSD
1
5
0
9
6
23
8
LSD
4
5
6
7
Data Rate
Auto
500
250
125
PGM
selection of a pre-dened communication speed. In
“Auto” position, the node detects the Data Rate through
“Autobaud”. It usually takes several poll messages to be transmitted for the node to “lock” in the appropriate Data Rate.
In addition to these four predened positions, the Data Rate switch can be set to “PGM” (programmable mode). The PGM
position is any nonpredened position.
Changes to the rotary switch settings take eect the next time the device is powered up or when the device receives a
software reset.