DeviceNet Slave Module
DeviceNet Slave Module
Thank you for purchasing automation equipment from Automationdirect.com. We want your new DirectLOGIC
automation equipment to operate safely. Anyone who installs or uses this equipment should read this publication (and
any other relevant publications) before installing or operating the equipment.
To minimize the risk of potential safety problems, you should follow all applicable local and national codes that regulate
the installation and operation of your equipment. These codes vary from area to area and usually change with time. It is
your responsibility to determine which codes should be followed, and to verify that the equipment, installation, and
operation are in compliance with the latest revision of these codes.
At a minimum, you should follow all applicable sections of the National Fire Code, National Electrical Code, and the
codes of the National Electrical Manufacturer’s Association (NEMA). There may be local regulatory or government
offices that can also help determine which codes and standards are necessary for safe installation and operation.
Equipment damage or serious injury to personnel can result from the failure to follow all applicable codes and
standards. We do not guarantee the products described in this publication are suitable for your particular application,
nor do we assume any responsibility for your product design, installation, or operation.
Our products are not fault–tolerant and are not designed, manufactured or intended for use or resale as on–line control
equipment in hazardous environments requiring fail–safe performance, such as in the operation of nuclear facilities,
aircraft navigation or communication systems, air traffic control, direct life support machines, or weapons systems, in
which the failure of the product could lead directly to death, personal injury, or severe physical or environmental
damage (”High Risk Activities”). Automationdirect.com specifically disclaims any expressed or implied warranty of
fitness for High Risk Activities.
For additional warranty and safety information, see the Terms and Conditions section of our Desk Reference. If you
have any questions concerning the installation or operation of this equipment, or if you need additional information,
please call us at 770–844–4200.
This publication is based on information that was available at the time it was printed. At Automationdirect.com we
constantly strive to improve our products and services, so we reserve the right to make changes to the products and/or
publications at any time without notice and without any obligation. This publication may also discuss features that may
not be available in certain revisions of the product.
Trademarks
This publication may contain references to products produced and/or offered by other companies. The product and
company names may be trademarked and are the sole property of their respective owners. Automationdirect.com
disclaims any proprietary interest in the marks and names of others.
No part of this manual shall be copied, reproduced, or transmitted in any way without the prior, written consent of
Automationdirect.com Incorporated. Automationdirect.com retains the exclusive rights to all information
included in this document.
AVERTISSEMENT
Nous vous remercions d’avoir acheté l’équipement d’automatisation de Automationdirect.comE. Nous tenons à ce que
votre nouvel équipement d’automatisation DirectLOGIC fonctionne en toute sécurité. Toute personne qui installe ou
utilise cet équipement doit lire la présente publication (et toutes les autres publications pertinentes) avant de l’installer ou de
l’utiliser.
Afin de réduire au minimum le risque d’éventuels problèmes de sécurité, vous devez respecter tous les codes locaux et
nationaux applicables régissant l’installation et le fonctionnement de votre équipement. Ces codes diffèrent d’une région à
l’autre et, habituellement, évoluent au fil du temps. Il vous incombe de déterminer les codes à respecter et de vous assurer
que l’équipement, l’installation et le fonctionnement sont conformes aux exigences de la version la plus récente de ces
codes.
Vous devez, à tout le moins, respecter toutes les sections applicables du Code national de prévention des incendies, du
Code national de l’électricité et des codes de la National Electrical Manufacturer’s Association (NEMA). Des organismes de
réglementation ou des services gouvernementaux locaux peuvent également vous aider à déterminer les codes ainsi que
les normes à respecter pour assurer une installation et un fonctionnement sûrs.
L’omission de respecter la totalité des codes et des normes applicables peut entraîner des dommages à l’équipement ou
causer de graves blessures au personnel. Nous ne garantissons pas que les produits décrits dans cette publication
conviennent à votre application particulière et nous n’assumons aucune responsabilité à l’égard de la conception, de
l’installation ou du fonctionnement de votre produit.
Nos produits ne sont pas insensibles aux défaillances et ne sont ni conçus ni fabriqués pour l’utilisation ou la revente en tant
qu’équipement de commande en ligne dans des environnements dangereux nécessitant une sécurité absolue, par
exemple, l’exploitation d’installations nucléaires, les systèmes de navigation aérienne ou de communication, le contrôle de
la circulation aérienne, les équipements de survie ou les systèmes d’armes, pour lesquels la défaillance du produit peut
provoquer la mort, des blessures corporelles ou de graves dommages matériels ou environnementaux (”activités à risque
élevé”). La société Automationdirect.comE nie toute garantie expresse ou implicite d’aptitude à l’emploi en ce qui a trait
aux activités à risque élevé.
Pour des renseignements additionnels touchant la garantie et la sécurité, veuillez consulter la section Modalités et
conditions de notre documentation. Si vous avez des questions au sujet de l’installation ou du fonctionnement de cet
équipement, ou encore si vous avez besoin de renseignements supplémentaires, n’hésitez pas à nous téléphoner au
770–844–4200.
Cette publication s’appuie sur l’information qui était disponible au moment de l’impression. À la société
Automationdirect.comE, nous nous efforçons constamment d’améliorer nos produits et services. C’est pourquoi nous
nous réservons le droit d’apporter des modifications aux produits ou aux publications en tout temps, sans préavis ni quelque
obligation que ce soit. La présente publication peut aussi porter sur des caractéristiques susceptibles de ne pas être offertes
dans certaines versions révisées du produit.
Marques de commerce
La présente publication peut contenir des références à des produits fabriqués ou offerts par d’autres entreprises. Les
désignations des produits et des entreprises peuvent être des marques de commerce et appartiennent exclusivement à
leurs propriétaires respectifs. Automationdirect.comE nie tout intérêt dans les autres marques et désignations.
Copyright 2001, Automationdirect.comE Incorporated
Tous droits réservés
Nulle partie de ce manuel ne doit être copiée, reproduite ou transmise de quelque façon que ce soit sans le consentement
préalable écrit de la société Automationdirect.comE Incorporated. Automationdirect.comE conserve les droits
exclusifs à l’égard de tous les renseignements contenus dans le présent document.
1
Manual Revisions i
If you contact us in reference to this manual, be sure to include the revision number.
Added pages 2-10, 2-11, & 2-12 for I/O Configuration and I/O Count to
explain configuration and setup.
1 i
Table of Contents
Chapter 1: Getting Started
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2
The Purpose of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2
Supplemental Manuals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2
Who Should Read this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2
Conventions Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3
Key Topics for Each Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3
Introduction to DeviceNet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–4
DeviceNet Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–4
The ODVA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–4
General Information about the D0–DEVNETS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–5
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–5
Mini Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–5
Appendix A: Specifications
Appendix B:Tables
Data Input and Output Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–2
Device Profile Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B–5
ii
Table of Contents
In This Chapter. . . .
— Introduction
— Introduction to DeviceNet
— General Information About D0–DEVNETS
1–2
Getting Started
Introduction
Getting Started
Supplemental The following manuals are essential for the proper use of your DL05 DeviceNet
Manuals Slave Module.
• DL–05 Micro PLC User Manual part number D0–USER–M
This manual contains very important information, including a complete
I/O Module Memory Map. The Memory Map is crucial in designing and
implementing the I/O system.
• The PLC/PC software manual
• The DeviceNet software (if separate) manual
• The DeviceNet Scanner (or Master) manual
Who Should Read If you have a working knowledge of the DeviceNet network, the DeviceNet software
this Manual and PLC or PC which you are using, this manual will help you configure and install
your D0–DEVNETS Slave Module.
Technical Support We strive to make our manuals the best in the industry and rely on your feedback in
reaching our goal. If you cannot find the solution to your particular application, or, if
for any reason you need additional technical assistance, please call us at
770–844–4200.
Safety Guidelines
Our technical support team is glad to work with you in answering your questions.
Installation and
They are available weekdays from 9:00 a.m. to 6:00 p.m. Eastern Time. We also
encourage you to visit our website where you can find technical and nontechnical
information about our products and our company.
www.automationdirect.com
Getting Started
Conventions Used
The “light bulb” icon in the left-hand margin indicates a tip or shortcut.
The “note pad” icon in the left–hand margin indicates a special note.
The “exclamation mark” icon in the left-hand margin indicates a warning or caution.
These are very important because the information may help you prevent serious
personal injury or equipment damage.
Key Topics for The beginning of each chapter will list the
Each Chapter key topics that can be found in that 1
chapter.
Safety Guidelines
Installation and
Introduction to DeviceNet
Getting Started
DeviceNet is a low-cost control bus used to connect field devices to PLCs and PCs.
DeviceNet is designed to reduce the need for hard–wiring while providing
device–level diagnostics. There are a host of manufacturers of DeviceNet products,
offering an array of products including sensors, motor drives and starters, PLCs,
pushbuttons, remote I/O systems, etc.
DeviceNet Here are some DeviceNet concepts you may find helpful.
Concepts • DeviceNet supports various communication structures including Peer to
Peer, Multi-master and Master/Slave. The D0–DEVNETS uses the
predefined Master/Slave connection.
• DeviceNet has two types of messaging: Explicit Messaging and I/O
Messaging.
• Explicit Messaging is low priority, not time-critical and usually
for configuration/diagnostic purposes.
• I/O Messaging is time-critical and high priority
for I/O data transfer. I/O Messaging comes in four types:
• Strobed
• Polled (The D0–DEVNETS only supports Polled.)
• Change of State (or COS)
• Cyclic
• A single DeviceNet network is limited to 64 nodes. A node can be a
single-bit device, such as a limit switch, or a remote I/O slave with
several I/O modules, such as the D0–DEVNETS. The Master (Scanner)
is usually assigned to node address 0, and many Slave devices have a
factory default node address of 63.
• DeviceNet has the following data rates (with maximum bus lengths):
• 125 kbps (bus length = 500m max.)
• 250 kbps (bus length = 250m max.)
Safety Guidelines
Installation and
The ODVA The DeviceNet standard is maintained by the ODVA (Open DeviceNet Vendor
Association, Inc.). Contact the ODVA for detailed information about DeviceNet.
Open DeviceNet Vendor Association, Inc.
20423 State Road 7
Suite 499
Boca Raton, FL 33498
Phone: (954) 340–5412
Fax: (954) 340–5413
Internet: www.odva.org
Email: [email protected]
Getting Started
The D0-DEVNETS slave module offers the following
features:
S The D0–DEVNETS installs into any of the DL05
PLC’s option slot. The PLC must have firmware
version 3.0 or higher installed.
S The D0–DEVNETS can be installed in any of the
four option slots of the DL06 PLC. The PLC must
have firmware version 1.0 or higher installed.
S Only one D0–DEVNETS can be installed in the
DL06 PLC.
S The D0–DEVNETS is an interface for DeviceNet
(slave mode only).
S The D0–DEVNETS collects and reports all discrete
I/O data to a DeviceNet master as polled data.
S The D0–DEVNETS does not poll analog I/O data,
the analog I/O is looked at in registers. Refer to the
D0–DEVNETS–M pointer method setup for the
analog module being used.
S The D0–DEVNETS can either be configured in the
DL05/06 for slave I/O mode without the need for a
ladder program or programmed with ladder control
logic as part of a network.
S LEDs for the Module Status and Network Status.
S Node address switches are easily accessed.
Specifications Environmental specifications for the D0–DEVNETS are the same as for the DL05/06
Safety Guidelines
Installation and
PLCs. UL and CE approvals are pending. See Appendix A for detailed
specifications.
_________________________________________________________
Note: Be sure to look closely at the default settings below. If you are connecting to
an existing DeviceNet network, you may need to change the DeviceNet Baud Rate
on your D0–DEVNETS. The factory default baud rate is 125kbps.
Installing the DeviceNet
Slave Module
SW2 SW3
Node Address
O 1
F 2
F
3
4
5
6
SW1
DIP Switch
SW1 1
Safety Guidelines
Slave Module
polling.
Adapter diagnostic
information
Mode SW1–4
Disable ON
Enable OFF
Note: Leaving position 4 OFF will add 2 bytes of inputs and 2 bytes of outputs for
diagnostic information at the beginning of your I/O polling. Refer to the Adapter
Input/Output Status Word tables on page C–8.
Safety Guidelines
Hold ON
Installation and
Position SW1–6 ON will initialize the D0–DEVNETS system parameters.
Parameter Initializing
Mode SW1–6 Description
Initialize 1 ON Default is set when power is ON *1
Initialize 2 OFF
*1 Initialization parameter value changes with status of DIP switch positions 3 and 6.
Refer to the Initialization Parameter Values table on page D–2.
Note: All DIP switch positions shown are the factory default settings (all OFF).
Remove the When the D0–DEVNETS module is ready to be installed the protective option slot
Slot Cover cover must be removed. The protective cover is removed from the option card slot by
squeezing the pinch tabs and lifting the cover off.
Installing the DeviceNet
Slave Module
Pinch Tabs
Option Module
Slot Covers
Y D0–06DR TX1
RX1
0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 20 21 22 23
TX2
X RX2
INPUT: 12 – 24V 3 – 15mA
Safety Guidelines
Installation and
Insert the Module Insert the D0–DEVNETS slave module into the open card slot. Locate the module so
the printed information is oriented in the same direction as the markings on the PLC.
Be careful to align the female connector on the printed circuit board of the module
with the male connector on the PLC mother board. Press the module into the slot
until the front of the module is flush with the front of the PLC.
NS
MS
D0–DEVNETS
STATUS
NS
G LG 0V Y0 Y2 C1 Y5 Y7 Y10 Y12 C3 Y15 Y17 MS
PWR
AC(L) AC(N) 24V C0 Y1 Y3 Y4 Y6 C2 Y11 Y13 Y14 Y16 N.C. RUN
OUTPUT: 6–240V 50 – 60Hz 2.0A, 6 – 27V 2.0A PWR: 100–240V 50–60Hz40VA CPU
Y D0–06DR TX1
RX1
0 1 2 3 4 5 6 7 10 11 12 13 14 15 16 17 20 21 22 23
TX2
X RX2
Safety Guidelines
INPUT: 12 – 24V 3 – 15mA
Installation and
D0–DEVNETS
Set the Node Once the D0–DEVNETS is installed in the option slot, set the Node Address. The
Address Node Address rotary switches are accessed by removing the cover located to the
right of Port1 and Port2 on the DL05.
RUN STOP
TERM
Node Address
PORT1 PORT2
SW3 X10
Installing the DeviceNet
SW2 X1
Slave Module
Node Address
Rotary Switches
Remove the cover associated with the option slot where the D0–DEVNETS is
installed in for the DL06 Once the access cover is removed, use a small, flat,
screwdriver to set the Node Address to an available address (or MAC ID), from 0 –
63. Note that SW3 sets the tens and SW2 sets the units.
Safety Guidelines
Installation and
Wiring the Adapter Connect the DeviceNet cable (Belden 3085A, YR–29832 or equivalent) to the
to a DeviceNet removable connector as shown below. The wire colors are also labeled on the front
Network of the adapter. Be sure to connect a terminating resistor (121 Ohm 1%, 1/4W). An
external 11–25 VDC power supply is also required.
Tip: Be sure that each end of the DeviceNet network ’trunk” has a proper terminating
resistor connected as shown above.
Slave Module
In your DeviceNet software, add the D0–DEVNETS Electronic Data Sheet
(EDS) file from the disk which came with this manual or from our web site
www.automationdirect.com. Some software may not provide for the use
of EDS files.
3. Commission the Node:
Use the DeviceNet software to “Commission the Node” of the adapter.
Again, some software may not require this.
4. Add the D0–DEVNETS to the Scan List:
Add the D0–DEVNETS to the Scan List in your DeviceNet Master software.
5. Set the Input/Output Bytes:
If required by your DeviceNet software set the I/O Parameters to Tx =
Output bytes and Rx = Input bytes for Polled I/O. Follow the steps in
Appendix G to determine the actual number of Output and Input bytes your
system has.
6. Map the I/O to the Master:
Map the D0–DEVNETS I/O to the Scanner using Auto Map, or map the I/O
to another location if desired.
7. Scan:
Go Online (or Scan) to verify the configuration and check for errors.
Safety Guidelines
8. View Indicators on the adapter:
Installation and
Refer to the Status Indicators when connecting to the network.
D0–DEVNETS The DL05/06 PLCs reserve several V–memory locations for storing the DEVNETS
Default Parameters parameters. These special registers store the I/O ranges. The parameters are
stored in the DL05/06 systems FLASH memory and are not lost when the PLC is
powered off.
Slave Module
V40500 – 40517 (Y0–377)
V40600 – 40637 (C0–777)
V41000 – 41017 (S0 – 377)
V41100 – 41107 (T0 – 177)
V41140 – 41147 (CT0 – 177)
V41200 – 41237 (SP0 – 777)
V7611 Input number of bytes 2 Bytes 0 – 8 Bytes
V7612 Output starting address V40500 V40400 – 40417 (X0 – 377)
V40500 – 40517 (Y0–377)
V40600 – 40637 (C0–777)
V41000 – 41017 (S0–377)
V41100 – 41107 (T0 – 177)
V41140 – 41147 (CT0 – 177)
V41200 – 41237 (SP0 – 777)
V7613 Output number of bytes 2 Bytes 0 – 8 Bytes
V7614 Input starting V–memory location V3000 V0 – 7777
V7615 Input V–memory number of bytes 58 Bytes 0 – 128 Bytes
Safety Guidelines
V7616 Output starting V–memory location V3100 V0 – 7377
Installation and
V7617 Output V–memory number of bytes 52 Bytes 0 – 128 Bytes
I/O Configuration
The consumed and produced I/O is user defined in the DL05/06 memory. The DeviceNET available
memory in the PLC is basically divided into 2 sets of data pointers. The first set was intended to read
and write discrete I/O memory (but other data ranges can be accessed) and is setup through V7610
– V7613. Since this data range was intended to contain discrete I/O, it is limited to 8 bytes of Input
and 8 bytes of Output.
The other data set is configured through V7614 – V7617 and was intended to contain User
V-memory locations. This data set has a much higher range of accessible values (128 bytes In and
128 bytes Out).
If the module to set to slave mode (dipswitch 3), it will be configured for 2 inputs/outputs in the
I/O data pointers. If the PLC is not set to Slave mode, then these V-memory locations will need to
be configured. The DL05/06 PLCs reserve several V–memory locations for storing the DEVNETS
parameters. These special registers store the I/O ranges. The parameters are stored in the DL05/06
systems FLASH memory, and are not lost when the PLC is powered off.
Below is the V-Memory layout for the I/O configuration.
You can use both sets of data pointers, but if you have configured the I/O set of data pointers
(V7610 – V7613), this is the only data available via Implicit messaging. If the I/O set of data pointers
are used, then the V-memory set of data pointers (V7614- V7617) is only available via Explicit
messaging.
To make the V-memory set of data pointers available via Implicit messaging the I/O set of data
pointers need to be zeroed out. Then 128 bytes of Input and 128 bytes of Output data can be
accessed through Implicit messaging. If the actual discrete I/O data is needed, this can be mapped
over to the V-memory Input and Output blocks using LD and OUT instructions. This can be an easier
way to configure this module
I/O Count
As mentioned earlier the I/O count is set up in the PLC with ladder. To calculate the actual I/O count
to assign in the master there are a few things to consider.
1. What is the position of SW1-4?
2. Are you using I/O data or V-memory Data?
3. Are their any I/O cards in the DL06 expansion slots?
4. What is configured in the PLC memory?
If you are using I/O data then the D0-DEVNETS will automatically add any digital I/O in the
expansion slots to the I/O data configured in the PLC.
I/O Example:
V7611 = 6
V7613 = 6
Expansion Slot 1 = D0-16ND3 = 2 bytes
Expansion Slot 2 = D0-08ND3 = 1 bytes
SW1-4 = ON
The total I/O Count = 9 bytes input and 6 Output bytes.
When SW1-4 is off it adds 2 bytes to the total Input/Output count. In this example the D0-DEVNETS
will error even if you entered these values correctly in the master because you are over the
maximum Input/Output count for I/O data. The D0-DEVNETS NS LED will remain solid green for 10
sec and then flash red for 10 sec.
The solution to this problem is to use V-memory data in the PLC, disable the I/O data and map over
the X input/Y output V-memory words to the DEVNETS V-memory data blocks.
The D0-Devnet will allow you to go over 8 bytes in V-memory data mode.
V-memory data setup Example:
V7610 –V7613 = 0
V7615 = 58
V7617 = 52
SW1-4 = off
The total I/O Count = 60 bytes input and 54 Output bytes.
In Slave Only Mode there are some nuances when using it with a DL06. The DL06 has 20 inputs so
the default setting for Slave Only Mode is 2 input bytes which will only cover 16 of those inputs. If all
20 inputs are required, the PLC will need to be configured manually.
If the I/O Data pointer method is still desired, here are the byte counts for all cards.
• Any 8 Point Input card = 1 Input byte
• Any 10 Point Input Card = 2 Input Bytes
• Any 16 Point Input Card = 2 Input Bytes
• Any 4 Point Output card = 1 Output byte
• Any 8 Point Output card = 1 Output byte
• Any 10 Point Output Card = 2 Output Bytes
• Any 16 Point Output Card = 2 Output Bytes
• Any Combo card will follow any combination of the above.
How to Update When a D0–DEVNETS module is installed the DL05/06 PLCs do not need to have a
Your DirectSOFT32 relay ladder logic (RLL) program in them to operate as slave I/O. However, if you are
Programming using the D0–DEVNETS in either a DL05 or a DL06 for local control on a network,
Software they must have a RLL control program in them. You will need DirectSOFT32 Version
3.0b (or later) for the DL05 and/or Version 4.0 for DL06 in order to use all features of
the D0–DEVNETS. If you have a licensed copy of Version 3.0 or 3.0a, the Version
3.0b Maintenance Release (or a later maintenance release) is available for free on
Installing the DeviceNet
1.0 (or later) firmware to operate correctly with all features of the D0–DEVNETS. If
your DL05/06 was received with your D0–DEVNETS, the correct firmware is already
installed in the PLC. If you already have a DL05 and need to determine what
firmware version is installed in the PLC, connect to the DL05 with DirectSOFT32
programming software, and click on PLC/Diagnostics/System Information. This will
bring up the System Information screen.
Safety Guidelines
Installation and
The “CPU Version:” will tell you what firmware version is installed in your PLC.
Safety Guidelines
Installation and
SP0
LDA Load the input starting address and store it
O40400
to system memory
OUT
V7610
V7613
LDA Load the V–memory location to store the
O3000
input data.
OUT
V7614
LD Number of input register bytes.
K128
OUT
V7615
LDA
O3100 Load the V–memory location to store the
output data.
OUT
V7616
LD
K128 Number of output register bytes.
OUT
V7617
In This Appendix. . . .
Ċ Specifications
A–2
Specifications
Specifications
Specifications
Appendix A
General Specifications
Ambient Operating Temperature 32°F to 131°F (0°C to 55°C)
Storage Temperature –4°F to 158°F (–20°C to 70°C)
Ambient Humidity 5% to 95% non-condensing
Atmosphere No corrosive gases, max. environmental
pollution = 2, UL840
Vibration Resistance MIL STD 810C, method 514.2
Shock Resistance MIL STD 810C, method 516.2
Noise Immunity NEMA ICS3–304
Impulse noise 1µs, 1000V
FCC Class A
RFI (144MHz, 430MHz, 10W, 10cm)
Size 0.78” W x 3.02” H x 2.12” D
Weight 1.75 oz. (50g)
Communication Specification
Protocol DeviceNet Communication (Slave)
Network address 0 to 63
Data Packet 0 to 8 Bytes (Data beyond eight bytes are
divided.)
Baud Rate 125 kbps/250 kbps/500 kbps
DIP Switch Setting
Maximum cable length 500m/125 kbps
250m/250 kbps
100m/500kbps
Parameter storage FLASH Memory
Communication Status Indicator MS: Module Status LED [Red/Green]
NS: Network Status LED [Red/Green]
DeviceNet 11~25VDC
Power Consumption 45mA Max.
Specifications
Device Type Generic
Appendix A
Explicit Peer to Peer Message No
I/O Peer to Peer Message No
Configuration Consistency No
Fault Node Recovery No
Communication Baud Rate Yes
125K, 250K, 500K
Master/Scanner No
I/O Slave Message Bit Strobe No
Polling Yes
Cyclic No
Change of State No
(COS)
DeviceNet Object
Item Instance Class Number
Identity Object 1 1h
Message Router Object 1 2h
DeviceNet Object 1 3h
I/O Assembly Object 5 4h
Connection Object 1 5h
In This Appendix. . . .
Ċ DeviceNet Tables
B–2
Tables
Attribute Configure
The following tables describes each Link Register Attribute (Data Configure).
Appendix B
Output 47 ––––––––––– Output 40 +04
Tables
Output 57 ––––––––––– Output 50 +05
Output 67 ––––––––––– Output 60 +06
Output 77 ––––––––––– Output 70 +07
One Output point is equal to one bit of the byte.
Eight bytes equals 64 Output points.
Error Codes
Appendix C
Input Register Attribute
Vn+62 +124
Vn+63 + 126
Vn+62 +124
Vn+63 + 126
Instance 1 Attribute
Attribute Item Data type Value Service
1 Vendor ID UINT 482 Get
2 Device Type UINT 00 Get
3 Product Code UINT 1500 Get
Appendix B
4 Major Revision UINT * Get
Tables
Minor Revision UINT *
5 Status WORD *
6 Serial Number UDINT **** Get
7 Product Name SHORT–STRING D0–DEVNETS Get
Common Service
Service Common Service
Error Codes
Appendix C
Code
0E Get_Attribute_Single
05 Reset
Instance 1 Attribute
Attribute Item Data type Value Service
1 MAC ID UINT 0 – 63 Get
2 Baud Rate UINT 0–2 Get
4 BusOff Counter UDINT * Get
5 Allocation Choice BYTE * Get
Master MAC ID USINT *
Common Service
Service Common Service
Code
0E Get_Attribute_Single
Common Service
Service Code Common Service
10h Set_Attribute_Single
0E Get_Attribute_Single
Instance Attribute
Instance Attribute Data type Description Bytes Service
Maximum
100 3 BIT Input Data 8 Get
101 3 BIT Output Data 8 Set
102 3 WORD Input Register Data 128 Get
103 3 WORD Output Register Data 128 Set
104 3 BYTE PLC Mode 1 Get/Set
Common Service
Appendix B
Service Code Common Service
Tables
10h Set_Attribute_Single
0E Get_Attribute_Single
Instance Attribute
Instance Attribute Bytes Description Data Address Service
Maximum MSB7 LSB0
100 3 8 Input
p Data 07 ––––––– 00 +00 Get
Error Codes
17 ––––––– 10 +01
Appendix C
: : : :
67 ––––––– 60 +06
77 ––––––– 70 +07
101 3 8 Output
p Data 07 ––––––– 00 +00 Set
17 ––––––– 10 +01
: : : :
67 ––––––– 60 +06
77 ––––––– 70 +07
102 3 128 Input
p Register
g Vn+00 +00 Get
Data Vn+01 +02
: :
Vn+62 +124
Vn+63 +126
103 3 128 Output
p Register
g Vn+00 +00 Set
Data Vn+01 +02
: :
Vn+62 +124
Vn+63 +126
104 3 1 PLC Mode 01:RUN Request +00 Set
02:STOP Request
00:STOP Get
03:RUN
In This Appendix. . . .
Ċ Image Table Mapping
C–2
Image Table Mapping
Discrete Input
Discrete Input Point (X,Y,C,S,T,CT,SP) Image Table Mapping
Inputs
Inputs
X7 X6 X5 X4 X3 X2 X1 X0
I/O Image
Inputs
Input Size X17 X16 X15 X14 X13 X12 X11 X10
Inputs
X27 X26 X25 X24 X23 X22 X21 X20
Read 1 to 8 bytes
Inputs
X37 X36 X35 X34 X33 X32 X31 X30
Inputs
X47 X46 X45 X44 X43 X42 X41 X40
Image Table Mapping
Inputs
X57 X56 X55 X54 X53 X52 X51 X50
Appendix C
Inputs
X67 X66 X65 X64 X63 X62 X61 X60
Inputs
X77 X76 X75 X74 X73 X72 X71 X70
Outputs
Inputs
Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
I/O Image
Outputs
Y17 Y16 Y15 Y14 Y13 Y12 Y11 Y10
Outputs
Y27 Y26 Y25 Y24 Y23 Y22 Y21 Y20
Output Size Outputs
Y37 Y36 Y35 Y34 Y33 Y32 Y31 Y30
Write 1 to 8 bytes
Outputs
Y47 Y46 Y45 Y44 Y43 Y42 Y41 Y40
Outputs
Y57 Y56 Y55 Y54 Y53 Y52 Y51 Y50
Outputs
Y67 Y66 Y65 Y64 Y63 Y62 Y61 Y60
Outputs
Y77 Y76 Y75 Y74 Y73 Y72 Y71 Y70
Low Byte
Inputs Data Vn+61
High Byte
Low Byte
Inputs Data Vn+62
Image Table Mapping
High Byte
Low Byte
Appendix C
Appendix C
Vn + 60 V memory High byte data Read Byte 122
Vn + 61 V memory Low byte data Read Byte 123
Vn + 61 V memory High byte data Read Byte 124
Vn + 62 V memory Low byte data Read Byte 125
Vn + 62 V memory High byte data Read Byte 126
Vn + 63 V memory Low byte data Read Byte 127
Vn + 63 V memory High byte data Read Byte 128
Not Supported Write Byte 1
Low Byte
Outputs Data Vn+61
High Byte
Low Byte
Outputs Data Vn+62
Image Table Mapping
High Byte
Low Byte
Appendix C
Appendix C
: :
Vn + 60 V memory Low byte data Write Byte 121
Vn + 60 V memory High byte data Write Byte 122
Vn + 61 V memory Low byte data Write Byte 123
Vn + 61 V memory High byte data Write Byte 124
Vn + 62 V memory Low byte data Write Byte 125
Vn + 62 V memory High byte data Write Byte 126
Vn + 63 V memory Low byte data Write Byte 127
Vn + 63 V memory High byte data Write Byte 128
Input Size
Read Inputs
1 byte
00:RUN Mode
03:STOP Mode
Output Size
Write Outputs
1 byte
01:RUN Request
02:STOP Request
STOP 0 0 0 0 0 0 1 0
Request
Appendix C
STOP 0 0 0 0 0 0 0 0
RUN W it Byte
Write B t 1
SP Condition Details
ON Communicating
SP120
OFF No communication
ON Communication error
SP121
OFF Normal
In This Appendix. . . .
Ċ D0-DEVNETS Think & Do/Entivity Setup
E–2
Think & Do Setup
T&D/Entivity setup Use the following procedure to setup the D0–DEVNETS adapter with Think & Do
for PC control Studio.
1. Click on Add Driver and SST card is installed.
2. Set MAC ID to 62.
3. Set baud rate to either125k or 250k.
4. Set scanner interval to 0.
5. Set timeout shutdown to 5.
6. EDS not needed.
Error Codes
Appendix C
Think & Do Setup
Appendix E
Error Codes
Appendix C
8. Click on Scan and communication will begin.
PIn 01 will display diagnostic data.
POut 01 controls D0–DEVNETS.
For those who are using a DL05 with D0–DEVNETS as a PLC, for local I/O control,
on a DeviceNet network with Think & Do Studio, the following example shows how to
setup the DL05 and the adapter for use as a PLC on the network.
Setup Think & Do Use the following steps to setup the adapter with the DL05 PLC for local control on a
with DL05 on a network. The RLL program is edited using DirectSOFT32 programming software.
network
Set DIP switch, SW1, as follows:
1. SW1–1: OFF
SW1–2: ON (communications rate 500K or the baud rate of your choice)
SW1–3: OFF
SW1–4: OFF
SW1–5: OFF
SW1–6: ON (initial value)
SW1–6 sets up the following system parameter defaults:
V7610 = O40400 / V7611 = 2
V7612 = O40500 / V7613 = 2
V7614 = O3000 / V7615 = 128
V7616 = O3100 / V7617 = 128
2. Set rotary switch, SW2 = 02, SW3 = 0.
3. Add the following RLL code to the DL05 program:
Error Codes
Appendix C
SP0
LD
K4 Set to read 4 bytes to display active input points.
OUT
V7611
SP1
LD
V7765 Load the total number of scan cycles.
OUT
V40401 V40401 = X20–X37
T & D Studio setup Use the following procedure to setup the D0–DEVNETS adapter with Think & Do
Studio.
1. Click on Add Driver and SST card is installed.
2. Set MAC ID to 62.
3. Set baud rate (500K in this example).
4. Set scanner interval to 0.
5. Set timeout shutdown to 5.
6. EDS not needed.
Error Codes
Appendix C
Think & Do Setup
Appendix E
7. Click on connection.
8. Click on Scan and communication will be setup.
POut 01 controls D0–DEVNETS.
Using the DL05 PLC example will allow easy access to other bits in the PLC without
using explicit messaging. Polling is often faster than explicit messaging.
Think & Do Setup
Appendix E
The following example is a DL06 PLC with the following I/O modules installed:
Slot 1 = D0–16ND3
Slot 2 = F0–2AD2DA–2
Slot 3 = D0–10TD2
Slot 4 = D0–DEVNETS
Error Codes
Appendix C
PIn 01 shows the input diagnostic data (16 bits). PIn 02, linked to V40400, and the
first four bits of PIn 03 are the DL06 integrated inputs (X0–X23 octal = 20 bits). The
next four bits are not used. The last eight bits of PIn3 are the first eight inputs of the
D0–16ND3 and PIn 04 are the last eight inputs of the D0–16ND3.
POut 01 are the diagnostic control bits for D0–DEVNETS. POut 02, linked to
V40500, shows the 16 integrated outputs of the DL06 (Y0–Y17 octal), and POut 03
are the bits for the D0–10TD2 output points.
Think & Do Setup
Appendix E
This is how the display appears after scanning begins. Notice the end points for the
DL06 integrated I/O. Only the discrete I/O is polled. Analog I/O is setup in registers
(See page 2–11).
Polled I/O
Byte I/O Point Address
PIn 02 X7 X6 X5 X4 X3 X2 X1 X0 V40400
PIn 02 X17 X16 X15 X14 X13 X12 X11 X10 V40400
PIn 03 NA NA NA NA X23 X22 X21 X20 V40401
PIn 03 X107 X106 X105 X104 X103 X102 X101 X100 V40401
PIn 04 X117 X116 X115 X114 X113 X112 X111 X110 V40402
POut 02 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 V40500
POut 02 Y17 Y16 Y15 Y14 Y13 Y12 Y11 Y10 V40500
POut 03 Y107 Y106 Y105 Y104 Y103 Y102 Y101 Y100 V40501
Think & Do Setup
Appendix E
In This Appendix. . . .
Ċ OIT with D0-DEVNETS and Think & Do/Entivity
F–2
OIT and Think & Do
An Operator Interface Terminal (OIT) can be used on your DeviceNet network. The
example used here is for a D0–DEVNETS installed in a PLC on a DeviceNet
network. The network is controlled by a PC, with an SST module installed and using
Think & Do Studio. The OIT is an EZTouch unit connected to a DL05 PLC. The PLC
does not have a RLL program in it.
Our example uses three flowcharts. Flowchart 1 Gets the data, flowchart 2, entitled
Parsing, breaks down the data and flowchart 3 Sends the data. We will select
Error Codes
Appendix C
This flowchart shows how to set up explicit messaging to Get (receive) the data. Once
the explicit messaging is done, it normally turns off, but in this example, the last block
OIT with TnD
Appendix F
provides a 500 millisecond delay which allows the explicit messaging to turn on again.
Error Codes
Appendix C
Refer to the DeviceNet tables located in Appendix B when creating your flowcharts.
Since Think & Do Studio has 32 bit registers, the 32 bits must be broken down into
two 16 bit registers in order to transmit (send) the correct data to the PLC. This
Error Codes
Appendix C
This flowchart, SendUpdateOn, shows you how to put the data into a send (transmit)
buffer. The data gets cleared out of the buffer whenever each explicit messaging is
OIT with TnD
Appendix F
done, therefore, data needs to be loaded into the buffer before each explicit
messaging is turned on. Notice that this flowchart uses a 500 millisecond wait block to
allow the explicit messaging to turn on continuously.
Error Codes
Appendix C
After Think & Do has been setup, the EZTouch panel can be connected to the
DL05/06 serial port. Match the communications settings in the EZTouch software to
Error Codes
Appendix C
This is an example of a meter display and two numeric entry parts showing the use of
the default V–memory input and output locations.
OIT with TnD
Appendix F
Error Codes
Appendix C
Finish the EZTouch display by completing the input and output information.
Consult the EZTouch User Manual or the EZTouch help menu for more details.
In This Appendix. . . .
Ċ Setup D0-DEVNETS with Allen-Bradley RSNetworxt
G–2
Allen–Bradley Setup
1. Click on Communications.
2. Click on Configure
Allen–Bradley Setup
Drivers.
Error CodesAppendix G
Appendix C
Note: Selecting a new driver may prompt you to reboot or to restart your computer.
Allen–Bradley Setup
Appendix G
This window will appear.
6. Click on Auto–Configure
to setup the communication
parameters.
Error Codes
Appendix C
Auto Configuration Successfull
will appear.
7. Click OK.
Allen–Bradley Setup
Appendix G
This window will appear for
you to setup the pass
through port.
Be sure that you select the
proper slot where the
scanner module is located.
Error Codes
Appendix C
If this does not match, you
will need to reconfigure the
I/O in RSLogix.
RSLogix You are ready to connect to the PLC using your RSLogix software.
1. Click on Communications
and select Who Active Go
Online.
Allen–Bradley Setup
Appendix G
Allen–Bradley Setup
Appendix G
The Advanced I/O
Configuration window will
appear. The M0 and M1
Lengths will show the default
of 256. Change this to 361.
6. Click OK.
Error Codes
Appendix C
Configure You are now ready to configure the D0–DEVNETS installed in your DL05. First, open
D0–DEVNETS with RSNetWorx. Look for Koyo Electronics in the hardware tree listed under Vendor.
RSNetWorx Click on the + to show the devices for Koyo. The following example shows two
devices, D0–DEVNETS and T1K–DEVNETS.
RSNetWorx opened.
Allen–Bradley Setup
Error CodesAppendix G
Appendix C
Using the EDS file If you do not see your device listed, it will need to be added from the EDS file (refer to
page 2–7). The following example will guide you through the procedure of installing
the device from the EDS file.
Allen–Bradley Setup
Appendix G
Register the EDS file.
Error Codes
Appendix C
Enter the path for the EDS file.
Allen–Bradley Setup
Appendix G
Go on line You will want to go on line with the network now.
Error Codes
Appendix C
2. Select your network from
the pop–up window.
3. Click OK.
Set up I/O Now you can set up the I/O paramerters for the devices. The scanner needs to be
parameters configured first. This is done by accessing the scanner properties.
Allen–Bradley Setup
Appendix G
5. Click Upload.
Error Codes
Appendix C
Uploading network information.
Note: Do not cancel. The entire network data must be allowed to upload.
Parameters.
Allen–Bradley Setup
Appendix G
Be sure that D0–DEVNETS is
selected.
Error Codes
Appendix C
At the completion of the input
AutoMapping, the window will
look like this example. The
D0–DEVNETS node is now
shown.
3. Click AutoMap.
Appendix G
Allen–Bradley Setup
4. Click Download.
Appendix G
Note: Verify that the processor is in program mode before downloading the scanlist.
Error Codes
Appendix C
When the download indication
ends, download is complete.
Set Class Instance Use the Service Class Instance Attribute Editor to set the I/O to read and write to the
Attribute DL05/06.
1. Select the D0–DEVNETS
node.
2. Select Device
or,
3. Right click on the node
symbol in the RSNetWorx
window.
4. Select Class Instance
Allen–Bradley Setup
6. Click Execute
Read the data here.
7. Click Execute
Read the data here.