Chapter 11 Intro To Devicenet
Chapter 11 Intro To Devicenet
DeviceNet Purpose
• Open network
• Link low-level devices to PLCs
– Sensors
– Pushbutton stations
– Distributed I/O blocks
– Intelligent motor started overloads
– Variable frequency drives
DeviceNet Open Network
• Open network
• Network devices (nodes) can be purchased
from many different vendors
• Network managed by Open DeviceNet
Vendors Association (ODVA)
– ODVA.ORG
DeviceNet Advantage
• Save wiring costs
– Rather than run power wires separately to each
device
– Rather than run signal wires from each field device
separately back to PLC, I/O module connect devices
directly to a network
– One cable with four wires
• Two power wires
• Two signal wires
Field Devices More Intelligent
• Traditional systems
– A photo switch counting pieces as they pass
on a conveyer was wired directly into an input
module.
• Counter programmed on ladder to track parts
count
DeviceNet Advantage
• Many DeviceNet devices are intelligent.
• Photo switch has counters and timers incorporated
into sensor.
• PLC does not need to have timer or counter on
ladder.
• When timer or counter is done, the action is carried
out through RSNetWorx for DeviceNet software to
trigger field device across the network.
DeviceNet Components
• PLC with DeviceNet scanner
• RSNetWorx software for DeviceNet
• Trunk line
• Drop lines
• Nodes
• Minimum one power supply
• Two 121-ohm ¼-watt termination resistors
• Up to 64 nodes
DeviceNet Network Example
Cable to open-style
Prox switch connector on
and cable Stack light
network PLC scanner
KwikLink cable
Power
supply
Termination
ArmorBlock resistor
Termination maximum
resistor Insulation
displacement 4 I/O points
connector CompactBlock Open-style connection
RightSight for power supply
I/O module
photo sensor
Sample of Some DeviceNet Media Components
Thick round
drop line cable Device port
T-port
KwikLink drop
line cable
KwikLink flat trunk
KwikLink flat trunk line cable
line cable insulation
displacement connector
DeviceLink
DeviceNet Cabling
• Thick round
• Thin round
• KwikLink cable
• Special-use cable
• Open-style connectors
Thick Round Cable
Node number
Example One
Trunk line length is over 820 feet so maximum baud rate for this network is 125 K.
Trunk Line Calculation Two
Power Supply
20 ft 300 ft 2 ft
3 ft
11 8 ft
6 ft 7 8 12 ft
3
6 9 12
1 4
2
5 10 13
Node numbers 14
Example Two
• Left terminating resistor to node 1 drop line is 20
feet.
• Node 1 drop line is 6 feet.
• Right terminating resistor to node 12 drop line is 2
feet.
• Node 12 drop line is 8 feet.
• Trunk line from node 12 drop to node 14 drop line is
3 feet.
• Node 14 drop line is 12 feet.
• Node 1 trunk line to node 14 is 300 feet.
Trunk Line Calculation
20 ft 300 ft 2 ft
3 ft
11 8 ft
6 ft 7 8 12 ft
3
6 9 12
1 4
2
5 10 13
14
For this example, trunk line length is maximum length of cable between any
two nodes or terminating resistors.
Trunk Line Calculation Two (2 of 2)
• The longest cable distance is between the left
terminating resistor and node 14.
• For this example, the distance between
terminating resistors would not be the correct
calculation.
• 20 + 300 + 12 = 332 feet
• Refer to table for maximum baud rate of
network.
Maximum Trunk Line Length (1 of 3)
DeviceNet open-style
cable connection point
Status LEDs
Set interface
card’s node
CompactLogix DeviceNet Scanner
DeviceNet scanner
Open-style cable connection
CompactLogix processor
• ControlLogix modular
chassis interface Information
window
module
• 1756-DNB
• DeviceNet bridge Status LEDs
module
Open-style
network connection
Example of Rockwell Automation
PLC DeviceNet Interface Modules
• SLC 500 DeviceNet scanner
– 1747-SDN
• PLC 5 DeviceNet scanner
– 1771-SDN
Example of General Electric PLC
DeviceNet Interface Modules
• Series 90-30 PLCs
– DeviceNet master module
– IC693DNM200
• VersaMax PLC
– Remote I/O DeviceNet network interface
– IC200DB1001
Personal Computer
DeviceNet Interface
• Computer type determines interface needed.
– Notebook uses PCMCIA such as a Rockwell
Automation 1784-PCD.
– Desktop or industrial computer would require
a DeviceNet 1784-expansion card.
– Computer with serial port could use Rockwell
Automation 1770-KFD interface box.
1770-KFD Interface
Desktop or notebook
computer with serial port
SLC 500 1747-SDN
Interface
cable plug
Open-style connector to
DeviceNet network
KFD to serial port 1770-KFD Interface cable
interface cable
1784-PCD Card
SLC 500 1747-SDN
Notebook Interface cables
personal computer
Drop line
Termination
resistor
Termination
Node address resistor
Trunk line
Device or node
on network
Power supply not shown in RSNetWorx
DeviceNet Scan List
• RSNetWorx software
• Scan List is part of scanner properties.
• Any device that is on the network that is to be
scanned by the PLC scanner must be in the Scan
List.
• Network devices are not mapped until placed in the
Scan List by programmer.
– Auto mapping
– Manual mapping
DeviceNet PLC Scanner Properties
ControlLogix Scan List tab
DNB scanner
properties screen
Add or remove
all devices to
or from Scan List
Electronic
keying
Auto map
devices when
add to scan list
Available Devices on Network
ControlLogix
ControlLogix 1756-DNB Mapping
Input tab
Scanner
properties
Click here to
unmap a device.
Input devices
in Scan List Unused processor
memory. Can be
manually mapped later.
Data mapping
for each node
ControlLogix processor
tags or addresses
where data is mapped.
DeviceNet Data Mapping
• ControlLogix is a 32-bit PLC.
– All tags will be either 32 bits wide or a:
• Word, called an integer (INT) which is16 bits
• Byte, called a short integer (SINT) which is 8 bits
• Minimum memory allocation for any DeviceNet
device is a SINT.
• Node 6 is a bulletin 160 Allen-Bradley Drive.
– Drive has two words of data.
• Drive status information as single bits
• Drive speed feedback represented as 0 to 32767
ControlLogix Input Mapping
32 Bits
16 Bits
31 16 15 8 7 0
SLC 500
DeviceNet Data Mapping
• SLC 500 and PLC 5 are 16-bit computers.
– All data will either be a 16-bit word or one byte.
• Minimum memory allocation for any DeviceNet
device is a byte.
• Node 6 is a Bulletin 160 Allen-Bradley Drive.
– Drive has two words of data.
• Drive Command information as single bits
• Drive Speed Command represented as 0 to 32767
SLC 500 Output Data Mapping
1747-SDN
properties view Output mapping tab
EDS tab
Parameters
tab
Identifies this device
Parameters
tab Icons for uploading
or downloading
to device
Lock identifies
read-only
parameters Click here to
monitor parameter
Parameter
Current value
number
of parameter
Parameter Editing
EDS Files
Electronic Data Sheets
Updating a network
Device’s EDS file is to
register the file.
After download,
How many browse for file
files to register on you computer.
Click next to
continue
registration.
Determine EDS File Name
[1] = 0001
[6] = 0006
[43] = 002B
[1.004] = 0100
Select Correct EDS File
Select Correct EDS File