DeviceNet To
SCANport
Communication
Module with
Digital Inputs
Catalog Number 2100-GK61
Firmware 2.xxx
User Manual
Important User Information Because 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.
death, property damage, or economic loss.
Publication 2100-UM001B-EN-P – January 2001
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.
•An overview of the DeviceNet to SCANport Communication
Module with Digital Inputs.
•The purpose of this manual.
•Terms and abbreviations.
•Conventions used in this manual.
•Rockwell Automation support.
Who Should Use this Manual?Use this manual if you are responsible for installing, wiring,
programming, or troubleshooting control systems that use th e
DeviceNet to SCANport Communication Module with Digital Inputs.
This manual is intended for qualified service personnel responsible
for setting up and servicing the DeviceNet to SCANport
Communication Module with Digital Inputs. 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 DeviceNet to
SCANport Communication Module with Digital Inputs. It describes
the procedures needed to install, configure, and troubleshoot th e
adapter.
Related Publications
TitlePublication Number
1771-SDN Scanner Configuration Manual1771-6.5.118
DeviceNet Scanner Configuration Manual1747-6.5.2
DeviceNet Cable System Planning and Installation
Manual
DN-6.7.2
Publication 2100-UM001B-EN-P – January 2001
P-2Using this Manual
Safety PrecautionsPlease read the following safety precautions carefully.
ATTENTION: Only personnel familiar with
SCANport products and associated machinery should
!
plan or implement the installation, start-up,
configuration, and subsequent maintenance of the
DeviceNet to SCANport Communication Module with
Digital Inputs. Failure to comply may result in personal
injury and/or equipment damage.
Terms and AbbreviationsThe following terms and abbreviations are specific to this product.
For a complete listing of Allen-Bradley terminology, refer to the
Allen-Bradley Industrial Automation Glossary, Publication AG-7.1.
TermsDefinition
DeviceNetAn open network that provides probabilistic I/O control
through a managed bit-wise non-destructive multiplexing
scheme.
SCANportA standard peripheral communications interface for various
Allen-Bradley drives and power products.
SCANport
Peripheral
SCANport
Product
Digital InputON-OFF input voltages of 230Vac, 115Vac, or
RSNetWorx,
RSLinx,
RSLogix,
RSLogix500
A device that provides an interface between SCANport and
a network. It is often referred to as an adapter. For example,
the DeviceNet to SCANport Communication Module with
Digital Inputs is a SCANport peripheral.
A device that uses the SCANport communications interface
to communicate with one or more peripheral devices. For
example, a motor drive such as a 1336 PLUS is a SCANport
product.
24Vdc.
Rockwell Software products which provide communication to
a wide range of applications. Refer to
http://www.software.rockwell.com for more information.
Publication 2100-UM001B-EN-P – January 2001
Using this ManualP-3
Conventions Used in this
The following conventions are used throughout this manual:
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 SupportRockwell 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.
Publication 2100-UM001B-EN-P – January 2001
P-4Using this Manual
Publication 2100-UM001B-EN-P – January 2001
Table of Contents
Important User Information . . . . . . . . . . . . . . . . . . . . . . . . . . .2
Chapter ObjectivesChapter 1 provides an overview of your DeviceNet to SCANport
Communication module with Digital Inputs. In this chapter, you will
read about the following:
•Function of the 2100-GK61 module.
•Features of the 2100-GK61 module.
•SCANport products.
•Parts and hardware of the 2100-GK61 module.
•Steps for setting up the adapter.
•Required tools and equipment.
Overview of the
Communication Adapter
Figure 1.1
2100-GK61 Module
2100-GK61 Module
2100-GK61 Module - Front View
The 2100-GK61 module mounts on a panel and connects to the
SCANport product via a SCANport cable. Digital inputs of 230Vac,
115Vac, or 24Vdc are connected to the adapter via discrete wires. The
voltage level used for the digital inputs is set via a dip switch SW1.
2100-GK61 Module - Top View
Publication 2100-UM001B-EN-P – January 2001
1-2Overview
The communications adapter provides an electronic communications
interface between a DeviceNet network and any single SCANport
product.
Figure 1.2
Example of 2100-GK61 Modules Connecting SCANport Produ ct s
to DeviceNet
1336 PLUS
1305
SMC Dialog Plus
DeviceNet
In Figure 1.2, a SCANport cable connects a 2100-GK61 module to a
SCANport product through a port on the SCANport product. A
DeviceNet cable co nn ec ts the module to the DeviceNet network. The
module then translates the DeviceNet messages into SCANport
messages that can be understood by the connected product.
The adapter is also capable of connecting to four (4) common switch
inputs. These inputs can monitor status of disconnect switches, starter
and contactor auxiliary contact, relays, push buttons, or any ON-OFF
device capable of switching 230Vac, 115Vac, or 24Vdc.
Publication 2100-UM001B-EN-P – January 2001
Overview1-3
Figure 1.3
Example of 2100-GK61 Module Connecting Digital Inputs
Features of the Communication
Adapter
In Figure 1.3, discrete wiring connects up to four (4) digital inputs to
the 2100-GK61 module. A DeviceNet cable connects the module to
the DeviceNet network and a SCANport cable connects a SCANport
product to the module. The contact status is then translated into a
DeviceNet message that can be used to control SCANport devices
attached to the module or other devices on the DeviceNet network.
The 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, simple operator
interfaces, and drives.
The 2100-GK61 module lets you connect your SCANport products to
a DeviceNet network. This adapter features the following:
•Flash upgradeability allows for field updates in the event of
changes to the adapter’s firmware.
Publication 2100-UM001B-EN-P – January 2001
1-4Overview
•COS (Change of State) capability lets you customize this device’ s
activity on the network by configuring the adapter to report only
new data.
•Cyclic operation lets you customize the devices’s activity on the
network by configuring the adapter to report its data at specific
intervals.
•Polled operation allows you to customize the device’s activity on
the network to respond only after the scanner sends control data.
•Peer I/O capabilities let the drive’s I/O (logic command,
reference, logic status, feedback and datalinks) be broadcast to or
received from other drives connected via 1203-GU6, 1336-GM6
or 2100-GK61 adapters.
•Software configuration lets you configure the adapter using
RSNetWorx for DeviceNet.
•Faulted Node Recovery lets you change an item, such as a node
address of a device, even when it is faulted on the network.
•User-configurable fault response pro vides the ability to customize
the adapter’s actions to communication errors.
•A Module Status LED helps to diagnose network, module, and
SCANport product health.
•Monitor and report status of four (4) individual digital inputs.
Publication 2100-UM001B-EN-P – January 2001
Overview1-5
SCANport ProductsSome SCANport products support one peripheral; others support up
to six peripherals. The table below lists SCANport products, the
number of peripherals each supports, the minimum and maximum I/O
words, and the type of adapter that can be used.
Number of
Product
1305 AC MICRO Drive5010Yes
1336 IMPACT™ Drive6
1336 PLUS AC Drive6
1336 PLUS II Drive6
1336 FORCE™ Drive6
1394 AC Mult-Axis Motion
Control System
SMC Dialog Plus102Yes
SMP-3 Smart Motor Protector202Yes
1397 Digital DC Drive5010Yes
1557 Medium Voltage Drive5010Yes
➀Lower horsepower products may not support a sixth peripheral. Refer to your user manual to verify that your
product supports a sixth peripheral.
Peripherals
Supported
➀010Yes
➀010Yes
➀010Yes
➀010Yes
5010Yes
I/O WordsAdapter Use
MinimumMaximum2100-GK61
Important: To connect multiple peripherals to a SCANport product,
a port expander may be required. Refer to your product’s
documentation for more information.
Important: If you intend to use datalinks to communicate with and
control your SCANport product, verify that your SCANport product
supports datalinks before enabling them in the adapter.
Publication 2100-UM001B-EN-P – January 2001
1-6Overview
Hardware and Parts
Description
2100-GK61 Module Hardware
Figure 1.4 illustrates and the following table lists the main parts of the
2100-GK61 DeviceNet to SCANport communication module with
Digital Inputs:
Figure 1.4
Parts of the 2100-GK61 Module
1
2
3
4
6
7
5
NumberPartDescription
1Panel mountAttach module to sub-panel through mounting holes.
2SCANport
Connection
3Digital Input
Connector
4Bi-Color LEDsIndicate the status of the DeviceNet media channel, of the SCANport con-
5DeviceNet Con-
nection
6Input Status LEDsIndicate the ON-OFF status of the digital inputs.
7SW1Set to match the digital input voltage applied of 230Vac, 115Vac, or 24Vdc.
Provides a standard SCANport 8-pin circular mini-DIN connector for the
SCANport cable.
Allows connection of switched 230Vac, 115Vac, or 24Vdc inputs to module.
The 6-pin plug-in connector (PIN 192 929) is supplied with the module.
nection, and of the module. For more information, refer to Chapter 7, Trou-bleshooting.
Provides a 10-pin Phoenix connector to attach the module to the DeviceNet
network. The 10-pin plug-in connector (PIN 94220605) is supplied with the
module.
Publication 2100-UM001B-EN-P – January 2001
Overview1-7
Overview of Setting Up the
Adapter
To set up the DeviceNet to SCANport Communication Module with
Digital Inputs, you must perform the following tasks:
1. Install the module. Refer to Chapter 2, Installation.
2. Set the adapter’s node address and configure the adapter’s
parameters. Refer to Chapter 3, Configuring the DeviceNet to
SCANport Communication Module with Digital Inputs.
3. Configure a scanner (either PLC or SLC) to communicate with
the Adapter. Refer to Chapter 4 , Configuring a Scanner to Communicate with the Adapter.
4. If necessary, create a ladder logic program to control the
SCANport product. Refer to Chapter 5, Ladder Logic Programming—Including Reading Inputs.
Required Tools and EquipmentTo install and configure a 2100-GK61 module, you need the
following:
•DeviceNet to SCANport Communication Module with Digital
Inputs (2100-GK61).
•10-pin plug-in DeviceNet connector (supplied with module).
•Appropriate cables for SCANport and DeviceNet connections.
Refer to the Selecting Cables section in Chapter 2, Installation.
•6-pin plug-in Input connector (supplied with module).
•#10 hardware for attaching module to a panel.
•A PC that is:
–Running RSNetWorx.
–Connected to and communicating with the DeviceNet
network using a 1784-PCD card or a 1770-KFD adapter.
–Running RS Linx.
–Running RSLogix5 (if using PLC) or RSLogix500 (if using
SLC).
Important: Refer to http://www.software.rockwell.com for more
information on these software products.
Publication 2100-UM001B-EN-P – January 2001
1-8Overview
Publication 2100-UM001B-EN-P – January 2001
Chapter 2
Installation
Chapter ObjectivesChapter 2 provides the information that you need to install the
2100-GK61 module. In this chapter, you will read about the
following:
•Required tools and equipment.
•Selecting cables.
•Installing the adapter.
•Removing the adapter.
Installing a 2100-GK61 ModuleFollow these procedures to install a 2100-GK61 module.
Required Tools and Equipment
To install your 2100-GK61 module, you will need the following tools
and equipment:
•DeviceNet to SCANport Communication Module with Digital
Inputs(2100-GK61).
•A 6-pin and 10-pin plug-in connector (supplied with module).
•Screwdriver or nutdriver and mounting screws (#10).
•Appropriate cables for SCANport and DeviceNet connections.
Refer to the “Selecting Cables” section below.
Selecting Cables
To connect the 2100-GK61 to the SCANport product and the
DeviceNet network, you must select an appropriate DeviceNet cable
and Allen-Bradley SCANport cable. Use the following information to
select appropriate cables for each connection.
Publication 2100-UM001B-EN-P – January 2001
2-2Installation
SCANport Cables
When selecting the SCANport cable to connect the 2100-GK61
module to the SCANport product, you need to:
•Use an Allen-Bradley SCANport cable. Refer to the table below.
•Use less than 10 meters (33 feet) of cable between the SCANport
product and adapter.
•Keep SCANport cables away from high power cables to guard
against introducing noise into your system.
DeviceNet Cables
The 2100-GK61 module comes with a 10-pin (dual row 5-pin)
connector. This connector is used to wire the module for both single
drops, when only one side of each terminal is used, or to daisy chain
devices together when both sides of the terminals are used. A drop
line connects a node such as a 2100-GK61 module in the DeviceNet
cable system to the DeviceNet trunk.
Before connecting modules to the network, you must determine if
your network is within limits of the cable system. Class 1 cables are
rated 600 volts, 8 amps. Class 2 cables are rated 300 volts, 4 amps.
The cables in the chart below can be used for Trunk or Drop
applications. When used for Trunk, length limits must be observed.
Cable TypePart NumberDat a Rates
125 Kbps250 Kbps500 Kbps
Class 1 Flat1485C-P1-E75420m (1378 ft.)200m (656 ft.)75m (246 ft.)
Class 2 Thick Round1485C-P1-A50500m (1640 ft.)250m (820 ft.)100m (328 ft.)
Class 2 Thin Round1485C-P1-C50100m (328 ft.)100m (328 ft.)100m (328 ft.)
Publication 2100-UM001B-EN-P – January 2001
Class 1 round drop cable is recommended for connections between
devices and Class 1 Trunk. Maximum drop length is 6m (20 ft.)
Cumulative Drop Budget is based on Data Rate.
125 Kbps250 Kbps500 Kbps
156m (512 ft.)78m (256 ft.)39m (128 ft.)
Installation2-3
Class 1 Drop Cable is available in three spool sizes:
For more information on DeviceNet cables and cable systems, refer to
the DeviceNet Cable System Planning and Installation Manual,
Publication DN-6.7.2.
Input Wires
Choose a suitable wire to handle 230Vac, 115Vac, or 24Vdc voltage,
depending on installation. The input connector is capable of installing
12-24AWG wire.
Installing the DeviceNet to SCANport Communication
Module with Digital Inputs (2100-GK61)
The following instructions explain how to physically install your
DeviceNet to SCANport Communication Module with Digital Inputs.
ATTENTION: Severe injury or death can result from
electrical shock, burn, or unintended actuation of controlled
!
equipment. Hazardous volta ges may exist in the cabinet even
with the circuit breaker in the off position. Recommended
practice is to disconnect and lock out control equipment from
power sources and discharge stored ener g y in capacitors, if
present. If it is necessary to work in the vicinity of energized
equipment, the safety related work practices of NFPA 70E,
Electrical Safety Requirements for Employee Workplaces,
must be followed.
ATTENTION: DO NOT work alone on energized
equipment!
1. Before installing the module, set the Digital Input selection
switch SW1 to the proper input voltage per the table below.
VIN
#1#2
230VacOFFOFF
SW1
115VacOFFON
24VdcONOFF
Publication 2100-UM001B-EN-P – January 2001
2-4Installation
SW1 is accessed through the plastic cover on the 2100-GK61
module as show in Figure 2.1
ATTENTION: To guard against possible
component damage, assure that Dip Switch
!
SW1 is set for the correct input voltage used
in the system before power is applied to the
module.
Publication 2100-UM001B-EN-P – January 2001
Installation2-5
Figure 2.1
Dip Switch Access - Side View of 2100-GK61 Module
1
2
Dip Switch Location
2. Determine a suitable mounting location within a desired location
close to its interconnecting devices and /or components.
A TTENTION: The 2100-GK61 module is an open
panel device and must be mounted inside a suitabl e
!
When choosing a suitable mounting location, allo w 1.0” (2.54cm)
clearance from the front of the module to the door of the enclosure or other devices. This clearance is needed for DeviceNet wiring harness/bend radius.
enclosure.
Publication 2100-UM001B-EN-P – January 2001
2-6Installation
Mount the module to the panel with #10 hardware as detailed in
Figure 2.2.
Figure 2.2
Mounting Dimensions
Digital Input
Connector
DeviceNet
Connector
Publication 2100-UM001B-EN-P – January 2001
Installation2-7
3. Remove power from the network.
4. Insert the DeviceNet cable wires into the 10-pin connector . Mak e
sure you follow the color key next to the connector receptacle on
the module.
ATTENTION: If you wire the 10-pin header after
you’ve connected it to the module, static control
!
precautions are required. Device malfunction may occur
if you do not follow ESD control procedures. If yo u are
not familiar with static control procedures, refer to
Allen-Bradley Publication 8000-4.5.2, Guarding Against Electrostatic Damag e, or other applicable ESD
protection handbook.
Figure 2.3
DeviceNet Connections
10-pin Dual Row
DeviceNet Connection
Color Key
1 - Red - V+
2 - White-CAN_H
3 - Shield
4 - Blue-CAN_L
5 - Black- V-
Front View of 2100-GK61 Module
Publication 2100-UM001B-EN-P – January 2001
2-8Installation
5. Plug the connector into the module.
A TTENTION: Danger of electrical shock exists if
power is not disconnected to Digital Input Devices.
!
Verify power is removed before proceeding.
6. Connect the Digital Inputs to the Digital Input six (6) pin connec-
8. Connect the SCANport cable to the communications adapter and
then to the SCANport product.
Figure 2.5
SCANport Connection
Installation2-9
SCANport Cable
9. Reapply power to the DeviceNet network.
10. If necessary, apply power to the connected SCANpo rt product
and to the Digital Inputs.
Publication 2100-UM001B-EN-P – January 2001
2-10Installation
Your 2100-GK61 module is now installed. The SCANport LED is
green. The network and module LEDs are blinking green. If your
module’s LEDs are different, refer to Chapter 7, Troubleshooting, for
more information.
You must now edit the adapter’s node address, and you may want to
edit some of its other parameters. Refer to Chapter 3 for more
information.
Removing the DeviceNet to SCANport
Communication Module with Digital Inputs
(2100-GK61)
T o remo ve the De viceNet to SCANport Communication Module with
Digital Inputs, you need to:
1. Disconnect Input Power from Digital Inputs.
ATTENTION: Electrical shock hazard exists if
power is not disconnected to Digital Input Devices.
!
Verify power is removed before proceeding.
2. Remove the SCANport cable from the SCANport product and
then from the module.
3. Unplug the 10-pin DeviceNet connector from the module.
4. Unplug the 6-pin Digital Input connector from the module.
5. Remove the module from the panel.
Publication 2100-UM001B-EN-P – January 2001
Chapter 3
Configuring the DeviceNet to
SCANport Communication Module
with Digital Inputs
Using RSNetWorx for DeviceNet
Chapter ObjectivesChapter 3 provides information that you need to configure the
2100-GK61 module over the DeviceNet network. In this chapter, you
will read about the following:
•Factory-default settings for the module.
•RSNetWorx software.
•Equipment necessary to use RSNetWorx software.
•Editing the 2100-GK61 adapter’s parameters using RSNetWorx
software.
Factory Default Settings for the
2100-GK61
This section assumes you have experience using RSNetWorx
software to configure a DeviceNet network.
The factory-default settings of the DeviceNet to SCANport
Communication Module with Digital Inputs include the following:
•16-bit Logic Command/Status enabled for polling.
•16-bit Reference/Feedback enabled for polling.
•If the scanner is put into program mode or the network faults, the
SCANport product will be faulted by the module. (Firmware
must be version 2.080 or above. Earlier firmware versions are
flash upgradeable. Consult the factory.)
•A node address of 63.
•DeviceNet autobaud detection enabled.
Publication 2100-UM001B-EN-P – January 2001
3-2Configuring the DeviceNet to SCANport Communication Module with Digital Inputs
You should change the node address by editing the DN Node Address
(2) parameter. Note: The number in ( ) following the parameter name
corresponds to the parameter number as found in Appendix B,
DeviceNet to SCANport Communication Module with Digital Inputs
Parameters. You must change the autobaud detection if no other
devices on your DeviceNet network have a fixed data rate by editing
DN Data Rate (3) parameter in the module.
Important: Refer to Appendix B, DeviceNet to SCANport
Communication Module with Digital Inputs Parameters, for
information on changing the node address or data rate.
If you wish to change other functions (e. g., Fault Con figurable in puts)
or add more functions (e.g., datalinks), you must edit the adapter’s
parameters. To do so, refer to:
•Appendix B, DeviceNet to SCANport Communication Module with Digital Inputs P arameter s, for detailed information about the
adapter’s parameters.
•Instructions in this chapter on using RSNetW orx for De viceNet to
edit parameters.
What is RSNetWorx for
DeviceNet?
Required Equipment and
Software
RSNetWorx for DeviceNet is a Windows application that lets you
configure DeviceNet networks. Using a graphical representation of
your network, you can configure network-wide parameters and the
network-wide schedule.
After installing or mounting the adapter, you can use RSNetWorx for
DeviceNet to configure or edit the adapter’s parameters.
Before configuring or editing your adapter’s parameters, your PC
must be:
•Running RSNetWorx for DeviceNet. Refer to
http://www.software.rockwell.com for more information on this
product.
•Connected to and communicating with the DeviceNet netw o rk
using a 1784-PCD card, a 1784-PCID card, a 1784-PCID5 card,
or a 1770-KFD adapter running with RSLinx. Refer to
http://www.software.rockwell.com for more information on the
RSLinx product. Refer to http://www.ab.com/products.html for
more information on “DeviceNet Network, ” under “Networks and
Communication Products.”
Publication 2100-UM001B-EN-P – January 2001
Configuring the DeviceNet to SCANport Communication Module with Digital Inputs3-3
Using RSNetWorx to Edit Your
Adapter’s Parameters
The following instructions describe how to use RSNetWorx for
DeviceNet in online mode to edit your adapter’s parameters.
1. Use RSLinx to configure the DeviceNet drivers for your system
using the Configure Drivers option in the Communications
menu.
2. Start RSNetWorx for DeviceNet. The RSNetWorx for DeviceNet
screen appears as seen in Figure 3.1.
Figure 3.1
RSNetWorx for DeviceNet Screen
3. In the Network menu, select Online, or click on the Online icon
as indicated in Figure 3.2.
4. The Browse Network screen appears asking to select which
network you wish to go online with. Select the DeviceNet
network desired and click on OK.
Publication 2100-UM001B-EN-P – January 2001
3-4Configuring the DeviceNet to SCANport Communication Module with Digital Inputs
Figure 3.2
Online Screen
Step #3
Step #4
5. The network will be scanned and the screen will build the online
configuration as shown in Figure 3.3.
Figure 3.3
RSNetWorx Graphical View
Publication 2100-UM001B-EN-P – January 2001
In Figure 3.3, Node 00 is scanner, Node 62 is the PC, and Node 63 is
the module we are configuring.
Your module appears as Node 63 by default. If you have changed its
node address parameter and reset the module, its new node address
will appear on the screen.
Configuring the DeviceNet to SCANport Communication Module with Digital Inputs3-5
Important: If the module does not appear:
–Verify there is an EDS file for the device. Refer to “Creating
an EDS file for your SCANport Product” in Chapter 4,
Configuring a Scanner to Communicate with the
Adapter.
–Verify that the device has a unique node address. Check the
network LED on the module. If it is red, it is not an unique
address. You must configure the module in a point-to-point
connection.
6. Double-click the icon for the 2100-GK61 module. (In our
example, it is node 63 in Figure 3.3.)
The DeviceNet Configuration screen appears for the selected device.
The screen has three tabs to choose from: General, Device
Parameters, and EDS I/O Default.
The General tab allows you to give the device a name and add a
description for the device. These names and descriptions will be used
to represent and describe the product throughout RSNetWorx for
DeviceNet.
Step #7
The DeviceNet Parameters and EDS I/O Default tabs allow you to
see the parameters and configuration of the device selected.
7. Click on the Device Parameters tab . A dialog box req uesting to
upload or download the de vice’s parameters appears. Click on the
Upload button to upload the parameters from the module. The
screen listing all the device’s parameters appears. In this example
the 2100-GK61 is configured with an SMP3 device.
Figure 3.4
Device Parameters, all
Publication 2100-UM001B-EN-P – January 2001
3-6Configuring the DeviceNet to SCANport Communication Module with Digital Inputs
8. Click on the Groups pull-down arrow and select DeviceNet
Module. The display changes, listing only the parameters
associated with the 2100-GK61.
Figure 3.5
Device Parameters, Module Only
Step #8
Step #9
Step #11
Step #10
9. Double click on the parameter(s) you wish to edit. Change the
data to the desired value (refer to Appendix B for acceptable
values for each parameter). A lock icon indicates that the
parameter is read-only and cannot be changed.
10. Click on the Download to Device button to save the changes
made to the module.
Important: It may be necessary to reset the adapter for the changes
to take effect. Refer to Appendix B to see if the parameter you
changed required the module to be reset in order to take effect.
11. Click on the OK button to return to the graph screen.
Publication 2100-UM001B-EN-P – January 2001
Chapter 4
Configuring a Scanner to
Communicate with the Adapter
Chapter ObjectivesChapter 4 provides instructions for configuring your scanner to
communicate with the 2100-GK61 module. This allows the product
connected to the adapter to be an active node on the DeviceNet
network. In this chapter, you will read about the following:
•RSNetWorx for DeviceNet software.
•Equipment and software needed for the configuration.
•Configuring a PLC, SLC, or ControlLogix scann er to
communicate with the adapter.
This chapter assumes you have experience using RSNetWorx for
DeviceNet to configure a DeviceNet network.
What is RSNetWorx for
DeviceNet?
Required Equipment and
Software
RSNetWorx for DeviceNet is a Windows application that lets you
configure DeviceNet networks. Using a graphical representation of
your network, you can configure network-wide parameters and the
network-wide schedule.
After installing and configuring the DeviceNet to SCANport
Communication Module with Digital Inputs, you can use RSNetW orx
for DeviceNet to configure the scanner to recognize and communicate
with it.
For more information on RSNetWorx for DeviceNet, refer to the
RSNetWorx for DeviceNet online help.
Before configuring the scanner, your PC must be:
•Running RSNetWorx for DeviceNet. Refer to
http://www.software.rockwell.com for more information on this
product.
•Connected to and communicating with the DeviceNet network
using a 1784-PCD card, a 1784-PCID card, a 1784-PCID5 card,
or a 1770-KFD adapter running with RSLinx. Refer to
http://www.software.rockwell.com for more information on the
RSLinx product. Refer to http://www.ab.com/products.html for
more information on “DeviceNet Network” under “Networks an d
Communication Products.”
Publication 2100-UM001B-EN-P – January 2001
4-2Configuring a Scanner to Communicate with the Adapter
Getting StartedFor the scanner on the DeviceNet network to transmit control I/O
and/or messages to the adapter, you must first configure it to
recognize and communicate with the adapter.
The following instructions describe how to use RSNetWorx for
DeviceNet to configure a new DeviceNet network in online mode.
The main steps in the configuration are:
•Using online mode in RSNetWorx for DeviceNet.
•Downloading an EDS file for your SCANport product (if
necessary).
•Configuring the PLC scanner or SLC scanner.
Using Online Mode in
RSNetWorx for DeviceNet
Although you can configure the DeviceNet network offline, it is
easier to configure the network online because you can see a
graphical representation of your network in RSNetWorx for
DeviceNet. The following directions explain how to use online mode.
1. Start RSLinx to configure the DeviceNet Drivers for your
system, using the Configure Drivers option in the
Communications menu.
2. Start RSNetWorx for DeviceNet. The RSNetW orx for DeviceNet
screen appears.
Figure 4.1
RSNetWorx for DeviceNet Screen
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-3
3. In the Network menu, select Online, or click on the Online icon
as indicated in Figure 4.2.
4. The Browse Netw ork screen appears, requesting specif ication of
which network you wish to go online with. Select the DeviceNet
network desired and click on OK.
Figure 4.2
Online Screen
Step # 3
Step # 4
5. The network will be scanned and the screen will build the online
configuration as shown in Figure 4.3.
Figure 4.3
Online Graphical View
Important: In our example, our module is Node 3. It has a
Unrecognized Device icon, and the error code lists it as an
unregistered device, so we will need to download an EDS file for it.
Publication 2100-UM001B-EN-P – January 2001
4-4Configuring a Scanner to Communicate with the Adapter
You are now in online mode. You must check to see if you need an
EDS file for the device you are adding. Refer to the “Download an
EDS file for Your SCANport product” selection in this chapter.
Downloading an EDS File for
Your SCANport Product
Each DeviceNet product has a unique EDS file based on electrical
ratings, I/O, and DeviceNet-to-SCANPort communication interface
(if used). For IntelliCENTER software or RSNetWorx to function
properly, a matching EDS file must be registered on the PC or laptop
connected to DeviceNet network.
•An Electronic Data Sheet (EDS) is a simple file format that
includes the device’s configurable parameters.
•There is a unique EDS file for each size of E3, each type of DSA,
and every combination of GK61 and connected ScanPort Product
(Drive, SMC, SMP-3).
•EDS files can be used by network tools (such as RSNetworx for
DeviceNet) to read or set device parameters.
•Each vendor is required to supply the configuration information.
The vendor must also supply an EDS file to successfully pass
conformance testing.
1. To get information about an unregistered Device in RSNetworx
for DeviceNet, double-click the icon.
Figure 4.4
Unrecognized Device in RSNetWorx
Publication 2100-UM001B-EN-P – January 2001
Step #1
Configuring a Scanner to Communicate with the Adapter4-5
2. An Unrecognized Device screen appears. The device identity can
be obtained from this screen. Included in the example shown in
Figure 4.4 are Vendor Code (1), Device Code (122), Product
Code (20), and Major Revision Code (1).
RSNetWorx Information Screen for Unrecognized Device
Step #2
3. EDS files are available for download at the Allen-Bradley web
site http://www.ab.com/networks/eds. There is a unique EDS
(Electronic Data Sheet) file for each size of E3, each type of
DSA, and every combination of 2100-GK61 and connected
SCANPort Product (Drive, SMC, or SMP-3).
Publication 2100-UM001B-EN-P – January 2001
4-6Configuring a Scanner to Communicate with the Adapter
4. In the example below, a search is being performed for an EDS file
for a 1336 drive with 2100-GK61. The procedure involves (1)
selecting Smart MCC for the device type 2100-GK61, (2)
entering at least a portion of the catalog numbers, and (3) clicking
on Search.
Figure 4.5
EDS Search for 1336 Drive with 2100-GK61
Step #4
5. The next example displays an EDS search for an SMP-3 SolidState Overload Relay with 2100-GK61. The procedure involves
(1) selecting Smart MCC for the device type 2100-GK61, (2)
entering SMP-3 for the product name, and (3) clicking on
Search.
Figure 4.6
EDS Search for SMP-3 with 2100-GK61
Step #5
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-7
6. The search results display nine different EDS files available for a
combination of an SMP-3 with a 2100-GK61. The correct one
can be selected based on SMP-3 current range.
Figure 4.7
EDS Search Results for SMP-3 with 2100-GK61
7. By clicking on Rockwell Automation/Allen-Bradley next to the
chosen product description in Figure 4.8, an EDS File Details
screen appears (Figure 4.9). The example for a “1336 Drive”
provides file detail and a file download button. After clicking on
the Download File button, do wnload the EDS f ile to a temporary
directory on your PC’s hard drive.
Figure 4.8
EDS File Details and Download Button
Publication 2100-UM001B-EN-P – January 2001
4-8Configuring a Scanner to Communicate with the Adapter
8. To register the EDS file, start EDS Wizard from the toolbar in
RSNetWorx for DeviceNet.
Figure 4.9.
EDS Wizard in RSNetWorx for DeviceNet
Step #8
9. Select Register an EDS file(s).
Figure 4.10
Registering an EDS File
Step #9
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-9
10. A single EDS file or a directory of EDS f iles may be registered as
illustrated here. After selecting file or directory, click Next to
continue.
Figure 4.11
Registering an EDS File
Step #10
11. EDS files are evaluated for errors. Click Next to continue.
Figure 4.12
EDS File Validity Test
Step #11
Publication 2100-UM001B-EN-P – January 2001
4-10Configuring a Scanner to Communicate with the Adapter
12. The Change Icon screen now appears. Here you will be able to
select an icon that best represents the connected devices for the
graph presentation of the network.
13. Select the device description yo u wish to change. In this e xample,
we click on the test “SMP-3 via 2100-GK61.” Click the Change icon button.
Figure 4.13
Change Icon Screen
Step #13
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-11
14. Pictures of various icons appear. Select the icon by clicking on
the one which best represents your device.
Figure 4.14
Icon Options
15. Click Next to complete EDS file registration.
Figure 4.15
Final Task Summary Screen
Step #15
Publication 2100-UM001B-EN-P – January 2001
4-12Configuring a Scanner to Communicate with the Adapter
16. Click Finish.
Figure 4.16
EDS Installation Complete Screen
Step #16
17. The program updates the EDS directory registry for the computer
and redraws the graphical representation of the device with the
new icon as shown.
Figure 4.17
Updated Online Screen
Step #17
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-13
18. Registered EDS files are stored on a PC’s hard drive under
c:\Program Files\Rockwell Software\RS Common\Eds. A typical
location is shown here.
Figure 4.18
PC Hard Drive Directory Example
tep 18
Additional EDS detail can be viewed by opening the file with a text
editor such as WordPad. EDS identifiers are in decimal within the
body of the EDS document. RSNetWorx for DeviceNet also uses
decimal IDs (1 122 1026 4). (Refer to the example in Figure 4.20.)
The equivalent EDS file name is in hexadecimal
(0001007A04020400.eds).
Figure 4.19
EDS File Detail
Publication 2100-UM001B-EN-P – January 2001
4-14Configuring a Scanner to Communicate with the Adapter
A scientific calculator, such as the one in Windows, can be used to
convert decimal to hexadecimal and v.s. In the example, 122 is
entered in the calculator with Dec button selected. When the Hex
button is chosen, the display changes to 7A.
1 122 1026 4 ID code in decimal = 0001 007A 0402 0400 in
hexadecimal.
Figure 4.20
Windows Scientific Calculator Used for Conversion
Figure 4.21
Device Configuration Screen
Step #19
Important: This screen allows you to edit any of the parameters in
the SMP or adapter itself. Refer to Chapter 3, Configuring the DeviceNet to SCANport Communication Module with Digital Inputs,
for information on editing parameters.
Publication 2100-UM001B-EN-P – January 2001
19. Click on the Cancel button. The online screen appears.
Once all your devices have registered EDS files for RSNetWorx to
Configuring a Scanner to Communicate with the Adapter4-15
use, do one of the following.
Configuring a Scanner
To configure the scanner, you verify its properties, add d e vi ces on the
network to its scan list, and determine how the scanner will
communicate (e.g., polling) with each device. Follow these
directions:
If Using:Refer To:
PLC Scanner (1771-SDN)Configuring a PLC Scanner (1771-SDN) to
Communicate with the Adapter on page 4-15
SLC Scanner (1747-SDN)Configuring an SLC Scanner (1747-SDN) to
Communicate with the Adapter on page 4-23
ControlLogix Scanner (1756DNB)
RSNetworx for DeviceNet to
edit parameters.
Configuring a PLC Scanner
(1771-SDN) to Communicate
with the Adapter
Configuring a ControlLogix Scanner (1756-DNB) to
Communicate with the Adapter on page 4-30
Chapter 3, Configuring the DeviceNet to SCANport
Communication Module with Digital Inputs
The following instructions describe how to configure a PLC scanner
on a DeviceNet network.
For the PLC to recognize your device, you must do the following:
•Configure the PLC scanner.
•Map your adapter to the PLC scanner (1771-SDN).
1. In the Online screen, double-click on the scanner icon. The
1771-SDN Scanner Module properties and configuration screen
appears.
Publication 2100-UM001B-EN-P – January 2001
4-16Configuring a Scanner to Communicate with the Adapter
Figure 4.22
1771-SDN Configuration Dialog Box
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-17
The dialog box contains 6 data tabs which are used to configure
various portions of the scanner. The General tab allows the user to
edit the name and descriptions of the scanner . The Module tab allo ws
the user to configure the scanner setup properties. The Scanlist tab
allows the user to choose which components the scanner will scan for
data. The Input and Output tab is where the user sets up where the
data from the scanned devices is kept to be used by the PLC
processor. Finally, the Summary tab allows the user to view a concise
summary of how the scanner has been configured.
2. On the General page, place the cursor in the name field and type
the name you want to assign the scanner. If you want to add a
description to the scanner, place the cursor in the description f ield
and enter a description. Click on the Apply button to save the
information.
3. Click on the Module tab. A dialog box will appear requesting to
upload or download information from the scanner. Click on
Upload. All the scanlist information currently stored in the
scanner will be uploaded. Once the upload is complete, the
Module screen will appear.
Figure 4.23
1771 SDN Module Screen
Step #4
Verify the default values listed on this page. Edit them as necessary.
Refer to RSNetworx for DeviceNet online help for more information.
4. Click Apply to save.
Publication 2100-UM001B-EN-P – January 2001
4-18Configuring a Scanner to Communicate with the Adapter
5. Click on the Scanlist tab so that the Scanlist page appears.
Figure 4.24
Scanlist Screen
6. Select the available devices you wish to add to the scan list.
Verify that the Automap on Add box is checked. This will map
the devices into the scanner’ s memory automatically when added.
Refer to the RSNetWorx for DeviceNet help menu for additional
information on automapping. Once a device is selected, click on
the Add (>) or Add All (>>) button.
Step #6
Figure 4.25
Scanlist Configuration Screen
Step #6
Step #7
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-19
7. Modify each device’s I/O parameters if needed. Select the device
and click on the Edit I/O Parameters button. The I/O Parameters
dialog screen appears.
Figure 4.26
I/O Configuration Edit Screen
Publication 2100-UM001B-EN-P – January 2001
4-20Configuring a Scanner to Communicate with the Adapter
8. Make the changes as necessary. You must configure your PLC
based on how your adapter’s parameters are configured and how
you want your module to send and receiv e data from the netw ork.
Refer to the following table:
If Using:Refer To:
PolledPolled Allocation on page B-5.
COS (Change of State)COS (Change of State) Allocation on page B-7.
CyclicCyclic Allocation on page B-8.
Polled and COSPolled and COS Allocation on page B-10.
Polled and CyclicPolled and Cyclic Allocation on page B-11.
9. Click OK to return to the Scanlist screen.
10. Click on the Apply button. A dialog box appears asking if you wish to download the changes to the device. Click on Yes.
Important: If the processor is not in Program mode, a dialog box
will appear stating which mode the processor is in. Clicking on the
OK button returns the Scanlist screen without
information to the processor. You must now place the processor in
program mode and repeat the apply function.
downloading any
11. Click on the Input tab to view the input table map. From this
screen you can customize the arrangement of the scanner’s data
table. Refer to the RSNetWorx online help for additional
information.
Figure 4.27
Input Data Table Map Screen
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-21
12. Click on the Output tab to view the output table map. From this
screen you can customize the arrangement of the scanner’s data
table. Refer to the RSNetWorx online help for additional
information.
Figure 4.28
Output Data Table Map Screen
Publication 2100-UM001B-EN-P – January 2001
4-22Configuring a Scanner to Communicate with the Adapter
13. Click on the Summary tab. This screen provides the user with a
concise summary of how the scanner has been configured. Note:
all of the information that appears on this page is read-only . If you
want to change any of the parameters, you have to edit them on
the appropriate property page.
Figure 4.29
Summary Screen
14. Click on the OK button. You are returned to the online screen.
15. To save the information just entered to your computer, select
Save As under the File menu.
16. Select a path to store the information.
17. Enter a file name and click on Save.
Figure 4.30
“Save As” Dialog Screen
Step #17
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-23
Your device is now configured on the DeviceNet network. The
network LED on the module is solid green. If it is not, refer to
Chapter 7, Troubleshooting, for more information.
Refer to Chapter 5, Ladder Logic Programming—Including Reading Inputs, for information on creating a PLC Ladder Logic Program.
Configuring an SLC Scanner
(1747-SDN) to Communicate
with the Adapter
The following instructions describe how to conf igure an SLC scanner
on a DeviceNet network.
For the SLC to recognize your device, you must do the following:
•Configure the SLC Scanner.
•Map your adapter to the SLC (1747-SDN).
Configuring an SLC Scanner
To configure the scanner, you verify its properties, add d e vi ces on the
network to its scan list, and determine how the scanner will
communicate (e.g., polling) with each device. Follow these
directions:
1. In the Online screen, double-click on the scanner icon. The
1747-SDN Scanner Module properties and configuration screen
appears.
Figure 4.31
1747-SDN Configuration Dialog Box
The dialog box contains six data tabs which are used to configure
various portions of the scanner. The General tab allows the user to
edit the name and descriptions of the scanner . The Module tab allo ws
the user to configure the scanner setup properties. The Scanlist tab
Publication 2100-UM001B-EN-P – January 2001
4-24Configuring a Scanner to Communicate with the Adapter
allows the user to choose which components the scanner will scan for
data. The Input and Output tabs are for setting up where the data
from the scanned devices is kept for use by the SLC processor.
Finally , the Summary tab allows the user to view a concise summary
of how the scanner has been configured.
2. On the General page, place the cursor in the name field and type
the name you want to assign the scanner. If you want to add a
description to the scanner, place the cursor in the d escription field
and enter a description. Click on the Apply button to save the
information.
3. Click on the Module tab. A dialog box will appear requesting to
upload or download information from the scanner. Click on
Upload. The scanlist information currently stored in the scanner
will be uploaded. Once the upload is complete, the Module
screen will appear.
Figure 4.32
1747-SDN Module Configuration Screen
Step #4
Verify the default values listed on this page. Edit them as necessary.
Refer to RSNetWorx for DeviceNet online help for more information.
4. Click Apply to save.
5. Click on the Scanlist tab so that the Scanlist page appears.
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-25
6. Select the available de vices you wish to add to the Scanlist. Verify
that the Automap on Add box is checked. This will map the
devices into the scanner’s memory automatically when added.
Refer to the RSNetWorx for DeviceNet help menu for additional
information on automapping. Once a device is selected, click on
the Add (>) or Add All (>>) button.
Figure 4.34
Scanlist Configuration Screen
Step #7
Publication 2100-UM001B-EN-P – January 2001
4-26Configuring a Scanner to Communicate with the Adapter
7. Modify each device’s I/O parameters if needed. Select the device
and click on the Edit I/O Parameters button. The I/O Parameters
dialog screen appears.
Figure 4.35
I/O Configuration Edit Screen
8. Make the changes as necessary. You must configure your PLC
based on how your adapter’s parameters are configured and how
you want your module to send and receiv e data from the netw ork.
Refer to the following table.
If Using:Refer To:
PolledPolled Allocation on page B-5.
COS (Change of State)COS (Change of State) Allocation on page B-7.
CyclicCyclic Allocation on page B-8.
Polled and COSPolled and COS Allocation on page B-10.
Polled and CyclicPolled and Cyclic Allocation on page B-11.
9. Click OK to return to the Scanlist screen.
10. Click on the Apply button. A dialog box appears asking if you wish to download the changes to the device. Click on Yes.
Important: If the processor is not in Program mode, a dialog box
will appear stating which mode the processor is in. Clicking on the
OK button returns you to the Scanlist screen without
downloading
any information to the processor. You must now place the process in
program mode and repeat the apply function.
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-27
11. Click on the Input tab to view the input table map. From this
screen you can customize the arrangement of the scanner’s data
table. Refer to the RSNetWorx online help for additional
information.
Figure 4.36
Input Data Table Mapping Screen
Publication 2100-UM001B-EN-P – January 2001
4-28Configuring a Scanner to Communicate with the Adapter
12. Clicking on the Advanced button moves to the advance memory
mapping screen. From this screen you can specify where to map
the data to.
13. Selecting the Memory Arrow under the Map To: allows you to
select Discrete or M File Memory. This example leaves the
mapping in discrete memory.
Figure 4.37
Advanced Mapping Screen
Step #13
14. Click on the Output tab to view the output table map. From this
screen you can customize the arrangement of the scanner’s data
table. Refer to the RSNetWorx online help for additional
information.
Figure 4.38
Output Data Table Mapping Screen
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-29
15. Click on the Summary tab. This sc reen provides the user with a
concise summary of how the scanner has been configured. Note:
all of the information that appears on this page is read only . If you
want to change any of the parameters, you have to edit them on
the appropriate property page.
Figure 4.39
Summary Screen
16. Click on the OK button. You are returned to the online screen.
17. To save the information just entered, select Sav e As under the
File menu.
18. Select a path to store the information.
19. Enter a file name and click on Save.
Publication 2100-UM001B-EN-P – January 2001
4-30Configuring a Scanner to Communicate with the Adapter
Figure 4.40
“Save As” Dialog Screen
Step #19
Step #19
Configuring a ControlLogix
Scanner (1756-DNB) to
Communicate with the Adapter
Your device is now configured on the DeviceNet network. The
network LED on the module is solid green. If it is not, refer to
Chapter 7, Troubleshooting, for more information.
Refer to Chapter 5, Ladder Logic Programming—Including Reading Inputs, for information on creating a Ladder Logic Program.
The following instructions describe how to configure a ControlLogix
scanner on a DeviceNet network.
For the ControlLogix to recognize your device, you must do the
following:
•Configure the ControlLogix scanner.
•Map your adapter to the ControlLogix scanner (1756-DBN).
To configure the scanner, you verify its properties, add d e vi ces on the
network to its scan list, and determine how the scanner will
communicate (e.g., polling) with each device. Follow these
directions:
1. In the Online screen, double-click on the scanner icon. The
1756-DBN Scanner Module properties and configuration screen
appears.
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-31
Figure 4.41
1756-DBN Configuration Dialog Box
Publication 2100-UM001B-EN-P – January 2001
4-32Configuring a Scanner to Communicate with the Adapter
The dialog box contains six data tabs which are used to configure
various portions of the scanner. The General tab allows the user to
edit the name and descriptions of the scanner . The Module tab allows
the user to configure the scanner setup properties. The Scanlist tab
allows the user to choose which components the scanner will scan for
data. The Input and Output tab is where the user sets up where the
data from the scanned devices is kept for use by the PLC processor.
Finally , the Summary tab allows the user to view a concise summary
of how the scanner has been configured.
2. On the General page, place the cursor in the name field and type
the name you want to assign the scanner. If you want to add a
description to the scanner, place the cursor in the d escription field
and enter a description. Click on the Apply button to save the
information.
3. Click on the Module tab. A dialog box will appear requesting to
upload or download information from the scanner. Click on
Upload. All the scanlist information currently stored in the
scanner will be uploaded. Once the upload is complete, the
Module screen will appear.
Figure 4.42
1756-DBN Module Screen
Verify the default values listed on this page. Edit them as necessary.
Refer to RSNetworx for DeviceNet online help for more information.
Publication 2100-UM001B-EN-P – January 2001
4. Click Apply to save.
Configuring a Scanner to Communicate with the Adapter4-33
5. Click on the Scanlist tab so that the Scanlist page appears.
Figure 4.43
Scanlist Screen
6. Select the available de vices you wish to add to the scanlist. Verify
that the Automap on Add box is checked. This will map the
devices into the scanner’s memory automatically when added.
Refer to the RSNetWorx for DeviceNet help menu for additional
information on automapping. Once a device is selected, click on
the Add (>) or Add All (>>) button.
Figure 4.44
Scanlist Configuration Screen
Publication 2100-UM001B-EN-P – January 2001
4-34Configuring a Scanner to Communicate with the Adapter
7. Modify each device’s I/O parameters if needed. Select the device
and click on the Edit I/O Parameters button. The I/O Parameters
dialog screen appears.
Figure 4.45
I/O Configuration Edit Screen
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-35
8. Make the changes as necessary. You must configure your PLC
based on how your adapter’s parameters are configured and how
you want your module to send and receiv e data from the netw ork.
Refer to the following table:
If Using:Refer To:
PolledPolled Allocation on page B-5.
COS (Change of State)COS (Change of State) Allocation on page B-7.
CyclicCyclic Allocation on page B-8.
Polled and COSPolled and COS Allocation on page B-10.
Polled and CyclicPolled and Cyclic Allocation on page B-11.
9. Click on OK to return to the Scanlist screen.
10. Click on the Apply button. A dialog box appears asking if you wish to download the changes to the device. Click on Yes.
Important: If the processor is not in Program mode, a dialog box
will appear stating which mode the processor is in. Clicking on the
OK button returns the Scanlist screen without
downloading any
information to the processor. You must now place the processor in
program mode and repeat the apply function.
11. Click on the Input tab to view the input table map. From this
screen you can customize the arrangement of the scanner’s data
table. Refer to the RSNetWorx online help for additional
information.
Figure 4.46
Input Data Table Map Screen
Publication 2100-UM001B-EN-P – January 2001
4-36Configuring a Scanner to Communicate with the Adapter
12. Click on the Output tab to view the output table map. From this
screen you can customize the arrangement of the scanner’s data
table. Refer to the RSNetWorx online help for additional
information.
Figure 4.47
Output Data Table Map Screen
Publication 2100-UM001B-EN-P – January 2001
Configuring a Scanner to Communicate with the Adapter4-37
13. Click on the Summary tab. This screen provides the user with a
concise summary of how the scanner has been configured. Note:
all of the information that appears on this page is read-only. If you
want to change any of the parameters, you have to edit them on
the appropriate property page.
Figure 4.48
Summary Screen
14. Click on the OK button. You are returned to the online screen.
15. T o sa ve the information just entered to your computer , select Save
As under the File menu.
16. Select a path to store the information.
17. Enter a file name and click on Save.
Figure 4.49
“Save As” Dialog Screen
Publication 2100-UM001B-EN-P – January 2001
4-38Configuring a Scanner to Communicate with the Adapter
Publication 2100-UM001B-EN-P – January 2001
Chapter 5
Ladder Logic Programming—
Including Reading Inputs
Chapter ObjectivesChapter 5 provides information needed to create the PLC, SLC, or
ControlLogix Ladder Logic program that the controller will use to
transmit control I/O and messages to and from the SCANport
product. In this chapter, you will read about the following:
•Equipment and software needed to create either a PLC or SLC
ladder logic program.
•PLC, SLC, and ControlLogix ladder logic programs.
•Creating a PLC, SLC, or ControlLogix ladder logic program.
This chapter assumes you are familiar with the hardware components
and programming procedures necessary to operate DeviceNet and
SCANport devices, including the following:
•PLC-5, SLC-500, or ControlLogix.
•1771-SDN, 1747-SDN, or 1756-DNB scanner.
•Ladder programming.
•RSLogix5 (for PLC-5), RSLogix500 (for SLC-5/02 through SLC
5/05), and RSLogix 5000 (for ControlLogix).
You may need to refer to the documentation associated with these
products to create a ladder logic program.
Required EquipmentBefore creating a ladder logic program for the PLC, SLC, or
ControlLogix, your PC must be:
•Running RSLogix5 and RSLinx if using a PLC. Refer to
http://www .software.rockwell.com for more information on these
products.
•Running RSLogix500 and RSLinx if using an SLC. Refer to
http://www .software.rockwell.com for more information on these
products.
•Running RSLogix5000 and RSLinx if using a ControlLogix.
Refer to http://www .software.rockwell .com for more information
on these products.
•Connected to and communicating with the DeviceNet network
using a 1784-PCD card, 1784-PCID card, 1784-PCID5 card, or a
1770-KFD adapter.
What is RSLogix?RSLogix5 (for the PLC-5), RSLogix500 (for the SLC-5/03), and
RSLogix5000 (for ControlLogix) software let you create the ladder
logic programs you need and download them to the processor. They
also let you monitor the program as the processor is using it.
For more information on RSLogix5, RSLogix500, or RSLogix5000,
consult the respective software’s documentation.
A PLC, SLC, or ControlLogix ladder logic program lets you control
the drive and the messaging from the processor to the drive. Figure
5.1 shows how the I/O image table for a DeviceNet scanner relat es to
the 1336 PLUS drive when a DeviceNet to SCANport
Communication Module with Digital Inputs is used.
Figure 5.1
I/O Image Table
SCANport
2100-GK61
Enhanced DeviceNet
Word 0 Logic Command
Word 1 Reference
Word 2 Datalink A1
Word 3 Datalink A2
Word 4 Datalink B1
Word 5 Datalink B2
Word 6 Datalink C1
Word 7 Datalink C2
Word 8 Datalink D1
Word 9 Datalink D2
1336 PLUS Drive
Logic Command
Block
Reference
Data In A1
Data In A2
Data In B1
Data In B2
Data In C1
Data In C2
Data In D1
Logic Status
Feedback
Data Out A1
Data Out A2
Data Out B1
Data Out B2
Data Out C1
Data Out C2
Data Out D1
Data Out D2
Message Handler
Input
Mapping
(Read)
Message
Handler
Word 0 Logic Status
Word 1 Feedback
Word 2 Datalink A1
Word 3 Datalink A2
Word 4 Datalink B1
Word 5 Datalink B2
Word 6 Datalink C1
Word 7 Datalink C2
Word 8 Datalink D1
Word 9 Datalink D2
Message
Buffers
Important: Datalinks are optionally enabled in the adapter and configured in the product. Refer to
Chapter 3, Configuring the DeviceNet to SCANport Communication Module with Digital Inputs, and
your product’s user manual for more information.
The following are e xample la dder log ic prog rams for an SMP-3 solid state overload relay.
ATTENTION: The example ladder logic program
shown in this manual is intended solely for purpose of
!
Important: Refer to the user manual for your SCANport product for
specific I/O definitions. Different SCANport products have different
Logic Command, Logic Status, Reference, and Feedback I/O
interpretations.
example. Because 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 example shown in this
publication.
This provides the drive status
information that will be sent to
the logic controller’s input image table when the
Communication Module is set
to control the drive.
Bit 15Bit 13Bit 12Bit 11Bit 10Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
This information provides the
control logic information that is
sent to the drive through the
logic controller’s output image
table when the Communication
Module is set to control the
drive.
Bit 15Bit 13Bit 12Bit 11Bit 10Bit 9 Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0Bit 14
The following example uses a PLC-5, a 1771-SDN DeviceNet
scanner, and a 2100-GK61 to control a 1305, 1336 PLUS, or 1336
PLUS II drive.
The example program shows how to obtain status information from
the drive and how to control it (e.g., starting the drive, stopping th e
drive, jogging the dri ve, sending reference, and clearing fa ults). When
you understand this example, you should be able to customize the
program to fit your application needs.
The example assumes that there is an operator’s station wired to an
I/O module in slot zero of module group zero of rack zero.
Important: You may want to verify a device has not failed using
word 0 of block transfer 62 before sending control data. If a device
has failed, use block transfer 52 to find out which device failed. Refer
to the 1771-SDN DeviceNet Scanner Module Manual, Publication
1771-5.14, for more information.
Figure 5.2
Example PLC Ladder Logic Program
The scanner gathers drive status information via DeviceNet.
The Block Transfer Read in this rung then moves the drive status data from the scanner to the PLC’s N9 data file.
BT20:0
EN
BTR
BTR
Block Transfer Read
Module Type Generic Block Transfer
Rack000
Group0
Module0
Control BlockBT20:0
Data FileN9:0
Length62
ContinuousNo
EN
DN
ER
0001
0002
0003
Rungs 0001 through 0003 move the drive status from the Block Transfer Read data file to an operator display.
Figure 5.3
Example PLC Ladder Logic Program (continued)
This rung enables the scanner.
0004
Rungs 0005 through 0009 move the operator’s inputs from the operator station to the Block Transfer Write data file
where they will be sent to the scanner and out to the drive via DeviceNet.
Operator Input
Drive Start
Command Bit
0005
0006
0007
0008
0009
I:000
10
Operator Input
Drive Stop
Command Bit
I:000
11
Operator Input
Drive Jog
Command Bit
I:000
12
Operator Input
Drive Clear Faults
Command Bit
I:000
13
1771-SDN Scanner
Port A Enable
1305 Drive
CLEAR FAULT
Command Bit
1305 Drive
REFERENCE
Command Word
MOV
MOV
Move
SourceN21:0
0<
DestN10:2
0<
N10:0
0
1305 Drive
START
Command Bit
N10:1
1
1305 Drive
STOP
Command Bit
N10:1
0
1305 Drive
JOG
Command Bit
N10:1
2
N10:1
3
The Block Transfer Write in this rung send the drive command data to the scanner and out to the drive via DeviceNet.
0010
0011
BT20:0
EN
BTW
BTW
Block Transfer Write
Module Type Generic Block Transfer
Rack000
Group0
Module0
Control BlockBT20:1
Data FileN10:0
Length62
ContinuousNo
EN
DN
ER
END
The following table represents the control file for the block transfers.
In the following programming example, a PLC is used to read the
inputs of a 2100-GK61 and control the outputs of an SMP-3
electronic overload relay.
PLC Code:
Rung 0 enables scanner; Rungs 1 and 2 are Block
Transfer Read & Write. SMP-3 Output A is turned OFF when I:001/0
in Rung 3 is momentarily turned ON. SMP-3 output B is turned OFF
when I:001/1 in Rung 4 is momentarily turned ON.
PLC Code: SMP-3 is RESET when I:001/4 in Rung 5 is turned ON.
SMP-3 Output A is turned ON when I:001/3 in Rung 6 is
momentarily turned ON. SMP-3 output B is turned ON when I:001/4
in Rung 7 is momentarily turned ON. Rungs 8-11 read GK61 inputs
and turn on respective LED in SIM card located in PLC Chassis Slot
The following example uses an SLC-5/03, a 1747-SDN DeviceNet
scanner, and a 2100-GK61 to control a 1336 PLUS , 133 6 PLUS II or
1305 drive.
The example assumes that there is an operator’s station wired to an
I/O module in slot one of module group zero of rack zero.
Important: You may want to verify a device has not failed using
word I:S.0. If a device has failed, read the appropriate M1 File to find
out which device failed. Refer to the 1747-SDN DeviceNet Scanner Module Manual, Publication 1747-5.8, for more information.
Figure 5.6
Example SLC Ladder Logic Program
The scanner gathers drive status information via DeviceNet.
The M-File is copied into the SLC’s N9 data file to move the drive status information into a convenient location.
0000
COP
COP
Copy File
Source#M1:1.0
Dest#N9:0
Length128
Rungs 0001 through 0003 move the drive status from the N9 data file to an operator display.
Figure 5.7
Example SLC Ladder Logic Program (continued)
Rungs 0004 through 0008 move the operator’s inputs from the operator station to the N9 data file where they will be sent to the scanner
and out to the drive via DeviceNet.
Operator Input
Drive Start
Command Bit
0004
0005
0006
0007
0008
I:2.0
0
1746-I*16
Operator Input
Drive Stop
Command Bit
I:2.0
1
1746-I*16
Operator Input
Drive Jog
Command Bit
I:2.0
2
1746-I*16
Operator Input
Drive Clear Faults
Command Bit
I:2.0
3
1746-I*16
1336PLUS
CLEAR FAULTS
Command Bit
1336PLUS
REFERENCE
Command Word
MOV
MOV
Move
SourceN21:0
0<
DestN10:1
0<
1336PLUS
START
Command Bit
N10:0
1
1336PLUS
STOP
Command Bit
N10:0
0
1336PLUS
JOG
Command Bit
N10:0
2
N10:0
3
0009
0010
0011
This rung enables the scanner (changes the scanner into RUN mode).
This rung copies the drive command data to the scanner and out to the drive via DeviceNet.
SLC Code: SMP-3 output A is turned OFF when Slot 3, Input 0 is
true in Rung 5. SMP-3 output B is turned OFF when Slot 3, Input 1 is
true in Rung 6. In Rung 7, SMP-3 is reset when input 2 of Slot 3 input
card is true. Rungs 8 and 9 illustrate how SMP-3 outputs A and B are
respectively turned ON when Inputs 3 and 4 of I/O card in slot 3 are
true.
Unlike PLC and SLC programs, the ControlLogix utilizes a tag-based
technique.
A ControlLogix is used to read 2100-GK61 inputs and control the
outputs of an SMP-3 electronic overload relay.
Rungs 0 through 3 illustrate XIC (Examine if Closed) input
instructions. Each 2100-GK61 input can be read by examining
Scanner in slot 1. Therefore, the first input is Local:1:I.Data[0].0. The
second input is located at Local:1:I.Data[0].1. In this example, status
of each 2100-GK61 input is annunciated by the first four bits of the
output card in slot 2. The first output is addressed as
Local:2:O.Data.0.
Rungs 5 through 8 also read 2100-GK61 inputs. In this case, ho wev er ,
control information is being sent to an area of the Scanner where
SMP-3 Command W ord is located. Commands pass throug h ScanPort
to SMP-3, where Outputs A and B are turned on or off. For example,
when 2100-GK61 input 3 is momentarily turned on in rung 7, SMP-3
Output A is energized via Local:1:0:Data[0].3.
See Logic Control Data and Status Data tables from the SMP-3
manual on the last page of this Tech Note.
Rungs 9 and 10 show how SMP-3 Status Word information is read.
The Output card in slot 2 shows status at bits 4 and 5.
Figure 5.12
The next word after Status word is analog information from SMP-3.
Average Current, Current Imbalance, Thermal Capacity Utilized, and
Full Load Current Setting can be monitored. The parameter to be
monitored is selected by logic state of bits 13-15 in the Logix Control
Word.
Input and Output states can be seen by selecting “Monitor Tag”
Screen shown below.
Figure 5.13
Clicking on the appropriate tag can provide additional bit-level data.
Figure 5.14
Publication 2100-UM001B-EN-P – January 2001
Chapter 6
Using DeviceNet Explicit
Messaging
Chapter ObjectivesChapter 6 provides information you need to monitor and configure
the SCANport device using explicit messaging on DeviceNet. In this
chapter, you will read about the following:
•Required equipment.
•Message translations.
•Messaging guidelines for the 1771-SDN scanner.
•Messaging guidelines for the 1747-SDN scanner.
•Example messages.
•Using messages to control SCANport products.
•Writing to register objects.
Refer to Appendix C, DeviceNet Objects, for information on object
data support.
Required EquipmentBefore using messaging, your PC must be:
•Running Logix5 and RSLinx if you are using a PLC. Refer to
http://www .software.rockwell.com for more information on these
products.
-ORRunning RSLogix500 and RSLinx if you are using an SLC. Refer
to http://www.software.rockwell.com for more information on
these products.
•Connected to and communicating with the DeviceNet network
using a 1784-PCD card, 1784-PCID, card or a 1770-KFIO
adapter.
Explicit Message Program
Control for PLC-5
Use the Explicit Message Program Control feature to configure
device parameters on your DeviceNet network via the ladder logic
program in the PLC-5 processor that is controlling these devices.
You can use Explicit Message Program Control only with devices that
are slaves of your 1771-SDN Scanner Module. These slave devices
must be mapped in the scanner module’s scan list.
Use the Explicit Message Program Control feature to:
•Transmit configuration data from your scanner module to its sla ve
devices on your DeviceNet network.
Publication 2100-UM001B-EN-P – January 2001
6-2Using DeviceNet Explicit Messaging
•Receive status and diagnostics from these devices on your
•Make runtime adjustments to device parameters according to
Figure 6.1
How the Explicit Message Program Control Feature Works
DeviceNet network.
changing conditions detected by your processor.
Publication 2100-UM001B-EN-P – January 2001
2100-GK61
Communication Adapter
1. Format a Block Transfer Write file in the process or to s end an
Explicit Message Request to the scanner module (download).
2. The scanner module transmits the Explicit Message Request to
the slave device over the DeviceNet network.
3. The slave device transmits the Explicit Message Response back
to the scanner and is queued into a block transfer buffer.
4. The processor uses a Block Transfer Read file to retrieve the
explicit Message Response from the scanner’s buffer (upload).
5. The Block Transfer Read file is completed. The transaction IDs
are deleted and can be reused.
Using DeviceNet Explicit Messaging6-3
The scanner module requires a precisely-formatted block transfer
read and write size of 64 words. The Explicit Message Control table
in the scanner module is 64 words. The scanner module uses the
block transfer size as an indicator that the content is a client/server
request.
Message TranslationsThe communications adapter provides electronic translations of
DeviceNet explicit messages into SCANport messages and back. The
format of all DeviceNet explicit messages supported by the adapter is
8:16: within an explicit message, the class field is 8 bits long, and the
instance field is 16 bits long.
Messaging for the 1771-SDN
Scanner
The PLC uses a 64-word Block Transfer Write (BTW) to copy an
Explicit Message into the 1771-SDN scanner. Ten explicit message
buffers are available within the 1771-SDN scanner. When the BTW
completes, the scanner executes the message. The PLC must then poll
the scanner by performing a 64-word Block Transfer Read (BTR) to
complete the message. (Note: both the BTW and BTR commands are
of module type “1771-SDN DeviceNet Scanner Module” and of
length “64. ” The PLC can transfer two Explicit Messages per BTW or
BTR and the scanner can have up to ten Explicit Messages active at
any time.)
When the BTR completes, the data received by the PLC will contain
information about the status of the current Explicit Message being
processed by the scanner. If an Explicit Message has completed, the
STATUS code in the Explicit Message Response is set to 1 and the
response message contains the data requested.
If the message status indicates that it is not completed, the BTR
should be repeated until the message is complete.
The format of Request and Response Data File messages is in Figure
6.2.
Publication 2100-UM001B-EN-P – January 2001
6-4Using DeviceNet Explicit Messaging
Figure 6.2
Format of DeviceNet Messages
Transaction #1
Header
(3 words)
Transaction #1
Body (up to
29 words)
Transaction #2
Header
(3 words)
Transaction #2
Body (up to
29 words)
Format of 64-word Block Transfer
Write for Explicit Message Request
150150
TXIDCOMMANDTXIDSTATUSword 0
PORTSIZEPORTSIZE
SERVICEMAC IDSERVICEMAC ID
CLASSSERVICE RESPONSE DATA
INSTANCE"
ATTRIBUTE"
SERVICE DATA"
""word 31
TXIDCOMMAND TXIDSTATUSword 32
PORTSIZEPORTSIZE
SERVICEMAC IDSERVICEMAC ID
CLASSSERVICE RESPONSE DATA
INSTANCE"
ATTRIBUTE"
SERVICE DATA"
""word 63
Format of 64-word Block Transfer
Read for Explicit Message Response
Publication 2100-UM001B-EN-P – January 2001
Using DeviceNet Explicit Messaging6-5
Transaction Blocks are divided into two parts:
•Transaction header — contains information that identifies the
transaction to the scanner and processor.
•Transaction body — in a request, this contains the DeviceNet
Class, Instance, Attribute, and Service Data portion of the
transaction. See Appendix C. In a response, this contains the
Service Data only.
Each of the data attributes in the transaction header is one byte in
length. The table below details the information required:
Data FieldDescription
TXIDTransaction ID — when the processor creates and downloads a request to the scanner, the processor’s
ladder logic program assigns a TXID to the t ransactio n. This is a one-byte integer in word 31, with a 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 processor.
COMMANDIn each message request, a command code instructs the scanner how to administer the request:
0 = Ignore transaction block (block empty)
1 = Execute this transaction block
2 = Get status of transaction TXID
3 = Reset all client/server transactions
4-255 = Reserved
STATUSIn each message response, the status code provides the processor with status on the device and its
response:
0 = Ignore transaction block (block empty)
1 = Transaction completed successfully
2 = Transaction in progress (not ready)
3 = Error — slave not in scan list
4 = Error — slave off-line
5 = Error — DeviceNet port disabled or off-line
6 = Error — transaction TXID unknown
7 = Unused
8 = Error — Invalid command code
9 = Error — Scanner out of buffers
10 = Error — Other client/server transaction in progress
11 = Error — could not connect to slave device
12 = Error — response data too large for block
13 = Error — invalid port
14 = Error — invalid size specified
15 = Error — connection busy
16-255 = Reserved
PortThe DeviceNet port where the transaction is routed. The port can be zero (Channel A) or one (Channel B)
on a 1771-SDN scanner.
SizeThe size of the transaction body in bytes. The transaction body can be up to 29 words (58 bytes) in length.
If the size exceeds 29 words, an error code will be returned.
SERVICEThe service attribute contains the DeviceNet service request and response codes that match the
corresponding request for the TXID. Service codes vary for each DeviceNet object. Appendix C details
available Service Codes referred to as “Common Services” for each object.
MAC IDThe DeviceNet network address of the slave device where the transaction is sent. This value can range
from 0 to 63. The port and MAC ID attributes coupled together identify the target slave device. The slave
device must be listed in the scanner module’s scan list and be on-line for the Explicit Message transaction
to be completed.
Publication 2100-UM001B-EN-P – January 2001
6-6Using DeviceNet Explicit Messaging
ExamplesThe following examples show messages used with the ladder logic
programs begun in Chapter 5, Ladder Logic Programming—
Including Reading Inputs.
ATTENTION: The example ladder logic program
shown in this manual is intended solely for purpose of
!
example. Because 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 example shown in this
publication.
PLC-5 Ladder ExamplePLC Messaging
Figure 6.3, started in Chapter 5, Ladder Logic Programming—
Including Reading Inputs, shows an example PLC ladder logic
program that sends an explicit message. The message sent is
contained in N30, beginning at word 0. The response data will appear
in N30, starting at word 70.
0000
0001
I:000
BT20:2
DN
Figure 6.3
PLC Messaging Example
B3:0
ONS
17
0
CMP
CMP
Comparison
Expression N30:70 <> N30:0
BTW
BTW
Block Transfer Write
Module Type 1771-SDN DeviceNet Scanner Module
Rack000
Group0
Module0
Control BlockBT20:2
Data FileN30:0
Length64
ContinuousN o
MOV
MOV
Move
Source0
0<
DestN30:70
257<
BT20:3
EN
BTR
BTR
Block Transfer Read
Module Type 1771-SDN DeviceNet Scanner Module
Rack000
Group0
Module0
Control BlockBT20:3
Data FileN30:70
Length64
ContinuousN o
EN
DN
ER
EN
DN
ER
0002
Publication 2100-UM001B-EN-P – January 2001
END
Using DeviceNet Explicit Messaging6-7
I:000/17: When you set this instruction to the true state, the next
instruction, a one-shot block transfer write, sends data to the scanner.
The Move instruction then initializes the first w ord of the data file that
is used by the block transfer read instruction in the next rung.
Instruction BT20:2.DN: This instruction will be true when the block
transfer write has completed. The compare instruction that follows
compares the first word of data sent from the scanner to the first word
of data you send to the scanner. When the messaging function has
completed, these two words will be equal.
Instruction BT20:3.EN: Any time the block transfer read is not
enabled, this instruction causes the block transfer read to be enabled if
the two earlier conditions are true.
BTR: Reads 64 words of data from the scanner.
The following table displays data sent to and received from the
scanner. Values are in hexadecimal.
Using the format of Figure 6.3, the above data would be defined as
follows:
BTW FormatBTR Format
LocationValueLocationValue
N30:0
N30:1
TXIDCOMMAND
N30:70
02010201
PORTSIZE
N30:71
00060006
TXIDCOMMAND
PORTSIZE
N30:2
N30:3
N30:4
N30:5
SERVICEMAC ID
N30:72
0E038E03
CLASS
N30:73
00970004
INSTANCE
0000
ATTRIBUTE
0001
SERVICEMAC ID
Data
Data in N30:0-5 is data associated with the BTW command. All of
these values are entered into the data table. Data in N30:70-72 is data
associated with the BTR command. All of these values are entered
into the data table. Data at N30:73 is the data read from the
DeviceNet Module as a result of the command’s entered data.
Publication 2100-UM001B-EN-P – January 2001
Loading...
+ 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.