Catalog Numbers:
842D-60131331BDA and
842D-60131331BXA Revision 4.001
User Manual
Important User InformationBecause of the variety of uses for the products described in this
publication, those responsible for the application and use of this
control equipment must satisfy themselves that all necessary steps
have been taken to assure that each application and use meets all
performance and safety requirements, including any applicable laws,
regulations, codes and standards.
The illustrations, charts, sample programs and layout examples
shown in this guide are intended solely for purposes of example.
Since there are many variables and requirements associated with any
particular installation, Rockwell Automation does not assume
responsibility or liability (to include intellectual property liability) for
actual use based upon the examples shown in this publication.
Rockwell Automation publication SGI-1.1, Safety Guidelines for the Application, Installation, and Maintenance of Solid-State Control
(available from your local Rockwell Automation office), describes
some important differences between solid-state equipment and
electromechanical devices that should be taken into consideration
when applying products such as those described in this publication.
Reproduction of the contents of this copyrighted publication, in
whole or in part, without written permission of Rockwell
Automation, is prohibited.
Throughout this manual we use notes to make you aware of safety
considerations:
ATTENTION: Identifies information about practices
or circumstances that can lead to personal injury or
!
Attention statements help you to:
•Identify a hazard.
•Avoid the hazard.
•Recognize the consequences.
Important: Identifies information that is critical for successful
application and understanding of the product.
Class Code 01hex — Identity Object................................................B-1
Class Code 02hex — Message Router.............................................B-2
Class Code 03hex — DeviceNet ......................................................B-2
Class Code 04hex — Assembly .......................................................B-3
Class Code 05hex — Connection.....................................................B-4
Class Code 2Fhex — Encoder .........................................................B-7
Designation of Alarm Bits ...............................................................B-10
Designation of Warning Bits ...........................................................B-10
Designation of Cam Bits .................................................................B-10
Preface
Using this Manual
ObjectivesRead this preface to become familiar with the organization of the
manual. In this preface, you will read about the following:
•Who should use this manual.
TM
absolute rotary shaft
Who Should Use this
Manual?
•An overview of the 842D DeviceNet
encoder.
•The purpose of this manual.
•Terms and abbreviations.
•Conventions used in this manual.
•Rockwell Automation support.
Use this manual if you are responsible for installing, wiring,
programming, or troubleshooting control systems that use the 842D
encoder.
This manual is intended for qualified service personnel responsible
for setting up and servicing the 842D encoder. You must have
previous experience with and a basic understanding of electrical
terminology, programming procedures, networking, required
equipment and software, and safety precautions.
Purpose of this ManualThis manual is a learning and reference guide for the 842D encoder. It
describes the procedures needed to install, configure, and
troubleshoot the encoder.
P-2Using this Manual
Contents of this Manual
This manual contains the following information:
ChapterTitleContents
PrefaceUsing this ManualDescribes the purpose, background and scope of this manual. Also provides
information on safety precautions and technical support.
1OverviewProvides an overview of the 842D Encoder.
2InstallationProvides a procedure for installing the 842D encoder.
3Configuring the DeviceNet
Encoder DIP Switches
4Configuring the Encoder
Using RSNetWorx for
DeviceNet
5Configuring a Scanner to
Communicate with the
Encoder
6Using DeviceNet Explicit
Messaging
ASpecifications and
Dimensions
BDeviceNet ObjectsDefines the DeviceNet object classes, class services, and attributes that are
Describes the setting of node address, bus termination, baud rate and
PRESET function.
Provides information that you need to configure the encoder (online and
offline) over the DeviceNet networ
Provides instructions for configuring a PLC or SLC scanner to communicate
with the encoder.
Includes information you need to monitor and configure the encoder using
explicit messaging on DeviceNet. Features an example of explicit messaging.
Provides the specifications and physical dimensions of the 842D encoder.
supported by the DeviceNet encoder.
k.
Related Publications
TitlePublication Number
RSNetWorx for DeviceNet Getting Results
Manual
9398-DNETGR
1747-SDN DeviceNet Scanner Configuration
Manual
1747-SDN DeviceNet Scanner Module Manual1747-5.8
DeviceNet Media, Sensors and Distributed I/O1485-CG001A-EN-P
DeviceNet Cable System Planning and
Installation Manual
RSLogix 5 Getting Results Guide9399-RL53GR
RSLogix 500 Getting Results Guide9399-RL50GR
RSLogix 5000 Getting Results Guide9399-RLD300GR
1747-6.5.2
DN-6.7.2
Using this ManualP-3
Safety PrecautionsPlease read the following safety precautions carefully.
ATTENTION: Only personnel familiar with
DeviceNet products and associated machinery should
!
!
!
plan or implement the installation, start-up,
configuration, and subsequent maintenance of the
DeviceNet absolute encoder. Failure to comply may
result in personal injury and/or equipment damage.
ATTENTION: Remove all power before installing the
DeviceNet absolute encoder. Failure to disconnect
power may result in death or serious injury. Verify all
power is removed before installing the DeviceNet
absolute encoder.
ATTENTION: Hazard of equipment damage exists. If
explicit messages are programmed to frequently write
parameter data to the 842D EEPROM, the EEPROM can
exceed its life cycle and cause the product to
malfunction. Do not create a program that frequently
uses explicit messages to write parameter data to a
product. (See EEPROM Life specification on page A-1.)
Terms and AbbreviationsFor a complete listing of Allen-Bradley terminology, refer to the
DeviceNetAn open network that provides probabilistic I/O control
through a managed bit-wise non-destructive multiplexing
scheme.
842D
DeviceNet
Encoder
RSNetWorx
for
DeviceNet
An Allen-Bradley encoder that communicates directly with the
DeviceNet network without requiring additional adapters. In
this manual, the terms “encoder” and “842D” are also used
when referring to the 842D DeviceNet Encoder.
A Rockwell Software application that can be used to set up
DeviceNet networks and configure connected devices.
RSNetWorx for DeviceNet (version 3.00.00) and RSLinx
(version 2.20.02) were used for examples in the manual.
Different versions may differ in appearance and procedures.
P-4Using this Manual
AbbreviationFull NameDefinition
CANController Area NetworkPhysical layer definition
ODVAOpen DeviceNet Vendor AssociationUser organization for DeviceNet.
IDIdentifier
EDSElectronic Data Sheet
ScFScaling factor Measuring units per revolution / Single turn
resolution
Pos_calccalculated position valuecalculated current position value, after clearing
with Offset, ScF, Preset
Pos_numnumerical position value numerical (physical) position value before
clearing with Offset, ScF, Preset
Data Types
BOOLBooleanBit
BYTEBit String1 Byte (8 Bit)
WORDBit String2 Byte (16 Bit)
USINTUnsigned Short IntegerInt (1 Byte) - (0...255)
UINTUnsigned IntegerInt (2 Byte) - (0...65,535)
UDINTUnsigned Double Integer
Int (4 Byte) - (0...+2
32
-1)
SINTSigned Short IntegerInt (1 Byte) - (-128...+127)
The following conventions are used throughout this manual:
•Bulleted lists provide information, not procedural steps.
•Numbered lists provide sequential steps or hierarchical
information.
•Italic type is used for chapter names and for parameter names.
•Bold type is used for names of menus, menu options, screens, and
dialog boxes.
Important: This type of paragraph contains tips or notes that have
been added to call attention to useful information.
Rockwell Automation offers support services worldwide, with more
than 75 sales/support offices, more than 500 authorized distributors,
and more than 250 authorized systems integrators located throughout
the United States alone. In addition, Rockwell Automation
representatives are in every major country in the world.
Local Product Support
Contact your local Rockwell Automation representative for:
•Sales and order support.
•Product technical training.
•Warranty support.
•Support service agreements.
Technical Product Support
If you need to contact Rockwell Automation for technical assistance,
please call your local Rockwell Automation representative.
Refer to http://www.ab.com for updates and supporting
documentation.
P-6Using this Manual
Notes:
Chapter 1
Overview
Chapter ObjectivesChapter 1 provides an overview of your 842D DeviceNet absolute
encoder. In this chapter, you will read about the following:
•Function of the 842D encoder.
•Features of the 842D encoder.
•Steps for setting up the encoder.
•Required tools and equipment.
Overview of the EncoderThe 842D absolute multi-turn encoder provides a total resolution of
26 bits. The single-turn position value is transmitted with 13 bits. The
number of multi-turn revolutions is 13 bits. Revolutions are counted
by the use of a gear mechanism. The bus interface is located in the
encoder and is configured as a DeviceNet slave according to
DeviceNet specification, release 2.0.
Features of the EncoderThe DeviceNet network is an open, global industry-standard
communication network designed to provide an interface through a
single cable from a programmable controller directly to “smart”
devices such as sensors, push buttons, motor starters, operator
interfaces and drives.
The 842D DeviceNet encoder connects directly to the a DeviceNet
network without the need for additional adapters. Features of the
842D include:
•26-bit absolute multi-turn operation (8192 steps per revolution x
8192 revolutions) without batteries
•Supports Polling, Cyclic, Change of State (COS) and Bit Strobed
I/O messaging
•Transmission rate up to 500 kBaud.
•Programmable functions
–Electronic alignment (PRESET or Number-SET). Electronic
alignment may be carried out via DeviceNet or via a pushbutton in the bus connector of the 842D.
–Clockwise or Counterclockwise (CW/CCW) counting
direction
1-2Overview
–Scaling function - Setting the single-turn resolution as well as
the number of turns. The single-turn resolution is any whole
number from 1 to 8192. The number of turns must be 1, 2, 4,
8, 16, 32, 64... up to 8192.
–Up to eight programmable cams
–Velocity Warning Flags
•Status information is available via the Network Status LED on
the back of the encoder.
•Velocity Feedback (Steps per second, RPM, or RPS)
•Diagnostic and Position Error Alarms
•Node address, Baud rate, and bus termination resistance are
selected via DIP switches under the removable cover on the back
of the encoder.
Overview of Setting Up the
Encoder
To set up the 842D DeviceNet encoder, you must perform the
following tasks:
1. Install the encoder. Refer to Chapter 2, Installation.
2. Set the encoder’s node address, transmission rate and bus
termination. Refer to Chapter 3, Configuring the DeviceNet
Encoder DIP Switches.
3. Configure the encoder’s parameters. Refer to Chapter 4,
Configuring the Encoder Using RSNetWorx for DeviceNet.
4. Configure a scanner (either PLC or SLC) to communicate with
the encoder. Refer to Chapter 5, Configuring a Scanner to Communicate with the Encoder.
Chapter 2
Installation
Chapter ObjectivesChapter 2 provides the information that you need to install the 842D
DeviceNet encoder. In this chapter, you will read about the following:
•Cable connections.
•Installing the encoder.
Installing a Bulletin 842D
DeviceNet Encoder
Selecting Cables
To connect the encoder to the DeviceNet network, you must select an
appropriate DeviceNet drop cable. A drop line connects a node, such
as an encoder, to the DeviceNet trunk cable. Use the following
information to select appropriate cables for each connection.
Bulletin 842D DeviceNet encoders are available with a single 5-pin
micro quick disconnect or two 5-pin quick disconnects (one male and
one female) for ‘daisy chain’ connections.
Catalog NumberElectrical Connection
842D-60131331BDAOne 5-pin male micro QD
842D-60131331BXATwo 5-pin micro QDs (one male & one female)
Pin configurations are per the DeviceNet specification as follows:
Figure 2.1DeviceNet Micro Connections
Female Micro
Male Micro
3
5
21
4
1
4
3
5
2
1DrainBare
2V+Red
3V-Black
4CAN_HWhite
5CAN_LBlue
Refer to the table below for recommended drop cables. .
LengthRight Angle Micro Male to Straight Micro Female
1m1485R-P1R5-F5
2m1485R-P2R5-F5
3m1485R-P3R5-F5
4m1485R-P4R5-F5
5m1485R-P5R5-F5
6m1485R-P6R5-F5
2-2Installation
It is also important to determine the limitations of the trunk and drop
cables. Refer to the following table.
Data Rates125 Kbps250 Kbps500 Kbps
Thick Trunk Line500 m (1,640 ft)250 m (820 ft)100 m (328 ft)
Thin Trunk Line100 m (328 ft)100 m (328 ft)100 m (328 ft)
Maximum Drop Length6 m (20 ft)6 m (20 ft)6 m (20 ft)
Cumulative Drop Budget156 m (512 ft)78 m (256 ft)39 m (128 ft)
For more information on DeviceNet cables and cable systems, refer to
the DeviceNet Cable System Planning and Installation Manual,
Publication DN-6.7.2.
Installing the DeviceNet Encoder
The following instructions explain how to physically install your
DeviceNet encoder.
1. Be sure to select the proper size flexible coupling clamp to mate
to the encoder shaft, e.g., 845-FC-*-*. See the Encoder
Accessories section in the Allen-Bradley Sensors catalog.
ATTENTION: Only personnel familiar with
DeviceNet products and associated machinery should
!
plan or implement the installation, start-up,
configuration, and subsequent maintenance of the
DeviceNet absolute encoder. Failure to comply may
result in personal injury and/or equipment damage.
2. Use the dimension drawings to determine the encoder mounting
hole locations. See Appendix A.
3. Slide the flexible coupling onto the shaft, but do not
tighten the
set screws.
4. Mount the encoder and tighten with three size M4 mounting
screws (not supplied).
5. Center the flexible coupling and tighten the set screws.
6. Rotate the machine slowly and verify that the flexible coupling is
not deforming beyond specifications.
Chapter 3
Configuring the DeviceNet Encoder
DIP Switches
Chapter ObjectivesChapter 3 provides information that you need to configure the
encoder. In this chapter, you will read about the following:
•Setting the node address.
•Setting the transmission baud rate
•Activating bus termination.
•Diagnostic LED
•The Preset function.
Setting up the 842D
DeviceNet Encoder
Specific features of the 842D must be configured by means of
hardware settings. (Remote setting of the DIP switches via a Node
Commissioning Tool is not supported at this time.) These features are
Node Address, Baud Rate and the DeviceNet bus termination. In
addition, the encoder can be set to a fixed position value (PRESET
function) by actuating a push-button. In order to execute this
function, the large PG plug on the rear of the encoder has to be
removed. Inside, three DIP switches and a micro push-button become
visible.
Figure 3.1Encoder DIP Switches
Preset Position
Button
Baud Rate
Node Address
(MAC-ID)
Bus Termination
3-2Configuring the DeviceNet Encoder DIP Switches
Setting the Node Address
The Node Address is set via the 6-pole DIP switch. The DIP switch
settings are binary starting with switch number 1 = (2
with switch number 6 (= 2
DIP-1DIP-2DIP-3DIP-4DIP-5DIP-6
0
2
0000000
1000001
.....................
11111163
0 = DIP switch is OFF
1 = DIP switch is ON
Setting the baud rate
The 3-pole DIP switch allows for setting the transmission baud rate.
DIP-1DIP-2DIP-3Baud rate
0
) and ending
5
).
1
2
2
2
3
2
4
2
2
Address
5
00X125 kBaud
10X250 kBaud
01X500 kBaud
11X125 kBaud
X = don't care
0 = DIP switch is OFF
1 = DIP switch is ON
Bus termination
The recommended method for connecting DeviceNet products is to
run a “trunk line” with 120-ohm resistors connected at each end.
DeviceNet products are then connected as “drops” along the length of
the trunk line. In this configuration, the internal termination resistor
of the 842D should not be used and the bus termination DIP switches
should be in the OFF position.
When 842D encoders are connected in a “daisy chain” configuration,
the internal termination resistor may be used on the end positions only. In this configuration, only 842D(s) at either end of the network
should have their bus termination 2-pole DIP switches placed in the
ON position. Further details on termination resistors can be found in
publication DN-6.7.2 DeviceNet Cable System Planning and
Installation Manual.
ATTENTION: If you do not use terminating resistors
as described here and in publication DN-6.7.2, the
!
DeviceNet system will not operate properly.
Configuring the DeviceNet Encoder DIP Switches3-3
Figure 3.2Bus Termination Switches
ON
2
1
Bus Termination
1 and 2 OFF: not active
1 and 2 ON: active
Note: Remote setting of the DIP switches via a Node Commissioning
Tool is not supported at this time.
Diagnostic LED
Once the DIP switches have been properly set, the 842D may be
connected to a DeviceNet network. LED functions are as follows:
LEDStatus
OffNot connected, not on line
Green BlinkingActive but not allocated by master
Green SteadyActive and allocated by master
Red BlinkingMinor fault and/or connection interrupt
Red SteadyCritical communication fault
Preset function
The 842D ‘POSITION VALUE’ is set to zero when the PRESET
function is executed (by Reset Position Button or DeviceNet). This
predefined value is stored in the EEPROM. The factory default
PRESET value is zero.
ATTENTION: The PRESET function results in a
change of position reading. This can cause unexpected
!
The PRESET function is not intended for use in dynamic parameter
setting operations but as an electronic adjustment function during
commissioning, in order to allocate a specific value to the mechanical
rotary position of the 842D.
motion which could result in personal injury and damage
to the product or equipment. During PRESET, steps
should be taken to ensure the shaft is stationary and will
remain so.
If the PRESET value is set by DeviceNet, the value must be within
the total working range currently configured (steps per revolution and
number of revolutions).
The Reset Position Button should only be operated when the encoder
is powered and the green LED is blinking or steady.
3-4Configuring the DeviceNet Encoder DIP Switches
Notes:
Loading...
+ 40 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.