DeviceNet Scanner Module
DeviceNet Scanner Module
Specifications 39
Before you install your module you must know how to:
Throughout this publication, notes may be used to make you This equipment is supplied as "open type"
aware of safety considerations. The following annotations and equipment. It must be mounted within an
their accompanying statements help you to identify a potential enclosure that is suitably designed for those
hazard, avoid a potential hazard, and recognize the specific environmental conditions that will
consequences of a potential hazard: be present and appropriately designed to
Identifies information about practices or prevent personal injury resulting from
accessibility to live parts. The interior of the
WARNING circumstances that can cause an explosion
enclosure must be accessible only by the
in a hazardous environment, which may
use of a tool. Subsequent sections of this
lead to personal injury or death, property
publication may contain additional
Prevent Electrostatic .
Discharge
This equipment is sensitive to electrostatic discharge
ATTENTION
which can cause internal damage and affect normal
operation. Follow these guidelines when you handle
! this equipment:
• touch a grounded object to discharge potential
static
• wear an approved grounding wrist strap
• do not touch connectors or pins on component
boards
• do not touch circuit components inside the
equipment
• if available, use a static-safe workstation
• when not in use, store the equipment in
appropriate static-safe packaging
Where to Find More The following table describes related documentation. To order a copy
or to view or download an online version, visit The Automation
Information Bookstore at:
www.theautomationbookstore.com
Module Compatibility and The 1771-SDN/C DeviceNet Scanner Module is fully compatible with
the Series A and Series B versions. You can use the Series C version as
Maintenance Requirements a spare or replacement module with one requirement: you must
change the postion of Switch 5 to the off or “0” position in the
Configuration switchbank as shown below:
Cyclic I/O
Pass-Through
External Module Use the drawing below to identify the features of the 1771-SDN/C and
B versions of the Scanner Module.
Features
Multi-position Switches-
use to set the data rate, chassis addressing mode
and scanner node address for each channel.
Channel 1 & 2
Node Address Switch Settings
CHANNEL 2
Allen-Bradley
1771-SDN
20274 20275
Front of Module Left Side of Module
Multi-position Switches-
use to set the data rate, chassis addressing mode
and scanner node address for each channel.
20274 20275
Front of Module Left Side of Module
To use the new features of this release, the scanner module requires
the latest EDS file for RSNetWorx for DeviceNet software. If the
software displays the device as an “unknown device”, you must
download the current EDS file.
http://www.ab.com/networks/eds
1. Select DeviceNet
3. Select Search
Hardware Requirements
You can use the following chassis with the 1771-SDN Scanner Module:
• Local I/O Chassis with only the PLC processor running in the
leftmost slot
If you have the previous release of firmware and you want to upgrade
it to this release, you must perform the ControlFLASH update. To get
the kit, contact Rockwell Automation Technical Support at
440.646.5800. To install the kit, refer to the ControlFLASH Firmware
Upgrade Kit User Manual, publication 1756-6.5.6.
Before you install your module you must set the following switches:
Set the Data Rate Switches To set the DeviceNet data rate switches for Channels 1 and 2:
for Channels 1 and 2 1. Locate the switchbank labeled “Channel 1” on the left side of the
module.
2. Use the table below to determine the data rate you want to set
for “Channel 1.” Record your choice in the fourth column.
Channel 1 and 2
Switch Position Note Your
Data Rate
1 2 Data Rate
125K baud 0 0
250K baud 0 1
500K baud 1 0
Not allowed 1 1
For example, if you want to set DeviceNet data rate of 500K baud for
Channel 1, then you set switch 2 to an off or “0” position and switch 1
20276
to an on or “1” position.
500K 1 0
4. Repeat steps 1-3 to set the DeviceNet data rate for Channel 2,
using the switchbank labeled “Channel 2’. Adjust the switches to
your desired data rate setting.
Configuration
Set the I/O Chassis To set the I/O chassis addressing mode switches:
Addressing Mode Switches
Chassis Address 1. Locate the switchbank labeled “Configuration” on the left side of
the module.
20277
Set Node Address For more information about addressing, refer to your PLC processor
system level installation manual and design manual.
Switches for Channels
1 and 2 To set the scanner DeviceNet node address:
1. Locate the switchbank labeled “Channel 1”, on the left side of
Channel 1
the module.
2. Use the following table to determine the node address you want
Node Address
to set for the module on Channel 1, and note your choice. The
address range is 0 to 63.
3. Using a ball point pen or similar object, adjust switches 3
through 8 to your desired node address settings. Slide the
switches up to denote an on or “1” position. Slide the switches
down to denote an off or “0” position.
20276
4. Using a ball point pen or similar object, adjust switches 3
through 8 to your desired node address settings. Slide the
switches up to denote an on or “1” position. Slide the switches
down to denote an off or “0” position.
5. Repeat steps 1–3 to set the scanner node address for Channel 2,
using the switchbank labeled “Channel 2”. Adjust the switches to
your desired node address setting.
Install Your Module into Before you insert the module into the chassis, set all switches in
accordance with the requirements of your networks. You must set the
the Chassis switches before you install the the 1771-SDN Scanner Module or it will
not function properly.
1. Select a slot for the module in the chassis. You may use any slot
except the leftmost slot, which is reserved for the PLC processor.
The 1771-SDN Scanner Module is slotted in two places on the Position the keying bands in the backplane connectors to
rear edge of the circuit board. These slots are intended to correspond to the key slots on the module.
mate with the plastic keying bands supplied with the I/O
chassis. I/O chassis keying bands
2
4
2 6
8
4
10
6 12
14
8
16
10 18
20
22
24
26
28
Place the keying bands:
I/O chassis between 2 and 4
backplane connector between 22 and 24 19808
Scanner module
You can change the position of these bands if subsequent system design and
rewiring makes insertion of a different type of module necessary.
3. Insert the 1771-SDN Scanner Module into the slot you have
selected.
Locking Bar
20278
4. Apply firm, even pressure to seat the module in the I/O chassis
backplane connectors.
5. Swing the locking bar down until locked in place to make sure
that you have secured the module in the slot.
Locking Bar
20279
20298
Front of Scanner Module
Red DeviceNet
White
Drop Line
Bare (shield)
Blue
Black
Five-Pin
Header
20298
How Your Module The 1771-SDN scanner module uses four methods to transfer data,
status and command information between the scanner and the PLC-5:
Communicates with the
PLC-5 Processor • DIO points for high-speed discrete outputs
These inputs and outputs will appear in the PLC I/O image table in
the location corresponding to the rack, group and slot the module is
plugged into. Since the bits are in the I/O table, they can be forced.
Program Your PLC-5 You must program your PLC-5 processor so it communicates with the
1771-SDN Scanner Module. Communication is possible when you
Processor program your processor through multiple block transfer instructions.
The scanner uses the size of the block transfer to map the block
transfer data words into the scanner’s internal data table. The scanner
module accepts blocks of different sizes and knows that each block
has a different meaning.
PLC-5 block transfer instructions use one integer file in the data table
section for module location and other data to execute the instruction.
This is the control block file. The block transfer data file stores data
that you want to transfer to your module (when programming a block
transfer write (BTW)) or from your module (when programming a
block transfer read (BTR)). The address of the block transfer data file
is stored in the control block file.
You must select a separate data file for each of the block transfer
instructions. You must also use separate 5-word block transfer
To make sure the instruction is reset after the block transfer completes
and recycles, you must use enable bits as the conditions on each rung
with the PLC-5. The following figure shows a PLC-5 sample program.
BTR
Precondition BT10:0 BT10:5.EN BLOCK TRANSFER READ EN
Rack 3
EN EN Group 2
Module 0 DN
BTR BTW
enable bit enable bit Control Block BT10:0
Data file N11:0 ER
Length 62
Continuous NO
BTW BTR
enable bit enable bit BTW
Precondition BT10:5.EN BT10:0 BLOCK TRANSFER WRITE EN
Rack 3
EN EN Group 2
DN
Module 0
Control Block BT10:5
Block-transfer rungs must be scanned for the transfers to occur. The Data file N11:62 ER
preconditions allow time-driven or event-driven transfers. Length 62
Continuous NO
When using rungs like those in the preceding figure, the processor
alternates between the BTR and the BTW, waiting to request the next
block transfer until the previous block transfer is completed. When
only one block transfer is active at a time, it is considered a
single-threaded block transfer. Single-threaded block transfers operate
in an orderly sequence of read and write, however, they are slower
than the asynchronous method, shown below:
BTR
Precondition BT10:0 BLOCK TRANSFER READ EN
Rack 3
EN Group 2
Module 0 DN
BTR
enable bit Control Block BT10:0
Data file N11:0 ER
Length 62
Continuous NO
BTW
enable bit BTW
Precondition BT10:5.EN BLOCK TRANSFER WRITE EN
Rack 3
EN Group 2
DN
Module 0
Control Block BT10:5
Block-transfer rungs must be scanned for the transfers to occur. The Data file N11:62 ER
preconditions allow time-driven or event-driven transfers. Length 62
Continuous NO
Accessed
Block
Scanner Output Scanner Output Data Table
Transfer Size
Block DeviceNet Messages
Word 0 – Module Command Register Word
62 words Block 62
Words 1–61
61 words Block 61 Words 62–122
60 words Block 60 Words 123–182
59 words Block 59 Words 183–241
58 words Block 58 Words 242–299
57 words Block 57 Words 300–356
1-50 words Block 1-50 Words 0-49
The first word of the BTW downloaded from the PLC-5 to block 62 is
reserved as the module command register. The register is downloaded
with every 1 through 50 and 62 word block transfer write. This
modifies the scanner’s operation.
The PLC-5 uploads input data from the scanner using block transfer
read instructions over the 1771 backplane. The scanner interprets
BTRs of length 1 through 50 and 62 words as being from the first
block of the scanner input table. The scanner module can update a
maximum of 357 input words by internally linking together six
different sized block transfers. See the table below.
Accessed
Block
Scanner Scanner Input Data Table
Transfer Size
Input Block DeviceNet Messages
Word 0 – Module Status Register Word
62 words Block 62
Words 1–61
61 words Block 61 Words 62–122
60 words Block 60 Words 123–182
59 words Block 59 Words 183–241
58 words Block 58 Words 242–299
57 words Block 57 Words 300–356
52 words Block 52 Device Failure Table
51 words Block 51 Device Active Table
1-50 words Block 1-50 Words 0–49
You may upload portions of the scanner input table rather than the
entire table, to support higher-speed operations. The scanner will
interpret any BTR of length 1 through 50 with the words 0 thru 49 of
block 62 of the scanner input table. BTRs of sizes 57 through 61
represent full blocks of the table. A BTR of 52 words contains the
Device Failure Table. Sizes 53 through 56 are reserved. Size 64 is used
for Explicit Message Program Control. For more details on Explicit
Message Program Control, refer to page 26.
Bits 6 and 7 indicate that you should read the device failure table for
more specific information about which devices failed. Bits 8 and 9
indicate that you should read the device autoverify table to determine
which device has incorrect device keying or a misconfigured data size
in the scanner configuration tables. Use the DeviceNetManager
software to correct this error.
You can use bits 6 and 7 of the Module Status Register to enable
the scanner module’s Module Command Register to react to certain
conditions. An example reaction to a condition is to keep the
communication ports in the “idle” mode until the bits clear.
When the bits clear, this indicates that all devices on the networks are
operational. When the devices are operational, you can put the ports
in the “run” mode, so that output data goes to the devices.
If a device failure is detected, you can put the communication into the
“idle” mode, so that all devices would go into their idle state. You may
tie these inputs to the Module Command Register, so that you may use
them to adjust the operating mode of the scanner when devices fail or
go online at startup.
The following table lists Module Status Register bit numbers and their
descriptions.
If a bit is set, it indicates that the node is in the scanner’s scan list and
has successfully communicated with the scanner. These bits are not
cleared if the slave node goes off-line. The bits are cleared by
resetting the scanner.
Configure Your Module for To operate your 1771-SDN Scanner Module, you must configure the
two tables listed below, using RSNetworx for DeviceNet software. For
the DeviceNet Network additional information, refer to your RSNetworx documentation or
online help and your 1771-SDN Scanner Configuration Manual
(publication number 1771-UM118C-EN-P).
9. Insert scanner module into the I/O chassis and apply power.
Use the Explicit Message Use the Explicit Message Program Control feature to configure device
parameters on your DeviceNet network via the ladder logic program
Program Control Feature in the PLC-5 processor that is controlling these devices.
Master’s Explicit
Request
DeviceNet trunk line
DeviceNet
drop line
Slave’s Explicit
Response 1203-GK5
Communication 1305 AC
Adapter drive
Transaction Body
(29 words)
word 31
Each of the data attributes in the transaction header are one byte in
length:
For each upload, the status code provides the processor with status on
the device and its response:
15 0
• TXID (transaction ID) – when you create and download a
TXID cmd/status word 0
request to the scanner, the processor’s ladder logic program
Transaction
port size word 1
assigns a TXID to the transaction. This is a one-byte integer in
Header
(3 words) service MAC ID word 2
the range of 1 to 255. The scanner uses this value to track the
transaction to completion, and returns the value with the
response that matches the request downloaded by the
Transaction Body processor. The ladder logic program monitors rollover and
(29 words) usage of TXID values.
Format of 64-word Block Transfer Write Format of 64-word Block Transfer Read
for Explicit Message Request for Explicit Message Response
15 0 15 0
TXID command word 0 TXID status word 0
Transaction Transaction
Header port size Header port size
(3 words) service MAC ID (3 words) service MAC ID
Class
Instance
Attribute (optional)
Transaction #1 Transaction #1
word 31 word 31
TXID command word 32 TXID status word 32
Transaction Transaction
Header port size Header port size
(3 words) (3 words)
service MAC ID service MAC ID
Class
Instance
Attribute (optional)
Transaction #2 Transaction #2
Service Response Data
Service Data
word 63 word 63
BTW
Request Request Scanner
Transaction Transaction Request
Block Blocks Queue
Execute
DeviceNet
Ladder Scans Process Requests Explicit Message Slave
and Responses Requests and Device
Responses
Done or
Error-detected
Error codes have two bytes of data. The first byte is a General Error
Code and the second is an optional Additional Code Field that may
contain additional information about the error. If this field is unused,
the value 0FFH is shown. The following table describes explicit
messaging error codes.
Troubleshoot Your Module The bicolor (green/red) module status indicator displays device status.
It indicates whether the device has power and is functioning properly.
The following information applies when operating this Informations sur l’utilisation de cet équipement en
equipment in hazardous locations: environnements dangereux :
Products marked “CL I, DIV 2, GP A, B, C, D” are Les produits marqués "CL I, DIV 2, GP A, B, C, D" ne
suitable for use in Class I Division 2 Groups A, B, C, D, conviennent qu’à une utilisation en environnements de
Hazardous Locations and nonhazardous locations only. Classe I Division 2 Groupes A, B, C, D dangereux et non
Each product is supplied with markings on the rating dangereux. Chaque produit est livré avec des marquages
nameplate indicating the hazardous location sur sa plaque d’identification qui indiquent le code de
temperature code. When combining products within a température pour les environnements dangereux.
system, the most adverse temperature code (lowest “T” Lorsque plusieurs produits sont combinés dans un
number) may be used to help determine the overall système, le code de température le plus défavorable
temperature code of the system. Combinations of (code de température le plus faible) peut être utilisé
equipment in your system are subject to investigation by pour déterminer le code de température global du
the local Authority Having Jurisdiction at the time of système. Les combinaisons d’équipements dans le
installation. système sont sujettes à inspection par les autorités
locales qualifiées au moment de l’installation.
EXPLOSION HAZARD RISQUE D’EXPLOSION
WARNING • Do not disconnect equipment AVERTISSMENT • Couper le courant ou s’assurer
unless power has been removed que l’environnement est classé
!
or the area is known to be non dangereux avant de
nonhazardous.
• Do not disconnect connections to
this equipment unless power has
been removed or the area is
! débrancher l'équipement.
• Couper le courant ou s'assurer
que l’environnement est classé
non dangereux avant de
known to be nonhazardous. débrancher les connecteurs. Fixer
Secure any external connections tous les connecteurs externes
that mate to this equipment by reliés à cet équipement à l'aide
using screws, sliding latches, de vis, loquets coulissants,
threaded connectors, or other connecteurs filetés ou autres
means provided with this moyens fournis avec ce produit.
product. • La substitution de composants
• Substitution of components may peut rendre cet équipement
impair suitability for Class I, inadapté à une utilisation en
Division 2. environnement de Classe I,
• If this product contains batteries, Division 2.
they must only be changed in an • S’assurer que l’environnement est
area known to be nonhazardous. classé non dangereux avant de
changer les piles.
Specifications
Module Location 1771-A1B through -A4B or later I/O chassis
Module Defaults Node Address – 63
Baud Rate – 125 Kbits/s
Power Consumption
- Backplane Current 5Vdc, 0.8A
- DeviceNet1 24Vdc, 50mA per channel Class 2
Isolation Voltage Optical Isolation between backplane and DeviceNet channel,
tested to withstand 500Vac for 60 seconds
1 Megohm resistor from DeviceNet channel to chassis
Operating Temperature IEC 60068-2-1 (Test Ad, Operating Cold),
IEC 60068-2-2 (Test Bd, Operating Dry Heat),
IEC 60068-2-14 (Test Nb, Operating Thermal Shock):
0-60oC (32–140oF)
Storage Temperature IEC 60068-2-1 (Test Ab, Un-packaged Non-operating Cold),
IEC 60068-2-2 (Test Bc, Un-packaged Non-operating Dry Heat),
IEC 60068-2-14 (Test Na, Un-packaged Non-operating Thermal
Shock):
–40 to 85oC (–40 to 185oF)
Relative Humidity IEC 60068-2-30 (Test Db, Un-packaged Non-operating
Damp Heat):
5–95% non condensing
Vibration IEC60068-2-6 (Test Fc, Operating):
2g @10–500Hz
Shock IEC60068-2-27:1987, Test Ea (Unpackaged shock, ES#002)
Operating - 30g
Non-operating - 50g
Emissions CISPR 11:
Group 1, Class A
ESD Immunity IEC 61000-4-2:
4kV contact discharges
Radiated RF Immunity IEC 61000-4-3:
10V/m, 3V/m Broadcast Bands, with 1kHz sine-wave 80% AM
from 30MHz to 1000Mhz
EFT/B Immunity IEC 61000-4-4:
+2kV at 5kHz on communications ports
Surge Transient Immunity IEC 61000-4-5:
+2kV line-earth(CM)
on signal ports
Conducted RF Immunity IEC 61000-4-6:
10Vrms with 1kHz sine-wave 80%AM from 150kHz
to 30MHz
Enclosure Type Rating None (open style)
Wiring
- Type 1771-CD
- Category2 2
10-pin Linear Plug
- Torque 5-7 pound-inches
- Catalog Number 1787-PLUG10R
Dimesions (HxWxD) 270 x 30 x 170mm (10.6 x 1.2 x 6.7 inches)
Weight 0.9kg (1.9lb)
1To remain compliant with UL/CSA certification, the DeviceNet power supply must meet NEC Class 2
requirements.
2
Use this conductor category information for planning conductor routing as described in publication
1770-4.1, Industrial Automation Wiring and Grounding Guidelines.
PLC, PLC-2, PLC-3, PLC-5 and RSLogix 5, RSNetWorx for DeviceNet and RSLinx are trademarks of
Rockwell Automation.
DeviceNet is a trademark of the Open DeviceNet Vendor Association.
Windows is a trademark of Microsoft Corporation.