Sunteți pe pagina 1din 38

MET 382 1/14/2008

MET 382
S i ‘08
Spring

Introduction to
DeviceNet

Topics
z Introduction to DeviceNet
z DeviceNet Components
z DeviceNet Fundamentals
z Introduction to The 1756-DNB Scanner
z Configuring
g g the Scanner Module
z DeviceNet Overhead Rungs

Introduction to DeviceNet 1
MET 382 1/14/2008

Introduction
to DeviceNet

What is DeviceNet?
z DeviceNet is an example
p of a device-level local
area network (LAN).

z DeviceNet brings LAN technology down to the


lowest level of the manufacturing enterprise – the
shop floor.

z Just like a computer can function as a node on an


Ethernet network, a field device (such as a
photoelectric sensor) can function as a node on a
DeviceNet network. 4

Introduction to DeviceNet 2
MET 382 1/14/2008

Input Field Devices


z An input field device that provides on/off type
i f
information
ti (such
( h as a photo-eye)
h t ) can b
be purchased
h d
with a discrete (switched) output or a DeviceNet
output.
z An input field device that has a discrete (switched) output is
wired to a PLC discrete input module (24 volts DC or 120
volts
o s AC).
C)

z An input field device that has a DeviceNet output is wired to


a DeviceNet network.
z The DeviceNet capable input device transmits on/off data
as well as diagnostic information to the PLC. 5

Output Field Devices


z An output field device that is switched on and off
(
(such
h as a solenoid
l id valve)
l )b by a PLC program can
be:

z Wired to a discrete output module (24 volts DC or 120


volts AC),

OR

z Wired as a node on DeviceNet and then controlled by the


PLC over the network.

Introduction to DeviceNet 3
MET 382 1/14/2008

Example – Wiring input field devices


that have switched outputs

+24 VDC
Chassis

Input field devices


with switched outputs
Processor
module
(Controller)
Backplane

Discrete Input module (DC


inputs in this example)
7

Example – Wiring field devices that


have DeviceNet outputs
z DeviceNet capable field devices function as nodes on a
DeviceNet network. The processor communicates with each
field device through a device known as a scanner.

DeviceNet field devices

Device 0 Device 1
p
Backplane
Logix 5555 DeviceNet Network Cable

Controller Scanner
(1756-DNB)
Device 2 Device n

Chassis 8

Introduction to DeviceNet 4
MET 382 1/14/2008

DeviceNet Options when


Implementing a New System
z Today, a manufacturing company that implements a
PLC-based control system has essentially three
options with respect to DeviceNet:

z Option 1 – The company does not use DeviceNet!

z Option 2 – The company uses DeviceNet and ALL of the


field devices are DeviceNet capable.

z Option 3 – The company implements a hybrid system.


9

The ODVA
z DeviceNet is an open (non-proprietary) network.

z DeviceNet is supported by the Open DeviceNet


Vendors Association (ODVA).

z “The ODVA is an organization that manages


DeviceNet technology
gy and ppromotes the
worldwide adoption of DeviceNet in industrial
automation.”

z Check out: www.odva.org


10

Introduction to DeviceNet 5
MET 382 1/14/2008

Typical DeviceNet Nodes

Typical field devices that are placed on DeviceNet:

z Photoelectric sensors z Motor starters


z Proximity sensors z Motor drives
(inductive & capacitive) z Operator interfaces
z Mechanical limit switches (panel views, etc.)
z Pneumatic and hydraulic z PLCs
valves z PCs
z Electric Robots
z And much more…
11

DeviceNet Advantages
z Faster installation times
z Wiring is simpler (often reduced to quick
disconnect type connectors)

z Fewer connections compared to traditional


point-to-point wiring

z Nodes can be easily added, removed, and relocated


– even with power on!

12

Introduction to DeviceNet 6
MET 382 1/14/2008

DeviceNet Advantages (cont’d)

z Less expensive
p compared
p to traditional
point-to-point wiring
z The required number of conduit, junction boxes,
and terminal strips are reduced

z Labor costs are reduced since wiring is easier


and faster

13

DeviceNet Advantages (cont’d)

z Most devices provide useful diagnostic information


which can make systems easier to troubleshoot and
minimize downtime

z DeviceNet devices can sometimes offer more


control features compared to traditional/switched
d i
devices.
z For example, an inductive proximity sensor that has a
DeviceNet output can produce on/off data (indicating that
an object is present or absent) as well as analog data
(indicating how far away the object is). 14

Introduction to DeviceNet 7
MET 382 1/14/2008

DeviceNet Advantages (cont’d)

z DeviceNet technology can be used with


either PLC or PC-based control systems.

15

Networking in Today’s
Manufacturing Enterprise

z Spanning the entire manufacturing


man fact ring enterprise,
enterprise local
area networks play a vital role in today’s automated
manufacturing environment.

z One network, however, does not do it all. Different


levels of the manufacturing enterprise have different
needs
d and d require
i diff
differentt ttypes off networks.
t k

z Many manufacturers are using DeviceNet to network


devices commonly found on the factory floor.
16

Introduction to DeviceNet 8
MET 382 1/14/2008

Networking The Manufacturing Enterprise -


Ethernet for Business, Research, and
General Office Applications

Example 1 – Typical
Connections to Ethernet 17

Networking The Manufacturing Enterprise -


ControlNet at the Workcell Level

Example 2 – Typical Connections to ControlNet


18

Introduction to DeviceNet 9
MET 382 1/14/2008

Networking The Manufacturing Enterprise -


DeviceNet on The Shop Floor

19

Example 3 – Typical Connections to DeviceNet

DeviceNet
Components

Introduction to DeviceNet 10
MET 382 1/14/2008

Introduction

z The devices commonly attached to a DeviceNet


network can generally be classified as follows:
z Scanners
z DC Power Supply
z Field Devices
z User Interface

21

DeviceNet Scanners

Scanners

z The scanner is usually a PLC module (when using


PLC control) or an adapter card in a personal
computer (when using PC control)

z There is usually one scanner on each DeviceNet


network

z Allen-Bradley Scanners: 1756-DNB (ControlLogix),


22
1771-SDN (PLC-5), 1747-SDN (SLC-500)

Introduction to DeviceNet 11
MET 382 1/14/2008

DeviceNet Scanners (Cont’d)

Scanners

z A “scan list” is generated and then downloaded to


the DeviceNet scanner.

z The scan list includes:


z A list of the active devices on the network

z How to communicate with each device (polled, strobed,


COS, or cyclic)

z How to map the DeviceNet I/O into the ControlLogix tag


23
database

DeviceNet Scanners (Cont’d)

Scanners

z The scanner is always in one of the following


modes:
z Idle mode
z In this mode the scanner does not communicate with the
devices on the network

z Run mode
z In the run mode the scanner communicates with the field
devices (nodes) on the DeviceNet and passes data to and from
the Logix5555 controller
24

Introduction to DeviceNet 12
MET 382 1/14/2008

DeviceNet Scanners (Cont’d)

Scanners

z On each dropline of the CIMT


conveyor system the DeviceNet
scanner module is located in slot 3.

The 1756-DNB
Th 1756 DNB
ControlLogix
Scanner Module

25

DeviceNet Scanners (Cont’d)

Basic Block Diagram:

DeviceNet field devices

Device 0 Device 1
Backplane

Logix 5555 DeviceNet


Controller Scanner
(1756-DNB)
Device 2 Device n
Chassis
n max = 63 26

Introduction to DeviceNet 13
MET 382 1/14/2008

DeviceNet Power Supply

24 volt DC
Power Supply
pp y

z The DeviceNet cable carries both data and power (24v


DC).

z Some devices are totally powered from the DeviceNet


cable.
bl

z Other devices (e.g., a panel view) require additional power


from a second 24 volt DC power supply
27

DeviceNet Field Devices

Field Devices

z Allen-Bradley DeviceNet field devices are classified


as follows:
z Single point devices
z Photoelectric sensors, proximity sensors, etc.

z I/O platforms
z Compact bl
C blockk I/O
I/O, A
Armor bl
block
k I/O
I/O, or Fl
Flex I/O
z Enables traditional/switched devices to be connected to
DeviceNet

z DeviceLink
z Enables traditional/switched devices to be connected to 28

DeviceNet

Introduction to DeviceNet 14
MET 382 1/14/2008

DeviceNet Field Devices

Field Devices

z Allen-Bradley DeviceNet field devices are classified


as follows (Continued):
z User Interface
z Configures a DeviceNet network
z Usually a computer running DeviceNet configuration software

z Motor drives

z Electronic operator interfaces (EOI)


z Examples include: PanelViews, message displays, etc. 29

DeviceNet Components - Field Devices


Æ Single Point Devices

Photoelectric
Sensor
871TM Inductive
Proximity Switch

These devices have true DeviceNet outputs


and will function as a node on DeviceNet 30

Introduction to DeviceNet 15
MET 382 1/14/2008

DeviceNet Components - Field Devices


Æ I/O Platforms, Compact Block I/O

Switched field devices


are connected here

Incoming
DeviceNet cable

Compact Block I/O devices include a built-in network adapter,31


inputs/outputs, and a power supply in one small package

DeviceNet Components - Field Devices


Æ I/O Platforms, Armor Block I/O

¾ Multiple traditional/switched ¾ Armor blocks


bl k are
field devices can be wired to an factory hardened units
Armor block. that can be mounted
directly on a conveyor or
¾ Each block supports multiple
machine – no enclosure is
inputs or outputs.
necessary.
¾ The entire block functions as
one node on DeviceNet.
¾ A wide variety of I/O
combinations (inputs/outputs,
AC/DC) are available. 32

Introduction to DeviceNet 16
MET 382 1/14/2008

DeviceNet Components - Field Devices


Æ Armor Block I/O Example

These two mechanical limit switches are


connected to the Armor Block shown below

Armor block DeviceNet trunkline 33

DeviceNet Components - Field Devices


Æ I/O Platforms, Flex I/O

¾ Flex I/O can be used to connect


traditional/switched field devices to
DeviceNet.
¾ Flex I/O can be used with multiple
networks. To use Flex I/O with DeviceNet
use the 1794-ADN Adapter.
¾ Flex I/O modules mount on a DIN Rail –
There is no chassis.
¾ One Flex I/O system supports up to 8
I/O modules.
¾ A wide variety of I/O is available. 34

Introduction to DeviceNet 17
MET 382 1/14/2008

DeviceNet Components - Field Devices


Æ DeviceLink
A DeviceLink is used to connect
traditional/switched field devices to DeviceNet.
Typical field devices include:
¾ Photoelectric sensors
¾ Proximity sensors
¾ Mechanical limit switches
¾ and many more…
Traditional/switched devices have switched (discrete)
outputs (AC or DC) that are either fully on or fully
off. 35

DeviceNet Components - Field Devices


Æ DeviceLink (Cont’d)

DeviceLink wire colors and definitions

This end connects This end is connected to


to DeviceNet the traditional/switched
field device
36

Introduction to DeviceNet 18
MET 382 1/14/2008

DeviceNet Components - User Interface

User Interface

¾ The user interface is usually a computer.


¾ The user interface is used for:
‰ Node commissioning (assigning a device a node
number)
‰ Monitoring or changing device parameters
‰ Monitoring or changing the scanners scan list 37

DeviceNet Components - User


Interface (Cont’d)

User Interface

¾ The User Interface runs the DeviceNet configuration


software. The configuration software is used to setup a new
DeviceNet, troubleshoot problems associated with an existing
DeviceNet, or making changes to an existing DeviceNet.
¾ The user interface is typically assigned a high node number
(such as 62, where node numbers range from 0 to 63)
¾ DeviceNet configuration software example: Rockwell 38
Software’s RSNetworx for DeviceNet

Introduction to DeviceNet 19
MET 382 1/14/2008

DeviceNet Components - User


Interface (Cont’d)

User Interface

¾ Available Allen-Bradley PC Adapter Cards:


¾ 1784-PCID (desktop, PCI card)
¾ 1784-PCIDS (desktop, PCI card)
¾ The 1784-PCIDS allows the PC to function as a user interface or a
DeviceNet scanner if using PC-based control. This card is installed in
each dropline PC
¾ 1784-PCD (notebook, PCMCIA card)
¾ 1784-PCDS (notebook, PCMCIA card, same function as 1784-PCIDS) 39

DeviceNet
Fundamentals

Introduction to DeviceNet 20
MET 382 1/14/2008

DeviceNet Fundamentals

z Topics:
z Topology
z Assigning Node numbers
z Available Baud Rates
z DeviceNet Media
z I/O Message Types

41

DeviceNet Fundamentals -
Topology
z DeviceNet is based on a bus topology
(also called trunkline/dropline)

z A DeviceNet LAN has a main trunkline with


multiple droplines

42

Introduction to DeviceNet 21
MET 382 1/14/2008

DeviceNet Fundamentals -
Topology

43

DeviceNet Fundamentals -
Assigning Node Numbers

z Each device must have a unique node


number ranging from 0 to 63

z All devices “out of the box” default to node


63
z New devices must be reassigned a different
node number

44

Introduction to DeviceNet 22
MET 382 1/14/2008

DeviceNet Fundamentals -
Available Baud Rates

z DeviceNet supports
pp the following
g baud rates:
z 125k bps (this is the default)
z 250k bps
z 500k bps

z M
Many d
devices
i supportt autobaud
t b d
z These devices automatically sense and then set
their data rate to the correct value when they are
connected into an existing network
45

DeviceNet Fundamentals -
Available Baud Rates (Cont’d)
z The baud rate and node numbers for Allen-
Bradley scanners are set as follows:
z ControlLogix – Use the pushbutton on the front of the 1756-
DNB module
z DeviceNet cable disconnected – The pushbutton is used
to set the baud rate

z DeviceNet cable connected – The pushbutton is used to


set node number

z PLC-5 – DIP switches on the scanner module

z SLC-500 – Software (RSLogix500)


46

Introduction to DeviceNet 23
MET 382 1/14/2008

DeviceNet Fundamentals -
DeviceNet Media
z There are three media types:
z Round – Thick
z Typically used for trunkline

z Round – Thin
z Typically used for drop lines

z Flat

47

DeviceNet Media, Quick


disconnect
Flat Cable connector

Interface
z KwikLinktm Flat Media
module
S t
System
z “50% savings in installation
costs”

z Modular connector system

z “V
“Vampire
i teeth”
t th” pierce
i cable
bl

Hinged tap

Flat cable 48

Introduction to DeviceNet 24
MET 382 1/14/2008

DeviceNet Media –
Comparing Different Media

Each dropline can span up to 20 feet (6 meters)

49

DeviceNet Media –
Wire Color Codes
z A DeviceNet cable carries both data and power

Data
Drain wire
connected
to shield

Ground
+24 VDC 50

Introduction to DeviceNet 25
MET 382 1/14/2008

DeviceNet Media –
Open Style Connector

Terminating
Resistor

51

DeviceNet Media –
Sealed Style Connectors

Trunkline (flat cable)

52

Introduction to DeviceNet 26
MET 382 1/14/2008

DeviceNet Fundamentals -
I/O Message Types
z Methods for gathering device data include:
z Polled
z Strobed
z Change-of-State (COS)
z Cyclic

The actual method used depends on your


specific application and which method(s)
are actually supported by the field device.
53

Introduction to The
1756-DNB Scanner

Introduction to DeviceNet 27
MET 382 1/14/2008

The 1756-DNB Scanner

z Topics:
z 1756-DNB Scanner – Wiring Details

z 1756-DNB Scanner – Using The Message


Display

z Scanner Error Codes

55

1756-DNB Scanner –
Wiring Details

The DeviceNet cable


connected to the
1756-DNB scanner

56

Introduction to DeviceNet 28
MET 382 1/14/2008

1756-DNB Scanner –
Using The Message Display
The scanners message g
display is located on the front
of the 1756-DNB module. It
displays:
LEDs show
¾ The scanners DeviceNet node important
address status
information
¾ The scanners current mode
(idle or run)
¾ Error Codes (if any)
{See next slide for error codes} Use this button to manually
set the scanners baud rate 57
and node address

Scanner Error Codes

58

Introduction to DeviceNet 29
MET 382 1/14/2008

Scanner Error Codes

59

Configuring The
Scanner Module

Introduction to DeviceNet 30
MET 382 1/14/2008

Configuring The Scanner


Module

z Basic Procedure:
z Add the 1756-DNB DeviceNet scanner module to
the I/O Configuration Folder of the CIMT 243
template program.

z Configure the scanner module as shown on the


following slides.

Continued on next slide …


61

Configuring the Scanner Module

Add the scanner module


(1756-DNB) to the I/O
Configuration folder

Configure the module


by selecting the desired
properties

Continued on next slide … 62

Introduction to DeviceNet 31
MET 382 1/14/2008

Configuring the Scanner Module

Note:
N t Use
U revision
i i 7.1
71
when configuring the
1756-DNB DeviceNet
scanner

63

Configuring the Scanner -


Configuration Results
The Results -- The General Tab …

64
Continued on next slide …

Introduction to DeviceNet 32
MET 382 1/14/2008

Configuring the Scanner -


Configuration Results
The Results -- The General Tab (cont’d) …

By default RSLogix5000 will allocate a maximum of 124 DINTs for


input data, 123 DINTs for output data, and 32 DINTs for status.
If memory is limited the input and output data sizes can be adjusted
for your application, otherwise use the maximum values as shown 65
above.

Configuring the Scanner -


Configuration Results
The Results -- The Connection Tab …

The Logix5555
g controller will
communicate with the 1756-DNB
scanner over the backplane at the
selected RPI rate.

66

Introduction to DeviceNet 33
MET 382 1/14/2008

Configuring the Scanner -


Configuration Results
The Results -- The Module Info Tab …

This is status information


which can monitored when
you are online and in the
run mode.
d

67

Configuring the Scanner -


Configuration Results
The Results -- The Backplane Tab …

This is status information


which can monitored when
you are online and in the
run mode.

68

Introduction to DeviceNet 34
MET 382 1/14/2008

Configuring the Scanner -


Configuration Results
The Results -- The Backplane Tab …

This is status information


which can monitored when
you are online and in the
run mode. 69

Configuring the Scanner -


Configuration Results
The Results -- The Backplane Tab …

This is status information


which can monitored when
you are online and in the
run mode.

70

Introduction to DeviceNet 35
MET 382 1/14/2008

Configuring the Scanner -


Configuration Results
The Results – I/O Controller Scoped Tags

Inputs

Outputs

St t
Status

71

Configuring the Scanner -


Configuration Results
The Results – Output Tags

When this bit is set to a 1 the scanner


is placed into the RUN mode. When
this bit is reset to a 0 the scanner is
placed into the IDLE mode. See
DeviceNet Overhead Rungs

Continued on next slide … 72

Introduction to DeviceNet 36
MET 382 1/14/2008

Configuring the Scanner -


Configuration Results
The Results – Output Tags (cont’d)
Thi iis an array off DINT
This DINTs corresponding
di tto
the scanners outputs. To understand this
array your must first understand how the
outputs are mapped into the scanner’s
scan list using RSNetworx for DeviceNet!

73

Configuring the Scanner -


Configuration Results
The Results – Input Tags
This is an arrayy of DINTs corresponding
p g to the
scanners inputs. To understand this array your
must first understand how the inputs are
mapped into the scanner’s scan list using
RSNetworx for DeviceNet!

74

Introduction to DeviceNet 37
MET 382 1/14/2008

DeviceNet
Overhead Rungs

DeviceNet Overhead Rungs


Every program
which controls
a dropline on
the CIMT
conveyor must
include the
following rungs!

76

Introduction to DeviceNet 38

S-ar putea să vă placă și