Beruflich Dokumente
Kultur Dokumente
Design and
Configuration
Instructor Guide
Important User Information
This documentation, whether, illustrative, printed, “online” or electronic (hereinafter “Documentation”) is intended for
use only as a learning aid when using Rockwell Automation approved demonstration hardware, software and firmware.
The Documentation should only be used as a learning tool by qualified professionals.
The variety of uses for the hardware, software and firmware (hereinafter “Products”) described in this Documentation,
mandates that those responsible for the application and use of those Products must satisfy themselves that all necessary
steps have been taken to ensure that each application and actual use meets all performance and safety requirements,
including any applicable laws, regulations, codes and standards in addition to any applicable technical documents.
In no event will Rockwell Automation, Inc., or any of its affiliate or subsidiary companies (hereinafter “Rockwell
Automation”) be responsible or liable for any indirect or consequential damages resulting from the use or application of
the Products described in this Documentation. Rockwell Automation does not assume responsibility or liability for
damages of any kind based on the alleged use of, or reliance on, this Documentation.
No patent liability is assumed by Rockwell Automation with respect to use of information, circuits, equipment, or
software described in the Documentation.
Except as specifically agreed in writing as part of a maintenance or support contract, equipment users are responsible for:
• properly using, calibrating, operating, monitoring and maintaining all Products consistent with all Rockwell
Automation or third--party provided instructions, warnings, recommendations and documentation;
• ensuring that only properly trained personnel use, operate and maintain the Products at all times;
• staying informed of all Product updates and alerts and implementing all updates and fixes; and
• all other factors affecting the Products that are outside of the direct control of Rockwell Automation.
Reproduction of the contents of the Documentation, in whole or in part, without written permission of Rockwell
Automation is prohibited.
Throughout this manual we use the following notes to make you aware of safety considerations:
Overview of Changes from This course has been updated to reflect all feedback. Please note the
Last Major Update following major changes:
• All feedback from the FTI Feedback database as been addressed.
-- Additional information on managed switches was added.
-- Additional information on the types of cabling and connectors
was added.
-- Additional information on environment classes was added.
-- Additional information on wiring schemes was added.
-- Duplicate basic IP address information was removed from the
three Configuring and Modifying IP Addresses lessons and
added to a new lesson entitled Pinging a Module’s EtherNet/IP
Address.
• The Excel spreadsheet for the Optimizing an EtherNet/IP
Network lesson was corrected. The applications for exercises C
and D were simplified.
• The Communicating between Multiple Controllers on an
EtherNet/IP Network Using a Message Instruction exercise was
updated to reflect the data exchange between the ControlLogix
and CompactLogix controllers.
• The lesson Configuring the 9300--8EDM Ethernet Diagnostic
Module was added.
• To allow for faster and more timely updates, various manual
components have been consolidated, removed, or changed:
-- Software version numbers have been removed from instructor
and student project file names (e.g., PMV_1756r_A1_13). The
software version will be indicated at the folder level instead of
in each individual file name.
-- The cover sheet has been removed. This information is
maintained by our print vendor.
-- The agenda has been moved to the Course Overview.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
b Summary of Changes
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
Comment Form
Email: ratps@ra.rockwell.com
or Fax: 440.646.4425
Page 1 of
Date:
Contact Information:
Name:
Company and Location:
Phone: Email:
Introduction
Course Overview
Course Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I
Who Should Attend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I
Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I
Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . II
Meeting Course Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . II
Student Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . II
Lessons
Configuring and Modifying EtherNet/IP Addresses Using BOOTP- DHCP Server Software
What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4--1
Why These Skills Are Important . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4--1
Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4--1
BOOTP-DHCP Server Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4--1
Here’s How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4--4
Appendix A
Data Layout for the 9300--8EDM Ethernet Diagnostic Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . A--1
Course Overview I
Course Purpose This course prepares you to successfully design and configure an
efficient EtherNet/IPt (Industrial Protocol) network by managing
both the bandwidth requirements for a project and the number of
connections on the network. The course focuses on integrating
Logix5000t controllers and EtherNet/IP modules in the design and
configuration of an EtherNet/IP network for optimal performance.
Who Should Attend Individuals responsible for designing and configuring a new
EtherNet/IP network or managing and modifying an existing
EtherNet/IP network should attend this course. This course is not
intended for individuals who want to maintain and troubleshoot an
existing EtherNet/IP network.
Poll the class at this time to determine Students should also have successfully completed one or more of the
the amount of RSLogix 5000 experience following courses (or demonstrate equivalent experience):
the students have. If the class has a
significant amount of RSLogix 5000 • RSLogixt 5000 Level 2: Basic Ladder Logic Programming
experience, several exercises in the (CCP151)
course may take less time than
indicated. • RSLogix 5000 Level 3: Project Development (CCP143)
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
overview
II Course Overview
Meeting Course Objectives The following course structure is generally used to facilitate your
ability to meet the course objectives:
• One lesson is devoted to each task.
• Typical lesson includes most or all of these sections:
-- “What You Will Learn” -- lesson objectives
-- “Before You Begin” -- preparatory material
-- “Here’s How” -- demonstration of procedures
-- “Exercise” -- opportunity to perform new skills, often in a
hands-on lab environment
-- “How Did You Do?” -- where to go for feedback on
performance
-- “Answers” -- answers to exercises
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
overview
Course Overview III
Student Materials To enhance and facilitate your learning experience, the following
materials are provided as part of the course package:
• Student Manual, which contains the key concepts, definitions,
and examples presented in the course and includes the hands-on
exercises.
Hold up the procedures guide. Show the • EtherNet/IP Procedures Guide, which provides all the steps
Table of Contents, one or two required to complete common EtherNet/IP tasks, including the
procedures, and the Glossary. Note that
this guide will be a good reference when tasks in the exercises. By following the procedures in this job aid,
students are completing tasks back on you can immediately apply what is learned in the course to your
the job. own job.
Show the students the documentation • EtherNet/IP Documentation Reference Guide, which contains
reference guide. Take a moment to show several relevant technical publications. This searchable, electronic
the main screen, the list of publications,
and the search options. resource contains the most frequently referenced information and
is a quick and efficient on-the-job resource.
Hands-On Exercises Throughout this course, you will have the opportunity to practice the
skills you have learned through a variety of hands-on exercises.
These exercises focus on the skills introduced in each lesson. To
complete the exercises, you will use an EtherNet/IP workstation.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
overview
IV Course Overview
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
overview
Lesson 1
Designing an EtherNet/IP Cable
System
What You Will Learn After completing this lesson, you should be able to:
Inform the students that this is not an • Identify an environment class
in-depth course on Ethernet and its
associated protocols. In this lesson, they • Select EtherNet/IP network hardware components
will be given a cursory overview of the • Select cable system components
Ethernet technology so as to have a
common background as they learn and • Select a network topology
explore the various facets of designing
and configuring an EtherNet/IP network. • Select a wiring scheme
• Identify network and operational requirements
Tip " Standard EtherNet/IP and Ethernet CIP safety modules can
communicate on the same network.
Briefly explain the OSI model. The OSI model consists of seven layers, each of which uses the
services of the layer below it and supplies higher level services to the
layer above it to communicate. An EtherNet/IP network (as opposed
to a “traditional” Ethernet network) is defined by the CIP protocol
used at the application layer (layer 7) of this model.
Indicate to the students that the upper The following table correlates the seven layers with some common
three layers are commonly grouped protocol:
together under the CIP stack. Additional
examples at the specific layers are:
Layer Protocol
Session: NCP, RPC, ADSP
Application CIP, CSP
Presentation: SAP, RPC, AFP Presentation HTTP
Application: NFS, SNMP, MIME Session FTP, TELNET
Transport TCP, UDP
Network IP
Data Link Ethernet
Physical 10/100baseT, Transceiver, etc.
Environment Class
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
desib300
Designing an EtherNet/IP Cable System 1--3
Climatic EMC
Mechanical Ingress
Chemical (Electromagnetic)
Electrostatic
Shock Liquid particles Temperature
discharge
Radiated and
Vibration Humidity conducted radio
frequency
Contaminants
Crush Transients
(dry and liquid)
Impact Solar radiation Magnetic fields
Tip " For further detailed information on the MICE concept, see the
ODVA’s EtherNet/IP Media Planning and Installation Manual at
http://www.odva.org.
Bridges are used when there is too Bridge: A software tool used to filter data between segments based
much traffic on a network. They save on MAC addresses of the data packets before they are transmitted:
bandwidth by restricting which segments
see which packets; however, broadcast Only messages between
messages traverse network segments nodes on different segments
and therefore negatively impact network pass through the bridge.
performance.
Bridges can connect different media
types together.
Segment A Segment B
Bridge
Segment A
00BC03 . . .
Messages between 00AE44 . . . Messages between
nodes on segment A nodes on segment B
stay on segment A. stay on segment B.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
desib300
1--4 Designing an EtherNet/IP Cable System
The type of transceiver used on an Transceivers: Hardware devices responsible for the reception and
Ethernet device determines the type of transmission of electrical signals on a network. Every device on a
media that the device connects to.
network has a transceiver.
Mention that hubs are generally Hub: A hardware device that transmits data from one device to
discouraged in control applications. another within a segment. Hubs serve as a central connection point
They do not help to control collisions
among signals from devices for nodes on a star topology and serve as a multi-port repeater. These
concurrently accessing the network devices consume more network bandwidth than a switch and
media. decrease network performance:
A message coming in one port will Hubs do not selectively route packets
be broadcast out every other port. of information to specific devices.
Routers are used extensively on the Router: A device that connects network segments and routes
internet. Sometimes routers are referred messages via routing tables between networks. A router segments
to as “gateways.”
LANs to balance traffic within workgroups:
Router
Switches are different than hubs in that a Switch: A hardware device that connects multiple segments to
switch only transmits out the port that multiple ports and filters data (similar to a bridge). A switch is the
the message needs to be transmitted. A most critical component in an EtherNet/IP network as its filtering
switch is a multi-port bridge.
Rockwell Automation recommends that abilities allow it to reduce network congestion and increase the speed
managed switches be used on the plant of throughput on a network:
floor. Managed
switch criteria Incoming messages are only Switches selectively route packets of
will be discussed transmitted to desired node. information to specific devices.
later in this lesson.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
desib300
Designing an EtherNet/IP Cable System 1--5
Switch Selection
Caution students about buying switches One critical component in designing an EtherNet/IP network is the
from the local computer store. Industrial selection and implementation of a switch. Switches must be chosen
switches, though expensive in the
beginning, will be a tremendous cost based on their suitability to the environment in which they will be
saver over time given the harsh working used. There are two types of switches:
conditions of the plant environment.
• Unmanaged
• Managed
Mention that unmanaged switches are Unmanaged switches are similar to hubs in that there is no
ideal for small, simple networks. configuration needed. Once unpacked, powered up, and connected to
a network, an unmanaged switch will build a routing table
automatically and forward frames out the appropriate ports with no
additional user intervention.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
desib300
1--6 Designing an EtherNet/IP Cable System
Accounting Engineering
Point out that VLANs reduce With VLANs, you can configure a switch to share two isolated
management effort to create networks without the traffic from one network burdening the
subnetworks and increase control over
multiple traffic types. other. IP multicast traffic from VLAN 1 will not reach VLAN 2.
A VLAN blocks broadcast traffic and adds a measure of security
between networks.
Also, each VLAN has a separate subnetwork which is part of the
isolation for example that keeps the PC in VLAN 1 from
communicating with the controller in VLAN 2.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
desib300
Designing an EtherNet/IP Cable System 1--7
Controller 1 PC Controller 2
1 3 2
VLAN 1 VLAN 2
4 5 6 7 8
I/O
Mention that a designer should provide Besides switch type selection, you must determine the number of
for growth of at least 20% in case of switches and the number of ports for each switch chassis. Each
system expansion.
network device will require a corresponding switch port for
connection to the network.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
desib300
1--8 Designing an EtherNet/IP Cable System
Copper Cabling
There are two types of copper cabling:
Tell the students that coaxial cable is not • Coaxial: A cable constructed of an insulated center conductor
used very much because of its 10 Mbps surrounded by a shield. This cable can carry high-frequency or
limit.
broadband signals.
Mention that twisted pair is ordinary • Twisted-Pair: Two insulated wires twisted around each other at
copper wire that connects home and regular intervals. The number of twists per foot directly relates to
many business computers to the
telephone company. the relative noise immunity of the pair. There are two
twisted-pair cable types:
-- Shielded, balanced twisted-pair (STP/ScTP): Two insulated
twisted wires that have a foil jacket to prevent crosstalk and
Tell the students that if their application noise from an outside source. STP/ScTP should be used in
includes drives greater than 10 HP, high high-EMI (electromagnetic interference), noisy environments
current devices, or electrostatic
processes then they should use shielded and in applications that require conduit.
cabling.
Shielded cables should not be used in
environments that are likely to have ground
offsets due to electrical storms or poorly grounded
buildings/installations.
Mention that two-pair cables will not Two-pair cabling consists of a total of four wires, with two wires
support future expansion and/or other twisted in a pair. Four-pair cabling consists of a total of eight wires,
services. These cables may not support
1 Gbps and 10 Gbps applications. which are twisted into four pairs of two wires each. The use of star
quad 4 conductor cables is not recommended.
Two-pair cables are easier to use than four-pair cables and have less
chance of crosstalk of a signal into adjacent channels or into another
part of a system. Two-pair cables are suitable for use in the following
applications:
• Machine applications
• Flexible applications
Mention that an example of high flexible • High flexible applications
applications is one that uses robots.
• Elevated noise applications
Four-pair cabling should be used in the following applications:
• Applications that support multi-services, such as voice, video,
and data
• Applications that might be subject to future increased traffic
Fiber optic cable has the ability to transmit signals over much longer
distances than coaxial and twisted pair. It also has the capability to
carry information at greater speeds.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
desib300
1--10 Designing an EtherNet/IP Cable System
Connectors
The following are copper connector types supported by EtherNet/IP
communications:
Explain that the “RJ” in RJ45 means • Encapsulated 8-Way Modular Connector (RJ45): Used in
Registered Jack. two-pair cabling.
Mention that both connector designs -- Sealed 8-way modular connectors are suitable for use in
provide sealing to IP65/67 in accordance information and control applications.
with the IEC60529 standard
(International Protection Class).
8-Way Modular Sealed Jack and 8-Way Modular Sealed Jack and
Plug in a Metal Housing Plug in a Plastic Housing
Cord sets, patch cords, or jumpers are a piece of cable with two
connectors on either end. Basic construction of cords is a male/plug
connector on both ends of the cable since most active and passive
devices come equipped with a female/receptacle jack.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
desib300
Designing an EtherNet/IP Cable System 1--11
Sealed LC
Sealed Micro FX
Briefly mention that ring and token ring Network Topology: A description of the structure that provides the
topologies are not used in EtherNet/IP communications interconnection among nodes of a network in terms
networks.
of its layout. In communication networks, a topology is usually a
schematic description of the arrangement of a network, including its
nodes and connecting lines.
Tip " This topology is used with many existing Ethernet network
architectures but it is seldom used in new architectures.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
desib300
1--12 Designing an EtherNet/IP Cable System
Star topologies are best suited for environments using twisted pair
and/or fiber optic wire:
Tip " This is the most common topology used in EtherNet/IP network
architectures.
Tell the students that it is possible to use Tree (Combination) Topology: Uses two or more star networks
different cables within a topology. connected together. The central computers of the star networks are
Example: Coaxial cabling can be used
for the bus portion and twisted-pair can connected to a main bus. Thus, a tree network is a bus network of
be used in the star networks. star networks:
Tip " The tree topology should also be given careful consideration when
designing an EtherNet/IP network as it effectively blends the
advantages of a star and bus topology.
Wiring Schemes
Point out that some applications will The total length of each horizontal cable segment must not exceed
require more jumpers. In these 100 meters between any two active devices or 90 meters with two 5
applications, the total length of
horizontal wiring must be adjusted to meter jumpers or patch cords.
compensate for the added loss of each
connector pair.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
desib300
Designing an EtherNet/IP Cable System 1--13
Mention that this wiring scheme • Semi-Modular Wiring Scheme: Used in applications, such as
sacrifices flexibility and is not compliant control, where there are numerous enclosures to protect
to TIA standards.
equipment.
Point out that this wiring scheme saves
on space and cost.
Automation
PLC Switch Outlet
I/O
Industrial Work
Industrial Patch Cord Area Cord
Work Area
Cord
PLC Switch
I/O
Industrial Patch Cord
Work Area
Cord
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
desib300
1--14 Designing an EtherNet/IP Cable System
Briefly discuss the wiring guidelines. When wiring EtherNet/IP cables, follow these guidelines:
• If a cable must cross power lines, cross it at right angles.
• Route at least 1.5 m (5 feet) from high-voltage enclosures or
sources of RF/microwave radiation, induction-heating equipment.
• If the conductor is in a metal pathway or conduit, bond each
section of the wireway or conduit to the adjacent section so that is
has electrical continuity along its entire length. Each section
should be bonded to the enclosure at the entry point.
• If you need to protect or route an Ethernet cable in a metal
conduit then you should use a shielded cable. The shield must not
come in contact with the conduit at any point.
Point out that if the condition of your Shields for the communications equipment shall be referenced only
building wiring and grounding system is to the signal ground and no equipment shall be referenced to the
not known, then star grounding is
recommended. signal ground. The star grounds of the two systems shall converge to
one point within the building:
Conductive Path for Noise
Shielded Communications Cable
Enclosure Enclosure
#1 #2
Communications
PE Common
Common
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
desib300
Designing an EtherNet/IP Cable System 1--15
STP Cable
DEVICE
TERMINATION
Earth Grounded
Cable Shield
.01 uF 1
500V Meg MOV
STP Cable
DEVICE
TERMINATION
Earth Grounded
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
desib300
1--16 Designing an EtherNet/IP Cable System
Enclosure Enclosure
#1 #2
Shielded
Communication
Unshielded Cables
Shielded Communication
Communication Cable
Cables
Motor
Briefly go over these network and In order to design an effective EtherNet/IP network, it is essential
operational requirements. that the control network is separated from the information (office)
environment. Some common practices to achieving this goal include:
• Use industrial grade media and components
• Minimize device load due to unwanted IP multicast traffic
• Minimize switch load due to unwanted IP multicast traffic
• Minimize network load due to unwanted incoming IP multicast or
broadcast traffic
• Block IP multicast traffic generated within the EtherNet/IP
sub-net from propagation into the plant network
• Block traffic, especially broadcast traffic like streaming video,
from the plant network from propagating to the EtherNet/IP
sub-net
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
desib300
Designing an EtherNet/IP Cable System 1--17
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
desib300
1--18 Designing an EtherNet/IP Cable System
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
desib300
Exercise: Designing an EtherNet/IP Cable System 1--19
Context:
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
dese300
1--20 Exercise: Designing an EtherNet/IP Cable System
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
dese300
Exercise: Designing an EtherNet/IP Cable System 1--21
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
dese300
1--22 Exercise: Designing an EtherNet/IP Cable System
Answers Exercise A
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
dese300
Exercise: Designing an EtherNet/IP Cable System 1--23
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
dese300
1--24 Exercise: Designing an EtherNet/IP Cable System
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
dese300
Lesson 2
Optimizing an EtherNet/IP Network
What You Will Learn After completing this lesson, you should be able to:
• Determine the total number of CIP connections on a network:
-- Identify what CIP and TCP connections are
-- Identify types of CIP connections
-- Identify what a multicast address is
-- Count CIP connections
• Determine system bandwidth requirements
• Predict maximum input and output times for CIP connections
• Determine HMI nominal system limitations
• Identify alternative module and connection strategies
Key Terms
Cached connections should be used Cached Connection: A continuously open connection associated
when an MSG instruction will execute with an MSG instruction.
repeatedly.
Connection: A communications mechanism (path) that transfers data
between two modules within a system, for example, between a
controller and an I/O module.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxib300
2--2 Optimizing an EtherNet/IP Network
Explain that explicit connections do not Explicit Connection: A network connection used to transfer
use an RPI. non-critical data such as that used in device configuration or data
? What are some examples of an collection:
• The process of downloading programs/projects and the messaging
explicit connection?
that occurs between processors or controllers
Answer: MSG instructions, PanelView
Plus terminals, RSView graphic displays • Commonly referred to as a Class 3 connection
• A connection that does not use an RPI
State that implicit connections use an Implicit Connection: A network connection used to transfer
RPI. real-time I/O data (e.g., rack-optimized connections, direct
? What are some examples of an connections, produced-consumed connections):
• Commonly referred to as a Class 1 connection
implicit connection?
Answer: Rack-optimized connections; • A connection that uses an RPI
direct connections, PanelView terminals
RPI (Requested Packet Interval): The maximum amount of time
Note: PanelView terminals can establish before data is sent to a Logix5000 module.
either an implicit or explicit connection.
Inform the students that data may be RTS (Real Time Sampling Rate): A parameter that instructs a
transmitted faster than the RPI they Logix5000 analog module to scan all of the input channels, store the
assign to a module.
data in the on-board memory, and multicast the updated channel data
and other status data to the backplane of the local chassis.
CIP Connections
State that CIP can also be used when CIP (Common Industrial Protocol) Connection: A transfer of data
no I/O is involved. from an application running on one end node to an application
running on another end node. CIP is an open protocol managed by
ODVA. A CIP connection is required to control a rack of I/O
devices.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxib300
Optimizing an EtherNet/IP Network 2--3
The benefits of TCP and CIP connections are reliability and speed:
Approximate timeout for an explicit • A TCP connection is extremely reliable since it requires a
message is 30 seconds. “three-way handshake” at the transport layer (i.e., a handshake
Approximate timeout for an implicit occurs between the devices).
message is the product of the RPI and a
network multiplier that is selected by the • A CIP connection provides reliability since each connection has a
controller’s firmware so that the timeout timer associated with it that recognizes the loss of
is greater than or equal to 100ms. communications.
• A CIP connection (implicit or explicit) provides high-speed
communications since their message overhead (e.g., source and
destination addresses) are predefined with a connection and are
not transmitted in each message.
TCP connections are:
• Used for all Ethernet communications
• Used and remain open when implicit communications are used
• Required for all CIP messaging, including connected and
unconnected (temporary/short lived) messaging
Multicast Addresses
Broadcast Message: A message sent from a single sender to every
node on a network.
Tell the students that input data can be Multicast Message: A message sent from a single sender to one or
sent using a multicast message. more recipients on a network.
Tell the students that output data can Unicast Message: Communication between a single sender and a
only be sent using a unicast message. single recipient over a network (i.e., point-to-point communications).
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxib300
Optimizing an EtherNet/IP Network 2--5
Tell the students that if they plan on Rack Optimization: In a Logix5000 system, an I/O communications
using rack optimization, it is in their format that:
company’s best financial interest to
purchase non-diagnostic digital I/O • Enables an EtherNet/IP module to collect digital I/O words into a
modules for the optimized racks. rack image
• Conserves EtherNet/IP network bandwidth
• Conserves the number of connections
• Applies only one RPI (requested packet interval) value to all
modules (as assigned to the remote EtherNet/IP module)
• Limits the amount of status and diagnostic information that is
available
Emphasize to students that Rack-Optimized Connection: A connection between a
rack-optimization applies only to digital communications module (such as an EtherNet/IP module) and an I/O
I/O modules.
rack that enables the communications module to collect digital I/O
words into a rack image instead of collecting from each I/O module
separately.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxib300
2--6 Optimizing an EtherNet/IP Network
State that these connections use an Packet: The data transmission unit exchanged at the network layer.
RPI. One of the key features of a packet is that it contains the address of
the destination device in addition to data.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxib300
Optimizing an EtherNet/IP Network 2--7
Tip " Since explicit messaging throughput is subject to both network and
target availability, simply reserving 10% of the total bandwidth does
not guarantee throughput.
Emphasize that there is a minimum of CIP connections are efficient communications paths for high
two packets per RPI per CIP connection performance of I/O data on an EtherNet/IP network. CIP connections
as this fact will be used in calculating the
maximum input and output times for a are bidirectional, which means that during every RPI interval, a
system. packet of information is initiated at both ends of a connection (i.e.,
there is a minimum of two packets per RPI per CIP connection).
State that the first two factors are the The response speed of devices on an EtherNet/IP network are
main influencers. dependent on several factors:
• RPI
• Number of implicit connections
Tell the students that there is input delay • System delays:
for output modules.
-- Input filters
-- Transmission
-- Queueing
-- Switch latencies
Using these factors, it is possible to approximate the maximum input
or output times for a system. Once calculated, these times can serve
as a benchmark estimate for the performance of a system and
determine if the system will be performing at an acceptable level.
System Delays
System delays include input filters, System Delays: Factors that impede or impact the maximum input
transmission delay, switch latency, and or output times associated with CIP connections.
queue delays; these will be discussed in
greater detail later in the lesson.
The principal types of delays are identified in the following table:
Delay Description
Discrete input modules have filters. There are no filters for outputs, so
Input filter there is no additional delay for outputs. Outputs are always sent using an
RPI timer.
The transmission delay is the interval of time that it takes a packet to be
Transmission transmitted at a specific bit rate (e.g. 100Mbps).
transmission delay = 0.01 ms x (number of CIP connections)
Switch latency is the delay between reception of the first bit and
transmission of the first bit. This delay depends on the type of switch. It is
Switch
typically 0.1 ms.
switch delay = 0.1 ms
Input data is sent from the remote rack (adapter), through a switch,
through a communication module in the controller rack, and finally to a
controller (scanner). If two or more input CIP connections are
Queue
simultaneously ready to be transmitted, they must be transmitted
sequentially.
queue delay = 1/PPS x (number of CIP connections)
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxib300
2--8 Optimizing an EtherNet/IP Network
Maximum Number
Terminal Type Controller/Processor
of Terminals*
PanelView Plus with extended
ControlLogixt 10
memory/VersaView CE 700H-1500H terminals
MicroLogixt 2
PanelView Plus 700-1500
700 1500 terminals with SLCt 500 7
standard memoryy CompactLogixt 3
ControlLogixr 14
MicroLogix 2
SLC 10
PanelView Plus 400-600
400 600 terminals
CompactLogix 3
ControlLogix 6
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxib300
Optimizing an EtherNet/IP Network 2--9
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxib300
2--10 Optimizing an EtherNet/IP Network
Answer: Six CIP connections. • Determine the number of CIP connections if the modules in the
remote rack are not rack-optimized.
Answer: Three CIP connections. • Determine the number of CIP connections if the modules in the
remote rack are listen-only rack-optimized.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxib300
Optimizing an EtherNet/IP Network 2--11
To Company Intranet
EtherNet/IP EtherNet/IP
PanelViewt
Module #5 Module #7
Plus Terminal
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxib300
2--12 Optimizing an EtherNet/IP Network
Bandwidth Allocation
Direct Connections:
2 × Connections
RPI
Produced Tags:
1 + Produced Tags
RPI
Consumed Tags:
2 × Consumed Tags
RPI
Total Packets/Second:
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxib300
Optimizing an EtherNet/IP Network 2--13
Direct Connections
Digital Module(s):
1 × RPI
Produced/Consumed Tags:
1 × RPI
Note: This worksheet calculates delays for individual modules, not a cumulative total of all delays.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxib300
2--14 Optimizing an EtherNet/IP Network
Direct Connections
Digital Module(s):
1 × RPI + Input Filter + Transmission + Switch + Queue
Produced/Consumed Tags:
1 × RPI + Transmission + Switch + Queue
Note: This worksheet calculates delays for individual modules, not a cumulative total of all delays.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxib300
Optimizing an EtherNet/IP Network 2--15
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxib300
2--16 Optimizing an EtherNet/IP Network
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxib300
Exercise: Optimizing an EtherNet/IP Network 2--17
Exercise: Optimizing an
EtherNet/IP Network
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxe300
2--18 Exercise: Optimizing an EtherNet/IP Network
Tip " Watch the units. RPIs are calculated in ms while packets/second are
calculated in seconds (i.e., 1 ms = 0.001 sec).
Bandwidth Allocation
Direct Connections:
2 × Connections
RPI
Produced Tags:
1 + Produced Tags
RPI
Consumed Tags:
2 × Consumed Tags
RPI
Total Packets/Second:
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxe300
Exercise: Optimizing an EtherNet/IP Network 2--19
For help performing steps in this exercise, see the associated job
aid(s).
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxe300
2--20 Exercise: Optimizing an EtherNet/IP Network
Directions:
Tip " Watch the units. RPIs are calculated in ms while packets/second are
calculated in seconds (i.e., 1 ms = 0.001 sec).
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxe300
Exercise: Optimizing an EtherNet/IP Network 2--21
Bandwidth Allocation
Direct Connections:
2 × Connections
RPI
Produced Tags:
1 + Produced Tags
RPI
Consumed Tags:
2 × Consumed Tags
RPI
Total Packets/Second:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxe300
2--22 Exercise: Optimizing an EtherNet/IP Network
You have been recently hired as the company’s system designer. The
plant’s EtherNet/IP network and the modules used in the production
line are displayed in the following schematic:
Switch
To Company Intranet
EtherNet/IP EtherNet/IP
PanelViewt
Module #7 Module #8
Plus Terminal
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxe300
Exercise: Optimizing an EtherNet/IP Network 2--23
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
Tip " Watch the units. RPIs are calculated in ms while packets/second are
calculated in seconds (i.e., 1 ms = 0.001 sec).
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxe300
2--24 Exercise: Optimizing an EtherNet/IP Network
Bandwidth Allocation
Direct Connections:
2 × Connections
RPI
Produced Tags:
1 + Produced Tags
RPI
Consumed Tags:
2 × Consumed Tags
RPI
Total Packets/Second:
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxe300
Exercise: Optimizing an EtherNet/IP Network 2--25
Tip " Watch the units. RPIs are calculated in ms while packets/second are
calculated in seconds (i.e., 1 ms = 0.001 sec).
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxe300
2--26 Exercise: Optimizing an EtherNet/IP Network
Direct Connections
Digital Module(s):
1 × RPI + Input Filter + Transmission + Switch + Queue
Produced/Consumed Tags:
1 × RPI + Transmission + Switch + Queue
Note: This worksheet calculates delays for individual modules, not a cumulative total of all delays.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxe300
Exercise: Optimizing an EtherNet/IP Network 2--27
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxe300
2--28 Exercise: Optimizing an EtherNet/IP Network
Directions:
Switch
To Company Intranet
EtherNet/IP EtherNet/IP
PanelViewt
Module #7 Module #8
Plus Terminal
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxe300
Exercise: Optimizing an EtherNet/IP Network 2--29
Tip " Watch the units. RPIs are calculated in ms while packets/second are
calculated in seconds (i.e., 1 ms = 0.001 sec).
Bandwidth Allocation
Direct Connections:
2 × Connections
RPI
Produced Tags:
1 + Produced Tags
RPI
Consumed Tags:
2 × Consumed Tags
RPI
Total Packets/Second:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxe300
2--30 Exercise: Optimizing an EtherNet/IP Network
Answers Exercise A
Bandwidth Allocation
1000 i.e., 1000 = 2 ×
10
1+2×2
1000
5
1000
Direct Connections:
2 × Connections
RPI
Produced Tags: 0
1 + Produced Tags
RPI
Consumed Tags: 0
2 × Consumed Tags
RPI
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxe300
Exercise: Optimizing an EtherNet/IP Network 2--31
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxe300
2--32 Exercise: Optimizing an EtherNet/IP Network
Exercise B
Bandwidth Allocation
4500 i.e., 4500 = 2 ×
20
45
1000
Direct Connections:
2 × Connections
RPI
Produced Tags: 0
1 + Produced Tags
RPI
Consumed Tags: 0
2 × Consumed Tags
RPI
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxe300
Exercise: Optimizing an EtherNet/IP Network 2--33
3. Yes and no. The bandwidth used will be on the edge of the
maximum allowable bandwidth for implicit connections. The
amount of explicit messaging the 1756-ENBT module will be
handling will (should) impact your decision.
4. If possible, split the communications load between two (or
more) modules.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxe300
2--34 Exercise: Optimizing an EtherNet/IP Network
Exercise C
Bandwidth Allocation
4140
Direct Connections:
2 × Connections Connections RPI Packets/Sec.
RPI Digital: 9 10 1800
9 20 900
11 25 880
Analog: 3 30 200
2 40 100
6 50 240
PanelView:1 100 20
Produced Tags: 250
1 + Produced Tags
RPI
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxe300
Exercise: Optimizing an EtherNet/IP Network 2--35
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxe300
2--36 Exercise: Optimizing an EtherNet/IP Network
0
Rack Optimized Connections:
1 × RPI + Input Filter + Transmission + Switch + Queue
Direct Connections
Output: 11 @ 25 = 27.4 ms
6 @ 50 = 51.4 ms
Isolated Analog Module(s):
1 × RTS + Transmission + Switch + Queue
Produced/Consumed Tags: 4 @ 50 = 51 ms
Note: This worksheet calculates delays for individual modules, not a cumulative total of all delays.
Note: For help with understanding transmission, switch, and queue information, see the delay types chart.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxe300
Exercise: Optimizing an EtherNet/IP Network 2--37
Exercise D
Bandwidth Allocation
PanelView: 1 100 20
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
maxe300
2--38 Exercise: Optimizing an EtherNet/IP Network
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
maxe300
Lesson 3
Pinging a Module’s EtherNet/IP
Address
What You Will Learn After completing this lesson, you should be able to:
• Identify the class of an IP address
• Identify if two EtherNet/IP devices are on the same subnet
• Ping an Ethernet IP address
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pdiib300
3--2 Pinging a Module’s EtherNet/IP Address
Tell the students that every Rockwell MAC (Media Access Control) Address: A static address that is
Automation/Allen-Bradley factory-assigned to an Ethernet and/or EtherNet/IP device. This
Ethernet/EtherNet/IP product has a MAC
address in the form address is a unique 6-byte address -- each digit is a hex number -- that
00:00:BC:XX:XX:XX. is embedded in the circuitry of every device that is on an EtherNet/IP
Inform the students that a device’s MAC network:
address is also referred to as the
device’s Hardware Address or Ethernet
Address.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pdiib300
Pinging a Module’s EtherNet/IP Address 3--3
Explain that if a message uses a host Primary/Secondary DNS Server Address: Allows a server to
name address, it must be converted to accept a “text-based” address and perform a database lookup to
an IP address before it can be sent to
the destination controller. When the convert it to an IP address to be used by the network.
EtherNet/IP module of the sending
controller has a DNS server address
configured, the DNS server takes the
host name address and converts it to the Classes of IP Addresses
IP address of the destination
EtherNet/IP module and the message There are four different classes of IP addresses. The IP address used
can be sent. by an organization determines the number of possible networks and
.There is a fifth class, E, of IP addresses end devices that they can have. The classes are determined by the
that uses the initial byte addresses from first few bits of each IP address:
240 to 248. These addresses are not
used and are reserved for experimental 0 1 2 8 16 24 31
purposes.
Class A 0 Net ID Host ID
Explain that as the number
of nodes
decreases/increases,
the number of networks Class B 1 0 Net ID Host ID
increases/decreases.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pdiib300
3--4 Pinging a Module’s EtherNet/IP Address
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pdiib300
Pinging a Module’s EtherNet/IP Address 3--5
Inform the students that they will be Subnets and Subnet Masks
shown how to identify if two devices are
on the same network later in this lesson. Subnet Mask: An address that enables distinction between networks
This section may confuse your students. by “masking” IP address bits that denote the same network and
Network administrators are often
stymied by this topic. “exposing” bits that denote different networks:
Since this topic is vast and perplexing, • Networks are often divided up into smaller units called subnets.
present the material, add some • Network administrators create subnets as a management tool:
additional information if warranted, and
then assist the students as they work -- Routes packets to the appropriate subnetwork based on IP
through the examples and exercises. addresses
If there is some time at the end of the -- Easier to monitor the health of the entire network
course, you could use it to further
discuss this topic. -- Minimizes effort required to troubleshoot and isolate problems
-- Capable of isolating users based on:
If pressed for additional information,
refer them to the Internet. Entering the -- Geography
terms subnet or subnet mask into their -- Departments
favorite search engine will reward them
with a plethora of information. The -- Media protocols
search results will provide them -- Communication needs (e.g., plant floor I/O vs office
background information, subnet
calculators, and web and classroom email).
learning opportunities. • Plant environment communications benefit when plant floor
communications operate on a separate subnet from the office
communications:
-- Accommodates timeliness of operations
-- Enhances system maintenance and upgrade options
-- Adds levels of security.
? How would using subnets on a plant Subnet masks allow for two devices to determine whether or not they
floor assist your company’s operations? exist on the same subnet:
Answer: Subnets would make it • If two devices are on the same subnet, they are able to
possible to isolate different plant floor communicate directly with one another.
operations (e.g., welding, milling) from
each other and from the • If two devices are on different subnets, the data must first be sent
office/administrative systems. This to a router before the targeted device receives the data sent by the
allows one operation to be shut down
without directly impacting the whole source device.
plant. Subnets will reduce the risk of
security threats (e.g., Trojan horse
attacks). How a Subnet Mask Operates
A subnet mask, like an IP address, is a 32-bit address that is
? How many of you have ever normally grouped into 4 bytes for ease of communication and
programmed an MVM instruction? How understanding:
does it work?
Inform the students that a subnet mask Typical Subnet Mask
operates in a manner similar to an MVM
instruction; hopefully they will be able to 255.255.XXX.XXX
translate some of that familiarity when
identifying if two IP addresses are on the
same subnet.
Binary Equivalent: 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . x x x x x x x x . x x x x x x x x
Consecutive “1’s” Represent Network Portion of IP Address
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pdiib300
3--6 Pinging a Module’s EtherNet/IP Address
Example
Compare the EtherNet/IP addresses of two devices and determine
if they are on the same subnet:
EtherNet/IP Address: 165.88.73.129
EtherNet/IP Address: 165.88.74.187
Subnet Mask: 255.255.240.0
EtherNet/IP Address: 1 0 1 0 0 1 0 1 . 0 1 0 1 1 0 0 0 . 0 1 0 0 1 0 0 1 . 1 0 0 0 0 0 0 1
EtherNet/IP Address: 1 0 1 0 0 1 0 1 . 0 1 0 1 1 0 0 0 . 0 1 0 0 1 0 1 0 . 1 0 1 1 1 0 1 1
Subnet Mask: 11111111.11111111.11110000.00000000
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pdiib300
Pinging a Module’s EtherNet/IP Address 3--7
EtherNet/IP Address: 1 0 1 0 0 1 0 1 . 0 1 0 1 1 0 0 0 . 0 1 0 0 1 0 0 1 . 1 0 0 0 0 0 0 1
EtherNet/IP Address: 1 0 1 0 0 1 0 1 . 0 1 0 1 1 0 0 0 . 0 1 0 0 1 0 1 0 . 1 0 1 1 1 0 1 1
Subnet Mask: 11111111.11111111.11111111.00000000
? What are some reasons you may As demonstrated by these examples, it is possible to expand (or
want to expand your network? Contract contract) the network environment by changing the subnet masks
it? associated with the devices on a network.
Answer: Isolate devices, processes,
and enhance security. Limiting the
number of subnets you have increases Gateways
the likelihood that two devices can Gateways: Nodes on a network that act as entrance and exit portals
communicate directly with each other.
This may reduce the number of routers between external networks:
you must purchase, maintain, and • Data packets being shared between internal and external devices
monitor.
Gateways are glorified routers that must pass-through at least one gateway in establishing
control the flow of data between external communications.
networks and an enterprise’s internal
network. • Gateways often act as a firewall and protect the resources of a
private network from users from other networks.
• Gateways may have more than one IP address associated with
them -- one for internal users and one for external users.
Default Gateway: The router (gateway) to which all remote packets
must be sent in order to be routed to their final destination (i.e., if
two devices are not on the same network, the packet will be sent to
the gateway).
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pdiib300
3--8 Pinging a Module’s EtherNet/IP Address
Data Flow
Data generated by a source device will travel to its destination device
across an EtherNet/IP network using either a direct route or an
indirect route. The path a packet of data takes is transparent to the
user and the data may have to traverse through several routers before
arriving at its final destination:
Source Device
Devices in the No
same IP class?
Yes
R
O
Devices in the No U
same network? T
E
R
Yes
Devices in the No
same subnet?
Yes
Destination
Device
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pdiib300
Pinging a Module’s EtherNet/IP Address 3--9
Ping Command
Device Is Active
on the Network
Device Is Not
Active on the
Network
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pdiib300
3--10 Pinging a Module’s EtherNet/IP Address
Tell the students that if they know the Successful (ping) returns are an indication that:
module’s MAC address, following up the
ping command with the arp command • A device is active on the network with the IP address used by the
will help determine if the active device is ping command.
the one they are seeking.
A successful ping command does not guarantee
that a particular device is active. A successful ping
identifies that a device with the identified IP
address is active on the network.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pdiib300
Pinging a Module’s EtherNet/IP Address 3--11
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pdiib300
3--12 Pinging a Module’s EtherNet/IP Address
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pdiib300
Exercise: Pinging a Module’s EtherNet/IP Address 3--13
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
2. Source: 10.23.249.18
Destination: 10.23.247.20
Subnet mask: 255.255.248.0
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pdie300
3--14 Exercise: Pinging a Module’s EtherNet/IP Address
Context:
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pdie300
Exercise: Pinging a Module’s EtherNet/IP Address 3--15
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pdie300
3--16 Exercise: Pinging a Module’s EtherNet/IP Address
Answers Exercise A
Exercise B
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pdie300
Lesson 4
Configuring and Modifying
EtherNet/IP Addresses Using
BOOTP--DHCP Server Software
What You Will Learn After completing this lesson, you should be able to configure and
modify addresses and masks using BOOTP-DHCP Server software.
Explain that BOOTP address BOOTP (Bootstrap Protocol): A protocol that automatically
assignments are static unless changed configures the IP addresses of devices on a network without user
by a user.
involvement when an operating system is powered (”booted”) up.
Tell the students that there are a variety
of commercial BOOTP software BOOTP Server: A server that can be used to assign an available IP
packages available that allow a user to
to interface with the BOOTP table to address to a device on an EtherNet/IP network each time the device
create the MAC-IP address is powered up based on the device’s hardware address.
assignments; however, BOOTP-DHCP
Server software is now included with the
purchase of RSLogix software BOOTP--DHCP (Bootstrap Protocol-Dynamic Host
packages. Configuration Protocol) Server Software: A software application
Inform the students that most Rockwell used to assign IP addresses using a BOOTP server.
Automation EtherNet/IP devices are
factory-configured to receive IP Relation List: A list configured using BOOTP-DHCP Server
addresses from a BOOTP server.
(1756-EWEB modules are factory software that matches hardware addresses to unique IP addresses that
configured for DHCP operation). will be assigned to devices by a BOOTP server upon device power
Explain to the students that they do not up:
directly enter information into the • Entering the corresponding MAC and IP addresses associated
BOOTP table, but rather they enter it
into a software interface (e.g., with each EtherNet/IP device into the BOOTP table (via a
BOOTP-DHCP Server software). relation list) allows the BOOTP server to simultaneously assign
The ability to assign IP addresses to IP addresses to multiple modules.
multiple devices at once is extremely
beneficial during a line start up. Address assignments do not take effect unless the
device is configured for BOOTP operation and a
power-cycle occurs on the device.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
btpib300
4--2 Configuring and Modifying EtherNet/IP Addresses Using BOOTP--DHCP Server Software
State that from this pane, it is possible to Relation List Pane: A display in BOOTP-DHCP Server software of
add, delete, and edit address relations, hardware addresses and the IP address matched to them.
as well as enable/disable BOOTP or
DHCP on a module.
Request History Pane: A dynamic display of all incoming requests
Inform the students that if no IP address for an IP address that the BOOTP server has received. If an IP
is assigned to the request, then only the
time the request is received, the request address is assigned to the request, then the pane displays:
type and the MAC address of the sender • Time the request was received (most recent request first)
appear in this pane.
• Request type (BOOTP or DHCP)
• MAC address of the sender
• IP address assigned and host name assigned (if any)
The following graphic is an example of the BOOTP-DHCP Server
software main window:
Request
History
Pane Request Type
Relation Relation
List List Pane
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
btpib300
Configuring and Modifying EtherNet/IP Addresses Using BOOTP--DHCP Server Software 4--3
Tell the students that the Domain Name, The following graphic is an example of a module configuration
and Primary/Secondary DNS fields are screen that is displayed when using BOOTP-DHCP Server software
optional when configuring a module’s IP
address. However, this information is to configure or modify an EtherNet/IP module’s addresses or subnet
required if an EtherNet/IP Web Server mask:
module is configured to send email.
Relationship between a
Device’s MAC Address
and its IP Address
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
btpib300
4--4 Configuring and Modifying EtherNet/IP Addresses Using BOOTP--DHCP Server Software
DHCP can dynamically reconfigure DHCP (Dynamic Host Configuration Protocol): A protocol that
networks in which there are more allows network administrators to centrally manage and automate the
computers than there are available
addresses (e.g., a university). assignment of IP addresses within a network:
DHCP guarantees a user access to the • IP addresses are distributed automatically from a central point as
network but not necessarily the same soon as a network connection is established.
access point each time.
• A different or “dynamic” IP address is assigned each time a
Inform the students that many network connection is established.
administrators lease the IP address
assignments for predefined periods of • DHCP protocol works in conjunction with a DHCP server.
time (e.g., 10 days) so a new IP address • DHCP is an effective tool in an office environment where
may not be assigned each and every
time a module undergoes a power cycle. computer systems require access to a network but do not
necessarily require access to the same device each time a device
Strongly emphasize that DHCP should accesses the network.
not be used on the plant floor.
DHCP is not recommended for a plant floor
environment due to the risk involved when an IP
address changes.
Here’s How To configure and modify addresses and masks using BOOTP-DHCP
1. Open the command prompt window. Server software.
2. Ping the IP address of the
EtherNet/IP module you want to As your instructor demonstrates these procedures, follow along in
configure (the system should time the associated job aid(s).
out).
3. If not already done, configure the
module for BOOTP operation.
4. Open BOOTP-DHCP Server
software.
5. Configure the IP address of an
EtherNet/IP module in your
workstation.
6. Click Enable BOOTP.
7. Cycle power to the module.
8. Ping the module’s IP address to
verify your configuration.
9. If you are not teaching either of the
“web” lessons, demonstrate how a
web browser can be used to access
the module’s TCP/IP Configuration
data.
10. If you will not be teaching either of
the “web” lessons, briefly
demonstrate how a web browser can
be used to access the module’s
TCP/IP Configuration data.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
btpib300
Exercise: Configuring and Modifying EtherNet/IP Addresses Using BOOTP-DHCP Server Software 4--5
Context:
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
Tip " This dialog box may open up automatically when you start to create
the Relation List.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
btpe300
4--6 Exercise: Configuring and Modifying EtherNet/IP Addresses Using BOOTP-DHCP Server Software
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
btpe300
Exercise: Configuring and Modifying EtherNet/IP Addresses Using BOOTP-DHCP Server Software 4--7
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
btpe300
4--8 Exercise: Configuring and Modifying EtherNet/IP Addresses Using BOOTP-DHCP Server Software
Answers Exercise A
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
btpe300
Lesson 5
Configuring and Modifying
EtherNet/IP Addresses Using
RSLinx Software
What You Will Learn After completing this lesson, you should be able to configure and
modify addresses and masks using RSLinx software.
Tell the students that an Ethernet From within the RSLinx RSWho window, a module’s configuration
module’s configuration dialog box can be dialog box can be opened for configuring or modifying an
opened by right-clicking the module in
the left pane and selecting “Module EtherNet/IP module’s addresses or subnet mask:
Configuration.”
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
lnxib300
5--2 Configuring and Modifying EtherNet/IP Addresses Using RSLinx Software
Tell the students that the Domain Name, The Port Configuration tab within the module configuration dialog
and Primary/Secondary DNS fields are box is used to configure or modify the Ethernet module’s IP
optional when configuring a module’s IP
address. However, this information is addresses and subnet mask:
required if an EtherNet/IP Web Server
module is configured to send email.
Tip " The Auto-negotiate port speed and duplex feature automatically
select the most optimal way to communicate without the user having
to configure the device.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
lnxib300
Configuring and Modifying EtherNet/IP Addresses Using RSLinx Software 5--3
Here’s How To configure and modify addresses and masks using RSLinx
1. Open RSLinx software. software.
2. Configure the IP address, subnet
mask, and gateway address of an As your instructor demonstrates these procedures, follow along in
EtherNet/IP module in your the associated job aid(s).
workstation.
3. Ping the module’s IP address to
verify your configuration.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
lnxib300
5--4 Configuring and Modifying EtherNet/IP Addresses Using RSLinx Software
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
lnxib300
Exercise: Configuring and Modifying EtherNet/IP Addresses Using RSLinx Software 5--5
Context:
For help performing steps in this exercise, see the associated job
aids(s).
Directions:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
lnxe300
5--6 Exercise: Configuring and Modifying EtherNet/IP Addresses Using RSLinx Software
Alternate New IP
Component Current IP Address New IP address
Address
1756-ENBT 192.168.1.7 192.168.1.2
1794-AENT 192.168.1.8 192.168.1.3
1756-EWEB 192.168.1.9 192.168.1.5
1769--L32E 192.168.1.6 192.168.1.10
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
lnxe300
Exercise: Configuring and Modifying EtherNet/IP Addresses Using RSLinx Software 5--7
13. Explain why the responses obtained in Steps 10. and 12. are the
same.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
lnxe300
5--8 Exercise: Configuring and Modifying EtherNet/IP Addresses Using RSLinx Software
Answers Exercise A
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
lnxe300
Lesson 6
Configuring and Modifying
EtherNet/IP Addresses Using
RSLogix 5000 Software
What You Will Learn After completing this lesson, you should be able to configure and
modify EtherNet/IP addresses using RSLogix 5000 software.
Before You Begin Configuring and Modifying Ethernet IP Addresses and Masks
Point out that only the module’s IP Offline, a module’s IP address can be configured or modified using
address can be changed offline. the General tab of the Module Properties dialog box:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
lgxib300
6--2 Configuring and Modifying EtherNet/IP Addresses Using RSLogix 5000 Software
Tell the students that the Port Before you can configure or modify a module’s EtherNet/IP address
Configuration tab in the Module in the Port Configuration tab, you must be online with the controller:
Properties dialog box is inactive when
the controller is offline.
Identifies Network
and Host Parts of
an IP Address
Capable of Routing
Messages to
Remote Networks
Must be Cleared
Before IP
Address Fields
Become Active
Sets IP Address
in the Hardware
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
lgxib300
Configuring and Modifying EtherNet/IP Addresses Using RSLogix 5000 Software 6--3
Explain that once OK is clicked, the When changing a module’s IP address, subnet mask, or gateway
project is taken offline. address online using the Port Configuration tab, the following
prompt box is displayed once Set has been clicked:
Tell the students that when going back Once you have applied the changes to the module configuration, the
online after changes have been made in project is taken offline and the following prompt box is displayed:
the Port Configuration tab, the project
file does not have to be downloaded
again. However, the Who Active window
must be used to go back online.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
lgxib300
6--4 Configuring and Modifying EtherNet/IP Addresses Using RSLogix 5000 Software
Here’s How To configure and modify EtherNet/IP addresses using RSLogix 5000
1. Open the LGX_CCP174_A1.acd software.
project.
2. Configure the IP address offline. As your instructor demonstrates these procedures, follow along in
the associated job aid(s).
3. Download the project and go online.
4. Open the Module Properties dialog
box and point out the new IP
address in the General tab.
5. Access the Port Configuration tab
and point out the old IP address.
6. Change the IP address, subnet
mask, and gateway address and
then set the addresses.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
lgxib300
Exercise: Configuring and Modifying Ethernet IP Addresses Using RSLogix 5000 Software 6--5
Context:
The company has recently migrated all projects and production lines
ControlLogixr systems to control the production lines. Having
received training in the new technology, you decide to use RSLogix
5000 software to configure the EtherNet/IP modules.
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
lgxe300
6--6 Exercise: Configuring and Modifying Ethernet IP Addresses Using RSLogix 5000 Software
9. Access the Port Configuration tab and and then record the
corresponding address and subnet mask in the following table:
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
lgxe300
Exercise: Configuring and Modifying Ethernet IP Addresses Using RSLogix 5000 Software 6--7
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
lgxe300
6--8 Exercise: Configuring and Modifying Ethernet IP Addresses Using RSLogix 5000 Software
37. Go back online with the 1756-L63 controller using the Who
Active window.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
lgxe300
Exercise: Configuring and Modifying Ethernet IP Addresses Using RSLogix 5000 Software 6--9
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
lgxe300
6--10 Exercise: Configuring and Modifying Ethernet IP Addresses Using RSLogix 5000 Software
Answers Exercise A
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
lgxe300
Exercise: Configuring and Modifying Ethernet IP Addresses Using RSLogix 5000 Software 6--11
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
lgxe300
6--12 Exercise: Configuring and Modifying Ethernet IP Addresses Using RSLogix 5000 Software
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
lgxe300
Lesson 7
Configuring the 9300-8EDM
Ethernet Diagnostic Module
What You Will Learn After completing this lesson, you should be able to:
• Configure the network interface
• Authorize MAC addresses
• Configure IGMP snooping
• Configure alarm diagnostics
• Configure port mirroring
Briefly point out the eight ports. The module has eight 10/100 BaseT Ethernet ports and can only be
used with the Logix platform:
Port 8 Port 7
Port 6 Port 5
Port 4 Port 3
Port 2 Port 1
Explain that the web browser can be The 9300-EDM diagnostic module is configured through a web
accessed by typing the module’s IP browser. The EDS file and user manual are built into the module and
address in the Address bar and pressing
Enter. are accessible through the web browser.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
cedib300
7--2 Configuring the 9300-8EDM Ethernet Diagnostic Module
Network Interface
Mention that the module comes with The 9300-8EDM Ethernet diagnostic module has a factory preset IP
Bootp client enabled by default. address of 192.168.1.1. This IP address along with the subnet mask,
Point out that the Network Configuration and gateway address can be changed using the Network
window is accessed from the Basic Configuration window:
Configuration folder in the module’s web
browser.
Must Be Clicked or
Changes Will Not
Take Effect
Explain that once the module is Power to the module can be remotely recycled through the web
restarted, the web browser will close. browser. When power is recycled, all communications through the
module will be interrupted:
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
cedib300
Configuring the 9300-8EDM Ethernet Diagnostic Module 7--3
MAC Addresses
Mention that the MAC ID Management The 9300-8EDM Ethernet diagnostic module can manage Ethernet
window can be accessed from the devices that connect to the network. This feature allows stricter
Switch Configuration folder.
control of the network without the use of special Ethernet
management software.
Point out the Learned MAC Addresses The MAC ID Management window is used to configure two lists:
and Authorized MAC Addresses lists.
• Learned MAC Addresses List: The module automatically builds
a table of the port numbers and MAC addresses for each device
detected on the network.
• Authorized MAC Addresses List: The user creates a table of the
MAC addresses allowed on the network.
MAC Addresses Can Be Added
or Removed From This List
Explain that when an unauthorized Input bits 1-8 of DWord 0 in the controller or processor correspond
device connects to the network, an input to the eight ports in the module. These bits indicate when an
is sent to the controller or processor.
unauthorized device connects to the network. Input bit 0 indicates
unauthorized device connection for any of the eight ports.
Tell the students that when a port is shut Output bits 1-8 of DWord 0 in the controller or processor also
down, a person will not be able to gain correspond to the eight ports in the module. These bits are used to
access to the network.
shut down the ports. Bit 0 shuts down all ports and disables all
communications.
Tip " For a complete listing of the data layout for the 9300-8EDM
Ethernet diagnostic module, see Appendix B.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
cedib300
7--4 Configuring the 9300-8EDM Ethernet Diagnostic Module
IGMP Snooping
Explain that the IGMP protocol prevents Without IGMP snooping, multicast traffic is forwarded to all ports
a multicast packet from behaving like a just like broadcast traffic. This slows down the performance of
broadcast.
devices due to the continuous flow of multicast packets.
Mention that the IGMP Configuration The IGMP Configuration window is used to enable the IGMP
window can be accessed from the snooping feature:
Network Services Setup folder.
Alarm Diagnostics
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
cedib300
Configuring the 9300-8EDM Ethernet Diagnostic Module 7--5
Mention that a green bar graph next to The Alarm Setup window is used to calculate the difference between
each port indicates that traffic is within the reference point and current traffic levels:
levels. A red bar graph indicates traffic
has exceeded allowed levels.
Used to Provide a
More Visual
Representation of
Traffic on Each Port Used to Capture
Traffic to be Used as
the Reference Point
Used to Calculate the
Difference Between the
Referenced Traffic Point
and Current Rate of Traffic
Port Mirroring
Tell the students that port mirroring is Port mirroring is a method of monitoring network traffic that
also known as a roving analysis port. forwards a copy of each incoming and outgoing packet from one port
of a network switch to another port where the packet can be studied.
Port mirroring is used as a troubleshooting tool to keep close track of
switch performance.
Mention that Wireshark is the network A network protocol analyzer is used on the port receiving the
protocol analyzer that will be used in the mirrored data to monitor each segment separately. The analyzer
exercises. Wireshark can be
downloaded from the following website: captures and evaluates the data without affecting the client on the
http://www.wireshark.org. original port.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
cedib300
7--6 Configuring the 9300-8EDM Ethernet Diagnostic Module
Mention that the Mirror Configuration The Mirror Configuration window is used to enable port mirroring
window can be accessed from the and to set filter parameters for incoming and outgoing traffic:
Switch Configuration folder.
Explain that port parameters can be The Port Configuration window is used to manually configure how
manually changed when Negotiation has each port will function:
been set to “None.”
When Auto-Negotiation is
Used, All Parameters
Except Port Mirror Are
Automatically Configured
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
cedib300
Configuring the 9300-8EDM Ethernet Diagnostic Module 7--7
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
cedib300
7--8 Configuring the 9300-8EDM Ethernet Diagnostic Module
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
cedib300
Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module 7--9
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
• IP Address: 192.168.1.12
• Subnet Mask: 255.255.0.0
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
cede300
7--10 Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module
13. Remove all MAC addresses from the Authorized MAC Addresses
list.
14. On the the PanelView Plus 600 terminal, press the GO TO
MAIN button.
15. Log into the 9300-8EDM PORT CONTROL screen by
performing the following tasks:
A. Press the LOGIN button.
The Login dialog box opens.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
cede300
Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module 7--11
F. Press
The LOGOUT button is displayed.
G. Press the 9300-8EDM PORT CONTROL button.
16. On the PanelView Plus 600 terminal, press the ENABLE PORT 4
and ENABLE PORT 6 buttons.
17. Press the GO TO MAIN button.
18. Press the 9300-8EDM PORT VIEW button.
19. What happens to ports 4 and 6 and what does this indicate?
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
cede300
7--12 Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module
27. In the Command Prompt, what happens and what does this
indicate?
A new managed switch has been added to your plant’s network. You
notice that some of the devices on the network are performing
poorly. You believe that the devices’ performance may be slowed
down due to the continuous flow of multicast packets caused by the
I/O running on the network. You decide to configure the switch to
limit the multicast packets received by those devices.
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
cede300
Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module 7--13
Context:
For help performing steps in this exercise, see the associated job
aid(s).
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
cede300
7--14 Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module
Directions:
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
cede300
Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module 7--15
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
cede300
7--16 Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module
Answers Exercise A
Exercise B
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
cede300
Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module 7--17
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
cede300
7--18 Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module
Exercise C
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
cede300
Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module 7--19
5.
F. Communications traffic between the PanelView Plus 600
terminal (IP address 192.168.1.4) and the CompactLogix
(IP address 192.168.1.6) has been captured by using port 5
(computer):
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
cede300
7--20 Exercise: Configuring the 9300-8EDM Ethernet Diagnostic Module
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
cede300
Lesson 8
Establishing EtherNet/IP
Connections to Remote Devices
What You Will Learn After completing this lesson, you should be able to configure an
RSLogixt 5000 project’s I/O configuration to establish remote
communications on an EtherNet/IP network by performing the
following tasks:
• Configure an EtherNet/IP module in a local chassis
• Configure an EtherNet/IP module in a remote chassis
• Configure a digital I/O module in a chassis
• Configure an analog I/O module in a chassis
I/O Configuration
Faults within a hierarchy have a Child Module: A module that is below another module in a
downstream effect; only modules below Logix5000 network hierarchy.
the faulted module will fault. The fault
does not travel up the hierarchy.
Parent Module: A module that is above another module in a
Logix5000 network hierarchy. If the parent module faults, each child
module will also fault.
State that a network hierarchy can also Parent-Child Relationship: A hierarchical communications format
be used when configuring other in which an I/O module or device configured in a remote chassis
communication links (e.g., ControlNet).
communicates with a Logix5000 controller through a connecting
Example: EtherNet/IP to EtherNet/IP; bridge module.
ControlNet to ControlNet
Emphasize that the hierarchy is based The Parent-Child relationship is demonstrated in the following
on the module’s position within a
communications path and not how it is graphic:
displayed (e.g., The Digital_Output
module in slot 4 is not the parent
module of the LabEWEBModule in slot
6).
Point out how a child module can also
serve as a parent module (e.g.,
Remote_ENBT_Bridge2)
Parent Module
Child Modules
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
remib300
Establishing EtherNet/IP Connections to Remote Devices 8--3
Exact Match: Requires all attributes of the physical module and the
module created in the software to match in order to establish a
connection to the module. If all of the attributes do not match,
communication with the inserted module is not established.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
remib300
8--4 Establishing EtherNet/IP Connections to Remote Devices
Modules that have identical catalog The Compatible Module electronic keying option specifies that the
numbers and major revisions, varying module will communicate with the inserted module based on
only by minor revisions, cannot always
be guaranteed to allow a connection if firmware compatibility.
Compatible Module electronic keying is
used. The following criteria must be met, or communications with the
inserted module will not occur:
• The Module Type, Catalog Number, and Major Revision must
match.
• The Minor Revision of the physical module must be equal to or
greater than the one specified in the software.
This option should be used sparingly, Disable Keying: Allows for no attributes of the physical module and
(e.g., testing a new network or product the module created in the software to match in order to establish
line) as it may leave a product line
vulnerable to unanticipated events (e.g., communications with the inserted module. The controller does not
major faults). employ electronic keying at all.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
remib300
Establishing EtherNet/IP Connections to Remote Devices 8--5
Re-state that the Communication Format When configuring a module within a project’s I/O configuration, one
option is not available for all modules field that you may be required to complete is the Communications
nor is it available at all levels of the
hierarchy. Format field. The options available are module dependent.
Example: The Communications Format An example of typical communication format options are displayed
option is not available for a 1756-ENBT
module in a local chassis but it is for a in the following graphic:
remote chassis.
Communication Format
Options
Although some of these terms may have Rack Optimization: An I/O communications format enabling an
been previously discussed in the EtherNet/IP module to collect digital I/O words into a rack image
Determining System Bandwidth
Requirements and CIP Connections thereby conserving bandwidth and the number of connections used:
lesson, explain the terms again within • Rack-Optimized Connection: A read/write connection enabling
this context or use this opportunity to
review the concepts and test the a communications module (e.g., an EtherNet/IP module) to
students’ understanding. collect digital I/O words into a rack image instead of collecting
from each I/O module separately.
Rack optimized I/O modules are limited in the amount of status
and diagnostic information they can provide to the network:
-- If diagnostic or status information is critical to your project,
consider using the diagnostic I/O modules in another rack.
? Why should you use non-diagnostic -- If a rack is using either of the rack-optimized communication
modules in a rack-optimized format? formats, consider using non-diagnostic I/O modules.
Answer: Cost. Diagnostic modules cost
more than their non-diagnostic • Listen-Only Connection: An I/O connection where another
counterparts and provide functionality controller owns/provides the configuration data for the module:
you cannot employ effectively.
-- Does not write data to the configuration
-- Establishes a connection to the module when the owner
controller is actively controlling
Note that not all rack-optimized modules -- Counts as a single connection but is only able to read/receive
within a rack containing listen-only data
modules need to be configured to
operate in a listen-only mode.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
remib300
8--6 Establishing EtherNet/IP Connections to Remote Devices
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
remib300
Establishing EtherNet/IP Connections to Remote Devices 8--7
Rack-Optimized Remote
1756-ENBT Module
Rack-Optimized Remote
IB16D Module
Rack-Optimized Remote
OB16D Module
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
remib300
8--8 Establishing EtherNet/IP Connections to Remote Devices
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
remib300
Establishing EtherNet/IP Connections to Remote Devices 8--9
Configurable
Digital I/O Module
Parameters
Configurable
Analog I/O Module
Parameters
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
remib300
8--10 Establishing EtherNet/IP Connections to Remote Devices
Your production line has a remotely located analog meter that uses
your plant’s EtherNet/IP network to read locally generated digital
input signals. The value displayed by the analog meter will either
increase or decrease based on the duration of the input signal. In
order for the project’s existing ladder logic to work properly, you
need to configure the EtherNet/IP and I/O modules in the project’s
I/O Configuration in order to establish remote communications
between the I/O devices.
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
reme300
8--12 Exercise: Establishing EtherNet/IP Connections to Remote Devices
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
reme300
Exercise: Establishing EtherNet/IP Connections to Remote Devices 8--13
7. Now that you have configured your project, you need to assign
aliases to several of the tags used in the ladder logic of this
project:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
reme300
8--14 Exercise: Establishing EtherNet/IP Connections to Remote Devices
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
-- Revision: 3
-- Electronic Keying: Disable Keying
-- Connection: Input
-- Data Format: Integer
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
reme300
Exercise: Establishing EtherNet/IP Connections to Remote Devices 8--15
-- Revision: 3
-- Electronic Keying: Disable Keying
-- Connection: Output
-- Data Format: Integer
5. Configure a 1756-ENBT Ethernet bridge module for remote
operations (with the 1769-L32E module as its parent module):
-- Major Revision: 3
-- Name: Remote_Child_ENBT
-- IP address: 192.168.1.2 (or alternate IP address
________________).
-- Communication Format: None
-- Slot: 1
-- Chassis Size: 7
-- Electronic Keying: Disable Keying
6. Configure a 1756-DNB DeviceNett scanner for remote
operations with (with the 1756-ENBT module as its parent
module):
-- Major Revision: 10
-- Name: My_Remote_DNB
-- Slot: 3
-- Input Size: 1
-- Output Size: 1
-- Status Size: 32
-- Electronic Keying: Disable Keying
-- RPI: 10
7. Now that you have configured your project, you need to assign
aliases to several of the tags used in the ladder logic of this
project:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
reme300
8--16 Exercise: Establishing EtherNet/IP Connections to Remote Devices
13. Verify that the LED display on the DNB indicates RUN mode.
14. Place your hand in front of the photo-eye switch and verify that
all of the LEDs/light illuminate.
15. If all LEDs /lights in the workstation are on, press any button on
the panel to switch off all lights except the one you pressed.
16. Repeat Steps 15. to 14. as necessary.
17. Save and close the my_REM_CCP174_B1.acd project.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
reme300
Exercise: Establishing EtherNet/IP Connections to Remote Devices 8--17
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
reme300
8--18 Exercise: Establishing EtherNet/IP Connections to Remote Devices
Answers Exercise A
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
reme300
Exercise: Establishing EtherNet/IP Connections to Remote Devices 8--19
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
reme300
8--20 Exercise: Establishing EtherNet/IP Connections to Remote Devices
7. The Edit Tags tab should have a display similar to the following
graphic:
11.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
reme300
Exercise: Establishing EtherNet/IP Connections to Remote Devices 8--21
Exercise B
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
reme300
8--22 Exercise: Establishing EtherNet/IP Connections to Remote Devices
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
reme300
Exercise: Establishing EtherNet/IP Connections to Remote Devices 8--23
7. The Edit Tags tab should have a display similar to the following
graphic:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
reme300
8--24 Exercise: Establishing EtherNet/IP Connections to Remote Devices
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
reme300
Lesson 9
Producing and Consuming Data
over an EtherNet/IP Network
What You Will Learn After completing this lesson, you should be able to:
• Create a produced tag
• Create a consumed tag
Having the skills to correctly produce and consume tags will allow
you to share data between controllers in the same chassis over the
backplane or in different chassis over a control network without
ladder logic. Produced/consumed tags are defined to be sent from
one controller to another at a specified rate -- determined by the
consuming controller. This can be useful when upgrading to a newer
controller or storing larger programs.
State that implicit connections use an Implicit Connection: A network connection used to transfer
RPI. real-time I/O data.
? What are some examples of an Produced Connection: In a Logix5000 system, a network
implicit connection? connection on the end of a controller that is sending data to another
Answer: Rack-optimized connections; controller across a ControlBus backplane or over a network such as
direct connections; messages using
produced tags EtherNet/IP by means of a produced tag.
Inform the students that if they are using Produced Tag: In a Logix5000 controller, a tag that is broadcast
RSLogix 5000 software, version 13 or onto the local ControlBus backplane or across an EtherNet/IP
earlier, a produced tag will have a check
mark in the P column of the Tags list. network for use by other controllers.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pncib300
9--2 Producing and Consuming Data over an EtherNet/IP Network
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pncib300
Producing and Consuming Data over an EtherNet/IP Network 9--3
Network Optimization
Effectively managing and employing produced and consumed tags
can help optimize your EtherNet/IP network’s peformance.
Note that a separate lesson reviews the The total number (and not the size) of produced and consumed
number of connections consumed by connections:
produced and consumed tags.
• Counts against the number of connections a system can support
• Affects bandwidth usage
• Affects maximum input or output times for a system
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pncib300
9--4 Producing and Consuming Data over an EtherNet/IP Network
Note that consumed tag names do not If a user-defined structure is produced, there must
require naming conventions through the be a structure with the identical size and layout in
software. However, your plant may opt
to use naming conventions to make the consuming controller. To ensure accuracy,
troubleshooting easier. copy the structures between projects.
Emphasize that if structures are the
same size but different layout, data from
the first member in structure A (e.g., a
REAL) will incorrectly transfer to the first Producer Data Consumer
member in the other structure B (e.g., a DINT TIMER
DINT).
DINT BOOL
BOOL DINT
TIMER DINT
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pncib300
Producing and Consuming Data over an EtherNet/IP Network 9--5
Produce Option
Maximum Number
of Consumers
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pncib300
9--6 Producing and Consuming Data over an EtherNet/IP Network
Exact Match
Required
Produce Option
Must Be in Consuming
Controller’s I/O
Configuration
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pncib300
Producing and Consuming Data over an EtherNet/IP Network 9--7
Tip " For accuracy, the source project should be opened and the tag names
should be copied.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pncib300
9--8 Producing and Consuming Data over an EtherNet/IP Network
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pncib300
Exercise: Producing and Consuming Data over an EtherNet/IP Network 9--9
Exercise A In this exercise, you will you will practice the following tasks:
• Create a produced tag
• Create a consumed tag
Context:
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pnce300
Exercise: Producing and Consuming Data over an EtherNet/IP Network 9--11
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pnce300
9--12 Exercise: Producing and Consuming Data over an EtherNet/IP Network
Answers Exercise A
3.
11.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pnce300
Exercise: Producing and Consuming Data over an EtherNet/IP Network 9--13
20. Consumed_Data_Tag[0] = 0
Consumed_Data_Tag[1] = 0
24. Consumed_Data_Tag[0] = 12
Consumed_Data_Tag[1] = 327
25. The value of the Consumed_Data_Tag immediately reverts to
the corresponding Produced_Data_Tag value, thus indicating
that the Produced_Data_Tag is being consumed by the
Consumed_Data_Tag.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
pnce300
9--14 Exercise: Producing and Consuming Data over an EtherNet/IP Network
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
pnce300
Lesson 10
Communicating between Multiple
Controllers on an EtherNet/IP
Network Using a Message
Instruction
What You Will Learn After completing this lesson, you should be able to:
• Program an MSG instruction in a ladder logic project
• Configure an MSG instruction
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
msgib300
10--2 Communicating between Multiple Controllers on an EtherNet/IP Network Using a Message Instruction
Connection Management
Using message instructions to transfer data will either affect or be
affected by the total number of connections available to the
EtherNet/IP module. In managing message connections, you have
two options:
Cached connections should be used • Cache the connection:
when a MSG instruction will execute
repeatedly. -- Connection exists continuously.
Tell the students that they should -- Connection counts as one of your available connections.
attempt to cache the connected -- Bandwidth constraints are impacted.
messages that execute most often or -- Execution time is optimized.
execute frequently.
-- Maximum number of cached connections is 32.
State that each time a connection is
opened when a message executes, it
increases the routine’s execution time.
Explain to the students that by not using • Don’t cache the connection:
caching message instructions, you save
connections and bandwidth -- a major -- Connection exists only when data is transferred.
advantage over using produced and -- Connection only counts as one of your available connections
consumed tags.
when it is used.
-- Connection must be available when called for.
-- Bandwidth constraints are not directly impacted.
Enabling Connections
How message connections are employed will impact their
performance on the EtherNet/IP network.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
msgib300
Communicating between Multiple Controllers on an EtherNet/IP Network Using a Message Instruction 10--3
Configuring a Message
? What is a controller-scoped tag? 1. Create a controller-scoped tag of the data type MESSAGE:
Answer: A tag that can be used by all
programs within a Logix5000 controller.
I/O tags are automatically assigned as
controller-scoped tags. Also called
global tags.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
msgib300
10--4 Communicating between Multiple Controllers on an EtherNet/IP Network Using a Message Instruction
Message Type
Destination Element
Source Element
Number of Elements
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
msgib300
Communicating between Multiple Controllers on an EtherNet/IP Network Using a Message Instruction 10--5
Manually Configured
Parameters
System Configured
Parameters
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
msgib300
10--6 Communicating between Multiple Controllers on an EtherNet/IP Network Using a Message Instruction
Communication Path
Cache Options
Communications Path
Path: A description of the communications route between two
devices, such as a computer and a controller or the source and
destination in a message. Paths can be graphical (selected in the
RSWho window) or numeric (typed using port and node numbers).
Let the students know that this will be When you establish the communications path, you are specifying the
demonstrated by you in the Here’s How exact path the message will traverse as it travels from its originating
section and they will have an opportunity
to practice this skill while completing this source to its final destination.
exercise.
Also let them know that step-by-step
procedures are contained in the
procedures guide.
Additionally, inform the students that
they need to specify a path for each
MSG instruction used -- for which the
path may or may not be the same.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
msgib300
Communicating between Multiple Controllers on an EtherNet/IP Network Using a Message Instruction 10--7
The path identifies how the message will travel between devices
(backplane or EtherNet/IP module) and the location (slot) of all
devices through which the message passes through:
If the data will travel through . . . Then the path value used is . . .
The backplane 1
An EtherNet/IP module 2
The device’s slot number or IP
A device
address
Tip " A combination of module name, IP address, and numeric paths can
be used.
Let the students know that the paths in Once the communications path has been mapped and saved, it will
both of the examples are the same be displayed in a format similar to the following examples:
except the second one uses the device’s
name.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
msgib300
10--8 Communicating between Multiple Controllers on an EtherNet/IP Network Using a Message Instruction
If you are teaching the standard course, Data transferred via produced and consumed tags can be monitored
mention that data views and web pages from a variety of displays:
will be discussed and demonstrated in
greater detail in the two Web lessons • The Monitor Tags tab
(but note that they will not learn how to
create customized web pages in this • Within a project or routine (i.e., ladder logic editor, function
course). block diagrams, or structured text editor)
• Data views
• Customized web pages
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
msgib300
Exercise: Communicating between Multiple Controllers on an EtherNet/IP Network 10--9
For help performing steps in this exercise, see the associated job
aid(s).
Directions:
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
msge300
10--10 Exercise: Communicating between Multiple Controllers on an EtherNet/IP Network
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
msge300
Exercise: Communicating between Multiple Controllers on an EtherNet/IP Network 10--11
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
msge300
10--12 Exercise: Communicating between Multiple Controllers on an EtherNet/IP Network
Answers Exercise A
2.
5.
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
msge300
Exercise: Communicating between Multiple Controllers on an EtherNet/IP Network 10--13
11.
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
msge300
10--14 Exercise: Communicating between Multiple Controllers on an EtherNet/IP Network
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
msge300
Appendix A
Data Layout for the 9300-8EDM
Ethernet Diagnostics Module
(Continued)
Rev. November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
DTL_ap
A--2 Data Layout for the 9300-8EDM Ethernet Diagnostics Module
E 2006 Rockwell Automation, Inc. All rights reserved. Rev. November 2006
DTL_ap
The following are trademarks of Rockwell Automation, Inc.:
1336 FORCE 1336 IMPACT
1336 PLUS CompactLogix
ControlBus ControlLogix
Data Highway Plus DH+
DriveTools FactoryTalk
Flex FlexLogix
Logix5000 Logix5550
PanelBuilder PanelView
PLC-5 PHOTOSWITCH
PowerFlex RediSTATION
RSLinx RSLogix
RSView RSNetWorx
SCANPort SLC
SoftLogix Ultra
All other trademarks are the property of their respective holders and are hereby acknowledged.
Catalog Number ABT-CCP174-TIM -- November 2006 E 2006 Rockwell Automation, Inc. All rights reserved.
Catalog Number ABT-N300-TIM40 -- September 2005 Printed in USA