Professional Documents
Culture Documents
Instructor Guide
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: Identifies information about practices or circumstances that can cause an explosion in a hazardous environment, which may lead to personal injury or death, property damage, or economic loss.
Identifies information that is critical for successful application and understanding of the product.
Identifies information about practices or circumstances that can lead to personal injury or death, property damage, or economic loss. Attentions help you: identify a hazard avoid a hazard recognize the consequence
Labels may be located on or inside the drive to alert people that surfaces may be dangerous temperatures.
Summary of Changes
Pre-Course Setup
This class requires setup time to review the workstation configuration and to prepare for the exercises. It is critical to complete the steps in the General Setup section of the Setup Information document before day one. Detailed checklists are provided.
Feedback
Until the next scheduled update for this course, the FTI Feedback Database will contain information on any other instructor-generated feedback. Please check the database for new entries each time you prepare to teach this course. We welcome additional comments.
See the General Setup for specific workstation information. The following specific changes were made: The exercise files (i.e., controller and network files) have been updated to RSLogix 5000 software version 17 and RSNetWorx for DeviceNet version 9.
Summary of Changes
Comment Form
Email: ratps@ra.rockwell.com
or Fax: 440.646.4425
Page 1 of Date:
Contact Information:
Name: Company and Location: Phone: Email:
Page 2
Table of Contents
Introduction
Course Overview
Course Purpose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Who Should Attend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Agenda . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Meeting Course Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Student Materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hands-On Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I I II II III IV IV
Lessons
Identifying DeviceNet Network Components
What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Why These Skills Are Important . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . NetLinx Open Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DeviceNet Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Benefits of a DeviceNet Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DeviceNet Network Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DeviceNet Network Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DeviceNet Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DeviceNet Wire Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Terminating Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Taps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T-Port Tap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DeviceBox Tap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PowerTap Tap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DevicePort Tap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Open-Style Tap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Insulation Displacement Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . KwikLink Open-Style Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . KwikLink Micro Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scanner Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scanner Module Location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1--1 1--1 1--1 1--1 1--1 1--3 1--4 1--4 1--5 1--6 1--6 1--8 1--9 1--9 1--10 1--10 1--10 1--11 1--12 1--12 1--13 1--14 1--15 1--16
ii
Table of Contents
Devices (Nodes) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EtherNet/IP to DeviceNet Linking Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Absolute Multi-Turn Encoder 842D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E3 Solid-State Overload Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PowerFlex 40 Drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 871TM Inductive Proximity Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ArmorBlock MaXum I/O Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Point I/O DeviceNet Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PanelView Plus Operator Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1770-KFD Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RSNetWorx for DeviceNet Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RSLinx Classic Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RSLogix 5, RSLogix 500, and RSLogix 5000 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1--17 1--17 1--18 1--18 1--19 1--19 1--20 1--20 1--21 1--21 1--21 1--22 1--22 1--22
Table of Contents
iii
Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iv
Table of Contents
Table of Contents
vi
Table of Contents
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6--19 6--22 6--22 6--24 6--26 6--26 6--32 6--32
Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Why These Skills Are Important . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Auto-Address Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scanner Module Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Electronic Keying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Automatic Device Recovery Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8--1 8--1 8--1 8--2 8--2 8--2 8--3 8--5 8--6
Table of Contents
vii
Exercise: Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8--7 8--8 8--10 8--10
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Why These Skills Are Important . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Explicit Messaging vs. I/O Messaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The DeviceNet Object Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Class, Instance, Attribute, and Service Code Lookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Explicit Messaging Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Explicit Messaging Using a ControlLogix Controller and a 1756-DNB Scanner Module . . . . . . . . . MSG Instruction Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Peer-to-Peer Explicit Messaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UCMM (Unconnected Message Manager) Capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Method of Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example: PanelView Peer-to-Peer Explicit Message Configuration . . . . . . . . . . . . . . . . . . . . . Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9--1 9--1 9--1 9--2 9--2 9--2 9--3 9--3 9--4 9--4 9--8 9--8 9--8 9--9 9--11 9--11 9--11 9--12 9--13
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9--15 9--17 9--18
viii
Table of Contents
Table of Contents
ix
Table of Contents
Table of Contents
xi
xii
Table of Contents
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Why These Skills Are Important . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Explicit Messaging vs. I/O Messaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The DeviceNet Object Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Class, Instance, Attribute, and Service Code Lookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Explicit Messaging Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Explicit Messaging Using an SLC 500 Processor and a 1747-SDN Scanner Module . . . . . . . . . . . Explicit Message Transaction Blocks in SLC 500 Data Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transaction Header . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Transaction Body . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example: Explicit Message Format for an SLC 500 Platform . . . . . . . . . . . . . . . . . . . . . . . . . . Peer-to-Peer Explicit Messaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . UCMM (Unconnected Message Manager) Capability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Method of Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example: PanelView Peer-to-Peer Explicit Message Configuration . . . . . . . . . . . . . . . . . . . . . Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18--1 18--1 18--1 18--2 18--2 18--2 18--3 18--3 18--4 18--4 18--8 18--8 18--8 18--10 18--10 18--11 18--11 18--12 18--12 18--13 18--13 18--14
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18--15 18--18 18--20
Table of Contents
xiii
Appendices
Scanner Module Master Data Maps
1756-DNB Scanner Module Master Data Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1747-SDN Scanner Module Master Data Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A--1 A--2
xiv
Table of Contents
Course Overview
Opening Comments: Welcome students. Give administrative details: 1. Class hours 2. Break times 3. Cafeteria information 4. Telephones 5. Restroom locations Ask each student to share: 1. Name and title 2. Company and location 3. How they use DeviceNet on the job
Course Overview
Course Purpose
This course prepares you to successfully design and configure an efficient DeviceNet network using components for the ControlLogix platform. To meet this objective, you will begin by designing a cable system, and then configuring a driver, a scanner module, and network devices. This course also prepares you to troubleshoot a malfunctioning DeviceNet network and return it to normal operation with minimum downtime. You will first verify proper network installation and then perform both hardware and software-based tasks used to isolate DeviceNet problems. You will also practice the tasks necessary to add and replace network devices. The specific hardware components used in the course include DeviceNet round and flat cable, taps, connectors, power supplies, scanner modules, and DeviceNet-compatible devices such as photoelectric sensors, operator interfaces, packaged I/O, and drives. The software components include RSNetWorx for DeviceNet, RSLinx, and RSLogix 5000 (or RSLogix 500 if arranged before class) software.
Optional lessons are available in the back of the course that use the 1747-SDN scanner module and the SLC 500 processor.
Individuals responsible for designing and configuring a new DeviceNet network should attend this course. Individuals responsible for isolating and correcting problems or performing basic maintenance on a DeviceNet network should also attend this course.
II
Course Overview
Prerequisites
Poll the class at this time to determine the amount of DeviceNet experience the students have. If the class has a significant amount of DeviceNet experience, the exercises in the course may take less time than indicated.
To successfully complete this course, the following prerequisites are required: Experience operating a personal computer within a Microsoftr Windowsr environment
Fundamentals (CCP146) course or knowledge of common ControlLogix terminology and the ability to program and interpret basic ladder logic instructions in RSLogix 5000 software Or Completion of the PLC-5/SLC 500 and RSLogix Fundamentals (CCP122) course or knowledge of common programmable controller terminology and the ability to program and interpret basic ladder logic instructions in RSLogix 500 software This course consists of the following lessons: Day 1
Agenda
85 minutes 150 minutes 60 minutes 45 minutes 65 minutes 65 minutes 140 minutes 140 minutes 40 minutes 45 minutes 120 minutes 120 minutes 45 minutes
Identifying DeviceNet Network Components Designing a DeviceNet Cable System Creating a DeviceNet Network Configuration Commissioning Nodes on a DeviceNet Network Configuring a 1756-DNB DeviceNet Scanner Module Optional: Configuring a 1747-SDN DeviceNet Scanner Module
Day 2
a DeviceNet Network Optional: Mapping Inputs and Outputs to a 1747-SDN Scanner Module on a DeviceNet Network Managing DeviceNet EDS Files Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
Messaging with the ControlLogix Platform Optional: Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform Integrated Practice: Modifying a DeviceNet Network Configuration
Course Overview
III
Day 3
70 minutes 60 minutes 60 minutes 90 minutes 90 minutes 60 minutes 65 minutes
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 - Heres 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 Integrated practices provide an opportunity to perform tasks using the skills obtained during the training.
IV
Course Overview
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.
Open the Documentation Reference Guide from the CD. Take a moment to show a list of publications available on the CD.
contains easy-to-use flowcharts and graphics to help you complete the troubleshooting tasks presented in class. The guide covers five DeviceNet scanner modules and is also an ideal resource for most troubleshooting situations in the plant environment. DeviceNet and RSNetWorx Procedures Guide, which contains clear and concise step-by-step procedures for performing the tasks addressed in class, as well as other tasks associated with maintaining and troubleshooting a DeviceNet network. DeviceNet Documentation Reference Guide, which contains several different technical publications in electronic format. 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. You will also have the opportunity to combine and practice several key skills by completing integrated practices. To complete the exercises and the integrated practices, you will use a DeviceNet workstation.
Hands-On Exercises
EtherNet/IP
Network Hierarchy Network hierarchy is a term used to describe the levels of functionality of each of the major communications networks within the NetLinx open architecture. The networks are organized into the following hierarchical layers, each of which offers a unique type and level of control: Information Layer: Gives higher-level computing systems access to plant-floor data. Control Layer: Allows intelligent automation high-speed control devices to share information. Device Layer: Offers high-speed access to plant-floor data from a broad range of plant-floor devices.
Point out that though DH+ and Remote I/O are control layer networks, they are not considered part of the NetLinx open architecture since they do not employ the protocol and interfaces common to NetLinx networks.
1-2
The following graphic shows the three layers of the NetLinx architecture:
Computing Systems
Information Layer
Ethernet Network EtherNet/IP Network
Control Layer
ControlNet Network EtherNet/IP Network
Drive
1-3
DeviceNet Network
A DeviceNet network connects industrial devices to a processor or controller and application software without the need for hardwiring. Devices may include limit switches, photoelectric sensors, pushbuttons, bar code readers and drives:
Processor or Controller Chassis with Scanner Module ArmorBlock MaXum I/O Module
Point out that the non-DeviceNet network uses a separate connection for each individual device, whereas, on the DeviceNet network, devices are all connected to a common bus. The DeviceNet network eliminates extensive wiring and installation labor.
The following graphic shows the same devices on a Remote I/O network, which requires that each device be individually wired to the control chassis:
Processor Chassis ArmorBlock I/O Module
1-4
between smart and standard devices? Answer: Smart devices provide several protective and control functions, including status information for diagnostic and troubleshooting purposes. Point out the 871TM inductive proximity sensor is one example of a smart device because its capabilities include providing target range information by means of an analog signal.
the device itself Support for network-powered (sensors) and self-powered (actuators) devices Support for the removal and/or replacement of devices under power (plug-and-play capability) without breaking the network connection
Support for real-time control data exchange Support for interchangeability of devices from multiple vendors DeviceNet Network Applications
DeviceNet networks are best-suited for applications with the following characteristics: Applications that would otherwise require extensive hardwiring
chosen for implementation at the plant where you work? Which of these characteristics are met by the application at the plant where you work?
multiple I/O points (distributed or rack-based) Applications that require a quick start-up Applications for which downtime to add and replace devices is not an option
Poll the class to get a sense of the types of applications DeviceNet networks are being used for at students places of employment.
capabilities Applications with small devices that are distant from each other Applications with devices that are not wired individually to a control panel
1-5
A DeviceNet network is comprised of both hardware and software components. The following hardware components make up a DeviceNet network: Power supply DeviceNet cable (flat, thick or thin):
- Trunk line cable - Drop line cable Terminating resistors Taps: - T-Port tap - DeviceBox tap - PowerTap tap - DevicePort tap - Open-style tap Insulation displacement connectors (IDCs): - Open-style - Micro Connectors: - Sealed - Open-style Scanner module Devices (nodes)
Explain that, since the DeviceNet network is an open network, software programs developed by various vendors can be used to access and configure DeviceNet devices. Note that a device manufactured by Rockwell Automation can be configured using a software program developed by another vendor as long as an appropriate EDS (electronic data sheet) file exists for the device. The same is true for configuring third party devices using Rockwell software programs.
The following software components are required to access, configure, and maintain a DeviceNet network: Network configuration software such as RSNetWorx for DeviceNet software Linking software such as RSLinx software
1-6
Power Supply
Tell students that the power supply used in the DeviceNet workstations is secured behind the front panel and is therefore not visible.
A DeviceNet network requires its own 24 V DC power supply with current limit protection. Depending upon the current draw and positioning of network devices, more than one power supply may be needed per network.
DeviceNet Cable
A specific type of cable is required for DeviceNet networks and falls into one of the following two main categories:
Round Flat
DeviceNet round cable has the following general characteristics: Two power wires, two signal wires, and a bare (drain) wire
1-7
Point out that only the thick version of KwikLink flat cable is really flat. The thinner version, often used on drop lines, is similar in appearance to round thin cable, except that it sometimes has a gray exterior.
DeviceNet KwikLink flat cable has the following general characteristics: Two power wires and two signal wires (no drain wire) A gray exterior The following graphic shows a cross-segment of KwikLink flat cable:
Gray Exterior Jacket
Each of the two DeviceNet cabling options has unique benefits, as shown in the following table:
Explain that devices can be clamped directly onto a KwikLink flat cable trunk line, thereby eliminating the need to sever it in order to install a device.
Round Cable Benefits KwikLink Flat Cable Benefits Allows connectors to be attached virtually anywhere on the network without the need to sever the trunk line Supports both 4 A (Class 2) and 8 A (Class 1) current ratings Has physical keying to help prevent wiring mishaps
Provides good noise immunity Lends itself to quick network breakdown for troubleshooting purposes
1-8
DeviceNet round and KwikLink flat cable can be further divided into the following categories: Trunk Line: The main cable from which devices are connected via drop lines. Trunk line cable is considered the backbone of a DeviceNet network.
Drop Line: The cable that connects devices on the network to the
trunk line. It is typically smaller in diameter than trunk line cable and carries less current.
Point out that it is sometimes difficult to distinguish between trunk line and drop line cable on DeviceNet network installations, especially when the same gauge of cable is used for both the trunk line and the drop line. However, its very important to be able to distinguish between the two for troubleshooting purposes.
The following graphic shows trunk line and drop line cable on a DeviceNet network that uses round cable:
Trunk Line
Drop Line
Drop Line
DeviceNet cable consists of several distinct wires. Each wire performs a specific function and has unique characteristics, as shown in the following table:
This color wire . . . Black Red White Blue Bare (round cable only) Is called the . . . V-- power wire V+ power wire CAN_H signal wire CAN_L signal wire Drain wire And performs this function . . . Supplies V-- power to the network Supplies V+ power to the network Carries the high communications signal Carries the low communications signal Provides noise immunity
Tip "
KwikLink flat cable does not contain a bare (drain) wire, as it is unshielded cable.
1-9
Terminating Resistors
Point out a terminating resistor on a workstation. To help students understand the concept of signal reflection on a network, compare it to an echo in human language. Explain that though communication can still occur if an echo exists, it may not be clear and the message being sent can easily be lost or misunderstood.
Terminating resistors are essential components of a DeviceNet network, as they reduce communications signal reflection. By providing an endpoint for communications data on the network, they prevent the DeviceNet signal from being bounced back through the line and distorted. The following graphic shows examples of terminating resistors used with round cable and with KwikLink flat cable:
Female Terminating Resistor Used with Round Cable Male Terminating Resistor Used with Round Cable
Terminating Resistor with End Cap Used with KwikLink Flat Cable
Tip "
Male and female terminating resistors used with round cable can be easily distinguished by their color alone: male terminating resistors are gray and the female terminating resistors are black.
Taps
Stress that taps are only used with round cable to connect drop lines to the trunk line.
Taps are used with round cable to connect a drop line to the trunk line. The following types of taps are available for use on DeviceNet networks: T-Port tap DeviceBox tap PowerTap tap
1-10
T-Port Tap
Point out a T-Port tap on a workstation.
T-Port taps connect to trunk and drop lines and provide right or left keyways (cable attachments) for device positioning purposes:
DeviceBox Tap
If available, pass around samples of these taps. Stress that taps are not considered nodes on a DeviceNet network.
DeviceBox taps connect devices directly to a round cable trunk line and drop line connections for as many as eight devices:
PowerTap Tap PowerTap taps are mounted directly on a trunk line and connect a network to a power supply. PowerTap taps offer the following benefits: Provide overcurrent protection to thick trunk line cable Can be used with fuses to connect multiple power supplies to the trunk line without back-feeding between supplies
Make students aware that PowerTap taps are sometimes used to replace a single, higher current power supply when national or local codes limit the maximum rating of a power supply. Stress that problems can arise on a network if the proper rules are not followed for this type of configuration. Refer students to the Documentation Reference Guide for detailed information.
E 2008 Rockwell Automation, Inc. All rights reserved.
1-11
Fuse Connection
PowerTap Tap
Fuse Connection
Trunk Line
Tip "
When using a PowerTap tap to feed cable only on one side of the tap, remove the unused fuses. DevicePort Tap
If available, point out the eight connections on the tap. Point out that DevicePort taps are beneficial because they reduce the number of drop lines on a DeviceNet network. Remind students that a DevicePort tap itself does not count as a node on a DeviceNet network. Only the devices attached to it count as nodes.
DevicePort taps are multiport taps that connect to a round or KwikLink flat cable trunk line via drop lines. One DevicePort tap can connect as many as eight devices to a network at a time:
Trunk Line
Drop Line
DevicePort Tap
1-12
Open-Style Tap
Point out an open-style connector on one of the classroom workstations.
Open-style taps connect drop lines to the trunk line and contain exposed wires for flexibility:
Trunk Line
Open-Style Tap
Drop Line
Device
Important:
has already been discussed can insulation displacement connectors be compared and why? Answer: Insulation displacement connectors are comparable to the taps used with round cable, because they also connect drop lines to a trunk line.
The capability to be attached at any point on the trunk line Screws that drive the contacts through the cable jacket and
directly into the conductors
1-13
The following graphic shows a KwikLink flat cable system with devices attached to the trunk line using insulation displacement connectors:
KwikLink Open-Style Connectors KwikLink Micro Connector Drop Line
Terminating Resistor
connector to attach directly to a segment of flat cable so useful? Answer: It allows maintenance and repair work to be completed with minimum disruption to plant operations, since the entire network does not need to be shut down for an extended amount of time while the cable is dismantled and re-connected. Note that open-style connectors are useful because their exposed wires make voltage checks easier.
KwikLink Open-Style Connector KwikLink open-style connectors attach devices directly to a KwikLink flat cable trunk line and contain exposed wires for flexibility:
KwikLink Open-Style Connector Exposed Wire Connection
1-14
The following graphic shows a KwikLink flat cable segment with an open-style connector:
CAN_H (White) Signal Wire Screw Terminal V+ (Red) Power Wire Screw Terminal CAN_L (Blue) Signal Wire Screw Terminal V- (Black) Power Wire Screw Terminal KwikLink Open-Style Connector
KwikLink micro connectors attach devices directly to a KwikLink flat cable trunk line:
KwikLink Micro Connector
1-15
The following graphic shows a KwikLink flat cable segment with three micro connectors:
KwikLink Micro Connectors
Scanner Module
Do not go into detail about scanner module function or about the different types of scanner modules. This information will be addressed in a later lesson.
A scanner module is an interface between network devices and the processor or controller that is controlling them. Since data cannot pass directly from a processor or controller to a device, nor from a device directly to a processor or controller on a DeviceNet network, a scanner module organizes the data and stores it in data tables where it can be easily accessed by a processor or controller and devices.
1-16
The type of scanner module that is used on a DeviceNet network depends upon the processor or controller platform being employed. The following graphic shows four of the types of scanner modules Rockwell Automation manufactures for use on DeviceNet networks:
1747-SDN Scanner Module For Use with the SLC 500 Platform
1784-PCIDS Scanner Card For Use with the SoftLogix 5800 Platform
A DeviceNet scanner module is generally located in the chassis with the processor or controller being used on the network. The following graphic shows a ControlLogix chassis with a ControlLogix controller in slot 0 and a 1756-DNB scanner module in slot 1:
ControlLogix Controller
1-17
Devices (Nodes)
lesson. Which two wires in the DeviceNet cable transmit the DeviceNet signal?
To be DeviceNet-compatible, a device must have specific communications circuitry. The following table lists the general categories of DeviceNet-compatible devices and specific examples of devices manufactured by Rockwell Automation that fall into each category:
Device Category Packaged I/O Modular I/O Sensors Examples ArmorBlock MaXum I/O CompactBlock I/O 1794 Flex I/O 1734 POINT I/O SmartSight 9000 photoelectric sensor RightSight photoelectric sensor 871TM inductive proximity sensor PanelView Plus operator interface 800E pushbutton station 855T control tower stack light Powermonitor I and Powermonitor 3000 power quality meters Bulletin 100 DSA (DeviceNet starter auxiliary) E3 solid-state overload relay Bulletin 2100 IntelliCENTER Motor Control Center (MCC) Bulletin 160 drive Bulletin 1305 AC drive PowerFlex 70 AC drive ULTRA 3000 and ULTRA 5000 servo drives
Consult the DeviceNet Selection Guide for the latest information on DeviceNet-compatible devices manufactured by Rockwell Automation.
Operator interfaces Power and energy management devices Motor starters and protectors
EtherNet/IP to DeviceNet Linking Device The 1788-EN2DN linking device allows for bridging from EtherNet/IP to DeviceNet networks and also acts a master scanner on the DeviceNet network:
1-18
Explain to students that the following section is meant to familiarize them specifically with the devices included in the DeviceNet workstations.
Absolute Multi-Turn Encoder 842D An encoder converts a signal or data to code. The Multi-Turn Encoder can be identified by its white-faced knob and small crank.
An E3 solid-state overload relay is a motor protector that monitors motor performance and provides crucial diagnostic information for damaging conditions such as thermal overload, phase loss, stall, jam, underload, and current imbalance:
Motor Contactor
1-19
PowerFlex 40 Drive
Tell students that the PowerFlex 40 drive contains many diagnostic parameters that can be used when troubleshooting.
A PowerFlex 40 drive is a compact and highly functional speed controller. When used on a DeviceNet network, a DeviceNet communications adapter is affixed to the front of the PowerFlex 40 drive for controlling and monitoring purposes:
PowerFlex 40 Drive
Like the RightSight photoelectric sensor, an 871TM inductive proximity sensor is a smart device and is able to provide a significant amount of diagnostic information about itself:
1-20
Depending upon the option chosen, an ArmorBlock MaXum I/O module can support as many as eight separate I/O connections from one location. Among the modules advanced capabilities is the ability to provide point-level diagnostics for the devices attached to it:
The 1734-ADN Point I/O DeviceNet adapter interfaces between DeviceNet network and Point I/O modules. Each type of communication interface supports a maximum of 13 to 17 modular Point I/O modules:
1-21
A PanelView Plus operator interface is a sophisticated operator control terminal with advanced graphics capabilities:
1770-KFD Module
Note that the 1770-KFD driver is a software subroutine, while the 1770-KFD (or RS-232) module is a physical module used to implement a connection to a DeviceNet network via the 1770-KFD driver.
A 1770-KFD (RS-232) module is used to connect a computer that contains RSNetWorx for DeviceNet software to a physical DeviceNet network using a 1770-KFD driver:
Network Status Indicator Module Status Indicator
Power Switch RS-232 Connector to Computer Serial Port Power Supply Connector
If you have not already done so, hold up a copy of the Procedures Guide and tell or remind students that step-by-step instructions to complete the RSNetWorx for DeviceNet software-based tasks addressed in class are included in the guide.
1-22
RSLogix 5000
Heres How
On your workstation, briefly point out the major DeviceNet components addressed in this lesson.
To identify DeviceNet network components. As your instructor demonstrates this procedure, follow along on your DeviceNet workstation.
1-23
Round cable KwikLink flat cable Flat cable terminating resistor 1756-DNB scanner module Absolute Multi-turn encoder E3 overload relay 1734-ADN Point I/O ArmorBlock MaXum input module PowerFlex 40 drive 871TM inductive proximity sensor PanelView Plus operator interface
2. Identify all of the types of insulation displacement connectors found on the workstation:
1-24
3. Match the DeviceNet cable wires to the appropriate description: A. Black wire B. Red wire C. White wire D. Blue wire E. Bare (round cable only) CAN_H signal wire V+ power wire V- power wire Drain wire CAN_L signal wire
Turn to the Answers section. In this exercise, you will practice identifying cable system components on a DeviceNet network. Context: A DeviceNet network will be used to run the oven line and cooling rack portions of the production line. A scanner module and devices to be used on the line have already been selected, but the appropriate cable system components must still be identified. Since a combination of flat and round cable will be used on the line, you must be familiar with the cable components used with both of these options. Directions: Identify the types of cables, taps, and connectors numbered on the following two graphics. Space is provided after the graphics for recording answers.
1-25
1 2 4
Enclosure
11
1.
2.
3.
1-26
4.
5.
6.
7.
8.
9.
10.
11.
1-27
1-28
Answers
Exercise A
2. The DeviceNet workstation contains both open-style and micro insulation displacement connectors. 3. C. CAN_H signal wire, carries the high communications signal B. V+ power wire, supplies V+ power to the network A. V- power wire, supplies V- power to the network E. Drain wire, provides noise immunity D. CAN_L signal wire, carries the low communications signal
Exercise B
1. Terminating resistor 2. T-Port tap 3. PowerTap tap 4. DevicePort tap 5. Trunk line 6. Drop line 7. DeviceBox tap 8. Open-style direct connector 9. Terminating resistor 10. KwikLink micro connector 11. KwikLink open-style connector
After completing this lesson, you should be able to design a DeviceNet cable system by performing the following tasks: Determine maximum trunk line distance and verify that it falls within specification Determine cumulative drop line length and verify that it falls within specification
DeviceNet Cable
A DeviceNet cable system requires specific cable types . Depending on the application, two basic categories of cable may be used: Round cable
Flat cable
2-2
Round Cable Round cable can be divided into the following categories:
Round Cable Category Thick Description Is typically used for trunk line, but may also be used for drop lines Has an outside diameter of 12.2 mm (0.48 in) Has an 8 A current rating Is typically used for drop lines, but may be used for trunk line Is more flexible than thick cable Has an outside diameter of 6.9 mm (0.27 in)
Thin
Note that Rockwell Automation round (thick) cable power conductors are sized to handle at least 8 A, but the NEC regulations limit the cable to 4 A because of the type of insulation that is used on the CAN_H and CAN_L wires.
National Electric Code (NEC) and Canada Electric Code (CEC) dictate that any DeviceNet installation in North America using thick (round) trunk line cable and thin drop line cable must be a Class 2 installation, thereby imposing a current limit of 4 A on these installations, regardless of the fact that the cable actually has an 8 A rating.
The NEC and CEC limitations for round (thick) cable used in North America do not apply to round (thick) cable use in networks that are part of DeviceNet MCCs (Motor Control Centers).
Flat Cable
Point out that KwikLink is a brand of flat cable manufactured by Rockwell Automation.
KwikLink flat cable is another DeviceNet cabling option. The following are general characteristics of KwikLink flat cable: Physical flexibility Physical keying to prevent wiring mishaps
Explain that devices can be clamped directly onto a KwikLink flat cable trunk line, thereby eliminating the need to sever the cable in order to install a device. Tell students that it is possible to use 8 A on a Class 2 flat cable, but the power supply must be placed directly in the middle of the line, with 4 A feeding each side.
Cable length flexibility Support for connections anywhere on the network Ease of device installation without severing trunk line or shutting
down the network
Support for both 4 A (Class 2) and 8 A (Class 1) power supplies Un-shielded wiring Availability of four conductors that are not twisted pairs
2-3
Note that lack of a shield wire in KwikLink cable reduces materials costs and helps make it a less expensive cabling option.
Note that although KwikLink flat cable is unshielded, the power and signal wires are in a horizontal configuration with the two power wires at opposite ends from one another. This feature helps inhibit noise coupling from the power wires to the signal wires, even though no shield is present.
Class 1
Thick
Class 2
Drop
Is only used as drop line with KwikLink flat cable systems Is an un-shielded 4 conductor cable
The trunk line is the backbone of the network because it connects all devices to each other. A DeviceNet trunk line must meet the following requirements: For round and Class 1 KwikLink flat cable systems, must not carry more than 8 A of current For Class 2 KwikLink flat cable systems, must not carry more than 4 A of current Must not exceed the length allowable based on the data rate of the network
2-4
The distance between any two points on a DeviceNet network cannot exceed the maximum trunk line distance for the data rate used, as shown in the following table:
Maximum Distance (KwikLink Flat Cable) 420 m (1378 ft) 200 m (656 ft) 75 m (246 ft) Maximum Distance (Round Thick Cable) 500 m (1640 ft) 250 m (820 ft) 100 m (328 ft) Maximum Distance (Thin Cable) 100 m (328 ft) 100 m (328 ft) 100 m (328 ft)
Point out that the term maximum trunk line distance is often used interchangeably with the term maximum cable distance. The former term is used consistently in this course.
Tip "
In most cases, the maximum allowable trunk line distance will be the same as the distance between each end of the network (i.e., between terminating resistors). However, if the distance from a trunk line tap to the farthest device on the network is greater than the distance from that tap to a terminating resistor, the drop line length must be included as part of the total cable length. If using a combination of round and flat cable on a trunk line, the maximum trunk line distance for the entire network should be calculated using the flat cable guidelines.
A drop line connects devices on the network to the trunk line and typically uses thin cable. A drop line must meet the following specifications: Current capability must not exceed 3 A Length must not exceed 6 m (20 ft) from the farthest device on a drop line to the trunk line More than one device can be connected to a drop line by means of branches, but the length from the farthest device on a branch to the trunk line still must not exceed 6 m (20 ft).
Tip "
2-5
The following graphic shows a cable configuration with branching and non-branching drop lines:
Cumulative Drop Line Length The cumulative drop line length refers to the sum of all drop lines in the cable system. This sum cannot exceed the maximum cumulative length allowed for the data rate used, as shown in the table below:
Inform students that the information in the table is also included in the Documentation Reference Guide.
Data Rate 125k bit/s 250k bit/s 500k bit/s Cumulative Drop Line Length 156 m (512 ft) 78 m (256 ft) 39 m (128 ft)
Mention that the Allen-Bradley MediaChecker is a good tool to verify proper DeviceNet cable installation.
The maximum data rate for a network must be determined based on the length of the trunk line as well as the cumulative drop line length.
Devices (Nodes)
device on the network? Answer: Yes, the computer/communications driver is counted as a device.
A DeviceNet device is any device on the network that is addressable and contains the DeviceNet communications circuitry. Devices are often referred to as nodes on a DeviceNet network. Some examples of devices commonly used on DeviceNet networks include the following devices: I/O adapters
Consider discussing the benefits of using a simple I/O device, such as a RightSight photoelectric sensor, vs. a more complicated I/O device, such as ArmorBlock I/O. Explain that a sensor is only a one-for-one I/O connection, while ArmorBlock I/O can accommodate several devices at one node.
Photoelectric sensors Operator interfaces Drives Motors Bar code readers Pushbuttons
2-6
Note that not all DeviceNet-compatible devices are DeviceNet-certified by ODVA. To ensure reliability in operation, advise students to make sure the devices they invest in are, in fact, certified.
DeviceNet-compatible devices are manufactured by many different vendors but must all meet a certain set of criteria to be deemed DeviceNet-compliant by ODVA (Open DeviceNet Vendor Organization). Devices that pass ODVA conformance testing receive the Conformance Tested Service Mark shown in the following graphic:
CAN Technology Communication between devices on a DeviceNet network occurs through the use of CAN (Controller Area Network) technology. Simply stated, communication is accomplished by differentiating between a dominant signal (the voltage difference between the CAN_H wire and the CAN_L wire must be within certain limits) and a recessive signal (the voltage difference between the CAN_H wire and the CAN_L wire should be as close to 0 volts as possible):
Device Components To communicate on a DeviceNet network, a device must contain the following physical components: Transceiver: A component that allows the transmission and reception of CAN signals between a device and a network. Connector: A component that is used to attach a device to DeviceNet cable.
of the four DeviceNet power and signal wires from being inserted through the improper slot of a connector. Regulator: A component that reduces the amount of voltage a device receives from a network to the amount actually needed to power the device.
Tip "
A device can draw power from the network itself, from an external power source, or from a combination of both.
2-7
Make sure everyone understands that 64 nodes are supported on the network, but the highest node number that can be assigned is 63, since nodes are counted from 0 to 63.
DeviceNet devices must meet the following requirements: The distance between the trunk line and the device (i.e., the length of the drop line) cannot exceed 6 m (20 ft).
Devices must be DeviceNet-compatible. Devices may not be rated for more than 3 A of current draw
based on cable length requirements Each device must be assigned a unique node address. 64 devices (nodes) can be supported on one network.
Tip "
displacement connector to snap directly onto a trunk line so useful? Answer: It allows devices to be added to a network without severing the trunk line and shutting down production for extended periods of time.
KwikLink insulation displacement connectors have the following features: A hinged, two-piece base that snaps easily around the flat cable The capability to be attached at any point on the trunk line Screws that drive the contacts through the cable jacket and directly into the conductors The following graphic shows a KwikLink flat cable system with devices attached to the trunk line using insulation displacement connectors:
KwikLink Open-Style Connectors
Trunk Line
Terminating Resistor
2-8
KwikLink micro connectors are further divided into the following subcategories: NEMA 6P rated NEMA 1 rated
Inform students that the difference between the two types of KwikLink micro connectors is the fact that the NEMA 1 rated connectors support fewer environmental conditions than the 6P rated connectors.
The NEMA 1 rated connector is not protected from circulating dust or any type of liquid.
Neither the 6P rated nor the 1 rated connector is protected from oil or coolant.
Power Supplies
The following rules apply to power supplies on a DeviceNet network: The power supply must have its own current limit protection. The power supply must be placed as close to the center of the network as possible. Fuse protection must be provided for each segment of the cable system.
The power supply must be sized to provide each device with its
required power. Maximum current must be calculated based on drop line length. The following table shows the allowable current for several drop line lengths:
Inform students that the information in the table is also included in the Documentation Reference Guide.
Drop Line Length 1.5 m (4.9 ft) 2 m (6.6 ft) 3 m (9.8 ft) 4.5 m (14.8 ft) 6 m (19.7 ft) 3A 2A 1.5 A 1A 0.75 A Allowable Current
2-9
Show students how to search for the look-up charts in the Documentation Reference Guide. It is not necessary to explain the charts. The Heres How section of this lesson is used to demonstrate power requirement calculations. Stress that the look-up method provides the most conservative calculation. A system that does not fall within specifications using the look-up method may still meet specifications using the full-calculation method.
Power Supply Requirement Calculation Certain specifications exist for power requirements on a DeviceNet network. To determine the power requirements of a system, one of the following methods is used: The Look-Up Method: Power supply requirements are determined using look-up charts. This method is used when an initial evaluation finds that no section of the cable system is overloaded.
determined using an equation. This method is used when an initial evaluation finds that one section of the cable system is overloaded or when the configuration is not covered by the charts in the look-up method.
Tip "
The look-up method is typically used first and provides the most conservative power supply calculation. If the look-up method result indicates that a power supply does not fall within specification, it is possible that the full-calculation result will indicate otherwise.
Terminating Resistors
To help students understand the concept of signal reflection on a network, compare it to an echo in human language. Explain that though communication can still occur if an echo exists, it may not be clear and the message being sent can easily be lost or misunderstood.
Terminating resistors are used to reduce the reflection of communications on the network. In other words, they provide an endpoint for communications data on the network so that the communications signal is not bounced back through the line. Terminating resistors must comply with the following specifications: Must be installed on both ends of the network (trunk line) Must be 120/121 1/4 W resistors No more and no less than two terminating resistors must be installed on a network. Terminating resistors are selected based on the type of cable and connector being used, as shown in the following table:
If the cable is . . . Round Flat And the end device uses this tap. . . T-Port tap Open--style tap N/A Then this terminating resistor is used . . . Sealed Open-style A snap-on cap for the flat cable connector (available in sealed and unsealed versions)
2-10
If terminating resistors are not attached to both ends of a network, the network will not operate properly. A terminating resistors point of attachment on a network depends on its type, as shown in the following table:
This type of terminating resistor . . . Sealed Open-style Sealed snap-on Open snap-on Attaches to . . . Trunk line ends T-Port taps Open-style taps Trunk lines that use terminating blocks An insulation displacement connector base
Grounding Requirements
Grounding is the act of shielding a network from electrostatic damage and excess noise. Proper network grounding is necessary to ensure that a network will function reliably. Slightly different guidelines apply to networks with a single power supply vs. networks with multiple power supplies. Single Power Supply Grounding Requirements
Stress the importance of checking that additional grounding does not occur when a non-isolated device is attached to a network or external connections are made. Tell students to check the documentation that ships with a device to avoid this problem when adding a non-isolated device to a network. KwikLink flat cable?
The following grounding requirements apply to networks with a single power supply: Cable must be grounded at only one location (preferably at the power supply). If round cable is used, the V- (black) power wire, shield (bare). and drain wires must be grounded at one place.
Even a network with only one power supply can inadvertently be grounded in more than one location if a non-isolated device is mounted on the network or when external connections are made to a non-isolated device.
2-11
The following graphic shows grounding wiring schematics for two single power supply networks, one using round and the other using KwikLink flat cable:
Round Cable Wiring Terminal Block
CAN_H (White) Signal Wire CAN_L (Blue) Signal Wire Drain Wire V- (Black) Power Wire V+ (Red) Power Wire
V-
V+
Power Supply
L1 L2 grd
120 V AC (Typical)
V-
V+
Tip "
A micro style connector may be used for power supply connections requiring less than 4 A. Use open-style connectors for up to 8 A. Multiple Power Supply Grounding Requirements The following grounding requirements apply to networks with more than one power supply: Cable must be grounded at only one location. The V- (black) wire of only one power supply must be grounded.
Point out that a common grounding-related mistake on networks with multiple power supplies is the connection of more than one power supply to an earth ground. Stress the importance of breaking the V+ power wire between the power supplies.
supplies. Each power supplys chassis must be connected to the common earth ground. The grounding connection must be made using a 25 mm (1 in) copper braid or #8 AWG wire no longer than 3 m (10 ft) in length. The following graphic shows grounding wiring schematics for a network with multiple power supplies that uses KwikLink flat cable:
Additional information about network grounding can be found in the Documentation Reference Guide. To determine maximum trunk line distance and verify that it falls within specification: As your instructor demonstrates this procedure using the following example, follow along in the associated job aid(s).
E 2008 Rockwell Automation, Inc. All rights reserved. CBLib100
2-12
CAN_H (White) Signal Wire CAN_L (Blue) Signal Wire V-(Black) Power Wire V+ (Red) Power Wire
V+ (Red) Power Wire Broken Between Power Supplies VOnly One Earth Ground V+ VV+
Power Supply
Example
T1
n2
In the following example, the maximum trunk line distance is equal to the total of the two trunk line cable segments that are 2 m long as well as the 3.5 meter (11.5 foot) drop line:
2 m (6.6 ft) T1 1 m (3.3ft.) n1 3.5 m (11.5ft) 2 m (6.6 ft) 3 m (9.8 ft) T2
n2
2-13
Tip "
The 3.5 m (11.5 ft) drop line is included in the total cable length calculation instead of the 3 m (9.8 ft) trunk line segment since the distance between the device at the end of the drop line and the connector is longer than the distance of the last segment before the terminating resistor. To determine cumulative drop line length and verify that it falls within specification: As your instructor demonstrates this procedure using the following example, follow along in the associated job aid(s).
Heres How
Use the following example to demonstrate how to calculate cumulative drop line length and verify that it falls within specification for the data rate used on the sample network.
Example
4 m (13.2 ft)
1 m (3.3 ft)
2-14
Heres How
Demonstrate how to use the look-up method by referring students to the Documentation Reference Guide charts and finding the sample network lengths and number of power supplies in the charts. Then, cover the same example using the full-calculation method.
To design a DeviceNet cable system by performing the following tasks: Determine the requirements for supplying power to a network using the look-up method
Example
40 m (131 ft) TR PT
T D2 0.15 A
T D3 0.50 A
T D4 1.25 A
TR
In the example above, the network is configured as follows: The total length of the network is 120 m (394 ft).
Round (thick) cable is used for the trunk line. There is one end-connected power supply on the network. There are four devices on the network with the following
currents:
2-15
The following steps are taken to determine if the total current on the network is within the maximum allowable range based on the network configuration and power supply placement: 1. The currents of each of the four network devices are added together and it is determined that the total current for the network is 2.15 A (0.25 A + 0.15 A + 0.50 A + 1.25 A = 2.15).
Refer students to the Documentation Reference Guide for the table that should be used to calculate the answer in this example.
2. The maximum allowable current for the network is determined by consulting the appropriate look-up table, which can be found in the Documentation Reference Guide. 3. Based on the look-up table, it is determined that the maximum current allowed on a 120 m (394 ft) long network with one end-connected power supply is 2.47 A. 4. Since the total current on the network does not exceed the maximum allowable current, it can be inferred that the network will operate properly.
Example
40 m (131 ft) TR PT
T D2 0.15 A
T D3 0.50 A
T D4
TR
1.25 A
2-16
In the example, the network is configured as follows: The total length of the network is 120 m (394 ft).
Round (thick) cable is used for the trunk line. There is one end-connected power supply on the network. There are four devices on the network with the following
currents:
Note that if it had been determined that the power supply on the example network was within the allowable range using the look-up method, the full-calculation method would not need to be employed.
The following steps are taken to verify that the example networks power supply configuration meets specifications using the full-calculation method: 1. The appropriate equation is selected based on the type of cable being used on the network and the placement of the power supply. For the example network, which has one end-connected power supply and uses round (thick) cable, the following equation is used: SUM{[(Ln x (0.015)) + (Nt x (0.005))] x In } < 4.65V Ln: The length of cable (in meters) between power supply and node 0.015: Ohms per meter of cable Nt : The number of taps between the power supply and node n 0.005: Ohms of contact resistance per tap In: The current draw from the network for node n 4.65V: The maximum common mode voltage drop allowed The following calculation uses meters as the primary unit of measurement. The equation used for the following calculation applies only to round (thick) cable.
Note that this example uses meters as the primary unit of measurement. Remind students that .015 ohms per meter of cable is substituted with .0045 ohms per foot of cable when using the English measurement system. Tell students that a table describing each component of the full-calculation equation in detail is provided in the documentation reference guide.
Tip "
See the Documentation Reference Guide for the appropriate equations to be used with other cable types. 2. For each device on the network, the distance between the device and the power supply is multiplied by 0.015 (meters) as follows:
E 2008 Rockwell Automation, Inc. All rights reserved.
D1: {[(40 x (0.015)) + (Nt x (0.005))] x In } D2: {[(80 x (0.015)) + (Nt x (0.005))] x In } D3: {[(100 x (0.015)) + (Nt x (0.005))] x In } D4: {[(120 x (0.015)) + (Nt x (0.005))] x In }
Rev. July 2008 CBLib100
2-17
3. The number of taps between the device being evaluated and the power supply is multiplied by 0.005 as follows:
D1: {[(.6) + (1 x 0.005)] x In } D2: {[(1.2) + (2 x 0.005)] x In } D3: {[(1.5) + (3 x 0.005)] x In } D4: {[(1.8) + (4 x 0.005)] x In }
4. For each device, the values determined in steps 2. and 3. are added together and multiplied by the amount of current the device draws from the network to determine the devices voltage as follows: D1: {[.6 + 0.005] x .25 A} D2: {[1.2 + 0.01] x 0.15 A} D3: {[1.5 + 0.015] x 0.50 A} D4: {[1.8 + 0.02] x 1.25 A} 5. The voltage for each device (as determined in step 4.) is added together as follows: 0.15125 V + .1815 V + .7575 V + 2.275 V = 3.36525 V 6. If the total voltage of each device does not exceed 4.65 V, it can be determined that the network will function properly. Since the total voltage of the devices on the example network is less than the maximum allowable voltage (3.36525 V 4.65 V), it can be determined that the network in this example will function properly.
2-18
2-19
2-20
Terminating Resistor
5m (16.4 ft) 4 m (13.1 ft) 29 m (95.1 ft) 6 m (20 ft) 36 m (118.1 ft) 5 m (16.4 ft)
85 m ( 278.8 ft)
7 m (23 ft)
200 m (656 ft) 110 m (360 ft) 80 m (262.4 ft) 2m (6.5 ft) 10 m (32.8 ft) 4 m (13.1 ft)
Terminating Resistor
3. What is the maximum data rate that could be used on this network?
2-21
4. If the drop line length for the first device on the network was changed from 4 m (13 ft) to 6 m (20 ft), how would the trunk line length be affected?
5. What would the length of the trunk line have to be to run the network at a data rate of 500k bit/s?
Turn to the Answers section. In this exercise, you will practice designing a DeviceNet cable system by performing the following tasks: Determine the requirements for supplying power to a network using the look-up method Determine the requirements for supplying power to a network using the full-calculation method Context: You have verified that the trunk line distance and cumulative drop line length of the network meet specifications and must now verify that the network power supply meets specifications. Directions: The graphic on page 2-22 represents the network. Use it to answer the questions that follow: The network in the graphic uses round (thick) cable on the trunk line.
2-22
Terminating Resistor
0.10 A 5m (16.4 ft)
Device 4 Device 5
Device 3
29 m (95.1 ft)
Tap
Tap
Tap
Power Supply
Terminating Resistor
85 m (278.8 ft)
7 m (23 ft)
Tap
200 m (656 ft) 110 m (360 ft) 0.10 A Device 1 80 m (262.4 ft)
Tap
1. Determine the requirements for supplying power to the network above using the look-up method. 2. Based on look-up method results, does the power supply on this network fall within specification? Why or why not?
Tip "
Keep in mind that the network uses round (thick) cable and has a single, end-connected power supply.
2-23
3. Based on the look-up method results, should the power requirements be calculated again using the full-calculation method? Why or why not?
4. Determine power supply requirements for this network using the full-calculation method. Does the power supply configuration meet specifications when the full-calculation method is used?
2-24
Answers
Exercise A
1. The trunk line length is 482 m (1581 ft). 2. The cumulative drop line length for this network is 21 m (69 ft). 3. The maximum data rate that could be used on this network is 125k bit/s. Even though the cumulative drop line length falls within specifications to run the network at 500k bit/s, the network can not use a data rate faster than 125k bit/s because of the length of the trunk line. 4. This length would need to be included in the total trunk line length since it is longer than the distance to the nearest terminating resistor. 5. The trunk line would have to be 100 m (328 ft) or less to accommodate a 500k bit/s data rate.
Exercise B
1. No, based on look-up method results, the power supply for this network does not fall within specification. The total power supply requirement for the devices on the network is 0.85 A, but a network whose devices require 0.85 A can be no longer than 360 m (1181 ft). Since this network is 482 m (1581 ft) in length, it does not fall within specification. 3. Yes, because the look-up method result does not fall within specification. Since the look-up method is the most conservative method for determining power supply requirements, the network may still fall within specification based on full-calculation method results. 4. Yes, the power supply does fall within specification when the full-calculation method is used. Based on full-calculation method results, the total voltage requirement is 4.3565 V, which is under the 4.65 V limit.
Tip "
If the power supply were moved to the middle of the network, the network may fall within specification.
After completing this lesson, you should be able to create a network configuration by performing the following tasks: Configure a DeviceNet driver Configure network properties
Create an offline network configuration Go online to a network Upload a device or network configuration Browse a network
Drivers
A driver is the software interface to the hardware device that allows RSLinx Classic software to communicate with your PLC. A properly configured driver makes it possible to view a software representation of an active network and make configuration changes and adjustments.
3-2
Drivers used with Rockwell Software programs are configured using RSLinx Classic software:
DeviceNet Drivers
The following drivers can be used to go online to a DeviceNet network: 1770-KFD Driver: Used in conjunction with an 1770-KFD (RS-232) module, which provides a point-to-point connection from a computer to a DeviceNet network. For the 1770-KFD driver to be configured, a 1770-KFD module must be connected to the DeviceNet network and to the computer from which the driver is being configured via the computers serial port.
Tip "
which fits into the PCMCIA slot of a laptop computer. The 1784-PCD driver is used to connect a laptop computer directly to a DeviceNet network. 1784-PCID Driver: Used in conjunction with a 1784-PCID card for the PCI bus of a personal computer. The 1784-PCID driver is used to connect a personal computer directly to a DeviceNet network. RSLinx Classic software comes with a variety of drivers already installed. However, the 1784-PCID driver must be installed separately.
3-3
DeviceNet network on a PLC-5 platform through the backplane of the chassis in which a PLC-5 processor and companion 1771-SDN scanner module reside.
Tip "
DeviceNet network on an SLC 500 platform through the backplane of the chassis in which an SLC 500 processor and companion 1747-SDN scanner module reside. A connection to a DeviceNet network using either of these two pass through drivers is much slower than a direct connection and is therefore not recommended for use on a regular basis.
Tip "
Not exclusively a DeviceNet driver, an Ethernet driver can be used to access a variety of networks through a ControlLogix backplane. The following graphic shows the RSLinx Classic window where a 1770-KFD driver is configured:
Note that if the incorrect network data rate is selected for the driver, the driver will not accept it.
The data rate assigned to a DeviceNet driver must be the same as the data rate assigned to all other devices on the network.
3-4
Network Properties
Note that once an online path is defined for a network configuration, that path will automatically be used to go online to the network without prompting.
Network properties define a DeviceNet network in order to distinguish between networks. This is particularly helpful if more than one DeviceNet network exists in a plant. The following properties can be defined for a DeviceNet network: Network name Network description
Tip "
Only the Description field can be changed in this window. The Name field will become active after the network configuration has been saved.
3-5
configuration be most beneficial? Possible Answer: In order to begin work on a configuration when devices are not yet available, it may be beneficial to create an offline network configuration to save time once devices are installed (unless the device configuration is not yet known). Hardware View
An offline network configuration is created in RSNetWorx for DeviceNet software when access to the physical network is not possible. RSNetWorx for DeviceNet software contains a hardware view to which devices are added from a list of available devices:
Hardware List
Point out that to appear in the hardware list, a device must be registered to the computer running the RSNetWorx for DeviceNet software program.
3-6
Note that in some cases, when a device in RSNetWorx for DeviceNet software does not match its physical counterpart, a device mismatch icon will appear over the device. Point out that this mismatch can be resolved using a procedure in the Procedures Guide.
Devices added to an offline network configuration in RSNetWorx for DeviceNet software must exactly match the physical devices they represent. If the network configuration in RSNetWorx for DeviceNet software does not match the physical network, it will not be possible to obtain data from or send data to network devices once they are online.
Do not go into detail about node address assignment. This subject will be addressed in a later lesson.
If a device is assigned a node address in an offline network configuration, unless a hardware node address has been assigned at the device itself, the address will not be valid until the node is commissioned online.
Tip "
You can find devices quickly by placing your mouse pointer over any area of the hardware list, right-clicking, and then selecting Find Hardware.
Point out that configuration can be performed offline if devices are not available (as covered in the previous section). However, configuration is much faster and easier if done online. Stress the fact that simply going online never automatically uploads the network configuration and device data. Even if a prompt to upload or download opens, no data is uploaded or downloaded by simply accepting the prompt. Once online, it is necessary to manually upload the entire network in order to view the true online network configuration.
Online Icon
3-7
Online network configuration provides the following benefits: The ability to view all devices that are available and communicating on the network before making any changes
the network The ability to view and resolve mismatches between devices in the network configuration and actual network devices A choice to upload current device data from devices to the network configuration or download device data from the network configuration to devices
Diagnostic capabilities
To view an online network configuration, it is necessary to upload the network configuration after going online. Devices may show up in the network configuration before it is uploaded, but an upload must be performed to access configuration data.
To successfully create and work with an online network configuration, its important to understand the implications of uploading and downloading: Uploading: The process of obtaining data from a physical network and displaying it in a software program.
3-8
Keep the following considerations in mind when uploading from or downloading to a network: Uploading and downloading can only be performed when a network is online.
network. In order for any changes made in an online network configuration to take effect, the configuration must be downloaded to the network. It is possible to download or upload configuration data to or from a single device or the entire network.
Browsing a Network
Browsing is a way to determine the devices that are present on a DeviceNet network and their status. A network browse provides the following information: A graphic representation of all devices detected on the network at the time of the browse The node addresses of the detected devices
The following two browsing options exist: Single Pass Browse: A way to search for all devices present on a network during a single interval (i.e., all possible node addresses are scanned once).
Do not confuse browsing a network with uploading a network. A network browse can only indicate which devices are present on the network, provide basic status information, and node addresses. Uploading a network provides specific device configuration details and a means to edit them.
3-9
The following graphic shows the RSNetWorx for DeviceNet menu where browsing, uploading, and downloading options are selected:
Heres How
Perform the following demonstration: 1. Configure the 1770-KFD driver using RSLinx software. 2. In RSNetWorx for DeviceNet open a new (empty) network configuration and enter a network name, description, and online path. 3. Create an offline network configuration, but do not save it. 4. Open an empty (new) network configuration and go online to the existing network using the 1770-KFD driver, then go offline and go online again using the Ethernet driver. 5. Demonstrate both possible browsing options (continuous and single pass). 6. Upload and download the properties of a single device, then of the entire network.
To create a network configuration by performing the following tasks: Configure a DeviceNet driver Configure network properties Create an offline network configuration
3-10
3-11
3. Open a new (empty) offline network configuration in RSNetWorx for DeviceNet software. 4. Configure network properties as outlined in the following table:
For this property . . . Description Online path Enter or select this . . . Fast Foods DeviceNet network The 1770-KFD driver or the Ethernet driver
Tip "
The software will not allow you to enter a network name in the Name text box at this time. When you save the network configuration for the first time, you can specify a network name in the File name text box.
3-12
01
02
03
04
20
30
PV Plus DeviceNet
40
Tip "
You can find devices quickly by placing your mouse pointer over any area of the hardware list, right-clicking, and then selecting Find Hardware. 6. Open a new (empty) network configuration. When prompted, do not save the existing offline network configuration. 7. Go online to the network by using the 1770-KFD or ethernet driver.
Tip "
If using the SLC 500 platform, you must use the 1770-KFD driver 8. Upload the network configuration.
3-13
9. Verify any devices that are present in the online network configuration and write the node address of each device in the following table:
Device Name 1756-DNB (Major Rev 07) Node Address
PV Plus DeviceNet
10. Which device in the offline network configuration is not present in the online network configuration? Why not?
11. Attach the right-hand 871TM inductive proximity sensor to the network.
3-14
12. Does the 871TM inductive proximity sensor show up in the online network configuration? Why or why not?
13. Perform a single pass browse to display the 871TM inductive proximity sensor in the online network configuration. 14. Enable the continuous browsing option. 15. Disconnect the 871TM inductive proximity sensor. 16. What happens after about a minute? Why?
17. Disable the continuous browsing option. 18. Delete the icon for the disconnected 871TM inductive proximity sensor. 19. Save the network configuration. 20. Close RSNetWorx for DeviceNet software.
3-15
3-16
Answers
Exercise A
2. The configuration for your 1770-KFD driver should look similar to the following:
RSLinx Software
9. The following devices with their corresponding node addresses should appear in the online network configuration:
Device Name 1756-DNB (Major Rev 07) Node Address 00
01
03
04
20
30
PV Plus DeviceNet
40
3-17
10. The 871TM inductive proximity sensor is not present in the online network configuration because it is not connected to the network. 12. The 871TM inductive proximity sensor does not show up in the online network configuration because the network has not been browsed since the sensor was connected. Therefore, the sensors presence on the network has not yet been detected. 16. The 871TM inductive proximity sensor disappears from the online network configuration (as evidenced by the error icon) because the network is being continuously browsed and any changes are immediately detected.
3-18
After completing this lesson, you should be able to commission nodes on a DeviceNet network by performing the following tasks: Commission a node using device hardware Assign a node address and data rate using the Node Commissioning tool
Assign a node address through the hardware view Assign a node address through the General property page Why These Skills Are Important
Node commissioning is important for the following reasons: Every device must be assigned a unique node address to be able to communicate on a network. Incorrect commissioning of one node can affect the functioning of other nodes, thus affecting proper operation of the entire network.
Node Commissioning
Node commissioning is the process of preparing a device to communicate on a network. Node commissioning involves the following two components: Data rate assignment
The data rate associated with a device is the rate at which the device communicates on the network and can be set for most devices using RSNetWorx for DeviceNet software. For communications to occur, the data rate of all devices on a network must be the same. The following data rates can be used: 125 k bits/second 250 k bits/second 500 k bits/second
4-2
Data rates for devices should not be changed while devices are connected to the network because erratic operation may result.
Tip "
Note that the autobaud Tip parameter makes the step of data rate assignment virtually invisible to a user. Mention that the autobaud parameter is generally set by factory-default. Tip
Most devices are factory-commissioned with a default data rate of 125 k bits/second. Many devices come with an autobaud parameter, which enables them to automatically adjust to the data rate of other network devices as soon as they are connected to the network. The higher the data rate, the faster the devices will communicate on the network. However, the data rate must be consistent with the cable system requirements and the rest of the devices on the network. Node Addresses A node address is a unique number assigned to a device to identify it on a network. The following rules apply to DeviceNet node addresses: A maximum of 64 nodes (0 to 63) are allowed on a DeviceNet network.
"
"
Explain that the concept of priority in this context refers to the order in which devices are allowed to communicate on a network.
Answer: The scanner module should have the lowest node address because it coordinates the communications of all other network devices and therefore has the highest priority on the network.
Node 0 is recommended for a DeviceNet scanner module. Node 63 is the factory default for a new device. Duplication of node addresses is not allowed. The lower the node address is set, the higher its priority becomes. The network interface and all other devices on a DeviceNet network require a node address assignment.
A node is commissioned according to the device type and situation. Nodes can be commissioned by any of the following methods: Using device hardware
4-3
PanelView Plus operator interfaces must be commissioned using RSView Studio software. The following graphic shows the communications setup windows within RSView Studio used to commission a PanelView Plus 600 operator interface:
Tip "
The PanelView Plus operator interface on the DeviceNet workstation must be commissioned using RSView Studio software.
Hardware node commissioning is performed using DIP switches, rotary switches, pushwheels, etc. The data rate and node address for a device are set using one of these features before the device is attached to the network. The following graphic shows a device and the DIP switches used to set both its node address and data rate:
4-4
Tip "
Once the network is online, a device with a hardware-assigned node address shows up with its address already assigned.
The Node Commissioning tool can be used to set both a node address and data rate, but the hardware view and General property page can be used only to set a node address.
If several nodes are being connected to the network with factory defaults of 63, each must be commissioned one at a time or manually.
Explain that the Faulted Address Tip " Recovery wizard eliminates the need to place devices with factory-default addresses of 63 online one at a time because it can detect any devices that have duplicate node addresses and assign them new, unique addresses once they are online.
Some devices that support software node address assignment can also be commissioned using an RSNetWorx for DeviceNet software feature called the Faulted Address Recovery wizard. The wizard detects duplicate node addresses and reassigns unique addresses after devices are online. Refer to a devices documentation or the RSNetWorx for DeviceNet online Help system to see if it supports Faulted Address Recovery.
4-5
The following graphic shows the RSNetWorx for DeviceNet window where node commissioning is performed using the Node Commissioning tool:
Point out that assigning a node address using the hardware view simply entails typing a new node address over the existing one.
The following graphic shows the RSNetWorx for DeviceNet hardware view through which node addresses can be assigned:
4-6
The following graphic shows the Properties/General tab page for a device that can be used to assign a node address:
Explain that there are different devices that can be used for point-to-point connection. However, for the purposes of this course, only the 1770-KFD module is covered. Point out that this method of node commissioning can also be used as a troubleshooting tool. If a device will not show up in an online network configuration with other devices, it will likely show up when removed from the configuration and viewed using a point-to-point connection. It can then be assigned a unique node address and data rate to match other devices and placed back on the network. Point out that the 1770-KFD plug-in power supply is required to provide necessary power Device to Be for the target device. Commissioned
Point-to-Point Commissioning
When a software-configurable device that has the same node address as an existing network device must be added to a network, the device must be commissioned using a point-to-point connection. Point-to-point commissioning is the process of commissioning a node using a direct connection between a device and a computer that contains RSNetWorx for DeviceNet software. In the following graphic, a 1770-KFD module acts as an interface between the computer from which a node address is assigned and the device to which it is being assigned:
RS-232 Cable 1770-KFD Module Computer with RSNetWorx for DeviceNet Software
4-7
An external AC adapter must be connected to the power jack on the side of the 1770-KFD module when it is used to commission nodes using a point-to-point connection.
Tip "
One of the most common ways of commissioning a node using a point-to-point connection involves the use of a 1770-KFD module connected to the serial port of a computer that contains RSNetWorx for DeviceNet software.
The following considerations must be taken into account when commissioning a node using any of the RSNetWorx for DeviceNet software node commissioning resources: The network must be online. The factory default address of the node being commissioned must not conflict with that of any other node already on the network.
Use this example to stress the importance of taking notice of all node addresses on the network before commissioning a new node.
The following device with its corresponding node address exists on a DeviceNet network:
800E Pushbutton Station
Node 6
4-8
The following device is to be added to the network from a storage bin and has the same node address as the 800E pushbutton station:
RightSight Photoelectric Sensor
Node 6
If the RightSight photoelectric sensor is added to the network with its current node address of 6, the address will conflict with that of the 800E DeviceNet pushbutton station and one or both of the devices will be unable to communicate. To avoid this situation, the following action should be taken: The 800E pushbutton station can be commissioned to another node address before the RightSight photoelectric sensor is added.
Heres How
Perform the following demonstration: 1. Assign a new hardware node address to the ArmorBlock input module at your workstation. " First unscrew the ArmorBlock from its base to set the hardware node address. 2. First, commission one of the devices in your online network configuration with the Node Commissioning tool; second, recommission it through the devices Properties/General tab page; finally, use the RSNetWorx for DeviceNet hardware view.
Perform the following tasks to commission nodes on a DeviceNet network: Commission a node using device hardware Assign a node address and data rate using the Node Commissioning tool Assign a node address through the hardware view
4-9
4-10
12. If you do not see the ArmorBlock MaXum input module in your online configuration, browse the network to display the ArmorBlock MaXum input module at its current node address. 13. Assign a node address through the Hardware View: Assign the ArmorBlock MaXum Input module to node 35. 14. Browse the network to verify that the ArmorBlock MaXum input module has been assigned to node address 35. 15. Assign a node address through the General Property page: Assign the ArmorBlock MaXum input module to node 30. 16. Browse the network to verify that the ArmorBlock MaXum input module has been assigned to node address 30. 17. What would have happened if two devices with the same node address were connected to the network at the same time?
18. Save the network configuration. 19. Close RSNetWorx for DeviceNet software.
4-11
4-12
Answers
Exercise A
9. The 871TM inductive proximity sensor should now be commissioned to node 2:
13. If you properly changed the node address of the ArmorBlock input module from the hardware view you should receive the following prompt:
15. Your General properties page for the ArmorBlock MaXum input module should now look similar to the following:
4-13
17. If two devices with the same node address had been connected to the network at once, one or both of the devices would have been unable to communicate on the network and would not have been detected in the network configuration.
4-14
Lesson
If you are using SLC 500 hardware, use the alternative lesson, Configuring a 1747-SDN DeviceNet Scanner Module.
Configure a scanner module for slave mode Enter ladder logic instructions to place a 1756-DNB scanner
module in Run mode
Writes output data from a processor or controller to devices Downloads configuration data from the software to devices Uploads configuration data from the devices to the software Monitors the operational status of devices
5-2
working with scanner modules? If so, what kind of tasks have you performed using a scanner module?
Scanner module communications with a controller consists of two general steps: Data received from devices (input data) is organized by the scanner module and made available to the processor or controller. Data received from the controller (output data) is organized in the scanner module and sent to devices. The following graphic shows the flow of data between a controller, a scanner module, and a device on a DeviceNet network:
Controller
Scanner Module
Device
Scanner Modules
A different scanner module is used depending upon the type of processor or controller being used with a network. The following table shows four of the Rockwell Automation scanner modules most often used on DeviceNet networks and their corresponding processor or controller types:
Scanner Module 1771-SDN 1747-SDN 1756-DNB 1769-SDN PLC--5 SLC 500 ControlLogix CompactLogix Processor or Controller
Note that configuration of a 1771-SDN or 1769-SDN scanner module is not practiced in this course, but that information specific to the configuration of this module can be found in the procedures guide and the documentation reference guide.
Tip "
An additional scanner module, the 1784-PCIDS scanner card, can be used to connect most applications to a DeviceNet network via a personal computer.
5-3
A 1756-DNB scanner module has the following characteristics: Communicates with up to 62 commissioned nodes Resides in a ControlLogix chassis
Add that in the RSLogix 5000 program used in this class, the 1756-DNB scanner module has already been added to the hardware configuration.
Tip "
5-4
The following graphic shows the discrete data transfer process between a 1756-DNB scanner module and a ControlLogix controller:
1756-DNB Scanner Module Discrete Input Image A B C D E Input from Device A 4 Discrete Output Image X Y Z Output to Device X Y Z Discrete Output Table Z Discrete I/O Transfer Y X X 5 A B C D E Discrete I/O Transfer ControlLogix Controller Discrete Input Table B D A C E
5-5
Node Address and Data Rate Like other network devices, a scanner module must be assigned a node address and data rate to communicate on the network. Depending upon scanner module type, the node address and data rate can be assigned using RSNetWorx for DeviceNet software or the scanner module itself.
Point out the manual configuration button on the front of the 1756-DNB scanner module at your workstation.
The node address and data rate for the 1756-DNB scanner module can be assigned using RSNetWorx for DeviceNet software or a manual configuration button on the front of the module. The recommended node address for a scanner module is the lowest address available. Interscan Delay
Tip "
the interscan delay to a very high value? Answer: The data coming from devices may change frequently and the scanner module will not receive this data as often if the value is set high. Therefore, important device information may not be received when needed.
The interscan delay is the time delay between consecutive I/O scans. During this time, the scanner module performs non-time-critical communications on the network (e.g., communications with software). Settings for interscan delay can be described as follows: The interscan delay can be set from 2 to 9000 milliseconds (10 is the default.)
If set low, the time required for the scanner to respond to RSLinx
software and configuration functions is increased. If set high, the data is not scanned as often and a change in data may take longer to be noticed. Expected Packet Rate When a scanner opens an I/O connection it sets a gross timeout into the device. If the device does not receive a packet from the scanner in this time period, then the device drops the connection. If the scanner does not receive a packet from the slave in this time period, it will drop the connection and attempt to open a new connection periodically. This timeout value is called the Expected Packet Rate (EPR): The default EPR is 75 times 4 = 300 ms for polled and strobed messaging. The gross network timeout for COS messaging is 4 times the heartbeat rate. Gross network timeout for a CYCLIC device is 4 times the send rate.
5-6
The interscan delay should always be set to a value lower than the expected packet rate to help prevent messaging timeouts. Foreground to Background Poll Ratio
Mention that this feature is often used to conserve network bandwidth, since it reduces the amount of traffic on a network at a given time.
The foreground to background poll ratio sets the frequency of I/O messages to a device in relation to the number of I/O scans (e.g., if the ratio is four, the scanner module communicates with the device every five scans). This feature allows a user to determine whether or not a device will communicate with a scanner during every scan cycle. Interscan delay and foreground to background poll ratio are configured using the following RSNetWorx for DeviceNet software property page:
5-7
Scanlist
Make sure students understand how important it is to create a scanlist. If the scanlist is not configured, the scanner module will not be able to communicate with devices on the network. Point out that simply adding a device to a scanlist does not automatically define all of these variables. Additional configuration (such as specification of message type and I/O sizes, level of electronic keying, and mapping) must also be performed. If this lesson is being taught as part of a standard school (e.g., not a part of a Tailored Training curriculum, mention that these tasks will be performed in the lesson on mapping.
A scanlist is a list of devices on a network with which a scanner module will communicate. A scanlist must exist in a scanner module for communications to occur between devices and a processor. The scanlist provides the scanner module with the following information: Which devices to scan How to scan each device
The size of input and output data Where input and output data is to be mapped in the scanner
module in order for the processor or controller to read it Electronic Keying Criteria Electronic Keying is a feature that automatically compares the expected module (as shown in the I/O Configuration tree) to the physical module before I/O communications begin. Using electronic keying can help prevent communications to a module that does not match the type and revision expected. For each module in the I/O Configuration tree, the user-selected Keying Option determines if and how an electronic keying check is performed. Typically three keying options are available, though for some specific module types fewer options are available. The three options are: Exact Match Compatible Keying Disable Keying Each option has benefits and implications that the user must carefully consider when selecting between these options.
Note that electronic keying is integral to the Automatic Device Recovery (ADR) feature. If this lesson is being taught as part of a standard school (e.g., not part of a Tailored Training curriculum), mention that the topic will be covered in detail in the lesson on Automatic Device recovery.
5-8
For help understanding these options see the Glossary definitions for Electronic Keying, Compatible Module Keying, Disabled Keying, and Exact Match Keying in your Procedures Guide.
Point out the Node Active check box in the graphic below and note that when this check box is cleared for a device, the device will not be included in the scanner modules scan even though it is in the scanlist.
The following graphic shows the RSNetWorx for DeviceNet property page where a scanlist is created and electronic keying criteria are specified:
Point out that the electronic keying criteria selected in the following graphic apply to the E3 solid-state overload relay, since this is the device currently selected in the scanlist. If another device were selected, the electronic keying Scanlist criteria for that device would be displayed.
Slave Mode
DeviceNet scanner modules also have the capability of acting as slaves to another scanner module on the same network. Part of a scanner modules configuration includes specifying whether or not the module will operate in slave mode. For network operation in slave mode to occur, the following conditions must exist: More than one scanner module must exist on the network.
One scanner module must operate as the master. Scanner modules other than the master scanner module must be
considered slaves on the network and can only exchange information through the master scanner module.
5-9
Example: Slave Mode The following graphic shows an example of the use of slave mode on a DeviceNet network:
Node 0 Scanner Module (Master) Node 8 Node 1 Scanner Module (Slave to Node 0)
Node 9
In this example, the following conditions exist: There are two scanner modules on the network. The scanner module at node 0 has its own scanlist and is a master to several nodes on the network, including the scanner module at node 1. The scanner module at node 1 has its own scanlist and can be a master to other nodes on the network Data gathered by the scanner module at node 1 is then collected by the scanner module at node 0. If a scanner module is configured for slave mode, the following additional parameters must be specified: The message type that will be used to communicate with the master scanner module The size of inputs and outputs that will be transferred
inputs and outputs to be transferred by a scanner module in slave mode? Answer: The input and output sizes would be the total of inputs and outputs being read from network devices by the scanner module in slave mode.
5-10
Once the Slave Mode is enabled, you may configure the message type and input and output sizes.
Area Where Message Type and Size Are Specified (Default Sizes Shown)
Shared Inputs
When more than one scanner module exists on a network, it is possible to include devices that are already slaves to one scanner module in another scanner modules scanlist as shared inputs. Only input data from these devices is consumed by the module and stored in its input area. The following conditions must exist for shared inputs to be enabled in a scanner module: More than one scanner module must exist on a network.
5-11
Remind students that even though more than one scanner can receive device inputs, outputs can be controlled by only one processor and scanner module.
On some scanners the option is View All Inputs rather than Share Inputs. The following graphic shows an RSNetWorx for DeviceNet software Scanlist property page where the shared inputs function has been selected:
Once shared inputs have been enabled for a scanner module, the devices whose inputs the module will be sharing with another scanner module are designated with a special icon:
5-12
Even with the shared inputs function enabled, a slave device still can have only one master.
If the Automatic Device Recovery feature has been enabled in a scanner module, the shared inputs function cannot be enabled for that scanner module.
Tip "
A scanner modules operating mode is reflected in the modules status register, also accessed via the programming software.
5-13
Refer the class to the detailed information about scanner module command registers in the Documentation Reference Guide and point out where the command register is located in a 1756-DNB scanner module.
A scanner modules command and status registers can be defined in the following way: Command Register: The area in a scanner modules memory where commands specific to the scanner module are entered. Each bit in the command register executes a unique command. The following bits are examples of commands that can be sent to the scanner module:
Tip "
Command register location and format for 1771-SDN, 1747-SDN, and 1756-DNB scanner modules can be found in the Documentation Reference Guide.
Refer the class to the detailed information about scanner module status registers in the documentation reference guide and point out where the status register is located in a 1756-DNB scanner module.
scanner module status is reflected. Each bit in the status register represents a scanner module mode. The following bits are examples of scanner module modes that can be reflected in the status register: - Run/idle - Network fault - Network disable - Device failure - Autoverify failure - Communications failure - Duplicate node address failure - DeviceNet power failure (1756-DNB scanner module only) - Explicit message program control (1747-SDN scanner module only)
Tip "
Status register location and format for 1771-SDN, 1747-SDN, and 1756-DNB scanner modules can be found in the Documentation Reference Guide. 1756-DNB Scanner Module Run/Idle Bit A 1756-DNB scanner modules command and status registers are 32-bit assemblies automatically created when the scanner module is added to the hardware configuration in RSLogix 5000 software. A 1756-DNB scanner modules Run/Idle bit is the first bit (bit 0) of the O.CommandRegister assembly.
5-14
The following graphic shows a 1756-DNB scanner modules command and status register tags in RSLogix 5000 software:
Run/Idle Bit
The following graphic shows a sample ladder logic instruction used to turn on the Run bit in a 1756-DNB scanner module:
Heres How
Perform the following demonstration: 1. Configure one of the scanner modules at your workstation by setting an interscan delay value, a foreground to background poll ratio, and creating a scanlist. 2. Configure the other scanner module (PanelView Plus) at your workstation for slave mode. 3. Demonstrate how to place each scanner module in turn in Run mode.
To configure a DeviceNet scanner module by performing the following tasks: Configure a 1756-DNB scanner module Create a scanlist
Configure a scanner module for slave mode Enter ladder logic instructions to place a 1756-DNB scanner
module in Run mode As your instructor demonstrates these procedures, follow along in the associated job aid(s).
5-15
Tip "
For help performing steps in RSLogix 5000 software, consult the Start Pages or the online Help. Directions: Follow the steps below to configure a 1756-DNB scanner module: 1. Open your network configuration. 2. Go online to the network. 3. Upload the network configuration. 4. Monitor the PanelView Plus scanner module configuration. It should be configured for slave mode with the following properties:
Tip "
If you receive an error that the processor is in Run mode, press the GoTo Config button on the screen of the PanelView Plus terminal. 5. Configure the scanner module, the 1756-DNB, as outlined in the following table:
Parameter Interscan Delay Foreground to Background Poll Ratio Slot 8 milliseconds 2 Slot location of scanner module
E 2008 Rockwell Automation, Inc. All rights reserved. SCNe100
Setting
5-16
6. Download the device configuration to the scanner module. 7. On the Scanlist tab of the 1756-DNB properties dialog box, verify that the Automap on Add check box is not selected. If it is, clear it. 8. Create a scanlist that includes all the devices on the network.
Tip "
If prompted that either or both of the 1734-ADN Point I/O module or PanelView Plus operator interface contains no I/O data, click OK to the Scanner Configuration Applet dialog box. 9. Download the device configuration to the scanner module. 10. Save the network configuration.
Turn to the Answers section. In this exercise, you will practice entering ladder logic instructions to place a scanner module in Run mode. Context: You have configured the scanner module that is to act as the network master for the DeviceNet network. You now need to write the necessary ladder logic to place the scanner in Run mode so it can begin communicating with the controller and network devices.
Tip "
For help performing steps in RSLogix 5000 software, consult the Start Pages or the online Help. Directions: Follow the steps below to place the scanner module in Run mode. 1. Open exercise file SCN_N100_B1.acd. 2. In the main routine, enter ladder logic instructions to place the scanner in Run mode. 3. Verify the rung. 4. Download the program to the controller. 5. Change the controllers operating mode to Run. 6. Verify that the scanner module is in Run mode by accessing the Run bit in the scanner modules status register and verifying that it is on.
Tip "
E 2008 Rockwell Automation, Inc. All rights reserved.
RUN will also be periodically displayed on the front of the scanner module.
Rev. July 2008 SCNe100
5-17
5-18
Answers
Exercise A
4. If you have correctly configured the PanelView Plus DeviceNet scanner module for slave mode, the Slave Mode dialog box for that scanner module should look like the following graphic:
5. If you have correctly configured the 1756-DNB scanner module that is to act as the network master for your workstation, the Module property page will look like the following graphic:
5-19
8. If you have correctly created a scanlist, the Scanlist property page for the scanner module that is to act as the network master for your workstation will look like the following graphic:
Exercise B
2. If you correctly entered ladder logic instructions to place the 1756-DNB scanner module in Run mode, you should have a rung of ladder logic near the beginning of the main routine in the RSLogix 5000 software program that resembles the following graphic:
5-20
Lesson
If you are using SLC 500 hardware, use the alternative lesson, Mapping Inputs and Outputs to a 1747-SDN Scanner Module on a DeviceNet Network.
mapping input and output data? If so, what have you found to be the most challenging aspect of this task? Since this is often a confusing concept for students, emphasize the fact that inputs and outputs on a DeviceNet network are defined from the point of view of the controller.
6-2
Input and output data on a DeviceNet network are defined from the point of view of the controller, not the devices with which it communicates.
Do not go into detail about each of these message types now. They will be explained in the ensuing pages.
Change-of-state Cyclic
Tip "
If this course is being taught in its standard format (i.e., it is not part of a Tailored Training curriculum), do not go into detail about EDS files; they will be covered in a later lesson.
Not all devices support all message types. The message type(s) that are supported by a given device can be determined by accessing the I/O Data property page, the devices EDS (electronic data sheet) file, or the data sheets that ship with the device. In addition to the types of messages used by the scanner module, the following message size parameters must be set: Input Size: The number of bytes of data being sent from a device to a controller via a scanner module in an I/O message. Output Size: The number of bytes of data that a controller will send to a device via the scanner module in an I/O message. The range of valid values for input and output sizes differs depending upon the type of message being sent (i.e., strobed, polled, change-of-state, or cyclic). Strobed messages do not have an output size parameter because they are not generally capable of receiving data from a controller via the scanner module.
Tip "
Mention that if an output bit is Tip ever configured for a strobed device, it usually contains status data.
"
6-3
The following graphic shows the RSNetWorx for DeviceNet software window where message type and I/O sizes are edited for a device:
Polled Messages Polled messages operate on a network in the following manner: 1. A poll rate (the rate at which the scanner module will request data from an assigned device) is configured. Unless the foreground to background poll ratio is set for a longer time interval between scans, poll commands are issued during every scan cycle. 2. A poll command containing output data is sent from a scanner module to each polled device. 3. Upon receipt of the command, the device transmits a response containing input data.
Explain that since poll commands are issued during every scan cycle, configuring a device that seldom has new data to report for polled messaging needlessly slows down network performance.
6-4
The following graphic shows a scanner module communicating with devices via polled messaging:
Scanner Module Scanner Module Scanner Module
Device Response
Device 1
Device 2
Device 3
Device 1
Device 2
Device 3
Device 1
Device 2
Device 3
1. A strobe command is transmitted by a scanner module to all devices in its scanlist. 2. Only those devices configured for strobed messaging respond with their input data. Strobe commands are issued during every scan cycle.
Tip "
Strobed messages are used for devices that have input data to send to a controller, but do not receive output data from the controller.
6-5
The following graphic shows a scanner module communicating with devices via strobed messaging:
Scanner Module
Device 1
Device 2
Device 3
Device 4
Device 5
Change-of-State Messages Devices configured for change-of-state messaging only send data to a scanner module when they have new data to report (i.e., the data has changed since the last time it was sent) or at a user-configured heartbeat rate. A scanner module does not solicit data from devices configured for change-of-state messaging (i.e., they are not polled during every scan cycle).
Tip "
Devices configured for change-of-state messaging can be configured to send a scanner module data at a user-configured heartbeat rate regardless of whether or not their data has changed since the last change-of-state message was sent. Devices configured for change-of-state messaging can still receive output data from a scanner module. Cyclic Messages Cyclic messages are similar to change-of-state messages, but they are sent only at a user-configured rate. Therefore, a cyclic message may be sent by a device even if the devices data has not changed since the last time it was sent.
Answer: Because it allows a scanner module to distinguish between a change-of-state device whose data has not changed and a change-of-state device that has become non-operational.
Tip "
6-6
Suggest that change-of-state and cyclic messaging should be used whenever they are appropriate to a devices function on a network, since they are the most efficient forms of messaging.
Tip "
Both change-of-state and cyclic messages greatly reduce network traffic and allow faster scanner module response time since they do not require the scanner module to scan every device during a scan. These types of messages work well for devices with data that does not change often. Devices configured for cyclic messaging can still receive output data from a scanner module. The following graphic shows a scanner module communicating with devices via change-of-state and a device cyclic messaging:
Scanner Module
Tip "
Note that in the following graphic,which illustrates change-of-state and cyclic messaging, devices send data to a scanner module without a request for data from the scanner module.
Device 1
Device 2
Device 3
Device 4
Device 5
The following table provides an overview of the relationship between a scanner module and devices configured for each of the four message types from the point of view of the scanner module:
If a device is configured for this message type . . . Polled
Then the scanner module . . . Sends data to the device and receives data from the device Does not send data to the device, but does receive data from the device Sends data to the device and receives data from the device Sends data to the device and receives data from the device
And . . . Scans the device during every scan cycle Scans the device during every scan cycle Does not scan the device during every scan cycle Does not scan the device during every scan cycle
Strobe
Change-of-state
Cyclic
6-7
Priority is given to critical I/O transfers. Room is left for expansion. Device data does not overlap.
To ensure that the above considerations are addressed, you should be familiar with the following variables specific to your network and devices: Communications requirements
Size and importance of the inputs and outputs sent and received
Note that data structure of devices will be discussed in detail later in this lesson.
Mapping is the software function by which device input and output data locations are specified in a scanner module. Mapping enables communications between network devices and a controller to occur by determining the following variables: Where discrete input data from devices will be located in a controller Where discrete output data from a controller will be located in a scanner module so that it may be sent to network devices
6-8
Automatic Mapping
optimization? Answer: The use of each bit of data in the scanner modules data table (i.e., if one device does not use every bit in one word of data, the next device will begin where the one before it left off). This may not necessarily happen if automatic mapping is used. Verify that students have an understanding of byte, bit, and word lengths. If not, spend a few minutes reviewing these terms.
Data is often mapped using the automatic mapping feature in RSNetWorx for DeviceNet software. The following facts should be taken into consideration when the automatic mapping feature is used: Automatic mapping does not allow much control (i.e., data organization cannot be optimized or consolidated). Automatic mapping does not align input and output data with input and output addresses in a processor or controller.
automatic mapping feature, the software will map devices based on their node addresses. The device with the lowest node address will be assigned to the first available word, and so on. Even though a devices node address roughly determines where the device will be automapped, the word to which a device is automapped is not a one-to-one match (i.e., a device with a node address of 2 will not necessarily be automapped to word 2).
added to a network, the software will assign word numbers based on the order in which the devices are mapped (e.g., the first device will be mapped to word 1, etc.). Future changes (e.g., addition of devices, removal of devices) may not be easily addressed. Automatic Mapping Options Mapped data can be organized using the following alignment options:
Point out that since the first two devices mapped in the following graphic both contain only one byte of input data, the pack alignment and byte alignment options line up the data in the same way.
double-word boundary or to be efficiently grouped without alignment (pack). Byte Align: Ensures that data is used as efficiently as possible to the byte level (two devices can share the same word location). The following graphic illustrates the pack and byte alignment options in a 1756-DNB scanner module:
6-9
word.
The following graphic illustrates the word alignment option in a 1756-DNB scanner module:
ensures that each device is mapped to a different double-word. The following graphic illustrates the double-word alignment option in a 1756-DNB scanner module:
The double-word alignment option is only available for 1756-DNB scanner modules used with ControlLogix controllers.
Manual Mapping
Data can also be mapped manually (i.e., a user can specify exactly where a controller should look for device data in a scanner module) using RSNetWorx for DeviceNet software. The following considerations should be taken into account when data is mapped manually: Data can be organized and optimized. Room can be left for future expansion.
have a device at node 8, how would you map the current device data? Answer: So that that scanner modules map table is empty at word 8 (or that enough room is left for the device data).
6-10
Take the following facts into consideration when mapping data manually: The type of data transmitted (e.g., status, I/O data, and configuration data) varies with each device.
length (i.e., even if a controller produces two bits of information, an entire byte will be sent to the device). Data sent by devices to a controller (input data) can be less than one byte. Bits can be mapped to separate memory locations (i.e., map segmentation). The following graphic shows the RSNetWorx for DeviceNet software property page where input data is entered for a 1756-DNB scanner module:
The First Controller Input Word to which Devices Will Be Mapped
The Device Being Mapped The Second Double-Word of the Double-Word Offset The Scanner Memory Area to which the Device Will Be Mapped The Double-Word Offset
Map Segmentation
Mention the 871TM inductive proximity sensor as an example of a device for which map segmentation is useful. Since the sensors analog signal is the entire second byte of input data sent by the sensor to a controller, it is easier to access the data in a ladder logic program if the byte containing the analog data is mapped to its own word.
E 2008 Rockwell Automation, Inc. All rights reserved.
The process of mapping data for a single device to different areas of a scanner modules memory is called map segmentation. Map segmentation is most often used when it is necessary to isolate bits pertaining to specific functions of a device so they can be easily accessed in the ladder logic program.
Rev. July 2008 MAPib100
6-11
Example: PowerFlex 40 Drive Map Segmentation in a 1756-DNB Scanner Module A PowerFlex 40 drive is configured to receive four bytes (two words) of output data from a ControlLogix controller via a 1756-DNB scanner module, as shown in the following graphic of the drives selected output assembly:
Logic Command/Status Words First Output Word Second Output Word Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3
Clear Faults Speed Reference RPM (Low Byte) Speed Reference RPM (High Byte)
Bit 2
Jog
Bit 1
Start
Bit 0
Stop
Note that if the drives output map had not been segmented, all of the output data would be mapped to one double-word and the speed reference would only be accessible if ladder logic was written to mask the first 32 bits.
Since the drives speed reference is the entire second word of output data, the second output word is mapped to its own double-word in the 1756-DNB scanner module so that it can be easily accessed in the ladder logic that controls the drive, as shown in the following graphic:
The PowerFlex 40 drives output data is mapped to two separate double-word locations. PowerFlex 40 Logic Feedback Word
6-12
Address Identification
Note that the addresses to which inputs and outputs are mapped in a scanner module are arbitrary as long as the ladder logic to control the devices has not yet been written.
Being able to identify DeviceNet addresses in a controller is important because the ladder logic to control the devices must use the addresses to which the devices have been mapped. Its a good idea to document where inputs and outputs have been mapped in a scanner module so their locations can be referenced when ladder logic is written. Addresses are identified by comparing the location where a device is mapped in a scanner module to the corresponding area in the controller that is to control the device. All of the following tools are used to identify addresses: The logic programming software for the application (e.g., RSLogix 5000 software, RSLogix 500 software, etc.) RSNetWorx for DeviceNet software
Tip "
Explain that since this is not a programming course, the workstation ladder logic is already provided. Point out that knowledge of bit functions within a device is essential when writing ladder logic to correspond to input and output data maps in RSNetWorx for DeviceNet software.
Local:1:I.Data[0].0
Local Chassis Slot Number of 1756-DNB Scanner Module Word Input Bit
Member
6-13
The following graphic shows the relationship between the input data map for a 1756-DNB scanner module and the input data tags in the corresponding ControlLogix controller:
1756-DNB Output Data Map Controller Tag Database
PanelView inputs mapping begins at input word 4 in the 1756-DNB scanner module.
PanelView inputs show up starting at input word 4 in the controller tag database.
Knowledge of a devices data structure is necessary to properly identify DeviceNet addresses in a controller because even if the general address location of a device is known, ladder logic cannot be written to properly control the device without specific information about individual bit function. The data structure of a device can be determined using any one of the following resources:
The I/O Data property page for the device (called the I/O Defaults
If this course is being taught in its standard format (i.e., it is not a part of a Tailored Training curriculum), do not explain EDS files in detail; they will be addressed in the Managing EDS Files lesson.
property page for some devices) The devices EDS file (which can be accessed using the EDS File property page) Documentation that ships with the device
6-14
The data structure of an ArmorBlock MaXum 4 input module configured for change-of-state messaging is shown in the following graphic:
Input Data Byte 1
Bit 7 Bit 0
Inputs 0- 3
Unused
data structure of the ArmorBlock MaXum I/O module in this example help when mapping inputs and outputs?
When configured for change-of-state messaging, the ArmorBlock MaXum 4 input module sends 2 bytes of input data and does not send any output data. The first byte of input data sent contains the following bits: Bit 0 is an input bit corresponding to input 0. Bit 1 is an input bit corresponding to input 1. Bit 2 is an input bit corresponding to input 2. Bit 3 is an input bit corresponding to input 3. Bit 4 indicates an input short circuit for connector A. Bit 5 indicates an input short circuit for connector B. Bit 6 indicates an input short circuit for connector C. Bit 7 indicates an input short circuit for connector D. The second byte of input data contains the following bits: Bit 0 is an offwire detection bit corresponding to connector A. Bit 1 is an offwire detection bit corresponding to connector B. Bit 2 is an offwire detection bit corresponding to connector C. Bit 3 is an offwire detection bit corresponding to connector D. Bits 4 to 7 are not used.
Heres How
Perform the following demonstration: 1.Using the 1756-DNB scanner module, edit the message type and I/O sizes for any device on your workstation. 2.Map data automatically for the device, then unmap it and map again manually.
E 2008 Rockwell Automation, Inc. All rights reserved.
To map device inputs and outputs on a DeviceNet network by performing the following tasks: Edit device message type and I/O sizes Map device input and output data automatically Map device input and output data manually
Rev. July 2008 MAPib100
6-15
As your instructor demonstrates these procedures, follow along in the associated job aid(s).
Heres How
Perform the following demonstration: 1. Access the I/O data structure for the 871TM sensor in the Online Help system and point out the sensors output bit. 2. Based on the input data table for the sensor in RSNetWorx software, point out the bit in the ControlLogix controllers input data table that should be affected if an object is placed in front of the photoelectric sensor. 3. Test this conclusion by touching the sensor to a metal object and monitoring the appropriate bit in the RSLogix 5000 input data table.
To identify DeviceNet addresses in a ControlLogix controller. As your instructor demonstrates this procedure, refer to the following example:
Example
In the example, the input data table in RSNetWorx for DeviceNet software is used to determine in the 1756-DNB scanner module, two bytes (one word) of sensor input are mapped to the lower half of double-word 0.
6-16
Step 2: Identify RSLogix 5000 Input Tags The following graphic shows the RSLogix 5000 software input tags associated with the 1756-DNB scanner module:
RSLogix 5000 Input Tag
Sensor Inputs
In the example, input data from the 871TM inductive proximity sensor is traced to the areas in the ControlLogix controller based on input data mapping in RSNetWorx for DeviceNet software.
6-17
Step 3: Identify Device Data Structure The following graphic shows the data structure of the 871TM inductive proximity sensor used to determine the function of each input bit mapped for the sensor:
In the example above, the RSNetWorx for DeviceNet online Help system is used to determine the function of individual input bits mapped for the 871 inductive proximity sensor in RSNetWorx for DeviceNet software.
Tip "
Access the online Help topic list by selecting Contents from the Help menu in the main RSNetWorx for DeviceNet software window.
6-18
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
6-19
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
Exercise A
In this exercise, you will practice mapping inputs and outputs on a DeviceNet network by performing the following tasks: Edit device message type and I/O sizes Map device input and output data automatically Map device input and output data manually Context: You are now ready to map the device input and output data for your DeviceNet network to define how the devices on your network will communicate with the controller. You have received specifications on where the devices should be mapped so that ladder logic to control the production line could be written accordingly. Underlined actions indicate a procedure can be found in the associated job aid. Directions: Follow the steps below to map device inputs and outputs: 1. Open a new network configuration. 2. Go online to the subnetwork of the 1734-ADN module:
1734-ADN Subnetwork
6-20
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
4. Access the Scanner Module window for the 1734-ADN Point I/O scanner module. 5. Automatically map device input and output data for all Point I/O nodes on the 1734-ADN scanners (node 00) subnetwork. 6. Save the network configuration as ADN_Subnet.dnt. 7. Close the ADN_Subnet configuration. 8. Open a new network configuration. 9. Go online to the main network. 10. Upload the network configuration. 11. Access the properties of the 1734-ADN Point I/O adapter and associate the ADN_Subnet.dnt file you created with the adapter. 12. Access the PanelView Plus properties dialog box. 13. Automatically map device input and output data on the Input and Output tabs of the PanelView Plus properties dialog box.
Tip "
Make sure your mapping settings are set to Pack Align. 14. Access the Scanner Module window for the scanner module that is acting as the master for your network, the 1756-DNB module. 15. Edit device message type and I/O sizes as outlined in the following table:
Device Absolute multi--turn Encoder Message Type Strobed Strobed " Be sure to deselect the default message type (change-of-state) Polled Change-of-state (250 ms Heartbeat) Polled Change-of-state (250 ms Heartbeat) Cyclic Heartbeat rate (Sendrate 1000ms) 4 Input Size Output Size N/A
N/A
E3 overload relay 1734-ADN Point I/O adapter PowerFlex 40 Drive ArmorBlock MaXum input module PanelView Plus operator interface
8 8 4 2 4
1 5 4 0 4
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
6-21
PanelView Plus I/O sizes must also be configured at the device itself using RSView Studio software. I/O sizes have already been configured for you at the PanelView Plus terminal.
16. Download the device configuration to the scanner module. 17. Manually map device input and output data in the 1756-DNB scanner module as outlined in the following table:
Device Absolute multi-turn encoder Input Data Mapping Assembly Data DWord: 0 Bit: 0 Number of bits: 32 Assembly Data DWord: 1 Bit: 0 Number of bits: 16 Assembly Data DWord: 2 Bit: 0 Number of bits: 64 Assembly Data DWord: 4 Bit: 0 Number of bits: 64 Segment 1: Map From: Message: Polled Byte: 0 Bit: 0 Map To: Assembly Data DWord: 6 Bit: 0 Number of bits: 16 Segment 2: Map From: Message: Polled Byte: 2 Bit: 0 Map To: Assembly Data DWord: 7 Bit: 0 Number of bits: 16 Assembly Data DWord: 8 Bit: 0 Number of bits: 16 Assembly Data DWord: 9 Bit: 0 Number of bits: 32 Output Data Mapping N/A
N/A Assembly Data DWord: 2 Bit: 8 Number of bits: 8 Assembly Data DWord: 4 Bit: 0 Number of bits: 40 Segment 1: Map From: Message: Polled Byte: 0 Bit: 0 Map To: Assembly Data DWord: 6 Bit: 0 Number of bits: 16 Segment 2: Map From: Message: Polled Byte: 2 Bit: 0 Map To: Assembly Data DWord: 7 Bit: 0 Number of bits: 16 N/A Assembly Data DWord: 9 Bit: 0 Number of bits: 32
E3 overload relay
PowerFlex 40 drive
6-22
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
18. Download the device configuration to the scanner module. 19. Save the network configuration.
Turn to the Answers section. In this exercise, you will practice identifying DeviceNet addresses in a ControlLogix controller. Context: You have mapped input and output data in the 1756-DNB scanner module acting as the master on the DeviceNet network. You now need to identify DeviceNet addresses in the corresponding ControlLogix controller so that ladder logic to control these devices can be written accordingly. Underlined actions indicate a procedure can be found in the associated job aid.
Tip "
For help performing steps in RSLogix 5000 software, consult the Start Pages or the online Help. Directions: Using RSNetWorx for DeviceNet and RSLogix 5000 software, identify DeviceNet addresses in the ControlLogix controller and answer the following questions: 1. Change the controllers operating mode to Run. 2. Open your network configuration. 3. Go online to the network. 4. Identify the input address(es) where the analog values from the 871TM inductive proximity sensor should show up in the Controller Tags window of the ControlLogix controller:
Tip "
Use either the EDS file for the 871TM inductive proximity sensor or the 1756-DNB properties dialog box to determine the sensors data structure:
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
6-23
Tip "
Remember that the 871TM inductive proximity sensor has been configured for strobed messaging, which is not the default message type supported by the sensor. 5. Test your conclusion by performing the following actions: A. Start RSLogix 5000 software. B. Go online to the ControlLogix controller. C. Change the controllers operating mode to Run. D. Monitor the controllers input data tag values through the Controller Tags window while moving a metal target (such as a key or coin) towards and away from the 871TM inductive proximity sensor. The bits at the addresses you identified in Step 3. should turn on and change as the target moves towards the sensor.
Tip "
For help going online to the ControlLogix controller, changing the controllers operating mode, or monitoring the controllers input tag values, refer to the Start Pages or online Help. 6. Identify the input address where pushbutton DI0 (wired to to input point 0 on the first input sink of the 1734-ADN Point I/O adapter) on the workstation should show up in the controllers Controller Tags window:
7. Test your conclusion by performing the following actions: A. Press the DI0 push button on workstation to start the motor while monitoring input tag values in the Controller Tags window. The bit that goes on when this button is pressed should be the bit that was identified in Step 6. B. Press the DI1 pushbutton to stop the motor. 8. Identify the address of the third ArmorBlock input bit:
9. Test your conclusion by pressing pushbutton IN2 on the workstation while monitoring input tag values in the Controller Tags window. The bit that goes on when this button is pressed should be the bit that was indentified in Step 8. 10. Identify the output address that reflects the status of the PowerFlex 40 drives Start bit:
6-24
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
Tip "
Use the PowerFlex 40 Drive Data Structure appendix to determine the data structure of the PowerFlex 40 drive. Data structure information for the drive is located in the user manual of the drives DeviceNet communications module, not the drives EDS file. 11. Test your conclusion by performing the following actions: A. Press the DI0 pushbutton on the workstation to start the motor in workstation. B. Monitor output tag values in the Controller Tags window. The bit identified in Step 10. should be on. C. Press the DI1 pushbutton on the workstation to stop the motor. 12. Change the controllers operating mode to Program. 13. Minimize RSLogix 5000 software. 14. Close RSNetWorx for DeviceNet Software.
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
6-25
6-26
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
Answers
Exercise A
5. On the Scanlist tab of the 1734-ADN Point I/O scanner modules scanner window make sure Automap is selected and move all Point I/O nodes to the scanlist:
Add All
Automap
11. You should have accessed the Device Bridging tab of the 1734-ADN Point I/O adapters properties page and associated the ADN_Subnet.dnt file with module:
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
6-27
13. The input and output tabs of the PanelView Plus properties window should look similar to the following:
15. If you have correctly edited input and output parameters for the E3 overload relay, the Edit I/O Parameters window for the E3 overload relay will look like the following graphic:
6-28
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
If you have correctly edited input and output parameters for the Absolute Multi-Turn Encoder, the Edit I/O Parameters window for the RightSight photoelectric sensor will look like the following graphic:
If you have correctly edited input and output parameters for the PowerFlex 40 drive, the Edit I/O Parameters window for the PowerFlex 40 drive will look like the following graphic:
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
6-29
If you have correctly edited input and output parameters for the 871TM inductive proximity sensor, the Edit I/O Parameters window for the 871TM inductive proximity sensor will look like the following graphic:
If you have correctly edited input and output parameters for the 1734-ADN Point I/O adapter, the Edit I/O Parameters window for the 1734-ADN Point I/O adapter will look like the following graphic:
6-30
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
If you have correctly edited input and output parameters for the ArmorBlock MaXum input module, the Edit I/O Parameters window for the ArmorBlock MaXum input module will look like the following graphic:
If you have correctly edited input and output parameters for the PanelView Plus operator interface, the Edit I/O Parameters window for the PanelView Plus operator interface will look like the following graphic:
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
6-31
17. If you have correctly entered input data manually, the input data table for the 1756-DNB scanner module will look like the following graphics:
If you have correctly entered output data manually, the output data table for the 1756-DNB scanner module will look like the following graphics:
6-32
Exercise: Mapping Inputs and Outputs to a 1756-DNB Scanner Module on a DeviceNet Network
Exercise B
4. The analog values from the 871TM inductive proximity sensor should show up in the Controller Tags window of the ControlLogix controller at input word 1, bits 8 to 15 (Local:2.I.Data[1].8-15). 6. The address bit for pushbutton DI0 should show up in the Controller Tags window of the ControlLogix controller at input word 4, bit 16 (Local:2.I.Data[4].16). 8. The address of the first ArmorBlock input bit is input word 8, bit 2 (Local:2.I.Data[8].2). When the ArmorBlock input module is configured for change-of-state messaging, the first input bit in its data structure controls the first ArmorBlock input connection. In the 1756-DNB scanner module, the modules input map begins at word 8, bit 0. Therefore, this is the bit that corresponds to the ArmorBlock modules third input. 10. The output address that reflects the status of the PowerFlex 40 drives Start bit is output word 6, bit 1 (Local:2:O.Data[6].1). The drives Start bit is the second output bit received by the drive from the controller. In the 1756-DNB scanner module, the output map for the drive begins at output word 6, bit 0. Therefore, the drives Start bit is located at output word 6, bit 1.
EDS Files
EDS files are ASCII files created by device manufacturers and supplied with a device that provide the following information about a device: Manufacturer and device type Major revision
Note that not all EDS files contain device data structure information. Devices that have a number of possible input and output assemblies, (such as an 800E pushbutton station, an E3 overload relay, and a Bulletin 160 drive) do not always list this information in the EDS file. In these cases, the data structure can be found in the documentation that ships with the device.
Minor revision Message types supported by the device Input and output sizes Device data structure Device-configurable parameters Class, instance, and attribute data Differentiating features
7-2
EDS files provide the following benefits: The ability to easily configure devices for which EDS files are provided using RSNetWorx for DeviceNet software Easy access to class, instance, attribute codes and data formatting information needed to perform explicit messaging
Tip "
7-3
An EDS library is a collection (database) of EDS files that has been added to the system directory of the computer that contains RSNetWorx for DeviceNet software. All configuration information for devices with EDS files is contained in this database. EDS files for Rockwell Automation devices can be downloaded from the Rockwell Automation Web site to your EDS library by accessing http://www.ab.com/networks/eds. EDS files from various device manufacturers can be downloaded from the ODVA (Open DeviceNet Vendor Association) Web site to your EDS library by accessing http://www.odva.org.
Tip " Tell students which directory EDS files have been saved to on their workstations so they can access them for the lab exercise associated with this lesson.
2. The numbers are converted into hexadecimal code. 3. Leading zeroes are placed in front of each numeral with less than four digits.
7-4
Note that if no EDS file is registered to a device on a computer, a yellow question mark icon will be displayed in the RSNetWorx for DeviceNet software network configuration instead of the devices icon. However, the window needed to determine the devices vendor, device type, product, and revision codes will still be accessible by double-clicking the question mark icon.
The following graphic shows the RSNetWorx for DeviceNet software window where the values needed to determine a devices EDS file number are located:
Example: PowerFlex 40 Drive EDS File Number The following graphic shows the RSNetWorx for DeviceNet software window where the PowerFlex 40 drives vendor, device type, product, and revision level values are located:
7-5
First the value in each block is converted to a hex value or EDS file segment. Then the four hex values are combined to form the EDS file number. The following table shows the makeup of the EDS file for the PowerFlex 40 drive based on the values assigned to the drives vendor, device type, product, and revision:
Vendor Value EDS File Segment 1 0001 Device Type 126 007E Product 33,320 8228 Revision 3.003 0300
The PowerFlex 40 drives vendor, device type, product, and revision level values are 1, 126, 33,320, and 3.003, respectively. Therefore, the PowerFlex 40 drives EDS file number is 0001007E82280300. Example: E3 Overload Relay EDS File Number The following graphic shows the RSNetWorx for DeviceNet software window where the E3 overload relays vendor, device type, product, and revision level values are located:
The following table shows the makeup of the EDS file for the E3 overload relay is based on the values assigned to the scanner modules vendor, device type, product, and revision:
Vendor Value EDS File Segment
Rev. July 2008
Product 001D
1 0001
7-6
Remind students that since a devices vendor, device type, product, and revision attribute codes must be converted to hexadecimal code, a devices EDS file number may contain letters.
The E3 overload relays vendor, device type, product, and revision level attribute values are 1, 12, 29, and 3.003, respectively. Therefore, the E3 overload relays EDS file number is 00010003001D0300.
RSNetWorx for DeviceNet software provides a tool for working with EDS files. The EDS Wizard in the Tools menu allows users to perform the following actions with EDS files: Register EDS-based devices Create EDS files
Remove a device from the registry Change the graphic image associated with a device
In the Windows NT environment, a user must be logged on with administrative privileges to register EDS files.
Heres How
Remove the EDS file from a device in the workstation and show how to register it.
To manage EDS files by performing the following tasks: Determine a devices EDS file number Register an EDS file As your instructor demonstrates these procedures, follow along in the associated job aid(s).
7-7
Tip "
For help converting decimals to hexadecimal code, refer to the Decimal to Hexadecimal Conversion Table appendix. 2. Remove the EDS file for the absolute multi-turn encoder from Rockwell Softwares EDS file registry.
Tip "
If your network configuration is open, close and restart RSNetWorx for DeviceNet. 3. Open your network configuration. 4. Go online to the network. 5. Verify that the icon representing the absolute multi-turn encoder has been replaced by a question mark, indicating that no EDS file is registered for the encoder. 6. Close RSNetWorx for DeviceNet software 7. Register the EDS file for the absolute multi-turn encoder. 8. Open your network configuration. 9. Go online to the network.
7-8
10. Verify that RSNetWorx for DeviceNet software recognizes the absolute multi-turn encoder. 11. Save the network configuration. 12. Close RSNetWorx for DeviceNet software.
7-9
7-10
Answers
Exercise A
1. You should have determined that the EDS file for the absolute multi-turn encoder is 00010073002E0400.eds. 2. You should have selected the absolute multi-turn encoder from the registry:
Lesson
Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
What You Will Learn
After completing this lesson, you should be able to configure the Automatic Device Recovery (ADR) feature in RSNetWorxt for DeviceNet software by performing the following tasks: Enable the Automatic Device Recovery feature Test the Automatic Device Recovery feature
use the Automatic Device Recovery feature? What did you like or dislike about it? Is there anything you wish you would have known prior to using this feature for the first time?
8-2
Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
Configuration Recovery
Configuration Recovery enables the original configuration of a device (i.e., device parameters, message type, I/O sizes, etc.) that is replaced on a DeviceNet network to be retained when a replacement device is installed. The following requirements must be met for Configuration Recovery to be successfully enabled: The device must support electronic configuration (i.e., it can be configured using RSNetWorx for DeviceNet software).
E 2008 Rockwell Automation, Inc. All rights reserved.
The 1756-DNB scanner module, revision 3.001 or higher. The 1784-CPCIDS scanner module, version 2.001 or later The 1784-PCIDS scanner module, version 2.001 or later The 1784-PCDS scanner module, version 1.001 or later The 1788-CN2DN scanner module, version 1.001 or later
Rev. July 2008 ADRib100
Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
8-3
Tip "
Point out that the ADR property page also serves as a quick reference to find out which devices have been enabled for Automatic Device Recovery. It also shows how much ADR space remains in a scanner module.
Most scanner modules have approximately 65,408 bytes of space allocated for Automatic Device Recovery data. The following graphic shows the RSNetWorx for DeviceNet software property page where Automatic Device Recovery is enabled:
The device at node 2 is the only device in this scanner module for which Automatic Device Recovery has been enabled.
Electronic Keying
Electronic keying is a mechanism that enables a scanner module to identify whether devices in its scanlist actually match the devices on a DeviceNet network. Since electronic keying allows a user to specify how closely a replacement device matches a replacement, it relates closely to the Automatic Device Recovery feature. ADR can recover data only if the replacement device has a compatible address and/or configuration structure. Electronic keying for the following criteria can be enabled for each device on a scanner modules scanlist: Device type
8-4
Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
For Configuration Recovery and Auto-Address Recovery to be successful, at minimum, the Device type electronic keying criteria must be selected.
Tip "
The electronic keying criteria options are selectable only in hierarchical descending order. For example, electronic keying for a vendor match cannot be selected for a device unless electronic keying for the device type is selected first, and so on. Both the Configuration Recovery and Auto-Address Recovery options must be selected to enable Automatic Address Recovery. The following graphic shows the RSNetWorx for DeviceNet software property page in which electronic keying criteria are selected:
Tip "
Discuss the graphic and note that the electronic keying criteria displayed are for the 871TM inductive proximity sensor. Point out that if Automatic Device Recovery were enabled for the sensor, the replacement sensor would have to match the original sensor at least up to the vendor criteria. Mention that if the Vendor criteria were not selected, the replacement sensor could be from a vendor other than Rockwell Automation.
Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
8-5
8-6
Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
Heres How
Perform the following demonstration: 1. Enable the Automatic Device Recovery feature for the right-hand 871TM proximity sensor. 2. Configure the left-hand 871TM proximity sensor to node 63 3. Disconnect the 871TM proximity sensor from the workstation and delete the icon representing the sensor at node 63. 4. Perform a single-pass browse to verify the 871TM proximity sensor is no longer in the configuration. 5. Connect the left-hand 871TM proximity sensor and perform another single-pass browse. 6. Verify the 871TM proximity sensor has accepted the node address.
To configure the Automatic Device Recovery feature by performing the following tasks: Enable the Automatic Device Recovery feature
Exercise: Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
8-7
Exercise: Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
Exercise A
In this exercise, you will practice configuring the Automatic Device Recovery feature. Context: You have successfully configured all of the devices to be used to run your DeviceNet network. You now want to provide and test a safety mechanism that enables a device that is removed from the network to be replaced with its original configuration and address intact. Underlined actions indicate a procedure can be found in the associated job aid. Directions: Follow the steps below to configure the Automatic Device Recovery feature. 1. Open your network configuration. 2. Go online to the network. 3. Assign the left 871TM inductive proximity sensor node address to the network as node 63 using the Node Commissioning tool. 4. Disconnect the left 871TM inductive proximity sensor from the network. 5. Delete the icon representing the 871TM inductive proximity sensor at its old node address of 63.
Tip "
The left 871TM now represents an out-of-the-box device that will be added to the network later. 6. Connect the right 871TM inductive proximity sensor to the network. 7. Perform a single-pass browse of the network. 8. Enable electronic keying at least up to the device type level for the 871TM inductive proximity sensor in the scanlist of the scanner module that is acting as the network master. 9. Enable the Automatic Device Recovery feature for address recovery for the 871TM inductive proximity sensor in the scanner module that is acting as the network master.
8-8
Exercise: Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
10. Test the Automatic Device Recovery feature by performing the following actions: A. Disconnect the DeviceNet cable from the right 871TM inductive proximity sensor. B. Perform a single pass browse to confirm the 871TM inductive proximity sensor is missing from the network. C. Verify that the controller is in Run mode or place the controller in Run mode. D. Connect the left 871TM inductive proximity sensor to the network. E. Perform a single pass browse. F. Confirm the left 871TM inductive proximity sensor accepts node 2 as its address. 11. Change the controllers operating mode to Program.
Exercise: Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
8-9
8-10
Exercise: Configuring the Automatic Device Recovery (ADR) Feature for a DeviceNet Network
Answers
Exercise A
9. The ADR tab of your master scanners properties window should look similar to the following:
Lesson
If you are using SLC 500 hardware, use the alternative lesson, Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform.
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
After completing this lesson, you should be able to communicate on a DeviceNet network using explicit messaging by performing the following tasks: Identify class, instance, attribute, and service codes Format an explicit message in a ControlLogix controller
messaging in your plant? If so, what kind of function is it performing? What devices are involved?
Explicit messaging is important because it is a means to transfer very specific device data, such parameter values, that is not available via polled, strobed, change-of-state, or cyclic I/O messaging. In some cases, such as when no EDS (electronic data sheet) file is available, explicit messaging is the only way to configure a device.
Explicit Messaging
Explicit messaging is a method of transmitting commands, responses to commands, requests for data, and responses to data requests on a DeviceNet network. Explicit messaging is used to accomplish the following tasks: Obtain device data when no EDS file exists Make automatic runtime adjustments to device parameters according to changes detected by a controller
displays the numbers of faulted nodes, why would you want to send a faulted device an explicit message requesting fault information? Answer: To find out the exact nature of the fault.
Send configuration data to a device Retrieve detailed status and diagnostic information from a device
A device communicating using explicit messaging falls into one of the following categories: Explicit Client: The device from which an explicit message request originates. In an explicit message between a controller and a device, the controller is always the explicit client. Explicit Server: The device from which an explicit response is being requested. In an explicit message between a controller and a device, the device is always the explicit server. In an explicit message between two devices, either device can be the explicit server.
9-2
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
Explicit Message Contains specific information describing nature of data being requested Requires a response Has a low priority on a DeviceNet network
I/O Message Contains limited device data Does not require a response Has a high priority on a DeviceNet network
messages have a lower priority than I/O messages on a DeviceNet network? Answer: Because they are meant to transfer non-time critical data.
Use the following PLC-based analogy to help students understand the concepts of class, instance, and attribute: T4:10.ACC: S S S T4 is class 10 is instance ACC is attribute.
Attribute Service
Object Object is a general term that describes some function of a DeviceNet product. An object is made up of the following entities: Attributes: Information about variable portions of an object (i.e., data elements that can be written to or read from). Services: Functions that an object performs upon request (i.e., getting an attribute, setting an attribute, etc.). Behaviors: The manner in which an object responds to events that it recognizes (e.g., receiving service requests, detecting internal faults, etc.).
Note that an object corresponds roughly to a PLC-5 data table element. The main difference is that an object has a defined behavior as well as a defined data structure.
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
9-3
Connection object Message router object Timer events object Wall clock time object Parameter object
Class
Note that class corresponds roughly to a file in a PLC or SLC processor. For example, the counters class could be said to consist of the C5 file and the behavior of the CTU, CTD, and RES instructions.
Class is the most general category in the DeviceNet object model. A class is a subset of objects that behave in a similar way but contain different data in their respective variables. By this definition, several objects containing common characteristics can fall into one class. Each object class has a unique hexadecimal identifier called a class code. The following table lists a few examples of DeviceNet object classes for a PowerFlex 40 drive:
Class 01 05 0F Identity Connection Parameter Table Object
Instance
Continuing with the counter example, note that instances would be C5:1 and C5:42.
An instance is a specific occurrence of a given object. Since there can be several occurrences of the same object within a model, each instance is designated by a numeric value.
9-4
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
Attribute An attribute is one of many possible data elements in a given DeviceNet object or class that can be written to or read from in an explicit message. Each attribute is assigned a unique numeric ID. The following table lists examples of attributes and their respective numeric IDs supported by the class 0F Parameter Table object for a PowerFlex 40 drive:
Class 0F Instance Table Attribute ID 1 2 3 4 5 Attribute Name Output Frequency Commanded Frequency Output Current Output Voltage DC Bus Voltage
Tip "
Note that each of the attributes listed in the table is actually a parameter in the drive. Not all attributes are parameters, but parameters are some of the most common attributes that explicit messaging is used to access. Service A service refers to a function that an object performs as the result of an explicit request. Services that are supported vary from object to object. Each service is assigned a hexadecimal code called a service code. The following table lists a few of the most common services supported by the PowerFlex 40 drive:
Service Name Get_Attribute_Single Set_Attribute_Single Service Code 0E hex 10 hex Example Upload a single parameter value from a device Download a single parameter value to a device
Note that the actions of getting and setting attributes are commonly used services. Getting an attribute is simply the action of requesting the value of an object variable; setting an attribute is the action of sending a new value to an object variable. Cite examples of attributes that are commonly sent to (set) and retrieved from (get) DeviceNet objects: S S S S Input and output values Operating mode Angle (limit switches) Speed reference (drives)
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
9-5
Remind students that though the following graphic shows only instance attributes, there are also attributes that apply to all objects in the same class. Class
The following graphic shows the basic structure of the DeviceNet object model:
Attribute Attribute
Attribute Attribute
Attribute Attribute
Attribute Attribute
9-6
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
Point out that the following graphic only uses PLC-based terms to illustrate the concepts of class, instance, and attribute. The examples given are not true Class classes, instances, or attributes. (Counters)
The following graphic shows the basic structure of the DeviceNet object model using a PLC-based analogy to illustrate key concepts:
Attribute (ACC)
Instance 2 (C5:1)
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
9-7
Point out that the following graphic only shows two of fourteen instance attributes supported by each of the Connection objects in the PowerFlex 40 drive. Class 0F
The following graphic shows the basic structure of the DeviceNet object model as applied to the class 0F Parameter Table object of the PowerFlex 40 drive:
Attribute 1 (Output Frequency) Instance 1 Attribute 2 (Commanded Frequency) Attribute 3 (Output Current) Attribute 4 (Output Voltage) Parameter Table Object Attribute 5 (Bus Voltage)
9-8
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
The following graphic shows the portion of the EDS file for the PowerFlex 40 drive that contains class, instance, and attribute data needed to access parameter 29 (Torque Current):
Instance Code
The service code needed to format an explicit message must be accessed using documentation manuals. Service codes are generally listed in table format in Appendix B of the devices user manual.
Do not go into detail about peer-to-peer explicit message connections now, as this will be covered later in the lesson.
The following configuration requirements must be met in order to accomplish explicit messaging on a DeviceNet network with a ControlLogix controller and a 1756-DNB scanner module: 1. A 1756-DNB scanner module must be added in the Controller Organizer (this automatically creates all of the necessary logic and status tags, as well as the explicit message transfer area).
Rev. July 2008 EXPib100
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
9-9
2. A controller-scoped tag of the Message data type must be created and the data to be sent must be entered in this tag. 3. Explicit messaging logic must be written using an MSG (message) instruction. 4. The explicit message must be configured and the communications path must be specified in the MSG instruction.
Note that explicit message instructions can be conditional or unconditional. In the following graphic, an XIO instruction that examines the message control word is used to make the message continuous.
The following graphic shows an example of an MSG (message) instruction in RSLogix 5000 software:
MSG Instruction Configuration Configuration of the MSG instruction needed to perform explicit messaging between a ControlLogix controller and DeviceNet devices consists of the following steps: 1. Formatting the Configuration tab in the MSG instruction 2. Defining the communications path in Communications tab of the MSG instruction. The following parameters must be configured in the Configuration tab of the MSG instruction: Message type (always CIP Generic)
Attribute code Source (tag that contains data to be sent to the specified instance
of the object) Number of elements that will be used from the source tag the specified instance of the object) backplane
Destination (tag that will store data that is to be requested from The path the message will take through the ControlLogix
9-10
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
In the following graphic, point out all of the parameters that must be configured in the MSG instruction for an explicit message.
The following graphic shows the Configuration tab of an MSG instruction used to format an explicit message:
Note that the easiest and most accurate way to select the communication path for an explicit message is to use the Browse command button to find the scanner module through which the explicit message connection will be made.
The following graphic shows the Communication tab of an MSG instruction used to specify the path an explicit message will take:
After the scanner module through which the explicit message connection will be made is selected, you must add the number 2, a comma, and then the node address of the device to which the explicit message will be sent to define the communications path.
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
9-11
establishing a peer-to-peer explicit message connection between devices on a DeviceNet network? Possible Answer: To enable faster transfer of time-critical data through the scanner module by decreasing the number of devices with which the scanner module must communicate.
Peer-to-peer explicit messaging is accomplished via a direct connection between two devices without the use of a scanner module as an intermediary. UCMM (Unconnected Message Manager) Capability To communicate using a peer-to-peer explicit message connection, both devices must be UCMM-capable. UCMM connectivity is a feature that enables a device to communicate with another UCMM-capable device on a DeviceNet network without the need for a scanner module. The following list includes examples of Allen-Bradley devices that are UCMM-capable:
PanelView operator interface Flex I/O POINT I/O MicroLogix adapter Scanport adapter 1398 ULTRA 10 servo drive Bulletin 150 SMC AC dialog plus 193 E3 solid-state overload relay 1336 AC drive 1557 Medium Voltage drive Powermonitor II
Tip "
Not all DeviceNet-compatible devices are UCMM-capable. To find out if a device is UCMM capable, access its DeviceNet Statement of Compliance, which is normally located in Appendix B of the devices user manual. Method of Configuration The manner in which a device is configured for peer-to-peer explicit messaging differs depending upon the device. However, the following basic steps are generally followed:
Ask a student to review the meanings of the terms explicit server and explicit client.
1. One device is designated the explicit server and the other device is designated the explicit client. 2. Class, instance, and attribute codes are used to specify the data that is to be read or written. 3. The size and location of the data to be read or written is specified.
9-12
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
Example: PanelView Peer-to-Peer Explicit Message Configuration The following graphic shows the PanelBuilder software window where peer-to-peer explicit messaging is configured:
In the example above, the following elements required for the PanelView operator interface to communicate using peer-to-peer explicit messaging are specified: The function of the PanelView operator interface (either explicit server or explicit client) The node address of the device with which the PanelView operator interface is to communicate (explicit server) The location and size of the data to be exchanged The class, instance, and attribute codes that specify the data to be exchanged. The configuration shown in the example above applies only to the PanelView operator interface. Though the main elements needed to configure a peer-to-peer explicit message are similar, the method of configuration varies from device to device.
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
9-13
Heres How
Perform the following demonstration: 1. Identify the class, instance, attribute, service, and command codes needed to change the operating mode of the E3 overload relay sensor. " Use the E3 overload relays EDS file to identify the necessary class, instance, and attribute codes, and the documentation reference guide to identify the command and service codes. 2. Format an explicit message in RSLogix 5000 software to change the operating mode of the E3 overload relay. 3. Format an explicit message in RSLogix 5000 software to change the operating mode of the 871TM inductive proximity sensor.
To communicate on a DeviceNet network using explicit messaging by performing the following tasks: Identify class, instance, and attribute codes
9-14
Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix
9-15
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix Platform
Exercise A
In this exercise, you will practice communicating on a DeviceNet network using explicit messaging. Context: You have completed all of the essential configuration tasks for the DeviceNet network and the network is operational. However, you would like to use explicit messaging to enable the count up function of the 871TM inductive proximity sensor using an input from the PanelView Plus operator interface instead of having to reconfigure this parameter in RSNetWorx for DeviceNet software every time the count up function is needed. Underlined actions indicate a procedure can be found in the associated job aid.
Tip "
For help performing steps in RSLogix 5000 software, consult the Start Pages or the online Help. Directions: Perform the steps below and answer the following questions: 1. Open your network configuration. 2. Identify the class, instance, and attribute codes needed to write to the 871TM inductive proximity sensor parameter and list them in the following table:
Device Variable or Parameter Counter (parameter 15) Class Code Instance Code Attribute Code
Tip "
Use the 871TM inductive proximity sensors EDS file to determine class, instance, and attribute codes. 3. Open exercise file EXP_N100_A1.acd. 4. Access rung 0 of the Oven_Line routine. 5. Click the inside the MSG (message) instruction on rung 0.
E 2008 Rockwell Automation, Inc. All rights reserved. EXPe100
9-16
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix
6. Format an explicit message in the ControlLogix controller to enable the Counter configuration parameter (parameter 15) in the 871TM inductive proximity sensor.
The Service Code field is automatically selected when the message type (CIP Generic) is selected. The Source Element tag should already be selected as expl_data_1. 7. Access the Communication tab of the Message Configuration window for the MSG instruction in rung 0 of the Oven_Line routine. 8. What does the second 2 stand for in the Path text box?
9. Access rung 1 of the Oven Line routine. 10. Click the inside the MSG instruction on rung 1.
11. Format an explicit message in the ControlLogix controller to disable the Counter configuration parameter in the 871TM inductive proximity sensor.
Tip "
The Source Element tag should already be selected as expl_data_2. 12. Access the Controller Tags window. 13. Edit the value of the expl_data_1 tag to enable the 871TM inductive proximity sensors Count Up Enabled parameter. 14. Edit the value of the expl_dat_2 tag to disable the 871TM inductive proximity sensors Count Up Enabled parameter. 15. Download the program to the controller. 16. Change the controllers operating mode to Run. 17. Test the explicit message by performing the following actions: A. Select Run Application on the PanelView Plus terminal. B. Once the application has started, press Prox on the PanelView Plus screen to navigate to the 871TM inductive proximity sensor screen . C. Touch the Enable Counter pushbutton and hold for a moment on the PanelView Plus screen. D. Touch a metal object (such as a a coin or key) to the sensing end of the 871TM inductive proximity sensor. The PanelView Plus counter should increment by one every time a metal object is sensed.
Rev. July 2008 EXPe100
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix
9-17
E. Touch the Disable Counter pushbutton and hold for a moment on the PanelView Plus screen. F. Touch a metal object (such as a coin or key) to the sensing end of the 871TM inductive proximity sensor. The PanelView Plus counter should no longer increment every time a metal object is sensed. 18. Save the RSLogix 5000 program. 19. Close RSLogix 5000 software. 20. Close RSNetWorx for DeviceNet software.
9-18
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix
Answers
Exercise A
2. If you correctly identified the class, instance, and attribute codes needed to write to the 871TM inductive proximity sensor parameters, your table will look like the following:
Device Variable or Parameter Counter (parameter 15) Class Code ee Instance Code 01 Attribute Code 01
6. If you correctly formatted an explicit message to enable the Count Up Enabled parameter in the 871TM inductive proximity sensor, the Configuration tab of the Message Configuration window for the MSG instruction in rung 0 of the Oven_Line routine should look like the following graphic:
8. The second 2 in the Path text box of the Communication tab of the MSG instruction in rung 0 of the Oven_Line routine stands for the node address of the target device (the 871TM inductive proximity sensor).
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix
9-19
11. If you correctly formatted an explicit message to disable the Count Up Enabled parameter in the 871TM inductive proximity sensor, the Configuration tab of the Message Configuration window for the MSG instruction in rung 1 of the Oven_Line routine should look like the following graphic:
13. If you correctly edited the value of the expl_data_1 tag to enable the Count Up Enabled parameter in the 871TM inductive proximity sensor, the tag value should equal 1 and look like the following graphic:
14. If you correctly edited the value of the expl_data_2 tag to disable the Count Up Enabled parameter in the 871TM inductive proximity sensor, the tag value should equal 0 and look like the following graphic:
9-20
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the ControlLogix
Lesson
10
Edit a scanlist Edit device message type and I/O sizes Go online to a DeviceNet network Map device input data manually Identify DeviceNet addresses in a ControlLogix controller Upload a device or network configuration
10-2
10-3
Tip "
For help performing steps in RSLogix 5000 or RSLogix 500 software, consult the Start Pages or the online Help. Directions: Follow the steps below to modify the DeviceNet network configuration: 1. Open your network configuration. 2. Create an offline network configuration by performing the following: add an additional 871TM inductive proximity sensor to your offline network configuration. 3. Assign a node address through the Hardware View by performing the following: Assign the 871TM proximity sensor a node address of 35 to give it a lower priority on the network. 4. Edit device parameters for the new 871TM inductive proximity sensor as follows:
For this parameter . . . 7 (On-Delay Timer Enabled) 9 (On-Delay Preset) 20 (No Motion Detect Timer) 21 (Learn/Teach Mode) 26 (Autobaud) Enter or select this option or value . . . On-Delay 5 5 ms Learn Target Enabled
E 2008 Rockwell Automation, Inc. All rights reserved. INTe100
10-4
5. Verify that the Automap on Add check box in the Scanlist property page of the Scanner Module Configuration window for the scanner module acting as the master for your network has not been selected, or clear the Automap on Add check box. 6. Edit the scanlist of the scanner module that is acting as the network master by adding the new 871TM inductive proximity sensor. 7. Verify device message type and I/O sizes for the new 871TM inductive proximity sensor as follows:
Message Type Strobed 2 Input Size N/A Output Size
9. Manually map device input data for the 871TM inductive proximity sensor in the 1756-DNB scanner module as follows:
10. Manually map device input data for the 871TM inductive proximity sensor in the 1747-SDN scanner module as follows:
Segment 1: - Discrete - Word: 15 - Bit: 8 - Number of bits: 8 Segment 2: - Discrete - Word: 16 - Bit: 8 - Number of bits: 8
11. Identify the address in the ControlLogix controller or SLC 500 processor where the sensors Motion Output bit will show up:
10-5
10-6
Answers
Exercise A
11. In the ControlLogix controller, the 871TM inductive proximity sensors Motion Output bit will show up at input word 10, bit 7. The sensors Motion Output bit is bit 7 of the first input byte the sensor sends. In the 1756-DNB scanner module, the input data map starts at word 10, bit 0. Therefore, the sensors Motion Output bit will show up at input word 10, bit 7. In the SLC 500 processor, the 871TM inductive proximity sensors Motion Output bit will show up at input word 15, bit 14. The sensors Motion Output bit is bit 6 of the first input byte the sensor sends. In the 1747-SDN scanner module, the first input byte is mapped to input word 15, bits 8-15. Therefore, the Motion Output bit will show up at input word 15, bit 14.
11
After completing this lesson, you should be able to troubleshoot a DeviceNet network using RSNetWorx for DeviceNet software by performing the following tasks: Interpret software error icons and messages Resolve a device mismatch Monitor device parameters Diagnose a network using the DeviceNet MD tool
Error Icons
The following two error icons are displayed in RSNetWorx for DeviceNet software for maintenance and troubleshooting purposes: Device mismatch icon Missing device icon These error icons are only displayed in an online network configuration.
11-2
The error icons are displayed just above the graphic representation of a device in a network configuration:
A device mismatch icon is displayed when the identity information for a device that is in the software network configuration does not match the identity information for the physical device that it represents. Identity information can include any of the following items: Device vendor Device type Device name
11-3
Missing Device Icon A missing device icon is displayed when a device in a software network configuration is not detected on the physical network when an online connection is established. The following examples are just a few of the many different causes of this error: A compromised physical connection between the device and the network
Absence of the physical device on the network Node address discrepancy between the physical device and its
software representation Misconfiguration
Point out that the use of numeric and alphanumeric codes to troubleshoot a network will be covered in a later lesson.
Often the cause of a missing device icon can be determined by referring to scanner module numeric or alphanumeric codes.
RSNetWorx for DeviceNet software provides numerous error, warning, and status messages for various conditions as they are detected on the network. The messages can provide any of the following types of information: A recap of minor network status changes (e.g., network mode being changed to online, DeviceNet MD diagnostic test performed, etc.) Warnings of configuration and/or communications problems
Double-clicking a message in the message view will display more detailed information about the message. The message view can be hidden or exposed using the options under the View Messages menu in RSNetWorx for DeviceNet software.
E 2008 Rockwell Automation, Inc. All rights reserved. SFTib100
11-4
Device Parameters
Significant diagnostic information can be obtained for many devices by monitoring their parameters using RSNetWorx for DeviceNet software. Parameters are accessed and monitored through a devices Parameters property page. Device parameters can only be monitored when a network is online.
Tip "
Point out the various diagnostic parameters, such as input and output status, that can be monitored in the E3 overload relay.
The option of monitoring a single parameter or all parameters associated with a device is available. The following graphic shows the Parameters property page for a E3 solid-state overload relay:
Drop-Down List Where Monitoring Options Are Selected Icon Used to Start and Stop Parameter Monitoring
Available Parameters
Since the parameters supported by a device vary with each device, the types of diagnostic parameters supported by a device also vary. The following examples show some diagnostic parameters that can be monitored for various devices: State of inputs and outputs (packaged and modular I/O)
11-5
Example: Monitoring I/O Status for an ArmorBlock MaXum I/O Module The following graphic shows the Parameters property page for an ArmorBlock input module, where the following diagnostic parameters can be monitored: Input Values: This parameter shows the status of the four input points supported by this module as a binary bit pattern. When an input is on, the bit representing that input goes to a 1 in the Input Values parameter. Connector Fault Status: This parameter indicates wiring faults for the ArmorBlock input points. For each input point supported by the module, there is a Connector Fault Status parameter in the Parameters property page.
Explain that the Input Values parameter can be used to verify that input devices are operational and wired to the appropriate connector. Point out that the Connector Diagnostic parameters must be activated for the Connector Fault Status parameters to reflect wire status.
Tip "
On an ArmorBlock MaXum module that also supports output points, additional parameters such as no load detection can be monitored.
11-6
Point out that the DeviceNet MD tool can provide diagnostic information to be used in preventative maintenance (such as a warning that a sensors operating margin is dangerously low) before an actual error is displayed for a device in other areas of the software or on the devices hardware status indicators.
network at-a-glance through the use of unique and colorful icons. It provides suggestions for troubleshooting many of the problems that are diagnosed. It enables a user to select the speed at which a network will be diagnosed, as well as the type of icons that will be used to show diagnostic information.
In the following screen capture, point out the numbers associated with the diagnostic readings and explain that the number 248 indicates the total number of healthy instances on the network, not the total number of healthy devices. Explain that the same rule applies to the total number of warnings, errors, and no reads.
DeviceNet MD diagnostics cannot be performed while a network is being browsed using the single-pass or continuous browsing options.
11-7
The following graphic shows an active Diagnostic view in RSNetWorx for DeviceNet software:
Command Buttons to Start/Stop Diagnostics Legend
Heres How
Perform the following demonstration: 1. Create software error icons (missing device and device mismatch) on your workstation, then interpret and resolve them. 2. Point out and discuss the messages that appear in the message view. 3. Monitor a few parameters in one of the workstation devices. 4. Use the DeviceNet MD tool to diagnose the network and point out any errors or Tip warnings that are indicated.
To troubleshoot a DeviceNet network using RSNetWorx for DeviceNet software by performing the following tasks: Interpret software error icons and messages Resolve a device mismatch Monitor device parameters
"
If there are device mismatch icons in the software network configuration, the Scanner Module Master Data Maps appendix can be used to determine the actual revision level of a device.
11-8
11-9
Tip "
If you are using the SLC 500 platform, open the SFT_N100_A3.dnt network configuration file. 2. Go online to the network. 3. Interpret the error icons that are displayed for several of the network devices.
11-10
4. Write the name of each device showing an error icon, the type of error icon that is displayed, and the reason for the error icon in the following table:
Device Error Icon Reason
5. Perform the corrective actions necessary to clear the error icons. 6. If there are any error messages displayed in the message view, write the message(s) displayed below:
7. Access the Parameters property page for the E3 overload relay. When prompted, upload device parameters.
8. Monitor device parameter 11 (Current Imbalance) of the E3 overload relay. 9. Adjust the Phase Imbalance dial on the workstation and watch the value of parameter 11 increase and decrease as you adjust the current imbalance. 10. Monitor device parameter 6 (Position Value) of the absolute multi-turn encoder. 11. Adjust the position of the flywheel attached to the absolute multi-turn encoder and confirm the value of parameter 6 changes.
Tip "
If you tripped a fault condition on the E3 overload relay, adjust the Phase Imbalance dial until the value of parameter 11 is 0. Then press the blue Reset button on the front of the E3 overload relay. 12. Stop monitoring parameter 11. 13. Close the properties window for the 871TM inductive proximity sensor. 14. Access the device configuration tab of the property page for the ArmorBlock MaXum Input module.
11-11
15. Verify that the Offwire Diagnostic Inactive option is selected for parameters 9 and 10 (Connector A Diagnostic and Connector B Diagnostic, respectively) or select it. 16. Verify that the Offwire Diagnostic Active option is selected for parameters 11 and 12 (Connector C Diagnostic and Connector D Diagnostic, respectively) or select it.
Tip "
Since there are no inputs that are supposed to be connected to connectors 0 and 1 (A and B) on the ArmorBlock MaXum input module, its a good idea to disable the offwire diagnostic for these connections to prevent unnecessary error LEDs. 17. Download the device configuration to the ArmorBlock MaXum input module. 18. Disconnect the DeviceNet cable from input connector 2 (on the bottom left) of the ArmorBlock MaXum input module. 19. Monitor device parameter 7 (Connector C Fault Status) of the ArmorBlock MaXum input module. 20. What is the status of input 2 (Connector C) as reflected by parameter 7? What conclusions may be drawn based on this indication?
21. Stop monitoring. 22. Close the properties window for the ArmorBlock MaXum input module. Leave the connector on input 2 of the ArmorBlock MaXum input module disconnected. 23. Save the network configuration.
11-12
Exercise B
In this exercise, you will practice diagnosing a network using the DeviceNet MD tool. Context: You want to be able to detect device-specific problems, as well as potential device problems before they begin to impact network operation. Your company has purchased a DeviceNet MD activation to help you do just that. Since you are already online to the network with RSNetWorx for DeviceNet software, you decide to diagnose the network using the DeviceNet MD tool as a preventative maintenance measure. Underlined actions indicate a procedure can be found in the associated job aid.
Tip "
For help performing steps in RSLogix 500/5000software, consult the Start Pages or the online Help. Directions: 1. If you have not already done so, Go online to the network. 2. Edit device parameter 24 (Trip Enable) of the E3 overload relay, enabling Comm Idle as shown in the following graphic:
3. Download the device configuration to the E3 overload relay. 4. Cycle the controllers operating mode (This will cause the DeviceNet mode to be Idle momentarily.) 5. Diagnose the network using the DeviceNet MD tool.
11-13
6. Write the names of the device for which problems have been diagnosed and the diagnosis for each device in the space below:
7. Perform the necessary corrective action to restore the network to proper operation. 8. Diagnose the network using the DeviceNet MD tool again to verify that any warnings or errors have been cleared. 9. Edit device parameter 24 (Trip Enable) of the E3 overload relay and disable Comm Idle. 10. Download the device configuration to the E3 overload relay. 11. Save the network configuration. 12. Close RSNetWorx for DeviceNet software.
11-14
Answers
Exercise A
4. If you interpreted the error icons correctly, the table you completed should resemble the following:
Device Bulletin 160 drive RightSight glass fiber optic sensor Error Icon Missing device Reason There is no Bulletin 160 drive on the physical network. The RightSight Glass Fiber Optic in the software configuration is not the device that actual exists at node 40, the PanelView Plus terminal.
Device mismatch
5. To clear the error icons successfully, you should have performed the following actions: A. Deleted the icon for the Bulletin 160 drive, since it is not actually present on the physical network. B. Resolved the device mismatch for the PanelView Plus operator interface (the software network representation for this device was a RightSight glass fiber optic sensor which did not exist on the physical network). 6. Depending upon the workstation you are using, there may or may not be messages displayed in the message view. 20. Input 2 (Connector C) is Offwire. Based on this indication, it can be concluded that the connection for input 2 on the ArmorBlock MaXum input module is bad. Possible causes for this condition include a broken or loose connection or an open circuit.
Exercise B
6. The devices for which problems have been diagnosed are the ArmorBlock MaXum input module and the E3 overload relay. The diagnoses are as follows: A. The ArmorBlock MaXum input module has a recoverable fault (due to a loose input connection). B. To reset the fault on the E3, simply press the blue Trip Reset button on the front of the E3. It was faulted because the Comm Idle was set as a trip condition in Parameter 24, and the Master was in idle mode when you put the controller in Program mode. Be sure to reset this parameter so that the Comm Idle is NOT a trip condition and download to the E3.
Lesson
If you are using SLC 500 hardware, use the alternative lesson, Troubleshooting Using DeviceNet and ControlLogix Hardware Indicators.
12
12-2
A 1756-DNB scanner module, used with ControlLogix controllers, has the following status indicators: Combined Module/Network Status Indicator: Provides information on the status of both the scanner module itself and the entire network that it is a part of. Specifically, this status indicator can provide the following types of information: - Power supply status - Scanlist status - Recoverable/unrecoverable fault status
inputs and outputs on the network. Specifically, this indicator can provide information on whether or not network inputs and outputs are active or faulted and whether or not they are under program control. An I/O status indicator reflects the state of inputs and outputs, not necessarily the on/off status of the input or output points themselves.
Note that information about the status indicators found on other scanner modules, such as the 1771-SDN scanner module, the 1784-PCIDS scanner card, and the 1788-CN2DN linking device, can be found in the Troubleshooting Guide.
12-3
Most DeviceNet-compatible devices have a network status indicator that provides information about that devices status on the network. A devices network status indicator can provide the following information about the device: Power supply status Connection status (i.e., whether or not it is either in the scanlist of a master scanner module or has a peer-to-peer connection with another device)
Individual Input Point Status Indicators Logic Status Indicator (For Modules that Support DeviceLogixt Functionality) ArmorBlock MaXum Input Module
Devices may have other status indicators not necessarily related to the DeviceNet network that can also be used for troubleshooting purposes. The location and physical appearance of a devices network status indicator varies with each device. Consult a devices user documentation for details.
12-4
The following table summarizes the location and type of numeric or alphanumeric codes available for five of the main scanner modules manufactured by Rockwell Automation:
For this scanner module . . . 1771-SDN 1747-SDN 1756-DNB 1784-PCIDS This type of code is available . . . Numeric only Numeric only Numeric and alphanumeric Numeric only And is located . . . On the front of the scanner module On the front of the scanner module On the front of the scanner module In the StatusDisplay status structure element of RSLogix 5000 software In I/O Linx for DeviceNet software In the ScannerStatus and ScrollingDevice status structure elements of RSLogix 5000 software (for the Logix5000 family of controllers) In the first word of the input data table in RSLogix 5 software (for PLC-5 processors)
1788-CN2DN
Numeric only
If you are teaching this lesson as part of a standard school, do not go into detail now about how RSLogix 5000 software can be used to access numeric codes for the 1756-DNB scanner module. This information will be covered in a later lesson.
The following graphic shows where numeric and/or alphanumeric codes are displayed on the 1756-DNB scanner modules:
DeviceNet
Tip "
Explanations of the numeric and alphanumeric codes that can be displayed on Rockwell Automation DeviceNet scanner modules and the recommended course of action to clear them can be found in the Troubleshooting Guide.
Rev. July 2008 HRDib100
12-5
Heres How
Create a fault on your workstation using the 1756-DNB scanner module as the network master, then clear it using information from the hardware status indicators, device network status indicators, and scanner module numeric and alphanumeric codes. Before clearing the error, be sure to point out the status of all of the following indicators: 1. Scanner module status indicators 2. Scanner module numeric or alphanumeric codes 3. Device network status indicator
To troubleshoot a DeviceNet network using hardware indicators by performing the following tasks: Interpret scanner module status indicators
Interpret device network status indicators Interpret scanner module numeric or alphanumeric codes Clear scanner module numeric or alphanumeric codes
As your instructor demonstrates these procedures, follow along in the associated job aid(s).
12-6
12-7
3. If the controller is not currently in Program mode, change the controllers operating mode to Program. 4. Download the network configuration. 5. Disconnect the 871TM proximity sensor from the network.
12-8
6. Interpret the status indicators on the scanner module that is acting as the master scanner module on your network and complete the following table:
Scanner Module Status Indicator MOD/NET State Meaning
IO
OK
Do not attempt to perform any corrective action to change the state of any status indicators at this time. 7. Interpret the network status indicators on the workstation devices listed below and complete the following table:
Network Status Indicator 871TM photoelectric sensor ArmorBlock I/O module State Meaning
Tip "
Look at the network status indicator of the ArmorBlock MaXum Input module for at least ten seconds before determining its state. 8. Interpret the numeric or alphanumeric codes displayed on the front of the scanner module acting as the master scanner module on your workstation.
Tip "
Tables with interpretations of scanner module numeric and alphanumeric codes are provided in the Troubleshooting Guide.
12-9
9. List the numeric or alphanumeric codes that are displayed on the front of the scanner module and the probable cause of each:
10. Perform the necessary corrective actions to clear the scanner module numeric or alphanumeric codes.
Tip "
The Scanner Module Master Data Maps appendix, which contains information about the I/O sizes that the workstation devices should be configured to send and receive, may help you clear one of the error codes. 11. Save the network configuration. 12. Close RSNetWorx for DeviceNet software.
12-10
Answers
Exercise A
6. If you have correctly interpreted the status indicators on the scanner module that is acting as the master scanner module on your workstation, the table you completed should resemble the following table:
Scanner Module Status Indicator MOD/NET 1756-DNB scanner module State Flashing red Meaning The scanner module has a minor recoverable fault or a connection timeout. The scanner module is in Idle mode, outputs are not under control, and inputs are being consumed. The scanner module is operating normally.
IO
Flashing green
OK
Solid green
7. If you have correctly interpreted the status indicators on the workstation devices, the table you completed should resemble the following table:
Network Status Indicator 871TM photoelectric sensor ArmorBlock I/O module Off Flashing green or flashing red State Meaning There is no power being applied to the device. The device needs commissioning. Read the scanner module numeric or alphanumeric code.
9. The following numeric and alphanumeric codes should be displayed on the front of the scanner module: A. A# 00 and IDLE (the cause is that the controller is in Program mode) B. N# 02and E# 78 alternately (probable cause is that the connection between the 871TM inductive proximity sensor and the network is loose) C. N#30 and E# 77 alternately (probable cause is that the I/O sizes configured for the ArmorBlock I/O module in the scanner do not match those that were originally configured for the device). This error can be cleared by editing the input size of the ArmorBlock I/O module in the scanlist of the 1756-DNB scanner module to send 2 input bytes instead of 1.
12-11
Troubleshooting Tips
If you are unable to successfully clear scanner module numeric or alphanumeric codes, verify that you have completed the following actions:
Securely reconnected the 871TM inductive proximity sensor to the network Changed the input size configured for the ArmorBlock I/O module in the master scanner modules scanlist to send 2 input bytes instead of 1. Downloaded corrective changes made in the scanner module configuration to the scanner module If problems persist, cycle power to the workstation after performing the corrective action
12-12
Lesson
If you are using SLC 500 hardware, use the alternative lesson, Troubleshooting a DeviceNet Network Using RSLogix 500 Software.
13
Relationship Between an RSNetWorx for DeviceNet Software Data Map and I/O Points in RSLogix 5000 Software
For communications between a controller and devices to occur, input and output data mapped for devices in the scanlist of a scanner module must correlate directly with the input and output addresses for these devices in the corresponding ladder logic program. Since misalignment of this data can cause communications problems, the ability to trace I/O points is essential to maintaining and troubleshooting a DeviceNet network.
13-2
To trace I/O points through a 1756-DNB scanner module, the following information is used: The RSNetWorx for DeviceNet software data map
The data structure of the device for which I/O points are to be
traced RSLogix 5000 software tags database (1756-DNB scanner modules only) RSNetWorx for DeviceNet Software Data Map The location where a devices data is mapped in a 1756-DNB scanner module can also be determined by accessing the input and output data maps in the Scanner Module window of RSNetWorx for DeviceNet software. The following graphic shows the RSNetWorx for DeviceNet window where the location of input data for an ArmorBlock MaXum input module in the scanlist of a 1756-DNB scanner module can be determined:
The ArmorBlock MaXum modules input data is mapped to the first half of the second double-word (DINT).
13-3
Device Data Structure Knowledge of a devices data structure is needed to trace I/O points because the data map in RSNetWorx for DeviceNet software alone does not provide a user with information about the specific function of each individual bit that has been mapped for a device (e.g., it does not provide information as to which bit in an operator interface represents the start button).
Advise students that data structure information for devices that have large amounts of I/O data or different I/O assemblies to choose from is not usually located in RSNetWorx for DeviceNet software and must be accessed using device documentation (e.g., information about the data structure of a Bulletin 160 drive or E3 solid-state overload relay).
The following resources provide information about the data structure of a device, including the function of individual bits in the device: The I/O Data property page for the device
The EDS (electronic data sheet) file for the device The online Help system in RSNetWorx for DeviceNet software
(Allen-Bradley devices only) The devices user manual
Tip "
Stress that a devices data structure can vary based on the kind of messaging the device has been configured for. Make sure students know they must look up a devices data structure based on the devices message type.
The location of data structure information varies with each device. Device data structure can vary depending upon the type of messaging the device has been configured for (e.g., polled, strobed, change-of-state, etc.)
13-4
The following graphic shows the I/O Data property page for the RightSight polarized retroreflective sensor and the data structure information that can be accessed from the I/O Data property page:
I/O Data Property Page
Help for the Selected Parameter Button Used to Access a Devices Data Structure Information from the I/O Data Property Page
Device Data Structure Information (Drawn from Devices EDS File) Function of Bit 0 in Byte 1 of the RightSight Polarized Retroreflective Sensor
13-5
The following graphic shows the I/O Data property page for the ArmorBlock MaXum input module and the data structure information that can be accessed from the I/O Data property page:
Device Data Structure Information (Drawn from Devices EDS File) Function of Bits 0 to 3 in Byte 1 of the Input Data from the Module
RSLogix 5000 Software Tags Database Once the location where device data is mapped and a devices data structure are known, device I/O points can be traced using tags in the RSLogix 5000 software tags database. I/O points can be traced using the following types of tags: Module-Defined Tags: Tags are generated automatically when a 1756-DNB scanner module is added to an RSLogix 5000 I/O configuration. Module-defined tags are named after the input or output data location they represent:
Review the structure of ControlLogix addresses. Make sure that students understand how DeviceNet tag addresses are constructed in the RSLogix 5000 tag database. Stress that since all DeviceNet data passes through the scanner module, the addresses in the tags database are really the addresses assigned in RSNetWorx for DeviceNet software.
Local:1:I.Data[1].0
Local Chassis Slot Number of Input 1756-DNB Scanner Module Word 1 Bit 0
13-6
Note that module-defined and alias tags are housed in the same place, so two tags that reference the same I/O point may be available in the same database.
The following graphic shows a portion of the tags database in RSLogix 5000 software to which I/O points mapped in a 1756-DNB scanner module can be traced:
Alias Tag
13-7
In the graphic below, note that alias tags could also be created to reference the module-defined tags used by the ArmorBlock MaXum input module. For example, an alias tag called Armor_Short_0 could be created to reference the bit that represents the module-generated tag Local:1:I.Data[2].3 (a short on input 0).
To trace I/O points, the input or output data map in RSNetWorx for DeviceNet software must be compared with input or output tags in the tags database of RSLogix 5000 software. The following graphic shows the relationship between the input data map in a 1756-DNB scanner module where an ArmorBlock MaXum input module is mapped and the tags database in RSLogix 5000 software:
RSLogix 5000 Software Tags Database
The ArmorBlock input module is mapped to the first half of input word 2 in the 1756-DNB scanner module.
Bits 4 to 7 represent short circuits The first 16 bits in on the ArmorBlock MaXum input Local:1:I.Data[2] modules connectors. represent bits in the ArmorBlock input module.
13-8
Tip "
Note that information about bit function in the status register of a 1771-SDN scanner module can also be found in the Documentation Reference Guide.
The status of a scanner module can be monitored by viewing the scanner modules status register. Status register for a 1756-DNB scanner module is a unique input word (I.StatusRegister) of the corresponding ControlLogix controller. The tags associated with a 1756-DNB scanner modules status register are automatically created when the module is added to the RSLogix 5000 I/O configuration. The following information about a scanner module and, consequently, the entire network, can be obtained through the status register: The operational mode of the scanner module (Run, Idle, Disabled, etc.) If there are faulted devices on the network
If there are duplicate node addresses on the network If there is an explicit message response available from a device
The following graphic shows the portion of the tag database in RSLogix 5000 software where information from the status register of a 1756-DNB scanner module is located:
13-9
Additional status information for a 1756-DNB scanner module and the devices in its scanlist can be obtained by monitoring certain tags that are automatically created when a 1756-DNB scanner module is added to the I/O configuration in RSLogix 5000 software. These tags are housed in the status structure elements shown in the following graphic:
Alias Tags
With the exception of the S.ScanCounter and S.StatusDisplay status structures, each 1756-DNB module-defined status structure is an array of 8 bytes that make up a 64 bit table. There is one bit for every one of the 64 possible node addresses on the network. Each bit that is turned on (equals 1) provides some type of status information for the node address it represents.
Tip "
Details about the specific information provided by each of the 1756-DNB module-defined status structures can be found in the Documentation Reference Guide.
13-10
Heres How
Demonstrate how to trace the Start bit for the PowerFlex 40 drive in the scanlist of the 1756-DNB scanner module using your workstation and the example below.
To trace I/O points through a 1756-DNB scanner module. As your instructor demonstrates this procedure, refer to the following example:
Example
Tip "
The data structure of the input and output assemblies used by the drive is located in the drives user manual. Step 1: Determine Output Mapping The output mapping information is accessed using the RSNetWorx for DeviceNet software output data map. It is determined that the PowerFlex 40 drive is mapped to the first half of double-words 6 and 7 in the 1756-DNB scanner module:
13-11
Step 2: Determine Data Structure The data structure of the PowerFlex 40 drives output assembly is determined by accessing the drives user manual (see also Appendix C). Based on the output assembly data structure excerpted from the user manual and shown in the following graphic, it is determined that bit 1 enables the drive to start:
RunFwd (Run Forward) Bit Instance 21 Data Format (Reversing Speed Control Output Assembly) Byte 0 1 2 3 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Clear Fault Speed Reference RPM (Low Byte) Speed Reference RPM (High Byte) Bit 2 Jog Bit 1 Start Bit 0 Stop
Step 3: Determine I/O Point Location in RSLogix 5000 Software Tags Database Using the information now known about the output data map and output assembly data structure for the PowerFlex 40 drive, the exact location of the Start bit is located in the RSLogix 5000 software tags database:
Start Bit Alias Tag
13-12
Step 4: Verify the Addressing of the Ladder Logic Instruction Controlling the I/O Point Once it is known that output point Local:2:O.Data[6].1 represents the Start bit in the PowerFlex 40 drive, the ladder logic instruction that actually turns this bit on must be checked against this address to make sure that it is referencing the correct point. The following graphic shows the rung of ladder logic that controls the PowerFlex 40 drive:
Per the output instruction in the example graphic, the Start bit is at output address Local:2:O.Data[6].1. Since this is the address where the Start bit for the drive is mapped in the scanner module, it can be determined that the PowerFlex 40 drives output map in RSNetWorx for DeviceNet software is aligned with the RSLogix 5000 addressing.
Heres How
To troubleshoot a DeviceNet network using RSLogix 5000 software by performing the following tasks: Monitor data in a 1756-DNB scanner modules status register Monitor a 1756-DNB modules module-defined status tag values As your instructor demonstrates these procedures, follow along in the associated job aid(s).
Perform the following demonstration: 1. Toggle the ControlLogix controller at your workstation between Idle and Run modes and monitor the changes in the 1756-DNB scanner modules status register. 2. Still using the 1756-DNB scanner module, create an error on the network that will show up in the 1756-DNB scanner modules status structure tags, then monitor these tags.
13-13
Tip "
For help performing steps in RSLogix 5000 software, consult the Start Pages or the online Help. Directions: 1. Open network configuration file RSL_N100_A1.dnt. 2. Go online to the network. 3. Change the controllers operating mode to Program. 4. Download the device configuration to the 1756-DNB scanner module. 5. Change the controllers operating mode to Run.
13-14
6. Attempt to start the motor in the workstation by pressing the IN2 pushbutton.
Tip "
This pushbutton is wired to the third input of the ArmorBlock MaXum Input module and should command the PowerFlex 40 drive to start the motor. 7. Does the motor start?
8. Open project file RSL_N100_A2.acd. 9. Download the project to your controller. 10. If you have not already done so, change the controllers operating mode to Run. 11. Using the RSNetWorx for DeviceNet input data map, the I/O Defaults property page for the ArmorBlock input module, and the RSLogix 5000 controller tags database, trace the third ArmorBlock MaXum input point and complete the following information: RSNetWorx for DeviceNet Software Input Data Map Address:
12. To which RSLogix 5000 module-defined tag will data from input 2 in the ArmorBlock MaXum input module go?
13. Access rung 0 in the Cooling_Rack subroutine. 14. Does the input instruction for input 2 in the ArmorBlock MaXum input module match the module-defined tag where the ArmorBlock MaXum input modules inputs will be found based on the RSNetWorx for DeviceNet software input data map? Why or why not?
13-15
16. Access the controller tags database. 17. Expand the database until the module-defined tag where the ArmorBlock MaXum modules inputs should be found is in view. 18. While monitoring this tag, attempt to start the motor in the workstation by pressing the IN2 pushbutton. This pushbutton is wired to the third input of the ArmorBlock input module and should energize the PowerFlex 40 to start the motor. 19. Which input bit goes on as a result of this action? Is this the bit that is referenced in rung 0 of the ladder logic?
21. Change the controllers operating mode to Program. 22. Choose one of the following options to align the ArmorBlock MaXum input modules addressing:
download the network configuration. Using the currently open RSNetWorx for DeviceNet file RSL_N100_A1.dnt, manually map device input data for the ArmorBlock input module so that it is aligned with the address referenced in the input instruction in rung 0. 23. Change the controllers operating mode to Run. 24. Attempt to start the motor in the workstation by pressing the IN2 pushbutton. This pushbutton is wired to the third input of the ArmorBlock input module and should command the PowerFlex 40 drive to start the motor. If the motor starts, you have successfully fixed input address alignment. 25. Press the red button on the PowerFlex 40 drive to stop the motor.
13-16
26. Trace the input point that reflects the status of the offwire diagnostic parameter for input 2 in the ArmorBlock MaXum input module. 27. Which bit in the RSLogix 5000 controller tags database will go on if an offwire condition is detected on input 2 of the ArmorBlock MaXum input module?
28. Test your conclusion by disconnecting the cable for input 2 on the ArmorBlock MaXum input module, activating the Connector Fault Status parameter for input 2 of the module in RSNetWorx for DeviceNet software, and monitoring the bit that should be affected in the RSLogix 5000 input data file. 29. Reconnect the cable for input 2 of the ArmorBlock MaXum input module and deactivate the Connector Fault Status parameter for input 2 of the module. 30. Monitor data in the 1756-DNB scanner modules status register. 31. Which bit is on in the status register and what does it signify?
32. Disconnect the 871TM inductive proximity sensor from the network. 33. Monitor the 1756-DNB modules module-defined status tag values. 34. Which module-defined status tag indicates that a fault exists for the 871TM inductive proximity sensor?
35. Which module-defined status tag reflects the numeric code created in the scanner module by disconnecting the 871TM inductive proximity sensor from the network?
36. Change the controllers operating mode to Program. 37. Close RSLogix 5000 software. 38. Close RSNetWorx for DeviceNet software.
13-17
13-18
Answers
Exercise A
7. No, the motor should not start. 11. The RSNetWorx for DeviceNet Software Input Data Map Address for the ArmorBlock MaXum input module is 2:I.Data[8]. The third input corresponds to the 2:I.Data[8].2 address. 12. Data from input 2 in the ArmorBlock MaXum input module will go to module-defined tag Local:2:I.Data[8].2. 14. No, the input instruction for input 2 in the ArmorBlock MaXum input module does not match the module-defined tag where the ArmorBlock MaXum input modules inputs will be found based on the RSNetWorx for DeviceNet software input data map. The ArmorBlock MaXum inputs are mapped to the first half of double-word 8, beginning at bit 0. Since the third bit (bit 16) of the first byte of input data from the ArmorBlock MaXum input module controls input 2, the input instruction in RSLogix 5000 software should reference Local:1:I.Data[8].2. Since it references Local:1:I.Data[2].18, the addressing does not match. 19. Input bit Local:1:I.Data[8].2 goes on as a result of pressing the IN2 pushbutton. However, this is not the bit that is referenced in rung 0 of the ladder logic. 20. Either one of the following actions can be taken to align the input addressing for the ArmorBlock MaXum input module:
Lesson
14
commissioning devices one at a time helps to avoid duplicate node addresses? Answer: Since new devices come factory-commissioned to node address 63, adding multiple new devices at once means adding devices with duplicate node addresses. If only one device is added at a time and immediately commissioned to another node address, this problem will not occur.
Duplicate node address assignment can be avoided by adhering to the following guidelines: Adding devices to a network and commissioning them one at a time
14-2
The following symptoms are possible indications that duplicate node addresses may exist on a network: Solid red network status indicators on two or more devices Numeric codes of 72 or 78 alternating with device node addresses on the front of the scanner module, indicating that communications with these devices has been lost
Missing device icons in RSNetWorxt for DeviceNet software Faulted Address Recovery Wizard
Note that the Faulted Address Recovery wizard can be a handy maintenance tool when more than one device is being added to a network at a time: multiple devices with default node addresses of 63 can be placed on the network at once and commissioned using the Faulted Address Recovery wizard. Provide the following examples of devices that support the Faulted Address Recovery wizard: S S S S S S S S All 1734 POINT I/O products All PanelView products Bulletin 100 DNY auxiliary starters Bulletin 160 DN2 adapter modules E3 and E3 Plus solid-state overload relays 800E pushbutton stations Ultra 100 digital servo drives 1203-GK5, 1203-GM5, 1203-GU6, and 1203-GM6 Scanport adapters
The Faulted Address Recovery wizard is an RSNetWorx for DeviceNet software tool that enables a user to quickly and easily determine which devices on a network have duplicate node addresses. The Faulted Address Recovery wizard can also assign a new node address to any device for which a duplicate address is detected. Not all devices support the Faulted Address Recovery feature. Consult the user documentation to determine whether or not a particular device supports the feature.
The Faulted Address Recovery wizard will not work if an Ethernet driver has been used to go online to a network through the ControlLogix backplane.
14-3
The following graphic shows the Faulted Address Recovery Wizard window where duplicate node addresses are detected and re-assigned:
Use this button to identify a faulted device by flashing its network status indicator. Use this button to let the software assign a new node address to a faulted device.
Use this field to assign a faulted device a new node address of your choice.
Note that if a duplicate node address is detected, a user has the choice of letting the Faulted Address Recovery wizard assign the next available node address to a faulted device or of personally selecting a unique address.
The following actions can be accomplished using the Faulted Address Recovery wizard: The serial numbers of devices with duplicate node addresses can be displayed. The network status indicators of devices with duplicate node addresses can be made to blink red and green (flashed) to help a user identify the faulted device. New node addresses can be assigned to all devices for which duplicate node addresses have been detected.
14-4
The following graphic illustrates the flashing feature of the Faulted Address Recovery wizard:
Flash LED Command Button Network Status Indicator That Alternately Flashes Red and Green to Indicate a Duplicate Node Address on This Device
If duplicate node addresses are suspected but not detected by the Faulted Address Recovery wizard because the faulted device(s) do not support the feature, the faulted node addresses must be recovered manually. Use either of the following methods to recover duplicate node addresses manually: Visually inspect all devices whose node addresses can be set using device hardware for duplicate node address assignments.
until the device with the duplicate node address is isolated. Remove each device from the network one at a time and verify its node address using a point-to-point connection between the device and a 1770-KFD module with its own power supply.
Tip "
For a 1756-DNB scanner module, the (former) node addresses of the devices with duplicate node addresses will flash alternately in the ScrollingDeviceStatus structure element in RSLogix 5000 software.
14-5
Heres How
Create a duplicate node address on your workstation and point out the network conditions that indicate a possible duplicate node address. Then use the Faulted Address Recovery wizard to isolate the faulted node and assign it a unique node address. Note that the Procedures Guide does not include a procedure for recognizing conditions that indicate a duplicate node address.
To troubleshoot duplicate node addresses on a DeviceNet network using the Faulted Address Recovery wizard by performing the following tasks: Recognize conditions that indicate a duplicate node address
14-6
14-7
14-8
12. Wait for scanner module start-up diagnostics to complete, then perform a single-pass browse. 13. List at least two conditions on the network that indicate duplicate node addresses may be present:
14. Recover duplicate node addresses using the Faulted Address Recovery (FAR) wizard.
Tip "
Remember to use the flashing feature to identify the device with the duplicate node address. 15. When duplicate node addresses have been recovered, re-assign node addresses for the faulted devices to the node address assignments indicated in the Scanner Module Master Data Maps appendix. 16. Save the network configuration. 17. Close RSNetWorx for DeviceNet software.
14-9
14-10
Answers
Exercise A
13. The following conditions are good indications that duplicate node addresses may be present on the network:
software network configuration for either the E3 solid-state overload relay or the 871TM proximity sensor A solid red network status indicator on either the E3 solid-state overload relay or the 871TM proximity sensor Numeric code 78 for the E3 solid-state overload relay and/or the 871TM proximity sensor
Connected to the network using the 1770-KFD driver Successfully commissioned the 871TM proximity sensor to node 63 and verified that it appears in RSLinx at node 63 before cycling network power.
Lesson
15
Troubleshoot a network using hardware indicators Troubleshoot a network using RSLogix 5000 or RSLogix 500
software Troubleshoot duplicate node addresses
15-2
15-3
modules own node address on the front of the scanner module. Some devices are showing up with errors in the RSNetWorx for DeviceNet software network configuration. Not all network devices have solid green network status indicators. It is your job to clear all of the error indications on the network and restore it to normal operation. Underlined actions indicate a procedure can be found in the associated job aid.
Tip "
For help performing steps in RSLogix 500/5000 software, consult the Start Pages or the online Help. Directions: Restore the malfunctioning network to normal operation using the following resources: RSNetWorx for DeviceNet software Hardware status indicators
Rev. July 2008
RSLogix 500/5000 software The Troubleshooting Guide The Procedures Guide The Documentation Reference Guide The Scanner Module Master Data Maps in Appendix A
E 2008 Rockwell Automation, Inc. All rights reserved. RETe100
15-4
After you have restored the network to normal operation, use the following checklist to verify that the network has been properly restored:
The module and network status indicators on the 1747-SDN scanner module or the combined network/status indicator on the 1756-DNB scanner module are solid green. The only code displayed on the front of the scanner module is the modules own node address. All of the network devices are displayed without error icons in the RSNetWorx for DeviceNet software online network configuration. The network status indicator on all network devices is solid green. The motor in the workstation starts when the IN2 Start pushbutton is pressed and stops when the red button on the PowerFlex 40 drive is pressed. The motor in the workstation starts when the IN2 pushbutton or the PanelView Plus Start Motor button is pressed and stops when the red pushbutton on the PowerFlex 40 drive or the Stop Motor pushbutton on the PanelView Plus is pressed. If all of the above conditions are not present, there are still problems on the network that must be resolved.
1. Open the RET_N100_A1.dnt network configuration file. 2. Disconnect the right-hand 871TM proximity sensor. 3. Change the controllers operating mode to Program. 4. Go online to the network. 5. Download the network configuration. 6. Troubleshoot and correct the network errors.
15-5
15-6
Answers
Exercise A
If you restored the malfunctioning DeviceNet network to normal operation successfully, you will have identified and corrected the following problems: Problem 1: A loose connection between the 871TM proximity sensor and the network. Solution: Secure the connection. Problem 2: Misalignment of the output mapping specified for the PowerFlex 40 drive in RSNetWorx for DeviceNet software and the address in the output instruction to activate the drive in the ladder logic program. Solution: Change the mapping in RSNetWorx for DeviceNet software so it is aligned with the addresses used in the ladder logic, or change the ladder logic so that instructions for the PowerFlex 40 drive reference the output address specified for the drive in RSNetWorx for DeviceNet software. Problem 3: Several nodes have an identity mismatch. This includes the PanelView Plus, the absolute multi-turn encoder, and the E3 overload relay. Solution: Right-click each device and resolve the device mismatch.
Tip "
The PowerFlex 40 drives output data mapping information can be found in the Master Scanner Module Data Maps appendix.
Optional Lesson
16
Configure a scanner module for slave mode Enter ladder logic instructions to place a 1747-SDN scanner
module in Run mode
Writes output data from a processor or controller to devices Downloads configuration data from the software to devices Uploads configuration data from the devices to the software Monitors the operational status of devices
16-2
working with scanner modules? If so, what kind of tasks have you performed using a scanner module?
Scanner module communications with a processor or controller consists of two general steps: Data received from devices (input data) is organized by the scanner module and made available to the processor or controller. Data received from the processor or controller (output data) is organized in the scanner module and sent to devices. The following graphic shows the flow of data between a processor or controller, a scanner module, and a device on a DeviceNet network:
Processor or Controller
Scanner Module
Device
Scanner Modules
A different scanner module is used depending upon the type of processor or controller being used with a network. The following table shows four of the Rockwell Automation scanner modules most often used on DeviceNet networks and their corresponding processor or controller types:
Scanner Module 1771-SDN 1747-SDN 1756-DNB 1769-SDN PLC--5 SLC 500 ControlLogix CompactLogix Processor or Controller
Note that configuration of a 1771-SDN scanner module is not practiced in this course, but that information specific to the configuration of this module can be found in the procedures guide and the documentation reference guide.
Tip "
An additional scanner module, the 1784-PCIDS scanner card, can be used to connect most applications to a DeviceNet network via a personal computer.
16-3
Provides one channel for DeviceNet communications Requires M file reads and writes in order to transfer more than 32
words of data
Note that discrete I/O transfer is generally faster than M file transfer.
16-4
Do not go into detail about explicit messaging. It will be discussed in a later lesson. If students have questions about the other data types that are stored in a 1747-SDN scanner module, describe each data type briefly. Tell students its important to be aware of the location of the various data in a scanner module so that ladder logic can be written to access it. For example, a COP instruction to get data from the device failure table (words 216 to 219) can be included in the main routine to get detailed diagnostic information from devices. M1 File Pass Through Driver Explicit Message Program Control Auto Verify Failure Table Device Failure Table Reserved Scan Counter Scanner LEDs Reserved Input Data
Data is stored by type in groups of words within the M files of a 1747-SDN scanner module. The following types of data are stored in the scanner module M files: Pass through driver data
Explicit message program control data Device failure data Scan counter data Scanner LED data Device input data greater than 32 words in length Device output data greater than 32 words in length
The following graphic shows the division of data within the M files of a 1747-SDN scanner module:
M0 File Words 256- 360 Words 224- 255 Words 220- 223 Words 216- 219 Words 212- 215 Word 211 Word 210 Words 150- 209 Words 0- 149 Output Data Pass Through Driver Explicit Message Program Control
Reserved
Inform students that detailed information about the 1747-SDN scanner modules data tables, as well as those of other scanner modules, can be found in the Documentation Reference Guide.
Only 1747-SDN scanner modules at firmware revision level 4.015 or higher support 361 word file transfers. Earlier firmware revision levels support file transfer of up to 256 words and therefore do not support a pass through driver.
16-5
M File Transfer Since an SLC 500 processor does not contain an image of the scanner modules M1 and M0 files, M file data must be edited and monitored using instructions in the ladder logic program. The following rules apply to the transfer of M1 and M0 file data (input and output data greater than 32 words in length) to and from an SLC 500 processor: M file data must be transferred between a 1747-SDN scanner module and an SLC 500 processor via a COP instruction in the ladder logic. transferred from the 1747-SDN scanner module to a data file in the SLC 500 processor using two COP instructions of 128 and 22 words, respectively. The following graphic shows the ladder logic used to copy the maximum of 150 words of data from the M1 file of a 1747-SDN scanner module to a data file in an SLC 500 processor (input data):
COP Source #M1:1.0 Dest #N23:0 Length 128 COP Source #M1:1.128 Dest #N23:128 Length 22
Point out that devices like operator interfaces and drives are often configured for M data transfer in a scanner module because they need to transfer large amounts of data at a time. Remind students that M file data transfer only applies to the 1747-SDN scanner module. You may want to briefly explain that the 1771-SDN scanner module used with PLC 5 processors uses BTW and BTR instructions to transfer large amounts of data. Refer students to the documentation reference guide for information regarding 1771-SDN file transfer.
Explain that the rung containing instructions for M1 file transfer should be near the beginning of the main routine because the data must be moved into the processor before it can be used in the program.
The rung containing instructions to transfer M1 file data from a scanner module to a processor should generally be near the beginning of the main ladder logic routine.
Tip "
Two separate COP instructions are only needed if there are more than 128 words of data to be transferred from a 1747-SDN scanner module to an SLC 500 processor. If 128 words or less are being transferred, only one COP instruction is required.
16-6
The following graphic shows the ladder logic used to copy data from a data file in an SLC 500 processor to the M0 file of a 1747-SDN scanner module (output data):
COP Source #N3:0 Dest #M0:1.0 Length 128 COP Source #N3:128 Dest #M0:1.128 Length 22
Access the RSLogix 500 program that runs the DeviceNet workstation and point out the rungs containing M file transfer instructions.
The rung containing instructions to transfer M0 file data from a processor to a scanner module should generally be near the end of the main ladder logic routine.
Tip "
Two separate COP instructions are only needed if there are more than 128 words of data to be transferred from an SLC 500 processor to a 1747-SDN scanner module. If 128 words or less are being transferred, only one COP instruction is required. Discrete Input and Output Data Transfers
Point out that devices like a photoelectric sensor or a limit switch are usually configured for discrete data transfer in a scanner module because they rarely transfer more than a word or two of data.
Device data that is less than 32 words in length is passed between a device and an SLC 500 processor using discrete data transfers. To correctly configure a scanner module, it is important to understand the way in which discrete data is organized and transferred. Discrete input and output data as it applies to 1747-SDN scanner modules can be described as follows: Discrete Input Data: Data up to 32 words in length that is sent from network devices to a processor. Discrete Output Data: Data up to 32 words in length that is sent from a processor to network devices. No special ladder logic is necessary to transfer discrete input and output data between a scanner module and processor.
Tip "
16-7
The following graphic shows the process of both discrete and M file data transfer between a 1747-SDN scanner module and an SLC 500 processor:
1747-SDN Scanner Module Discrete Input Table A1 B M1 File C A2 D E M1 File Transfer (Read) Discrete I/O Transfer SLC 500 Processor Discrete Input Image A1 B M1 Data File C A2 D E
Discrete Output Image Discrete I/O Transfer X M0 Data File Z Y M0 File Transfer (Write)
16-8
Node Address and Data Rate Like other network devices, a scanner module must be assigned a node address and data rate to communicate on the network. Depending upon scanner module type, the node address and data rate can be assigned using RSNetWorx for DeviceNet software or the scanner module itself. The 1747-SDN node address and data rate can be assigned using RSNetWorx for DeviceNet software.
Tip "
The recommended node address for a scanner module is the lowest address available. Interscan Delay
the interscan delay to a very high value? Answer: The data coming from devices may change frequently and the scanner module will not receive this data as often if the value is set high. Therefore, important device information may not be received when needed.
The interscan delay is the time delay between consecutive I/O scans. During this time, the scanner module performs non-time-critical communications on the network (e.g., communications with software). Settings for interscan delay can be described as follows: The interscan delay can be set from 2 to 9000 milliseconds (10 is the default.)
If set low, the time required for the scanner to respond to RSLinx
software and configuration functions is increased. If set high, the data is not scanned as often and a change in data may take longer to be noticed. Expected Packet Rate When a scanner opens an I/O connection it sets a gross timeout into the device. If the device does not receive a packet from the scanner in this time period, then the device drops the connection. If the scanner does not receive a packet from the slave in this time period, it will drop the connection and attempt to open a new connection periodically. This timeout value is called the Expected Packet Rate (EPR): The default EPR is 75 times 4 = 300 ms for polled and strobed messaging. The gross network timeout for COS messaging is 4 times the heartbeat rate. Gross network timeout for a CYCLIC device is 4 times the send rate.
16-9
The interscan delay should always be set to a value lower than the expected packet rate to help prevent messaging timeouts. Foreground to Background Poll Ratio
Mention that this feature is often used to conserve network bandwidth, since it reduces the amount of traffic on a network at a given time.
The foreground to background poll ratio sets the frequency of I/O messages to a device in relation to the number of I/O scans (e.g., if the ratio is four, the scanner module communicates with the device every five scans). This feature allows a user to determine whether or not a device will communicate with a scanner during every scan cycle. Interscan delay and foreground to background poll ratio are configured using the following RSNetWorx for DeviceNet software property page:
16-10
Scanlist
Make sure students understand how important it is to create a scanlist. If the scanlist is not configured, the scanner module will not be able to communicate with devices on the network. Point out that simply adding a device to a scanlist does not automatically define all of these variables. Additional configuration (such as specification of message type and I/O sizes, level of electronic keying, and mapping, must also be performed. If this lesson is being taught as part of a standard school (e.g., not a part of a Tailored Training curriculum, mention that these tasks will be performed in the lesson on mapping.
A scanlist is a list of devices on a network with which a scanner module will communicate. A scanlist must exist in a scanner module for communications to occur between devices and a processor. The scanlist provides the scanner module with the following information: Which devices to scan How to scan each device
The size of input and output data Where input and output data is to be mapped in the scanner
module in order for the processor or controller to read it How the processor or controller should read each device (i.e., M1/M0 file or discrete I/O) Electronic Keying Criteria Electronic Keying is a feature that automatically compares the expected module (as shown in the I/O Configuration tree) to the physical module before I/O communications begin. Using electronic keying can help prevent communications to a module that does not match the type and revision expected. For each module in the I/O Configuration tree, the user-selected Keying Option determines if and how an electronic keying check is performed. Typically three keying options are available, though for some specific module types fewer options are available. The three options are: Exact Match Compatible Keying
Note that electronic keying is integral to the Automatic Device Recovery (ADR) feature. If this lesson is being taught as part of a standard school (e.g., not part of a Tailored Training curriculum), mention that the topic will be covered in detail in the lesson on Automatic Device recovery.
Disable Keying
Each option has benefits and implications that the user must carefully consider when selecting between these options.
16-11
For help understanding these options see the Glossary definitions for Electronic Keying, Compatible Module Keying, Disabled Keying, and Exact Match Keying in your Procedures Guide.
Point out the Node Active check box in the graphic below and note that when this check box is deselected for a device, the device will not be included in the scanner modules scan even though it is in the scanlist.
The following graphic shows the RSNetWorx for DeviceNet property page where a scanlist is created and electronic keying criteria are specified:
Point out that the electronic keying criteria selected in the following graphic apply to the E3 solid-state overload relay, since this is the device currently selected in the scanlist. If another device were selected, the electronic keying Scanlist criteria for that device would be displayed.
Slave Mode
DeviceNet scanner modules also have the capability of acting as slaves to another scanner module on the same network. Part of a scanner modules configuration includes specifying whether or not the module will operate in slave mode. For network operation in slave mode to occur, the following conditions must exist: More than one scanner module must exist on the network.
One scanner module must operate as the master. Scanner modules other than the master scanner module must be
considered slaves on the network and can only exchange information through the master scanner module.
16-12
Example: Slave Mode The following graphic shows an example of the use of slave mode on a DeviceNet network:
Node 0 Scanner Module (Master) Node 8 Node 1 Scanner Module (Slave to Node 0)
Node 9
In this example, the following conditions exist: There are two scanner modules on the network. The scanner module at node 0 has its own scanlist and is a master to several nodes on the network, including the scanner module at node 1. The scanner module at node 1 has its own scanlist and can be a master to other nodes on the network Data gathered by the scanner module at node 1 is then collected by the scanner module at node 0. If a scanner module is configured for slave mode, the following additional parameters must be specified: The message type that will be used to communicate with the master scanner module The size of inputs and outputs that will be transferred
inputs and outputs to be transferred by a scanner module in slave mode? Answer: The input and output sizes would be the total of inputs and outputs being read from network devices by the scanner module in slave mode.
16-13
Slave mode is enabled and configured in the following RSNetWorx for DeviceNet software window:
Shared Inputs
When more than one scanner module exists on a network, it is possible to include devices that are already slaves to one scanner module in another scanner modules scanlist as shared inputs. Only input data from these devices is consumed by the module and stored in its input area. The following conditions must exist for shared inputs to be enabled in a scanner module: More than one scanner module must exist on a network.
16-14
Remind students that even though more than one scanner can receive device inputs, outputs can be controlled by only one processor and scanner module.
The following graphic shows an RSNetWorx for DeviceNet software Scanlist property page where the shared inputs function has been selected:
Once shared inputs have been enabled for a scanner module, the devices whose inputs the module will be sharing with another scanner module are designated with a special icon, as shown in the following graphic:
16-15
Even with the shared inputs function enabled, a slave device still can only have one master.
If the Automatic Device Recovery feature has been enabled in a scanner module, the shared inputs function cannot be enabled for that scanner module.
Tip "
A scanner modules operating mode is reflected in the modules status register, also accessed via the programming software. A scanner modules command and status registers can be defined in the following way: Command Register: The area in a scanner modules memory where commands specific to the scanner module are entered. Each bit in the command register executes a unique command. The following bits are examples of commands that can be sent to the scanner module: - Run/idle - Fault network - Disable network - Halt scanner - Reboot/reset scanner Command register location and format for 1771-SDN, 1747-SDN, and 1756-DNB scanner modules can be found in the documentation reference guide.
Refer the class to the detailed information about scanner module command registers in the Documentation Reference Guide and point out where the command register is located in a 1747-SDN scanner module.
Tip "
16-16
Refer the class to the detailed information about scanner module status registers in the documentation reference guide and point out where the status register is located in a 1747-SDN scanner module.
Run/idle Network fault Network disable Device failure Autoverify failure Communications failure Duplicate node address failure DeviceNet power failure (1756-DNB scanner module only) Explicit message program control (1747-SDN scanner module only)
Tip "
Status register location and format for 1771-SDN, 1747-SDN, and 1756-DNB scanner modules can be found in the documentation reference guide. 1747-SDN Scanner Module Run/Idle Bit The 1747-SDN scanner modules Run/Idle bit is bit 0 of output word 0. Turning this bit on (1) places the scanner module in Run mode, and turning it off (0) places the scanner module in Idle mode. The following graphic shows a 1747-SDN scanner modules status and command registers in RSLogix 500 software:
Run/Idle Bit
The following graphic shows a sample ladder logic instruction used to turn on the Run bit in a 1747-SDN scanner module:
16-17
Heres How
Perform the following demonstration: 1. Configure one of the scanner modules at your workstation by setting an interscan delay value, a foreground to background poll ratio, and creating a scanlist. 2. Configure the other scanner module at your workstation for slave mode. 3. Demonstrate how to place each scanner module in turn in Run mode.
To configure a DeviceNet scanner module by performing the following tasks: Configure a 1747-SDN scanner module
Create a scanlist Configure a scanner module for slave mode Enter ladder logic instructions to place a 1747-SDN scanner
module in Run mode As your instructor demonstrates these procedures, follow along in the associated job aid(s).
16-18
16-19
Tip "
For help performing steps in RSLogix 500 software, consult online Help. Directions: Follow the steps below to configure a 1747-SDN scanner module. 1. Open your network configuration. 2. Go online to the network. 3. Upload the network configuration. 4. Configure the PanelView Plus scanner module for slave mode with the following properties:
Tip "
If you receive an error that the processor is in Run mode, press the GoTo Config button on the PanelView Plus. 5. Configure the scanner module, the 1747-SDN, as outlined in the following table:
Parameter Interscan Delay Foreground to Background Poll Ratio Slot 8 milliseconds 2 Slot location of scanner module Setting
16-20
7. On the Scanlist tab of the 1747-SDN properties dialog box, verify that the Automap on Add check box is not selected. If it is, clear it. 8. Create a scanlist that includes all the devices on the network.
Click OK to the Scanner Configuration Applet dialog box warning that the 1734-ADN Point I/O module contains no I/O data. If prompted, click OK to the Scanner Configuration Applet dialog box warning that the PanelView Plus operator interface contains no I/O data. 9. Download the device configuration to the scanner module. 10. Save the network configuration.
Turn to the Answers section. In this exercise, you will practice entering ladder logic instructions to place a scanner module in Run mode. Context: You have configured the scanner module that is to act as the network master for the DeviceNet network. You now need to write the necessary ladder logic to place the scanner in Run mode so it can begin communicating with the processor or controller and network devices. Underlined actions indicate a procedure can be found in the associated job aid.
Tip "
For help performing steps in RSLogix 500 software, consult online Help. Directions: Follow the steps below to place the scanner module in Run mode. 1. Open exercise file SCNS_N100_B1.rss. 2. In the main routine, enter ladder logic instructions to place the scanner in Run mode. 3. Verify the rung. 4. Download the program to the processor. 5. Change the processors operating mode to Run.
16-21
6. Verify that the scanner module is in Run mode by accessing the Run bit in the scanner modules status register and verifying that it is on.
Tip "
RUN will also be displayed on the front of the scanner module. 7. Change the processors operating mode to Program.
16-22
Answers
Exercise A
4. If you have correctly configured the PanelView Plus DeviceNet scanner module for slave mode, the Slave Mode dialog box for that scanner module should look like the following graphic:
5. If you have correctly configured the 1747-SDN scanner module that is to act as the network master for your workstation, the Module property page will look like the following graphic:
16-23
8. If you have correctly created a scanlist, the Scanlist property page for the scanner module that is to act as the network master for your workstation will look like the following graphic:
Exercise B
2. If you correctly entered ladder logic instructions to place the 1747-SDN scanner module in Run mode, you should have a rung of ladder logic near the beginning of the main routine in the RSLogix 500 software program that resembles the following graphic:
16-24
Optional Lesson
17
mapping input and output data? If so, what have you found to be the most challenging aspect of this task? Since this is often a confusing concept for students, emphasize the fact that inputs and outputs on a DeviceNet network are defined from the point of view of the processor.
17-2
Do not go into detail about each of these message types now. They will be explained in the ensuing pages.
Change-of-state Cyclic
Tip "
If this course is being taught in its standard format (i.e., it is not part of a Tailored Training curriculum), do not go into detail about EDS files; they will be covered in a later lesson.
Not all devices support all message types. The message type(s) that are supported by a given device can be determined by accessing the I/O Data property page, the devices EDS (electronic data sheet) file, or the data sheets that ship with the device. In addition to the types of messages used by the scanner module, the following message size parameters must be set: Input Size: The number of bytes of data being sent from a device to a processor via a scanner module in an I/O message. Output Size: The number of bytes of data that a processor will send to a device via the scanner module in an I/O message. The range of valid values for input and output sizes differs depending upon the type of message being sent (i.e., strobed, polled, change-of-state, or cyclic). Strobed messages do not have an output size parameter because they are not generally capable of receiving data from a processor via the scanner module.
Tip "
Mention that if an output bit is Tip ever configured for a strobed device, it usually contains status data.
"
17-3
The following graphic shows the RSNetWorx for DeviceNet software window where message type and I/O sizes are edited for a device:
Polled Messages Polled messages operate on a network in the following manner: 1. A poll rate (the rate at which the scanner module to which a device is assigned will request data from the device) is configured. Unless the foreground to background poll ratio is set for a longer time interval between scans, poll commands are issued during every scan cycle. 2. A poll command containing output data is sent from a scanner module to each polled device. 3. Upon receipt of the command, the device transmits a response containing input data.
Explain that since poll commands are issued during every scan cycle, configuring a device that seldom has new data to report for polled messaging needlessly slows down network performance.
17-4
The following graphic shows a scanner module communicating with devices via polled messaging:
Scanner Module Scanner Module Scanner Module
Device Response
Device 1
Device 2
Device 3
Device 1
Device 2
Device 3
Device 1
Device 2
Device 3
1. A strobe command is transmitted by a scanner module to all devices in its scanlist. 2. Only those devices configured for strobed messaging respond with their input data. Strobe commands are issued during every scan cycle.
Tip "
Strobed messages are used for devices that have input data to send to a processor, but do not receive output data from the processor.
17-5
The following graphic shows a scanner module communicating with devices via strobed messaging:
Scanner Module
Device 1
Device 2
Device 3
Device 4
Device 5
Change-of-State Messages Devices configured for change-of-state messaging only send data to a scanner module when they have new data to report (i.e., the data has changed since the last time it was sent) or at a user-configured heartbeat rate. A scanner module does not solicit data from devices configured for change-of-state messaging (i.e., they are not polled during every scan cycle).
Tip "
Devices configured for change-of-state messaging can be configured to send a scanner module data at a user-configured heartbeat rate regardless of whether or not their data has changed since the last change-of-state message was sent. Devices configured for change-of-state messaging can still receive output data from a scanner module. Cyclic Messages Cyclic messages are similar to change-of-state messages, but they are sent only at a user-configured rate. Therefore, a cyclic message may be sent by a device even if the devices data has not changed since the last time it was sent. Both change-of-state and cyclic messages greatly reduce network traffic and allow faster scanner module response time since they do not require the scanner module to scan every device during a scan. These types of messages work well for devices with data that does not change often.
E 2008 Rockwell Automation, Inc. All rights reserved. MAPSib100
Answer: Because it allows a scanner module to distinguish between a change-of-state device whose data has not changed and a change-of-state device that has become non-operational.
Tip "
Tip "
Suggest that change-of-state and cyclic messaging should be used whenever they are appropriate to a devices function on a network, since they are the most efficient forms of messaging.
Rev. July 2008
17-6
Tip "
Note that in the following graphic,which illustrates change-of-state and cyclic messaging, devices send data to a scanner module without a request for data from the scanner module.
Devices configured for cyclic messaging can still receive output data from a scanner module. The following graphic shows a scanner module communicating with devices via change-of-state and a device cyclic messaging:
Scanner Module
Device 1
Device 2
Device 3
Device 4
Device 5
The following table provides an overview of the relationship between a scanner module and devices configured for each of the four message types from the point of view of the scanner module:
If a device is configured for this message type . . . Polled
Then the scanner module . . . Sends data to the device and receives data from the device Does not send data to the device, but does receive data from the device Sends data to the device and receives data from the device Sends data to the device and receives data from the device
And . . . Scans the device during every scan cycle Scans the device during every scan cycle Does not scan the device during every scan cycle Does not scan the device during every scan cycle
Strobe
Change-of-state
Cyclic
17-7
Priority is given to critical I/O transfers. Room is left for expansion. Device data does not overlap.
To ensure that the above considerations are addressed, you should be familiar with the following variables specific to your network and devices: Communications requirements
Size and importance of the inputs and outputs sent and received
Note that data structure of devices will be discussed in detail later in this lesson.
Mapping is the software function by which device input and output data locations are specified in a scanner module. Mapping enables communications between network devices and a processor to occur by determining the following variables: Where discrete input data from devices will be located in a processor Where discrete output data from a processor will be located in a scanner module so that it may be sent to network devices
For SLC 500 processors, where input data from devices will be
located in the M1 memory area of a scanner module so it can be easily accessed by a processor For SLC 500 processors, where output data from a processor will be located in the M0 memory area of a scanner module so that it can be sent to network devices
17-8
Automatic Mapping
optimization? Answer: The use of each bit of data in the scanner modules data table (i.e., if one device does not use every bit in one word of data, the next device will begin where the one before it left off). This may not necessarily happen if automatic mapping is used. Verify that students have an understanding of byte, bit, and word lengths. If not, spend a few minutes reviewing these terms.
Data is often mapped using the automatic mapping feature in RSNetWorx for DeviceNet software. The following facts should be taken into consideration when the automatic mapping feature is used: Automatic mapping does not allow much control (i.e., data organization cannot be optimized or consolidated). Automatic mapping does not align input and output data with input and output addresses in a processor.
automatic mapping feature, the software will map devices based on their node addresses. The device with the lowest node address will be assigned to the first available word, and so on. Even though a devices node address roughly determines where the device will be automapped, the word to which a device is automapped is not a one-to-one match (i.e., a device with a node address of 2 will not necessarily be automapped to word 2).
added to a network, the software will assign word numbers based on the order in which the devices are mapped (e.g., the first device will be mapped to word 1, etc.). Future changes (e.g., addition of devices, removal of devices) may not be easily addressed. Automatic Mapping Options Mapped data can be organized using the following alignment options:
Point out that since the first two devices mapped in the following graphic both contain only one byte of input data, the pack alignment and byte alignment options line up the data in the same way.
double-word boundary or to be efficiently grouped without alignment (pack). Byte Align: Ensures that data is used as efficiently as possible to the byte level (two devices can share the same word location). The following graphic illustrates the pack and byte alignment options in a 1747-SDN scanner module:
17-9
word.
The following graphic illustrates the word alignment option in a 1747-SDN scanner module:
Manual Mapping
Data can also be mapped manually (i.e., a user can specify exactly where a processor should look for device data in a scanner module) using RSNetWorx for DeviceNet software. The following considerations should be taken into account when data is mapped manually: Data can be organized and optimized. Room can be left for future expansion. Manual mapping can be more time-consuming than automatic mapping. To map data manually, it is necessary to deactivate the automatic mapping feature that is set up in the software by default. A combination of manual and automatic mapping can also be used (i.e., inputs and outputs can be automatically mapped and then fine tuned using the manual mapping feature). Take the following facts into consideration when mapping data manually: The type of data transmitted (e.g., status, I/O data, and configuration data) varies with each device. All data sent to devices from a processor (output data) is in byte length (i.e., even if a processor or produces two bits of information, an entire byte will be sent to the device).
have a device at node 8, how would you map the current device data? Answer: So that that scanner modules map table is empty at word 8 (or that enough room is left for the device data).
17-10
Remind students that the Input tab in the following graphic represents the area where inputs from devices to a processor are mapped.
The following graphic shows the RSNetWorx for DeviceNet property page where input data (data sent from devices to a processor) is entered for a 1747-SDN scanner module:
The First Processor Input Word to which Devices Will Be Mapped
The First Word Word Offset The Scanner Memory Area to which the Device Will Be Mapped The Word Offset
Map Segmentation
Mention the 871TM inductive proximity sensor as an example of a device for which map segmentation is useful. Since the sensors analog signal is the entire second byte of input data sent by the sensor to a processor, it is easier to access the data in a ladder logic program if the byte containing the analog data is mapped to its own word.
The process of mapping data for a single device to different areas of a scanner modules memory is called map segmentation. Map segmentation is most often used when it is necessary to isolate bits pertaining to specific functions of a device so they can be easily accessed in the ladder logic program.
17-11
Example: PowerFlex 40 Drive Map Segmentation in a 1747-SDN Scanner Module A PowerFlex 40 is configured to receive four bytes (two words) of output data from a SLC 500 processor via a 1747-SDN scanner module, as shown in the following graphic of the drives selected output assembly:
Logic Command/Status Words First Output Word Second Output Word Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3
Clear Faults Speed Reference RPM (Low Byte) Speed Reference RPM (High Byte)
Bit 2
Jog
Bit 1
Start
Bit 0
Stop
Since the drives speed reference is the entire second word of output data, the second output word is mapped to its own word in the 1747-SDN scanner module so that it can be easily accessed in the ladder logic that controls the drive, as shown in the following graphic:
The PowerFlex 40 drives output data is mapped to two separate word locations. PowerFlex 40 Logic/Status Word PowerFlex 40 Speed Reference Word
17-12
Address Identification
Note that the addresses to which inputs and outputs are mapped in a scanner module are arbitrary as long as the ladder logic to control the devices has not yet been written.
Being able to identify DeviceNet addresses in a processor is important because the ladder logic to control the devices must use the addresses to which the devices have been mapped. Its a good idea to document where inputs and outputs have been mapped in a scanner module so their locations can be referenced when ladder logic is written. Addresses are identified by comparing the location where a device is mapped in a scanner module to the corresponding area in the processor that is to control the device. All of the following tools are used to identify addresses: The logic programming software for the application (e.g., RSLogix 500 software, RSLogix 5000 software, etc.) RSNetWorx for DeviceNet software
Tip "
Explain that since this is not a programming course, the workstation ladder logic is already provided. Point out that knowledge of bit functions within a device is essential when writing ladder logic to correspond to input and output data maps in RSNetWorx for DeviceNet software.
17-13
Note that input mapping for the 871TM inductive proximity sensor shown below is segmented. Scanner Module Input Table
The following graphic shows the relationship between the input data table in a 1747-SDN scanner module and the input data file in the corresponding SLC 500 processor:
Processor Input Data File
Inputs from a 871TM inductive proximity sensor are mapped to words 1 and 5 in the 1747-SDN scanner module. (There is one word of input data, and each byte is mapped to a different location.)
The lower bytes of input words 1 and 5 in the SLC 500 processor reflect the status of the sensors inputs.
17-14
The following graphic shows the relationship between the output data table in a 1747-SDN scanner module and the output data file in the corresponding SLC 500 processor:
Scanner Module Output Table Processor Output Data File
Outputs from the E3 overload relay are mapped to the lower byte of word 1 in the 1747-SDN scanner module.
The lower byte of output word 1 in the SLC 500 processor reflects the status of the E3 overload relay.
17-15
The following graphic shows the relationship between M1 file data When discussing the following graphic, stress that since PanelView data is mapped in a 1747-SDN scanner module and the integer file in an mapped to an M file in the 1747-SDN SLC 500 processor where the data resides: scanner module, ladder logic must be used to move the data from the M file to an integer file in the SLC 500 processor. Rung to Copy M1 File Data to an SLC 500 Integer File
17-16
Knowledge of a devices data structure is necessary to properly identify DeviceNet addresses in a processor or because even if the general address location of a device is known, ladder logic cannot be written to properly control the device without specific information about individual bit function. The data structure of a device can be determined using any one of the following resources:
The I/O Data property page for the device (called the I/O Defaults
property page for some devices)
If this course is being taught in its standard format (i.e., it is not a part of a Tailored Training curriculum), do not explain EDS files in detail; they will be addressed in the Managing EDS Files lesson.
The devices EDS file (which can be accessed using the EDS File
property page) Documentation that ships with the device The RSNetWorx for DeviceNet software Help system Example: Data Structure of an ArmorBlock MaXum Input Module
Point out that the data structure information in the following example was accessed using the I/O Defaults property page in RSNetWorx for DeviceNet software.
The data structure of an ArmorBlock MaXum 4 input module configured for change-of-state messaging is shown in the following graphic:
Input Data Byte 1
Bit 7 Bit 0
Inputs 0- 3
Unused
17-17
data structure of the ArmorBlock MaXum I/O module in this example help when mapping inputs and outputs?
When configured for change-of-state messaging, the ArmorBlock MaXum 4 input module sends 2 bytes of input data and does not send any output data. The first byte of input data sent contains the following bits: Bit 0 is an input bit corresponding to input 0. Bit 1 is an input bit corresponding to input 1. Bit 2 is an input bit corresponding to input 2. Bit 3 is an input bit corresponding to input 3. Bit 4 indicates a input short circuit for connector A. Bit 5 indicates a input short circuit for connector B. Bit 6 indicates an off wire fault for connector C. Bit 7 indicates an off wire fault for connector D. The second byte of input data contains the following bits: Bit 0 is an offwire detection bit corresponding to connector A. Bit 1 is an offwire detection bit corresponding to connector B. Bit 2 is an offwire detection bit corresponding to connector C. Bit 3 is an offwire detection bit corresponding to connector D. Bits 4 to 7 are not used.
Heres How
Perform the following demonstration: 1. Using the 1747-SDN scanner module, edit the message type and I/O sizes for any device on your workstation. 2. Map data automatically for the device, then unmap it and map again manually.
To map device inputs and outputs on a DeviceNet network by performing the following tasks: Edit device message type and I/O sizes
Map device input and output data automatically Map device input and output data manually
As your instructor demonstrates these procedures, follow along in the associated job aid(s).
17-18
Heres How
Perform the following demonstration: 1. Access the I/O data structure for the 871TM sensor in the Online Help system and point out the sensors output bit. 2. Based on the input data table for the sensor in RSNetWorx software, point out the bit in the SLC 500 processors input data file that should be affected if an object is placed in front of the photoelectric sensor. 3. Test this conclusion by touching the sensor to a metal object and monitoring the appropriate bit in the RSLogix 500 input data table.
To identify DeviceNet addresses in an SLC 500 processor. As your instructor demonstrates this procedure, refer to the following example:
Example
Sensor Inputs (Two Bytes or One Word Mapped to Two Separate Locations)
In the example, the input data table in RSNetWorx for DeviceNet software is used to determine in the 1747-SDN scanner module, a total of one sensor input word is mapped to two separate locations one byte of data is mapped to the lower byte of word 1, and one byte of data is mapped to the lower byte of word 5.
17-19
Step 2: Identify RSLogix 500 Input Data File or RSLogix 5000 Input Tags
Point out that since the two bytes of input data coming from the 871TM inductive proximity sensor were mapped to two separate words in the 1747-SDN scanner module, this input data is showing up in two separate words in the RSLogix 500 input data file.
The following graphic shows the RSLogix 500 software input data file associated with the 1747-SDN scanner module:
RSLogix 500 Input Data File
Sensor Inputs
In the example, input data from the 871TM inductive proximity sensor is traced to the areas in the SLC 500 processor based on input data mapping in RSNetWorx for DeviceNet software. Step 3: Identify Device Data Structure The following graphic shows the data structure of the 871TM inductive proximity sensor used to determine the function of each input bit mapped for the sensor:
In the example above, the RSNetWorx for DeviceNet online Help system is used to determine the function of individual input bits mapped for the 871TM inductive proximity sensor in RSNetWorx for DeviceNet software.
Tip "
Access the online Help topic list by selecting Contents from the Help menu in the main RSNetWorx for DeviceNet software window.
17-20
17-21
1734-ADN Subnetwork
17-22
4. Access the Scanner Module window for the 1734-ADN Point I/O scanner module. 5. Automatically map device input and output data for all Point I/O nodes on the 1734-ADN scanners (node 00) subnetwork. 6. Save the network configuration as ADN_Subnet.dnt. 7. Close the ADN_Subnet configuration. 8. Open a new network configuration. 9. Go online to the main network. 10. Upload the network configuration. 11. Access the properties of the 1734-ADN Point I/O adapter and associate the ADN_Subnet.dnt file you created with the adapter. 12. Access the PanelView Plus properties dialog box. 13. Automatically map device input and output data on the Input and Output tabs of the PanelView Plus properties dialog box. 14. Access the Scanner Module window for the scanner module that is acting as the master for your network, the 1747-SDN module. 15. Edit device message type and I/O sizes as outlined in the following table:
Device Absolute multi--turn Encoder Message Type Strobed Strobed " Be sure to deselect the default message type (change-of-state) Polled Change-of-state (250 ms Heartbeat) Polled Change-of-state (250 ms Heartbeat) Cyclic Heartbeat rate (Sendrate 1000ms) 4 Input Size Output Size N/A
N/A
E3 overload relay 1734-ADN Point I/O adapter PowerFlex 40 Drive ArmorBlock MaXum input module PanelView Plus operator interface
8 8 4 2 4
1 5 4 0 4
17-23
PanelView Plus I/O sizes must also be configured at the device itself using RSView Studio software. I/O sizes have already been configured for you at the PanelView Plus terminal.
16. Download the device configuration to the scanner module. 17. Manually map device input and output data in the 1747-SDN scanner module as outlined in the following table:
Device Absolute multi-turn encoder Input Data Mapping Assembly Data DWord: 0 Bit: 0 Number of bits: 32 Assembly Data DWord: 1 Bit: 0 Number of bits: 16 Assembly Data DWord: 2 Bit: 0 Number of bits: 64 Assembly Data DWord: 4 Bit: 0 Number of bits: 64 Segment 1: Map From: Message: Polled Byte: 0 Bit: 0 Map To: Assembly Data DWord: 6 Bit: 0 Number of bits: 16 Segment 2: Map From: Message: Polled Byte: 2 Bit: 0 Map To: Assembly Data DWord: 7 Bit: 0 Number of bits: 16 Assembly Data DWord: 8 Bit: 0 Number of bits: 16 Assembly Data DWord: 9 Bit: 0 Number of bits: 32 Output Data Mapping N/A
N/A Assembly Data DWord: 2 Bit: 8 Number of bits: 8 Assembly Data DWord: 4 Bit: 0 Number of bits: 40 Segment 1: Map From: Message: Polled Byte: 0 Bit: 0 Map To: Assembly Data DWord: 6 Bit: 0 Number of bits: 16 Segment 2: Map From: Message: Polled Byte: 2 Bit: 0 Map To: Assembly Data DWord: 7 Bit: 0 Number of bits: 16 N/A Assembly Data DWord: 9 Bit: 0 Number of bits: 32
E3 overload relay
PowerFlex 40 drive
17-24
18. Download the device configuration to the scanner module. 19. Save the network configuration.
Turn to the Answers section. In this exercise, you will practice identifying DeviceNet addresses in an SLC 500 processor. Context: You have mapped input and output data in the 1747-SDN scanner module acting as the master on the DeviceNet network. You now need to identify DeviceNet addresses is the corresponding SLC 500 processor so that ladder logic to control these devices can be written accordingly. Underlined actions indicate a procedure can be found in the associated job aid.
Tip "
For help performing steps in RSLogix 500 software, consult the online Help. Directions: Using RSNetWorx for DeviceNet and RSLogix 500 software, identify DeviceNet addresses in the SLC 500 processor and answer the following questions: 1. Change the processors operating mode to Run. 1. Open your network configuration. 2. Go online to the network. 3. Identify the input address(es) where the analog values from the 871TM inductive proximity sensor should show up in the Input data file of the SLC 500 processor:
Tip "
Use either the EDS file for the 871TM inductive proximity sensor or the 1747-SDN properties dialog box to determine the sensors data structure:
17-25
Tip "
Remember that the 871TM inductive proximity sensor has been configured for strobed messaging, which is not the default message type supported by the sensor. 4. Test your conclusion by performing the following actions: A. Start RSLogix 500 software. B. Go online to the SLC 500 processor at your workstation. C. Change the processors operating mode to Run. D. Monitor the processors Input data file while moving a metal target (such as a key or coin) towards and away from the 871TM inductive proximity sensor. The bits at the addresses you identified in Step 3. should turn on as the target moves towards the sensor.
Tip "
For help going online to the SLC 500 processor, changing the processors operating mode, and monitoring the processors data files, refer to the Start pages or online Help. 5. Identify the input address where pushbutton DI0 (wired to to input point 0 on the first input sink of the 1734-ADN Point I/O adapter) on the workstation should show up in the Input data file of the SLC 500 processor:
6. Test your conclusion by performing the following actions: A. Press the DI0 pushbutton on workstation to start the motor while monitoring input tag values in the processors input data file. The bit that goes on when this button is pressed should be the bit that was identified in Step 5. B. Press the DI1 pushbutton to stop the motor. 7. Identify the address of the third ArmorBlock input bit:
8. Test your conclusion by pressing pushbutton IN2 on the workstation while monitoring input tag values in the processors input data file. The bit that goes on when this button is pressed should be the bit that was indentified in Step 7. 9. Close the Input data file. 10. Identify the output address that reflects the status of the PowerFlex 40 drives Start bit:
17-26
Tip "
Use the PowerFlex 40 Drive Data Structure appendix to determine the data structure of the PowerFlex 40 drive. Data structure information for the drive is located in the user manual of the drives DeviceNet communications module, not the drives EDS file. 11. Test your conclusion by performing the following actions: A. Press the DI0 pushbutton on the workstation to start the motor in workstation. B. Monitor output tag values in the Output data file of the processor. The bit identified in Step 10. should be on. C. Press the DI1 pushbutton on the workstation to stop the motor. 12. Close the output data file. 13. Change the SLC 500 processors operating mode to Program. 14. Minimize RSLogix 500 software. 15. Close RSNetWorx for DeviceNet software.
17-27
17-28
Answers
Exercise A
5. On the Scanlist tab of the 1734-ADN Point I/O scanner modules scanner window make sure Automap is selected and move all Point I/O nodes to the scanlist:
Add All
Automap
11. You should have accessed the Device Bridging tab of the 1734-ADN Point I/O adapters properties page and associated the ADN_Subnet.dnt file with module:
17-29
13. The input and output tabs of the PanelView Plus properties window should look similar to the following:
15. If you have correctly edited input and output parameters for the E3 overload relay, the Edit I/O Parameters window for the E3 overload relay will look like the following graphic:
17-30
If you have correctly edited input and output parameters for the Absolute Multi-Turn Encoder, the Edit I/O Parameters window for the RightSight photoelectric sensor will look like the following graphic:
If you have correctly edited input and output parameters for the PowerFlex 40 drive, the Edit I/O Parameters window for the PowerFlex 40 drive will look like the following graphic:
17-31
If you have correctly edited input and output parameters for the 871TM inductive proximity sensor, the Edit I/O Parameters window for the 871TM inductive proximity sensor will look like the following graphic:
If you have correctly edited input and output parameters for the 1734-ADN Point I/O adapter, the Edit I/O Parameters window for the 1734-ADN Point I/O adapter will look like the following graphic:
17-32
If you have correctly edited input and output parameters for the ArmorBlock MaXum input module, the Edit I/O Parameters window for the ArmorBlock MaXum input module will look like the following graphic:
If you have correctly edited input and output parameters for the PanelView Plus operator interface, the Edit I/O Parameters window for the PanelView Plus operator interface will look like the following graphic:
17-33
17. If you have correctly entered input data manually, the input data table for the 1747-SDN scanner module will look like the following graphics:
If you have correctly entered output data manually, the output data table for the 1747-SDN scanner module will look like the following graphics:
17-34
Exercise B
3. The input address(es) where the analog values from the 871TM inductive proximity sensor should show up in the input data file of the SLC 500 processor are bits 8-15 of input word 3 (I:1.3, bits 8 to 15). The second input byte the sensor sends contains its analog value and, in the 1747-SDN scanner module, this byte is mapped to input word 3, bits 8 to 15. 5. The address bit for pushbutton DI0 should show up in the processors input file at input word 9, bit 0 (I:1.9.0). In the 1747-SDN scanner module, the input map for the 1734-ADN Point I/O adapter begins at word 8, bit 0. The first 16 bits are read-only data. Therefore, the the adapters first input is located at word 9, bit 0. 7. The address of the third ArmorBlock input bit is input word 14, bit 2 (I:1.14.2). When the ArmorBlock input module is configured for change-of-state messaging, the first input bit in its data structure controls the first ArmorBlock input connection. In the 1747-SDN scanner module, the modules input map begins at word 14, bit 0. Therefore, this is the bit that corresponds to the ArmorBlock modules third input. 10. The output address that reflects the status of the PowerFlex 40 drives Start bit when the drive is output word 12, bit 0 (O:1.12.0). The drives Start bit is the second output bit (bit 0) received by the drive from the processor. In the 1747-SDN scanner module, the output map for the PowerFlex 40 drive begins at word 12, bit 0. Therefore, the drives Start bit is located at output word 12, bit 0.
Optional Lesson
18
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
What You Will Learn
After completing this lesson, you should be able to communicate on a DeviceNet network using explicit messaging by performing the following tasks: Identify class, instance, attribute, and service codes Format an explicit message using an SLC 500 processor
messaging in your plant? If so, what kind of function is it performing? What devices are involved?
Explicit messaging is important because it is a means to transfer very specific device data, such parameter values, that is not available via polled, strobed, change-of-state, or cyclic I/O messaging. In some cases, such as when no EDS (electronic data sheet) file is available, explicit messaging is the only way to configure a device.
Explicit Messaging
Explicit messaging is a method of transmitting commands, responses to commands, requests for data, and responses to data requests on a DeviceNet network. Explicit messaging is used to accomplish the following tasks: Obtain device data when no EDS file exists Make automatic runtime adjustments to device parameters according to changes detected by a processor
displays the numbers of faulted nodes, why would you want to send a faulted device an explicit message requesting fault information? Answer: To find out the exact nature of the fault.
Send configuration data to a device Retrieve detailed status and diagnostic information from a device
A device communicating using explicit messaging falls into one of the following categories: Explicit Client: The device from which an explicit message request originates. In an explicit message between a processor and a device, the processor is always the explicit client. Explicit Server: The device from which an explicit response is being requested. In an explicit message between a processor and a device, the device is always the explicit server. In an explicit message between two devices, either device can be the explicit server.
18-2
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
Explicit Message Contains specific information describing nature of data being requested Requires a response Has a low priority on a DeviceNet network
I/O Message Contains limited device data Does not require a response Has a high priority on a DeviceNet network
messages have a lower priority than I/O messages on a DeviceNet network? Answer: Because they are meant to transfer non-time critical data.
Use the following PLC-based analogy to help students understand the concepts of class, instance, and attribute: T4:10.ACC: S S S T4 is class 10 is instance ACC is attribute.
Attribute Service
Object Object is a general term that describes some function of a DeviceNet product. An object is made up of the following entities: Attributes: Information about variable portions of an object (i.e., data elements that can be written to or read from). Services: Functions that an object performs upon request (i.e., getting an attribute, setting an attribute, etc.). Behaviors: The manner in which an object responds to events that it recognizes (e.g., receiving service requests, detecting internal faults, etc.).
Note that an object corresponds roughly to a PLC-5 data table element. The main difference is that an object has a defined behavior as well as a defined data structure.
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
18-3
Connection object Message router object Timer events object Wall clock time object Parameter object
Class
Note that class corresponds roughly to a file in a PLC or SLC processor. For example, the counters class could be said to consist of the C5 file and the behavior of the CTU, CTD, and RES instructions.
Class is the most general category in the DeviceNet object model. A class is a subset of objects that behave in a similar way but contain different data in their respective variables. By this definition, several objects containing common characteristics can fall into one class. Each object class has a unique hexadecimal identifier called a class code. The following table lists a few examples of DeviceNet object classes for a PowerFlex 40 drive:
Class 01 05 0F Identity Connection Parameter Table Object
Instance
Continuing with the counter example, note that instances would be C5:1 and C5:42.
An instance is a specific occurrence of a given object. Since there can be several occurrences of the same object within a model, each instance is designated by a numeric value.
18-4
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
Attribute An attribute is one of many possible data elements in a given DeviceNet object or class that can be written to or read from in an explicit message. Each attribute is assigned a unique numeric ID. The following table lists examples of attributes and their respective numeric IDs supported by the class 0F Parameter Table object for a PowerFlex 40 drive:
Class 0F Instance Table Attribute ID 1 2 3 4 5 Attribute Name Output Frequency Commanded Frequency Output Current Output Voltage DC Bus Voltage
Tip "
Note that each of the attributes listed in the table is actually a parameter in the drive. Not all attributes are parameters, but parameters are some of the most common attributes that explicit messaging is used to access. Service A service refers to a function that an object performs as the result of an explicit request. Services that are supported vary from object to object. Each service is assigned a hexadecimal code called a service code. The following table lists a few of the most common services supported by the PowerFlex 40 drive:
Service Name Get_Attribute_Single Set_Attribute_Single Service Code 0E hex 10 hex Example Upload a single parameter value from a device Download a single parameter value to a device
Note that the actions of getting and setting attributes are commonly used services. Getting an attribute is simply the action of requesting the value of an object variable; setting an attribute is the action of sending a new value to an object variable. Cite examples of attributes that are commonly sent to (set) and retrieved from (get) DeviceNet objects: S S S S Input and output values Operating mode Angle (limit switches) Speed reference (drives)
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
18-5
Remind students that though the following graphic shows only instance attributes, there are also attributes that apply to all objects in the same class. Class
The following graphic shows the basic structure of the DeviceNet object model:
Attribute Attribute
Attribute Attribute
Attribute Attribute
Attribute Attribute
18-6
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
Point out that the following graphic only uses PLC-based terms to illustrate the concepts of class, instance, and attribute. The examples given are not true Class classes, instances, or attributes. (Counters)
The following graphic shows the basic structure of the DeviceNet object model using a PLC-based analogy to illustrate key concepts:
Attribute (ACC)
Instance 2 (C5:1)
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
18-7
Point out that the following graphic only shows two of fourteen instance attributes supported by each of the Connection objects in the PowerFlex 40 drive. Class 0F
The following graphic shows the basic structure of the DeviceNet object model as applied to the class 0F Parameter Table object of the PowerFlex 40 drive:
Attribute 1 (Output Frequency) Instance 1 Attribute 2 (Commanded Frequency) Attribute 3 (Output Current) Attribute 4 (Output Voltage) Parameter Table Object Attribute 5 (Bus Voltage)
18-8
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
The following graphic shows the portion of the EDS file for the PowerFlex 40 drive that contains class, instance, and attribute data needed to access parameter 29 (Torque Current):
Instance Code
The service code needed to format an explicit message must be accessed using documentation manuals. Service codes are generally listed in table format in Appendix B of the devices user manual.
Do not go into detail about peer-to-peer explicit message connections now, as this will be covered later in the lesson.
Explicit Messaging Using an SLC 500 Processor and a 1747-SDN Scanner Module
Ladder logic is used in an SLC 500 processor to send explicit messages between devices. As with standard I/O messaging, a 1747-SDN scanner module acts as the interface between devices and a processor. Explicit messaging occurs on a DeviceNet network with an SLC 500 processor and 1747-SDN scanner module in the following manner: 1. An explicit message transaction block is formatted in an SLC 500 data file using RSLogix 500t software.
Review M file function: The M0 file stores data sent from a processor to devices; the M1 file is where data being sent from devices to a processor is stored.
E 2008 Rockwell Automation, Inc. All rights reserved.
2. A COP (copy) instruction is written to copy the explicit message transaction block from the processor data file to words 224 to 256 of the M0 file in the scanner module.
Rev. July 2008 EXPSib100
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
18-9
Tip "
The minimum and maximum data sizes for an explicit message request are 6 and 32 words, respectively. The following graphic shows an example of a COP instruction in RSLogix 500 software used to copy data from a data file in an SLC 500 processor to the explicit messaging area of the M0 file in a 1747-SDN scanner module:
3. The explicit message request is obtained from words 224 to 256 of the scanner modules M0 file by the device from which a response is being requested. 4. The device sends its response to the M1 file in the scanner module. 5. When the scanner module receives the devices response, bit 15 in its status register turns on, indicating to the processor that a response has been sent by the device. 6. The devices response is copied from words 224 to 256 of the scanner modules M1 file into a data file in the processor via a COP instruction in the ladder logic. The following graphic shows an example of a COP instruction in RSLogix 500 software used to copy data from the explicit messaging area in the M1 file of a 1747-SDN scanner module to a data file in an SLC 500 processor:
7. A COP or MOV (move) instruction copies a word from a data file in the processor to word 224 of the M0 file in the scanner with a command to clear out the response buffer in the scanner module.
Rev. July 2008 E 2008 Rockwell Automation, Inc. All rights reserved. EXPSib100
18-10
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
8. When the command is received by the scanner module, bit 15 of the modules status register turns off, indicating that the explicit message transaction has been completed.
SLC 500 data files must be specifically formatted for explicit messaging using explicit message transaction blocks. An explicit message transaction block can either be a request for data from a device or the devices subsequent response. An explicit message transaction block consists of the following elements: Transaction header Transaction body Transaction Header The transaction header is the part of an explicit message that contains code identifying the nature and sender of the message. The transaction header is made up of three words (words 224, 225, and 226 in the M files of a 1747-SDN scanner module), which are divided into the following byte offsets: Transaction ID (TXID): The upper byte of word 224. The scanner module uses the transaction ID to track the transaction to completion and returns the original value of the transaction ID with the response that matches the original request. The transaction ID number is increased with every new explicit message that is sent. The term upper byte refers to bits 8 to 15 of a word.
Tip "
Refer students to the page in the documentation reference guide that contains examples of command and status codes.
request transaction block. The command code tells the 1747-SDN scanner module what to do with the transaction block being sent (e.g., execute the transaction block, delete the transaction from the response queue, ignore the transaction block, etc.).
The command codes supported by DeviceNet scanner modules can be found in the documentation reference guide. The term lower byte refers to bits 0 to 7 of a word. response transaction block. The status code provides the processor with status information about the device and its response (e.g., transaction successful, transaction still in progress, error, etc.). The status codes supported by DeviceNet scanner modules can be found in the Documentation Reference Guide.
Rev. July 2008 EXPSib100
Tip "
E 2008 Rockwell Automation, Inc. All rights reserved.
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
18-11
Port: The upper byte of word 225. The port number in the
transaction header indicates the channel through which the explicit message is to be routed.
Tip "
Stress that when determining the size of an explicit message transaction body, only the number of bytes in the class, instance, attribute, and data segments is counted. Refer students to the page in the documentation reference guide where service names and codes Tip are listed.
In an SLC 500 processor, only channel 0 is used. bytes of the body of the explicit message. Service Code: The upper byte of word 226. The service code indicates the action that is to be performed as a result of the explicit message (typically getting or setting an attribute). The service codes supported by DeviceNet scanner modules can be found in the Documentation Reference Guide. The MAC ID signifies the node address of the device to which the explicit message is being sent.
Size: The lower byte of word 225. The size indicates the length in
"
MAC (Media Access Control) ID: The lower byte of word 226.
Transaction Body The transaction body contains the actual explicit message data. In an explicit request, this includes the DeviceNet class, instance, and attribute information, as well as the data to be sent or retrieved. In an explicit response, the transaction body data contains only the response message. Example: Explicit Message Format for an SLC 500 Platform The following graphic shows an SLC 500 data file in RSLogix 500 software that contains an explicit message transaction block:
Transaction ID
MAC ID
Class
Data
18-12
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
Direct students to look up the meanings of the command and service codes used in this explicit message in the documentation reference guide.
Emphasize that size pertains to the number of bytes in the transaction body only, not the entire transaction block. In the example, the size is 6 because there are two bytes apiece for class, instance, and attribute, and a 0 for data (because a value is being requested, not sent).
The following list summarizes all of the information contained in this transaction block: The transaction block is an explicit request (service). The value of an acceleration time parameter is being requested (class and attribute). The value of the first occurrence of the acceleration time parameter attribute is being requested (instance). The acceleration time parameter is being requested from the device at node 9 (MAC ID). The explicit request size is 6 bytes (size). The explicit request is being routed through channel 0. Since the port (channel) through which the message is routed is 0, this value is not displayed. It would normally be visible to the left of the data size value.
Tip "
establishing a peer-to-peer explicit message connection between devices on a DeviceNet network? Possible Answer: To enable faster transfer of time-critical data through the scanner module by decreasing the number of devices with which the scanner module must communicate.
Peer-to-peer explicit messaging is accomplished via a direct connection between two devices without the use of a scanner module as an intermediary. UCMM (Unconnected Message Manager) Capability To communicate using a peer-to-peer explicit message connection, both devices must be UCMM-capable. UCMM connectivity is a feature that enables a device to communicate with another UCMM-capable device on a DeviceNet network without the need for a scanner module. The following list includes examples of Allen-Bradley devices that are UCMM-capable:
PanelView operator interface Flex I/O POINT I/O MicroLogix adapter Scanport adapter 1398 ULTRA 10 servo drive Bulletin 150 SMC AC dialog plus 1305 AC drive 1336 AC drive 1557 Medium Voltage drive Powermonitor II
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
18-13
Tip "
Not all DeviceNet-compatible devices are UCMM-capable. To find out if a device is UCMM capable, access its DeviceNet Statement of Compliance, which is normally located in Appendix B of the devices user manual. Method of Configuration The manner in which a device is configured for peer-to-peer explicit messaging differs depending upon the device. However, the following basic steps are generally followed:
Ask a student to review the meanings of the terms explicit server and explicit client.
1. One device is designated the explicit server and the other device is designated the explicit client. 2. Class, instance, and attribute codes are used to specify the data that is to be read or written. 3. The size and location of the data to be read or written is specified. Example: PanelView Peer-to-Peer Explicit Message Configuration The following graphic shows the PanelBuilder software window where peer-to-peer explicit messaging is configured:
18-14
Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
In the example above, the following elements required for the PanelView operator interface to communicate using peer-to-peer explicit messaging are specified: The function of the PanelView operator interface (either explicit server or explicit client) The node address of the device with which the PanelView operator interface is to communicate (explicit server) The location and size of the data to be exchanged The class, instance, and attribute codes that specify the data to be exchanged. The configuration shown in the example above applies only to the PanelView operator interface. Though the main elements needed to configure a peer-to-peer explicit message are similar, the method of configuration varies from device to device.
Heres How
Perform the following demonstration: 1. Identify the class, instance, attribute, service, and command codes needed to change the operating mode of the E3 overload relay sensor. " Use the E3 overload relays EDS file to identify the necessary class, instance, and attribute codes, and the documentation reference guide to identify the command and service codes. 2. Format an explicit message in RSLogix 500 software to change the operating mode of the E3 overload relay. 3. Format an explicit message in RSLogix 500 software to change the operating mode of the 871TM inductive proximity sensor.
To communicate on a DeviceNet network using explicit messaging by performing the following tasks: Identify class, instance, and attribute codes
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
18-15
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
Exercise A
In this exercise, you will practice communicating on a DeviceNet network using explicit messaging. Context: You have completed all of the essential configuration tasks for the DeviceNet network and the network is operational. However, you would like to use explicit messaging to enable the count up function of the 871TM inductive proximity sensor using an input from the PanelView Plus operator interface instead of having to reconfigure this parameter in RSNetWorx for DeviceNet software every time the count up function is needed. Underlined actions indicate a procedure can be found in the associated job aid.
Tip "
For help performing steps in RSLogix 500 software, consult the online Help. Directions: Perform the steps below and answer the following questions: 1. Open your network configuration. 2. Identify the class, instance, and attribute codes needed to write to the 871TM inductive proximity sensor parameter listed in the following table:
Device Variable or Parameter Counter (parameter 15) Class Code Instance Code Attribute Code
Tip "
Use the 871TM inductive proximity sensors EDS file to determine class, instance, and attribute codes. 3. Identify the service code that is used to set a single attribute:
18-16
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
4. Identify the command code used to execute an explicit message transaction block:
Tip "
Refer to the Documentation Reference Guide for service and command codes. 5. Open exercise file EXPS_N100_A1.rss. 6. Verify that the processor is offline or go offline. 7. Open data file N20. 8. Change the radix to Hex/BCD. 9. Format an explicit message in the SLC processors data file N20:10 to enable the Counter parameter (parameter 15) in the 871TM inductive proximity sensor. (First write the necessary values in the table below, then transfer them to N20:10):
Block Segment Text ID Command Port Size Service MAC ID Object Instance Attribute Data Value
Be sure to enter all data, including the node address of the target device (the 871TM inductive proximity sensor) in hexadecimal format. Use the Decimal to Hexadecimal Conversion Table appendix for help converting the node address of of the target device (the 871TM inductive proximity sensor) to hexadecimal code. Use the Documentation Reference Guide to determine command and service codes. 10. Format an explicit message in the SLC 500 processors data file N20:0 to clear the scanner modules response buffer after a successful explicit message. (First write the necessary values in the table below, then transfer them to N20:0):
Block Segment Text ID Command Value
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
18-17
11. Which rung of ladder logic sends the explicit message to enable the 871TM sensors Up Counter Enabled parameter from N20:10 to the sensor?
13. In rung 006, what condition triggers the transfer of data from the 871TM inductive proximity sensor back to the SLC 500 processor?
14. In rung 006, what condition triggers the clearing of the scanner modules explicit message response buffer?
15. Download the program to the SLC 500 processor. 16. Change the processors operating mode to Run. 17. Test the explicit message by performing the following actions: A. Select Run Application on the PanelView Plus terminal. B. Navigate to the 871TM Proximity Sensor screen on the PanelView Plus terminal. C. Touch the Enable Counter pushbutton and hold for a moment on the PanelView Plus screen. D. Touch a metal object (such as a a coin or key) to the sensing end of the 871TM inductive proximity sensor. The PanelView Plus counter should increment by one every time a metal object is sensed. 18. Open data file N20. 19. What in this data file indicates that the explicit message was successful?
20. Save the RSLogix 500 program. 21. Close RSLogix 500 software. 22. Close RSNetWorx for DeviceNet software.
Rev. July 2008 E 2008 Rockwell Automation, Inc. All rights reserved. EXPSe100
18-18
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
18-19
18-20
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
Answers
Exercise A
2. If you correctly identified the class, instance, and attribute codes needed to write to the 871TM inductive proximity sensor parameters, your table will look like the following:
Device Variable or Parameter Up Counter Enabled (parameter 18) Class Code ee Instance Code 01 Attribute Code 01
3. The service code used to set a single attribute is 10. 4. The command code used to execute an explicit message transaction block is 1. 9. If you correctly formatted an explicit message transaction block in data file N20:10 to enable the Up Counter Enabled parameter in the 871TM inductive proximity sensor, the data file will look like the following graphic:
10. If you successfully formatted an explicit message transaction block in N20:0 to clear the scanner modules response buffer, the data file will look like the following graphic:
11. Rung 005 of the main routine sends an explicit message transaction block to enable the 871TM sensors Up Counter Enabled parameter from N20:10 to the sensor. 12. An input from the PanelView operator interface triggers the message. 13. In rung 006, when bit 15 (the Explicit Message Program Control bit) goes on in the scanner modules status register, it triggers the transfer of data from the 871TM inductive proximity sensor back to the SLC 500 processor. When bit 15 goes on in the scanner modules status register, it means the explicit message has been received by the target device.
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
18-21
14. In rung 006, when the data in file N20:50 equals the data in file N20:10 (e.g., the Transaction ID and command sent to the target device equals the Transaction ID and command received from the target device), the scanner modules explicit message response buffer is cleared. 19. You can tell that the explicit message was received since N20:10 equals N20:50 (101).
18-22
Exercise: Communicating on a DeviceNet Network Using Explicit Messaging with the SLC 500 Platform
Optional Lesson
19
Interpret scanner module numeric or alphanumeric codes Clear scanner module numeric or alphanumeric codes Why These Skills Are Important
The ability to troubleshoot a network using hardware status indicators is important for the following reasons: Hardware status indicators are the most commonly used resources to determine the exact nature of a network fault, so being able to interpret them is essential to restoring a malfunctioning network to proper working order. Since they are on the plant floor, hardware indicators are among the most accessible troubleshooting resources for maintenance technicians. Hardware indicators can often provide more specific information about the status of a network and the nature of network faults than software tools.
19-2
Different types of status indicators exist on the various scanner modules manufactured by Rockwell Automation for use on DeviceNet networks. A 1747-SDN scanner module, used with SLC 500 processors, has the following status indicators: Module Status Indicator: Indicates whether the 1747-SDN scanner module has power and is operating properly. Specifically, this status indicator can provide the following types of information: - Power supply status - Scanlist status - Recoverable/unrecoverable fault status
DeviceNet communications channel is active and if there are problems with any of the devices in the scanner modules scanlist.
The following graphic shows the status indicators on a 1747-SDN scanner module:
19-3
Most DeviceNet-compatible devices have a network status indicator that provides information about that devices status on the network. A devices network status indicator can provide the following information about the device: Power supply status Connection status (i.e., whether or not it is either in the scanlist of a master scanner module or has a peer-to-peer connection with another device)
Individual Input Point Status Indicators Logic Status Indicator (For Modules that Support DeviceLogixt Functionality) ArmorBlock MaXum Input Module
Devices may have other status indicators not necessarily related to the DeviceNet network that can also be used for troubleshooting purposes. The location and physical appearance of a devices network status indicator varies with each device. Consult a devices user documentation for details.
19-4
For the most accurate picture of network status, status indicators should be read and interpreted in conjunction with scanner module numeric and alphanumeric codes.
The following table summarizes the location and type of numeric or alphanumeric codes available for five of the main scanner modules manufactured by Rockwell Automation:
For this scanner module . . . 1771-SDN 1747-SDN 1756-DNB 1784-PCIDS This type of code is available . . . Numeric only Numeric only Numeric and alphanumeric Numeric only And is located . . . On the front of the scanner module On the front of the scanner module On the front of the scanner module In the StatusDisplay status structure element of RSLogix 5000 software In IOLinx for DeviceNet software In the ScannerStatus and ScrollingDevice status structure elements of RSLogix 5000 software (for the Logix5000 family of controllers) In the first word of the input data table in RSLogix 5 software (for PLC-5 processors)
1788-CN2DN
Numeric only
If you are teaching this lesson as part of a standard school, do not go into detail now about how RSLogix 500 software can be used to access numeric codes for the 1747-SDN scanner module. This information will be covered in a later lesson.
The following graphic shows where numeric and/or alphanumeric codes are displayed on the 1747-SDN scanner modules:
DeviceNet
19-5
Tip "
Explanations of all the numeric and alphanumeric codes that can be displayed on Rockwell Automation DeviceNet scanner modules and the recommended course of action to clear them can be found in the Troubleshooting Guide. To troubleshoot a DeviceNet network using hardware indicators by performing the following tasks: Interpret scanner module status indicators Interpret device network status indicators
Heres How
1. Create a fault on your workstation using the 1747-SDN scanner module as the network master, then clear it using information from the hardware status indicators, device network status indicators, and scanner module numeric and alphanumeric codes. 2. Create the same fault on your workstation using the 1747-SDN scanner module as the network master, then clear it. Before clearing the error, be sure to point out the status of all of the following indicators: 1. Scanner module status indicators 2. Scanner module numeric or alphanumeric codes 3. Device network status indicator
Interpret scanner module numeric or alphanumeric codes Clear scanner module numeric or alphanumeric codes
As your instructor demonstrates these procedures, follow along in the associated job aid(s).
19-6
19-7
3. If it is not already, change the processors operating mode to Program. 4. Download the network configuration. 5. Disconnect the 871TM proximity sensor from the network.
19-8
6. Interpret the status indicators on the scanner module that is acting as the master scanner module on your network and complete the following table:
Scanner Module Status Indicator MODULE 1747-SDN scanner module NET State Meaning
Do not attempt to perform any corrective action to change the state of any status indicators at this time. 7. Interpret the network status indicators on the workstation devices listed below and complete the following table:
Network Status Indicator 871TM photoelectric sensor ArmorBlock I/O module State Meaning
Tip "
Look at the network status indicator of the ArmorBlock MaXum Input module for at least ten seconds before determining its state. 8. Interpret the numeric or alphanumeric codes displayed on the front of the scanner module acting as the master scanner module on your workstation.
Tip "
Tables with interpretations of scanner module numeric and alphanumeric codes are provided in the Troubleshooting Guide.
19-9
9. List the numeric or alphanumeric codes that are displayed on the front of the scanner module and the probable cause of each:
10. Perform the necessary actions to clear the scanner module numeric or alphanumeric codes.
Tip "
The Scanner Module Master Data Maps appendix, which contains information about the I/O sizes that the workstation devices should be configured to send and receive, may help you clear one of the error codes. 11. Save the network configuration. 12. Close RSNetWorx for DeviceNet software.
19-10
Answers
Exercise A
6. If you have correctly interpreted the status indicators on the scanner module that is acting as the master scanner module on your workstation, the table you completed should resemble the following table:
Scanner Module 1747-SDN scanner module Status Indicator MODULE NET State Flashing red Solid green Meaning The scanner module has a minor recoverable fault or a connection timeout. The scanner module is operating normally.
7. If you have correctly interpreted the status indicators on the workstation devices, the table you completed should resemble the following table:
Network Status Indicator 871TM photoelectric sensor ArmorBlock I/O module Off Flashing green or flashing red State Meaning There is no power being applied to the device. The device needs commissioning. Read the scanner module numeric or alphanumeric code.
9. The following numeric and alphanumeric codes should be displayed on the front of the scanner module: A. 80 and 01 alternately (the cause is that the processor is in Program mode) B. 78 and 02 alternately (probable cause is that the connection between the 871TM inductive proximity sensor and the network is loose) C. 77 and 30 alternately (probable cause is that the I/O sizes configured for the ArmorBlock I/O module in the scanner do not match those that were originally configured for the device). This error can be cleared by editing the input size of the ArmorBlock I/O module in the scanlist of the 1747-SDN scanner module to send 0 inputs instead of 1.
19-11
Troubleshooting Tips
If you are unable to successfully clear scanner module numeric or alphanumeric codes, verify that you have completed the following actions:
Securely reconnected the 871TM inductive proximity sensor to the network Changed the input size configured for the ArmorBlock I/O module in the master scanner modules scanlist to send 0 inputs instead of 1. Downloaded corrective changes made in the scanner module configuration to the scanner module If problems persist, cycle power to the workstation after performing the corrective action
19-12
20
After completing this lesson, you should be able to troubleshoot a DeviceNet network using RSLogix 500 software by performing the following tasks: Trace I/O points through a 1747-SDN scanner module Monitor data in a 1747-SDN scanner modules status register
Relationship Between an RSNetWorx for DeviceNet Software Data Map and I/O Points in RSLogix 500 Software
For communications between a processor or and devices to occur, input and output data mapped for devices in the scanlist of a scanner module must correlate directly with the input and output addresses for these devices in the corresponding ladder logic program. Since misalignment of this data can cause communications problems, the ability to trace I/O points is essential to maintaining and troubleshooting a DeviceNet network. To trace I/O points through a 1747-SDN scanner module, the following information is used: The RSNetWorx for DeviceNet software data map The data structure of the device for which I/O points are to be traced RSLogix 500 software data files (1747-SDN scanner modules only)
20-2
RSNetWorx for DeviceNet Software Data Map The location where a devices data is mapped in a 1747-SDN scanner module can be determined by accessing the input and output data maps in the Scanner Module window of RSNetWorx for DeviceNet software.
Remind students that, for 1747-SDN scanner modules, devices may also be mapped to M files. In such cases, the M file mapping information should be accessed.
The following graphic shows the RSNetWorx for DeviceNet window where the location of discrete input data for a RightSight photoelectric sensor in the scanlist of a 1747-SDN scanner module can be determined:
The RightSight photoelectric sensors input data is mapped to input word 6, bit 0.
20-3
Device Data Structure Knowledge of a devices data structure is needed to trace I/O points because the data map in RSNetWorx for DeviceNet software alone does not provide a user with information about the specific function of each individual bit that has been mapped for a device (e.g., it does not provide information as to which bit in an operator interface represents the start button).
Advise students that data structure information for devices that have large amounts of I/O data or different I/O assemblies to choose from is not usually located in RSNetWorx for DeviceNet software and must be accessed using device documentation (e.g., information about the data structure of a Bulletin 160 drive or E3 solid-state overload relay).
The following resources provide information about the data structure of a device, including the function of individual bits in the device: The I/O Data property page for the device
The EDS (electronic data sheet) file for the device The online Help system in RSNetWorx for DeviceNet software
(Allen-Bradley devices only) The devices user manual
Tip "
Stress that a devices data structure can vary based on the kind of messaging the device has been configured for. Make sure students know they must look up a devices data structure based on the devices message type.
The location of data structure information varies with each device. Device data structure can vary depending upon the type of messaging the device has been configured for (e.g., polled, strobed, change-of-state, etc.)
20-4
The following graphic shows the I/O Data property page for the RightSight polarized retroreflective sensor and the data structure information that can be accessed from the I/O Data property page:
I/O Data Property Page
Button Used to Access a Devices Data Structure Information from the I/O Data Property Page
Device Data Structure Information (Drawn from Devices EDS File) Function of Bit 0 in Byte 1 of the RightSight Polarized Retroreflective Sensor
20-5
The following graphic shows the I/O Data property page for the ArmorBlock MaXum input module and the data structure information that can be accessed from the I/O Data property page:
I/O Data Property Page
Button Used to Access Change-of- State Data Structure Information from the I/O Data Property Page
Note that M file data is not automatically transferred to an integer file from a 1747-SDN scanner module when it is mapped but must be transferred using a COP instruction in RSLogix 500 software.
Once the location where device data is mapped in a 1747-SDN scanner module and a devices data structure are known, device I/O points can be traced using RSLogix 500 software data files. The following data files in RSLogix 500 software are used to trace I/O points: Input Data File: The location where discrete inputs from network devices are stored in an SLC 500 processor. Output Data File: The location where discrete outputs to network devices are located in an SLC 500 processor. Integer Files: The user-specified location where inputs or outputs that have been mapped to M files in a 1747-SDN scanner module are located.
20-6
To trace discrete I/O points, the input or output data map in RSNetWorx for DeviceNet software must be compared with the input or output data files in RSLogix 500 software. The following graphic shows the relationship between the input data map in a 1747-SDN scanner module where the RightSight photoelectric sensor is mapped and the input data file in the SLC 500 processor being used on the DeviceNet network:
SLC 500 Processor Input Data File
Input data from the RightSight photoelectric sensor is mapped to input word 6, bit 0 in the SLC 500 processor.
Each individual bit in the first byte of I:1.6 represents a bit in the RightSight photoelectric sensor.
Bit 1 represents diagnostic data for the RightSight photoelectric sensor. The lower byte of word 6 in the SLC 500 processor reflects the status of the RightSight photoelectric sensors inputs.
20-7
In the screen capture, stress that a COP instruction is used to copy M file data from a scanner module to an SLC 500 processor. 1747-SDN Scanner Module Input Table
The following graphic shows the relationship between the M1 file data map in a 1747-SDN scanner module and the integer file where the M1 file data is stored in an SLC 500 processor:
RSLogix 500 Copy Instruction SLC 500 Processor Integer File
All input data from the 1747-SDN scanner modules M1 file area is copied to integer file N10 in the SLC 500 processor. Input data from the PanelViewt operator interface is mapped to the 1747-SDN scanner modules M1 file starting at word 0.
Input data from the PanelView operator interface is located in integer file N10 of the SLC 500 processor.
The status of a scanner module can be monitored by viewing the scanner modules status register. The status register of a 1747-SDN scanner module is the first discrete input word (word 0) of the corresponding SLC 500 processor. The following information about a scanner module and, consequently, the entire network, can be obtained through the status register: The operational mode of the scanner module (Run, Idle, Disabled, etc.)
If there are faulted devices on the network If there are duplicate node addresses on the network If there is an explicit message response available from a device
In the graphic, point out that since bit 1 of the status register is turned on, it can be discerned that the scanner module is in Run mode.
The following graphic shows the portion of the input data file in an SLC 500 processor where information from the status register of a 1747-SDN scanner module is located:
20-8
Heres How
Demonstrate how to trace the RunFwd (Run Forward) bit for the Bulletin 160 drive in the scanlist of the 1747-SDN scanner module using your workstation and the example below.
To trace I/O points through a 1747-SDN scanner module. As your instructor demonstrates this procedure, refer to the following example:
Example
Tip "
The data structure of the input and output assemblies used by the drive is located in the drives user manual. Step 1: Determine Output Mapping The output mapping information is accessed using the RSNetWorx for DeviceNet software output data map. It is determined that the PowerFlex 40 drive is mapped to output words 13 and 14 in the 1747-SDN scanner module:
20-9
Step 2: Determine Data Structure The data structure of the PowerFlex 40 drives output assembly is determined by accessing the drives user manual. Based on the output assembly data structure shown in the following graphic, it is determined that bit 1 of the first byte of drive output data enables the drive to start:
Start Bit Logic Command Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Clear Fault Bit 2 Jog Bit 1 Start Bit 0 Stop
Speed Reference RPM (Low Byte) Speed Reference RPM (High Byte)
Step 3: Determine I/O Point Location in RSLogix 500 Software Output Data File Using the information now known about the output data map and output assembly data structure for the PowerFlex 40 drive, the exact location of the Start bit can be determined in the RSLogix 500 software output data file:
20-10
Step 4: Verify the Addressing of the Ladder Logic Instruction Controlling the I/O Point Once it is known that output point O:1.13/1 (or O:1.209) represents the Start bit in the PowerFlex 40 drive, the ladder logic instruction that actually turns this bit on must be checked against this address to make sure that it is referencing the correct point. The following graphic shows the rung of the RSLogix 500 program that controls the PowerFlex 40 drive:
Per the output instruction in the example graphic, the Start bit is at output address O:1/209. Since this is the same as output address O:1.13/1 (or the 209th bit mapped in the scanner module), it can be determined that the PowerFlex 40 drives output map in RSNetWorx for DeviceNet software is aligned with the RSLogix 500 addressing.
20-11
Tip "
For help performing steps in RSLogix 500 software, consult the online Help. Directions: 1. In RSNetWorx for DeviceNet software, open network configuration file RSLS_N100_A1.dnt. 2. Go online to the network. 3. Change the processors operating mode to Program. 4. Download the device configuration to the 1747-SDN scanner module. 5. Change the processors operating mode to Run.
20-12
6. Attempt to start the motor in the workstation by pressing the IN2 pushbutton.
Tip "
This pushbutton is wired to the third input of the ArmorBlock MaXum Input module and should command the PowerFlex 40 drive to start the motor. 7. Does the motor start?
8. Open project file RSLS_N100_A2.rss. 9. Download the project to the SLC 500 processor. 10. If you have not already done so, change the processors operating mode to Run. 11. Using the RSNetWorx for DeviceNet software input data map, the I/O Defaults property page for the ArmorBlock input module, and the RSLogix 500 input data file, trace the third ArmorBlock MaXum input point (input 2) and complete the following information: RSNetWorx for DeviceNet Software Input Data Map Address:
12. To which RSLogix 500 input data file address will data from input 2 in the ArmorBlock MaXum input module go?
13. Access rung 0 in the LAD 3 - COOL subroutine. 14. Does the input instruction for input 2 in the ArmorBlock MaXum input module match the input data file address where the modules inputs will be found based on the RSNetWorx for DeviceNet software input data map? Why or why not?
20-13
16. Open the RSLogix 500 input data file. 17. While monitoring data in the the RSLogix 500 input data file, press the IN2 pushbutton in the workstation. 18. Which input bit goes on as a result of this action? Is this the bit that is referenced in rung 0 of the ladder logic?
20. Change the processors operating mode to Program. 21. Choose one of the following options to align the ArmorBlock MaXum input modules addressing:
RSLS_N100_A1.dnt, manually map the device input data for the ArmorBlock input module so that it is aligned with the address referenced in the input instruction in rung 0. Download the changes to the scanner module. 22. Change the processors operating mode to Run. 23. Attempt to start the motor in the workstation by pressing the IN2 pushbutton. This pushbutton is wired to the third input of the ArmorBlock input module and should command the PowerFlex 40 drive to start the motor. If the motor starts, you have successfully fixed input address alignment. 24. Press the red button on the PowerFlex 40 drive to stop the motor. 25. Trace the input point that reflects the status of the offwire diagnostic parameter for input 2 in the ArmorBlock MaXum input module.
20-14
26. Which bit in the RSLogix 500 input data file will go on if an offwire condition is detected on input 2 of the ArmorBlock MaXum input module?
27. Test your conclusion by disconnecting the cable for input 0 on the ArmorBlock MaXum input module, activating the Connector Fault Status parameter for input 2 of the module in RSNetWorx for DeviceNet software, and monitoring the bit that should be affected in the RSLogix 500 input data file. 28. Reconnect the cable for input 2 of the ArmorBlock MaXum input module and deactivate the Connector Fault Status parameter for input 2 of the module. 29. Monitor data in the 1747-SDN scanner modules status register. 30. Which bit is on in the status register and what does it signify?
31. Change the processors operating mode to Program. 32. Save the RSNetWorx for DeviceNet software network configuration. 33. Close RSLogix 500 software. 34. Close RSNetWorx for DeviceNet software.
20-15
20-16
Answers
Exercise A
7. No, the motor should not start. 11. The RSNetWorx for DeviceNet input data map address for the ArmorBlock MaXum input module is I:1.14. 12. Data from input 2 in the ArmorBlock MaXum input module will go to input address I:1.14/2 (or I:1/226) in the RSLogix 500 input data file. 14. No, the input instruction for input 2 in the ArmorBlock MaXum input module does not match the input data file address where the modules inputs will be found based on the RSNetWorx for DeviceNet software input data map. The ArmorBlock MaXum inputs are mapped to input word 14 in RSNetWorx for DeviceNet software. Since the third bit (bit 2) of the first byte of input data from the module controls input 2, the input instruction in RSLogix 500 software should reference I:1.14/2 (or I:1/226). Since it references I:1.15 (or I:1/242), the addressing does not match. 18. Input bit I:1.14/2 (or I:1/226) goes on as a result of pressing the IN2 pushbutton. However, this is not the bit that is referenced in the input instruction for the ArmorBlock MaXum input module in rung 0 of the LAD 3 - COOL subroutine. 19. Either one of the following actions can be taken to align the input addressing for the ArmorBlock MaXum input module:
Appendix
For a workstation using the 1756-DNB scanner module as the network master to function properly, device mapping should meet the following requirements:
Message Type N/A Strobed Input Size N/A 4 Output Size N/A N/A N/A DWord: 00 Bit: 0 Bit Length: 32 DWord: 1 Bit: 0 Bit Length: 16 DWord: 2 Bit: 0 Bit Length: 64 DWord: 4 Bit: 0 Bit Length: 64 Segment 1: DWord: 6 Bit: 0 Bit Length: 16 Input Map N/A N/A Output Map
02
Strobed
N/A
N/A DWord: 2 Bit: 0 Bit Length: 8 DWord: 4 Bit: 0 Bit Length: 40 Segment 1: DWord: 6 Bit: 0 Bit Length: 16 Segment 2: DWord: 7 Bit: 0 Bit Length: 16 N/A DWord: 9 Bit: 0 Bit Length: 32
03
Polled
04
Change-of-State
PowerFlex 40 drive
20
Polled
30
Change-of-State
N/A
40
Cyclic
A-2
For a workstation using the 1747-SDN scanner module as the network master to function properly, device mapping should meet the following requirements:
Message Type N/A Strobed Input Size N/A 4 Output Size N/A N/A N/A Word: 1 Bit: 0 Bit Length: 32 Word: 3 Bit: 0 Bit Length: 16 Word: 4 Bit: 0 Bit Length: 64 Word: 8 Bit: 0 Bit Length: 64 Word:12 Bit:0 Bit Length: 32 Word: 14 Bit: 0 Bit Length: 16 Word: 15 Bit: 0 Bit Length: 32 Input Map N/A N/A Output Map
02
Strobed
N/A
N/A Word: 4 Bit: 0 Bit Length: 8 Word: 8 Bit: 0 Bit Length: 40 Word: 12 Bit: 0 Bit Length: 32 N/A Word: 15 Bit: 0 Bit Length: 32
03
Polled
04
Change-of-State
PowerFlex 40 drive ArmorBlock MaXum input module PanelView Plus 600 operator interface
20
Polled
30
Change-of-State
N/A
40
Cyclic
B-2
Decimal 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 38 39 3a 3b 3c 3d 3e 3f 40 41 42 43 44 45 46 47 48 49 4a
Hexadecimal Equivalent
(Continued)
B-3
Decimal 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 4b 4c 4d 4e 4f 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f 60 61 62 63 64
Hexadecimal Equivalent
B-4
Appendix
Bit 7
Bit 6
Bit 5
Bit 4
Bit 2 Jog
Bit 1 Start
Bit 0 Stop
"
The information in this appendix is from the user manual for the DN2 DeviceNet communications module used with PowerFlex 40 drives.
C-2
The following are trademarks of Rockwell Automation, Inc.: 1336 FORCE 1336 PLUS ControlBus Data Highway Plus DriveTools Flex Logix5000 PanelBuilder PLC-5 PowerFlex RSLinx RSView SCANPort SoftLogix 1336 IMPACT CompactLogix ControlLogix DH+ FactoryTalk FlexLogix Logix5550 PanelView PHOTOSWITCH RediSTATION RSLogix RSNetWorx SLC Ultra
EtherNet/IP and ControlNet are trademarks of ControlNet International Ltd. DeviceNet is a trademark of the Open DeviceNet Vendor Association, Inc. (ODVA). The following are registered trademarks of Microsoft Corporation: MS-DOS Windows PowerPoint Windows NT
IBM is a registered trademark of International Business Machines Corporation. Pentium is a registered trademark of Intel Corporation. All other trademarks are the property of their respective holders and are hereby acknowledged.