2005 DeviceNet Quick Start Final
2005 DeviceNet Quick Start Final
2005 DeviceNet Quick Start Final
Start Document
1
DeviceNet Network Quick
Start Document
Decide whether or not to use DeviceLogix capable I/O. Is input to output closure
times a concern??
DeviceLogix is a feature that when implemented in a DeviceNet device, allows it to
run internal, programmable logic within the devices themselves. This helps to
distribute the control logic out of a central controller to the devices themselves. Also,
important is that the logic running in the device can be executed very quickly and can
be a way of achieving very fast input to output closures. This is a way of achieving
much better I/O performance, regardless of the actual DeviceNet network loading and
bandwidth. For example, with 50 function blocks running on a DeviceLogix capable
device, a local output on the device could be actuated within 4 ms, when conditioned
by only local inputs on the same device.
According to NEC regulations (North America Only), Class 2 Installations can only
be in the vicinity of up to 300 Volts, but no higher. Class 2 cable systems can carry no
more than 100 Watts. So doing a calculation of 100 Watts/24 VDC = 4.16 amps of
maximum allowable current in a Class 2 rated cable.
Since less current is allowed in a Class 2 cable, generally more power supplies will be
needed per network to obtain the same total system current as a Class 1 system.
2
DeviceNet Network Quick
Start Document
Select trunk line media according to system environment, Class rating (1 or 2) and
total trunk distance.
Various types of media exist that fall into the standard round cable and KwikLink flat
media. The round cable comes in various diameters and can be installed using open
style or sealed connections with micro or mini connectors. There are two styles of flat
cable that either use Insulation Displacement or Vampire style connectors. Remember
that the Insulation Displacement connectors can only be used on the original
KwikLink media while the Vampire style connectors can be used on both styles of flat
media. These connectors are rated at IP67 and generally make faster, less expensive
connections.
Maximum trunk length within specification for type and Baud rate.
The higher the baud rate the less total trunk cable length allowable. Each style of
trunk cable will have different maximum lengths, per baud rate. Example: Without
repeaters, a total maximum of 1640 feet (500 meters) of thick, round cable can be
used on a network at 125 Kbaud.
Network Power
Reference Publication DN-6.7.2 ( DeviceNet Cable System Planning and
Installation Manual) for Network Power specifications.
Current limit for individual trunk media cable sections within cable ratings
Total system current within rating of power supply(s).
All drop cable currents within cable rating for distance.
Class 2 system using 1787-DNPS or 1606-XLDNET4 power supply(s).
Class 1 system using 1606-XLDNET8 power supply(s).
Common mode voltage verified using graphs or long calculation specified in
publication DN-6.7.2
3
DeviceNet Network Quick
Start Document
Power supplies within specifications such as rise time, etc. detailed in publication
DN-6.7.2.
Power supply cable length and gauge adequate.
Earth ground connected to the V- and shield at one location. Ground wire of adequate
gauge.
I/O power is generally separate from network power so is not discussed in detail in
this document, but don’t forget it! In particular, most output devices (solenoids, etc)
tolerate less voltage drop and take more current than DeviceNet nodes, so output
power distribution is often more critical than DeviceNet power distribution. For
example, if you use the KwikLink auxiliary power cable it is likely that it will need
more power taps and power supplies than the KwikLink DeviceNet cable.
Configuration
4
DeviceNet Network Quick
Start Document
Node Commission all devices using either Hardware mechanism or RSNetWorx for
DeviceNet software. A few tips about node commissioning:
1. Many devices have no hardware mechanism (switches) and are preset to the
default node number 63. If you connect multiple devices with the same node
number, all but one will fail with a “Duplicate MAC ID” error. You can use the
Faulted Address Recovery (FAR) tool in RSNetWorx to recover from this in many
cases, but it’s easier to avoid the problem. Connect and commission the devices
one at a time. Many people use a small network for this – a few feet of cable, two
terminators, a small power supply and just two devices: the interface for
RSNetWorx and the device being commissioned.
2. If you’re changing from the default baud rate (125k), a separate node
commissioning network is a very good idea – you must not mix baud rates on the
same network! Most devices have autobaud, so changing baud rate is not too
difficult. There must always be at least one node with fixed baud rate, otherwise
autobaud has nothing to synchronize with. The scanner and RSNetWorx interface
normally have fixed baud rate. Baud rate changes are not implemented until the
node is reset or power-cycled, so you can change several nodes and then power-
cycle the complete system – this will also trigger the autobaud devices to
synchronize with the new rate. But if any node is reset or power-cycled
prematurely, you’ll have mixed rates and red lights! This is why the separate
network is useful.
3. Point I/O devices have a feature called Sequential Auto Addressing which can
make node commissioning very easy. If using the 1734-PDN, fit only the left-
most Point I/O module and commission it. Then fit all the other modules in the
assembly. They’ll mostly fail with Duplicate MAC ID error, but don’t worry
about this. Using RSNetWorx, go online to the left-most module and trigger
Sequential Auto Address. The modules will be re-numbered so that each is one
higher than its left-hand neighbor. You can do the same with the 1734-ADN and
1734D modules, but it’s easier – you don’t need to commission the left-most
module. The 1734D and 1734-ADN are the “left-most” modules. The 1734D
modules have switches, the 1734-ADN is fixed at 0 on PointBus (and has
switches for its DeviceNet node number). (Also read about Auto-Start Mode for
the ADN – this does the same as Sequential Auto Address, and more.)
Using RSNetWorx for DeviceNet software open up off-line file, if one exists, and go
on-line with it. If no off-line file exists, then skip this step.
Once off-line file is being displayed, go on-line with the network and allow the
network browse to finish. If any devices have a firmware version mismatch, then
resolve the mismatch for each device. Lastly, download the configuration that is
stored in the off-line file, to the entire network, including the Scanlist in the master
scanner. Save all changes to a file to create final project file. Skip the next two steps.
Generate an on-line configuration file using RSNetWorx for DeviceNet software.
Individually configure all DeviceNet slave devices using RSNetWorx for DeviceNet
software and EDS files.
5
DeviceNet Network Quick
Start Document
Create and Download Scanlist to master Scanner using RSNetWorx for DeviceNet
software.
If you need to make changes, it’s usually better to download changes to individual
device(s) rather than to the entire network. It’s quicker. More important, many
devices have only one “channel” for communications. Once they’re in a scanner’s
scanlist they can only talk to the scanner. The scanner relays messages from
RSNetWorx, but this is disrupted for a short time when RSNetWorx downloads the
scanlist.
If you need to change a device’s configuration such that its I/O sizes will change,
delete its scanlist entry first to avoid the “wrong size” error (77).
Some devices restrict changes when they’re in a scanlist. If you know the scanlist
entry will be valid after the change (i.e. I/O sizes unchanged), inhibit the scanlist
entry instead of deleting it. Then you can just enable it after the change. Alternatively,
use the scanners “Fault Network” command bit from the PLC. This effectively
inhibits ALL scanlist entries, so all devices experience a communication fault and you
can verify that they behave correctly (typically turning off outputs). This does not
inhibit RSNetWorx communications even if it’s interfaced through the scanner, so
you can use it as a quick way of making changes provided the plant is in a state where
it’s acceptable for all devices to fail.
System Performance
The basic formula for calculating this performance for a network based I/O system
reduces down to:
Backplane Time is the time necessary to get data to/from the network scanner and
Processor. This can be discrete I/O transfers, block transfers, M1/M0 transfers and in
the ControlLogix an RPI time. In version 4.001 of the 1756-DNB firmware, a 2ms
RPI can now be entered for the 1756-DNB, instead of the previous 5ms minimum.
6
DeviceNet Network Quick
Start Document
available to calculate the network time for any Polled only DeviceNet network. This
spreadsheet is currently titled Polled_Wire_Time_Calc_Estimate_Final.xls and is
available on the Rockwell Knowbase database as record Q21284 and the Distributor
Extranet under Products and Services/Complete Information/Networks/DeviceNet.
Another option is that devices can be configured for Change of State (COS), which
generally makes the network time become less of a performance factor. However, a
COS DeviceNet network time is very difficult to estimate due to the variables of how
fast I/O is changing state, which will trigger more or less network traffic. It is
generally assumed that the worst case COS network work time is equal to the normal,
polled network time, minus the InterScan Delay (ISD) time. So, the spreadsheet
mentioned above will still come in handy for estimating the COS network time.
In summary, it is important to have realistic I/O performance goals for your system. It
is also important to estimate as closely as possible the system performance of a
design, so it does not exceed these goals.
Documentation
Generate a report from RSNetWorx software to document network and I/O mapping
data locations. This can be used later when programming the control platform
processor.