Professional Documents
Culture Documents
DeviceNet
Marco Bruno • Engineer, Remote Support | 04 . 23. 20
PUBLIC
Agenda
1 2 3 4
Media, Verifying Media Troubleshooting Resolving
Installation and Using a Volt/Ohm Using Indicators Common Error
Topology Meter Code Conditions
5 6 7
Troubleshooting Troubleshooting Important
Using RSNetWorx Using Controller Publications and
for DeviceNet Tags Technotes
Physical connectivity issues can cause problems ranging from the loss of
connectivity to a single device to the entire network ceasing to operate.
• Drop lines on the network are either too long or there is too much accumulated drop length because
of too many individual drops.
• The network cable was ran in parallel with higher voltage cabling.
Symptoms of installation-related causes can be masked during day-to-day operation and may
only present themselves at a much later date when a change to the network is made.
• Thick cable has a resistance of 0.0045 Ohms/ft. As the distance from the supply to the powered device
becomes greater, the cable itself becomes a resistor. At any point on the network the Common Mode
Voltage will equal the current being drawn at that point multiplies by the total resistance up to that point.
• V = I x 0.0045 x Distance
• The V+ line will lower its’ voltage gradually from the power supply to the end point of the network. As the V+
line lowers and the V- raises equally. Should this voltage drop become too large the network will fail to
operate properly.
• The CANH and CANL lines are both referenced by the V- line. If the V- line varies more than 4.65 VDC at
any two points on the network all CAN transceivers will fail to operate properly.
• You should never read less than 15 volts across V+ and V- at any point on the network.
• Verify the grounding has been done at the power supply connection that is closest to the physical center of the
network.
• If more than one power supply is being used, make sure the V+ wire is broken between the supplies.
2. Configure all nodes for their maximum current draw from network power.
For example, turn on all outputs that use network power.
If the difference between any two measured values is > 9.3 Volts…
• No matter what type of drop is used, the cumulative length of the cable in a single drop cannot be
longer than 20 ft.
• When impedances are mismatched, the transmitted signal is not completely absorbed by the
load and a portion is reflected back into the transmission line.
• If the source, transmission line and load impedance are equal, these reflections are
eliminated. This is critical to proper network operation.
• The proper location of the termination resistors is at the very beginning and the
very end of the trunk line.
2. Measure and record DC resistance between WHITE (CANH) and BLUE (CANL) wires at the
middle and end of the network.
• Check for more than two terminating resistors, there are probably at least
three.
• Make sure there are two properly wired terminators instead of only one.
2. Check resistance of each segment - should be 121 Ohms since only a single terminating resistor is present on each segment.
3. Mark a break point and leave it disconnected. At least one segment will show resistance = to 121 Ohm.
4. 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.
6. Continue splitting the network until the problem is located and repaired.
7. Remove all temporary resistors and bring network back to original state.
8. Verify once again that the assembled network has 60 Ohm resistance.
• 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 suspected, perform a CAN transceiver resistance test.
2. Configure all nodes for their maximum current draw from network power / Turn on all 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.
CANH/CANL conductor has intermittent short to shield or V-, or possibly a faulty transceiver on one or more nodes.
CANH/CANL has intermittent short to V+. Network most likely in Bus-Off state.
All DeviceNet devices whether they are Scanners or slaves, first or third
party, share the same LED scheme and the signals can be interpreted in the
same way.
The LEDs that are most common to DeviceNet troubleshooting are the
Module (or “MOD”) and Network (or “NET”) LEDs. Some devices combine
these two LEDs into one.
MODULE LED
LED Description
SOLID GREEN The device is operating normally.
FLASHING GREEN The device has no faults but is in an idle state. It may
have no connection to a master or may not be
configured.
SOLID RED Unrecoverable fault. The device has probably
experienced hardware failure. If the device is operable
it will certainly require a power cycle to regain
operation.
FLASHING RED The device has a recoverable fault. Deeper analysis is
required.
OFF The device likely has no power.
ALTERNATING RED/GREEN This is purely device-dependent.
Network LED
LED Description
SOLID GREEN The device is operating normally and, if it is a slave
device, has a connection made with its’ master.
FLASHING GREEN If the device is a master, it is in an idle state and will
not write outputs. If it is a slave, it has a good network
connection but no connection to a master.
SOLID RED Duplicate node failure or BUS OFF condition. There is
another device on the network that is already
occupying the same node address this device is trying
to use. Or, a Bus Off condition has occurred in which at
minimum a power cycle will be required for the device
to become operational.
FLASHING RED Some devices will do this if the connection to the
master is lost during operation.
OFF The device likely has no power.
• The scanner will display one number at a time, in rotation, in one-second intervals.
• The scanner will display the errors in the order of lowest node address to highest
but will show its’ own status first.
• The scanner will show the node address of the affected node then the error code.
00 – 80 – 01 – 78 – 02 – 77 – 05 – 78 – 10 – 73 – 00 - 80
• The scanner will display one number at a time, in rotation, in one-second intervals.
• The scanner will display the errors in the order of lowest node address to highest
but will show its’ own status first.
• The scanner will show the node address of the affected node then the error code.
00 – 80 – 01 – 78 – 02 – 77 – 05 – 78 – 10 – 73 – 00 - 80
• The scanner will display one number at a time, in rotation, in one-second intervals.
• The scanner will display the errors in the order of lowest node address to highest
but will show its’ own status first.
• The scanner will show the node address of the affected node then the error code.
00 – 80 – 01 – 78 – 02 – 77 – 05 – 78 – 10 – 73 – 00 - 80
The connection with the slave device at node 01 has timed out.
• The scanner will display one number at a time, in rotation, in one-second intervals.
• The scanner will display the errors in the order of lowest node address to highest
but will show its’ own status first.
• The scanner will show the node address of the affected node then the error code.
00 – 80 – 01 – 78 – 02 – 77 – 05 – 78 – 10 – 73 – 00 - 80
The connection size specified in the scanlist does not match the way node 02 is configured.
• The scanner will display one number at a time, in rotation, in one-second intervals.
• The scanner will display the errors in the order of lowest node address to highest
but will show its’ own status first.
• The scanner will show the node address of the affected node then the error code.
00 – 80 – 01 – 78 – 02 – 77 – 05 – 78 – 10 – 73 – 00 - 80
The connection with the slave device at node 05 has timed out.
• The scanner will display one number at a time, in rotation, in one-second intervals.
• The scanner will display the errors in the order of lowest node address to highest
but will show its’ own status first.
• The scanner will show the node address of the affected node then the error code.
00 – 80 – 01 – 78 – 02 – 77 – 05 – 78 – 10 – 73 – 00 - 80
There is an identity key mismatch, node 10 does not match its’ Scanlist entry.
• The scanner will display one number at a time, in rotation, in one-second intervals.
• The scanner will display the errors in the order of lowest node address to highest
but will show its’ own status first.
• The scanner will show the node address of the affected node then the error code.
00 – 80 – 01 – 78 – 02 – 77 – 05 – 78 – 10 – 73 – 00 - 80
The error codes are repeating, this is the beginning of a new cycle.
• If a device has variable I/O sizes the “correct” I/O size would be the one that fits the application.
Simply correcting the 77 error may not be the entire solution if the sizes being used don’t work for
how the device is intended to be used.
• There may be no way to know what the device’s I/O size is without its’ documentation.
• RSNetWorx grabs default sizes for a device from the device’s EDS file when you add it to the
Scanlist. If the device is configured in a way other than the default, these sizes will not work
• Some device’s I/O sizes may not be configurable via its’ Parameters in RSNetWorx, they could
be configured via hardware (DIP/rotary switches, etc.).
• It’s always possible the device itself is configured correctly but the Scanlist is not – or vice-versa.
The scanner will scan all identity information selected for a device in the
Scanlist configuration. In this example a 1799-ZCIO module has every key
selected except for the Major Revision.
Update Key will keep the Scanlist entry the same but will make the
new key information the “true” keys for the device. This is ideal if the
only difference between the new and old device is a firmware change
and the device’s configuration is or will be exactly the same.
Remove from Scanlist will make room for the new device to be added
at the same node address as the old one and for the mapping to
be replaced. This is necessary if the old and new devices have a
different I/O configuration or are completely different types of devices
as seen in this example.
The difference in these error codes is when the Scanner detects the timeout.
72 indicates the slave node has timed out during operation and had a good connection
made with the Scanner at some point since the network was powered up.
78 indicates the slave node was not present when the network was
powered up.
The time the Scanner waits for a Polled response to time out is
determined by its’ Expected Packet Rate setting, configured in
RSNetWorx. The default is 75, is unitless, and is multiplied by 4
to get the timeout in milliseconds (300 ms).
If the slave device in question is verified to be properly connected to the network then its’ LED
status should be checked:
• A flashing green NET LED indicates the device has a good connection to the network but not to
the Scanner. It’s possible the device is set to the wrong node address.
• A solid red NET LED could indicate a CAN chip malfunction or the wrong baud rate has been
selected on that device.
• The DeviceNet will not operate at all while this error is present.
• Verify that the scanner’s baud rate is correct otherwise the signal it
detects on the CAN lines will be considered invalid.
A Scanner that has just been taken out of the box will alternate between
63 and 75, indicating its’ default node address of 63 and no Scanlist
present.
In very rare cases this error can indicate a very specific condition:
Every node in the Scanlist is not present on the network AND there is at
least one other device present on the network that is not present in the
Scanlist. This provides good traffic for the Scanner to detect on the
network but no valid slaves for the Scanner to connect to. This may be
caused by some devices on the network being at the wrong baud rate
while others are at the correct baud rate.
This is the default state of the Scanner and requires programmed action
in order to enter RUN mode.
The precise way this will be done depends on the type of Scanner being
used. With the 1756-DNB you must programmatically turn on the bit in
a Boolean tag in the 1756-DNB’s CommandRegister tag group.
Either the Scanner’s or the offending node’s address will need to be changed so
that all devices have a unique address.
There are several ways this could be done depending on the device types
involved. Hardware and / or software methods are available. Refer to the
device’s documentation for exact instructions.
• Bad packets are corrupt, malformed and/or otherwise did not pass a CRC check.
• Once the count reaches a certain number the network traffic is deemed to be corrupt overall
and all reading of inputs and writing of outputs stops and the scanner displays “91” or “Bus
Off Detected”.
• A network reset is required to continue after a Bus Off condition. This can be done most
effectively by cycling the 24V DeviceNet power on V+ and V- followed by a reset of the
Scanner via its’ Command Register or by cycling chassis power.
• After the reset, if the condition that brought on the condition was not corrected, the bad
packet count will rise again and the Bus Off condition will return.
• A network that was not installed properly with respect to topology specifications will not have a solid baseline, or
foundation, to build from. Even if the network works properly at first, a later (even years later) addition or change to the
network or environment could cause an imbalance leading to a Bus Off.
• Over time, temperature changes and/or abuse of network cabling can cause loose, intermittent connections.
• A short in the cabling such as V- to CANL will cause an immediate Bus Off with no discernible build up. Cycling power
will not clear the error, the Scanner will immediately go Bus Off after power up.
• Network cable that is too close to high voltage or other sources of noise, such as welding or other maintenance taking
place nearby, can cause a Bus Off. It could be immediate or over time.
• The Scanner or other networked devices having a bad connector, internal short or otherwise compromised CAN chip.
Immediate:
3. Check for problematic nodes by removing one node at a time and cycling network power.
4. Disconnect CANH and CANL from Scanner and verify that it shows NoTx or 79. If it still shows
Bus Off or 91 it must be replaced.
Over time:
2. Verify all aspects of topology are correct; that the network has been properly installed, powered
and grounded.
3. Verify that no sources of electrical noise are in close proximity to the network cabling.
• The 1738-ADN18 shown above has failed one or more identity key checks. It could be that there actually is a
physical 1738-ADN18P on the network but it is at a different firmware revision than the one in the project. It’s
also possible that it is a completely different device.
• The 1747-SDN exists in the project but RSNetWorx could not find a physical 1747-SDN on the network at node
2. In fact, it could find no device at all that would respond to an identity check directed at node 2. If there is a
physical 1747-SDN on the network it is likely not at the same node address shown in the project file.
• It’s important to note that some devices will not respond to a browse request while they are communicating to
their Scanner. This does not indicate a problem with the device.
Node 0
Node 10
Node 17
• The ScrollingDevice tags will constantly change and update, scrolling through each node that has an error to report.
The ScannerAddress and Status tags are showing us the DNB’s node address is 0 and
it is in IDLE mode (80).
The ScrollingDeviceAddress and Status tags are showing us node 17 has an 83 error,
which means node 17 is present in another scanner’s scanlist, which is an illegal
configuration.
• Each node has its’ own SINT tag that constantly shows its’ current error condition.