OMRON products are manufactured for use according to proper procedures by a qualified operator
and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed
the information provided with them. Failure to heed precautions can result in injury to people or damage to property.
!DANGERIndicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury. Additionally, there may be severe property damage.
!WARNINGIndicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury. Additionally, there may be severe property damage.
!CautionIndicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to
an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means
“word” and is abbreviated “Wd” in documentation in this sense.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of
information.
OMRON, 2000
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, o
by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission o
OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without
notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility
for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in
this publication.
Note Indicates information of particular interest for efficient and convenient opera-
tion of the product.
1,2,3...1. Indicates lists of one sort or another, such as procedures, checklists, etc.
This manual describes the installation and operation of the 3G8F7-DRM21-E DeviceNet PCI Board
and includes the sections described below.
Please read this manual carefully and be sure you understand the information provided before
attempting to install and operate the 3G8F7-DRM21-E DeviceNet PCI Board.
Section 1 provides an overview of the DeviceNet PCI Board’s functions, specifications, and system
configurations.
Section 2 explains how to set the DeviceNet PCI Board’s board ID, install the Board in the computer,
and connect the communications cable.
Section 3 explains how to install the DeviceNet PCI Board’s drivers and Scanner SDK software.
Section 4 provides flowcharts showing how to use the API functions as well as precautions to observe
when using the API functions. Refer to this section when actually writing the applications required to
use the DeviceNet PCI Board.
Section 5 provides details on the various API functions in the BusDScan.DLL that are used with the
DeviceNet PCI Board.
Section 6 describes the sample programs that have been provided as reference when writing programs for the DeviceNet PCI Board.
Section 7 describes communications timing in remote I/O communications and message communications.
Section 8 describes troubleshooting and error processing procedures needed to identify and correct
errors that can occur during DeviceNet PCI Board operation.
Trademarks and Copyrights
COMBICON is a registered trademark of the Phoenix Contact Company.
DeviceNet is a registered trademark of the Open DeviceNet Vendor Association, Inc.
Pentium is a trademark of the Intel Corporation.
Windows, Windows 95, Windows 98, Windows NT, and Windows 2000 are registered trademarks of
the Microsoft Corporation.
Other product names and company names in this manual are trademarks or registered trademarks of
their respective companies.
The copyright of the DeviceNet PCI Board and related software belongs to OMRON Corporation.
!WARNING Failure to read and understand the information provided in this manual may result in per-
sonal injury or death, damage to the product, or product failure. Please read each section
in its entirety and be sure you understand the information provided in the section and
related sections before attempting any of the procedures or operations given.
ix
Read and Understand this Manual
Please read and understand this manual before using the product. Please consult your OMRON
representative if you have any questions or comments.
Warranty and Limitations of Liability
WARRANTY
OMRON's exclusive warranty is that the products are free from defects in materials and workmanship for a
period of one year (or other period if specified) from date of sale by OMRON.
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE
PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS
DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR
INTENDED USE. OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.
LIMITATIONS OF LIABILITY
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES,
LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS,
WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT
LIABILITY.
In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which
liability is asserted.
IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS
REGARDING THE PRODUCTS UNLESS OMRON'S ANALYSIS CONFIRMS THAT THE PRODUCTS
WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO
CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
x
Application Considerations
SUITABILITY FOR USE
OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the
combination of products in the customer's application or use of the products.
At the customer's request, OMRON will provide applicable third party certification documents identifying
ratings and limitations of use that apply to the products. This information by itself is not sufficient for a
complete determination of the suitability of the products in combination with the end product, machine,
system, or other application or use.
The following are some examples of applications for which particular attention must be given. This is not
intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses
listed may be suitable for the products:
• Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or
uses not described in this manual.
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical
equipment, amusement machines, vehicles, safety equipment, and installations subject to separate
industry or government regulations.
• Systems, machines, and equipment that could present a risk to life or property.
Please know and observe all prohibitions of use applicable to the products.
NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR
PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO
ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND
INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user's programming of a programmable product, or any
consequence thereof.
xi
Disclaimers
CHANGE IN SPECIFICATIONS
Product specifications and accessories may be changed at any time based on improvements and other
reasons.
It is our practice to change model numbers when published ratings or features are changed, or when
significant construction changes are made. However, some specifications of the products may be changed
without any notice. When in doubt, special model numbers may be assigned to fix or establish key
specifications for your application on your request. Please consult with your OMRON representative at any
time to confirm actual specifications of purchased products.
DIMENSIONS AND WEIGHTS
Dimensions and weights are nominal and are not to be used for manufacturing purposes, even when
tolerances are shown.
PERFORMANCE DATA
Performance data given in this manual is provided as a guide for the user in determining suitability and does
not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must
correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and
Limitations of Liability.
ERRORS AND OMISSIONS
The information in this manual has been carefully checked and is believed to be accurate; however, no
responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
xii
PRECAUTIONS
This section provides general precautions for using the DeviceNet PCI Board and related devices.
The information contained in this section is important for the safe and reliable application of the DeviceNet PCI
Board. You must read this section and understand the information contained before attempting to set up or
operate a DeviceNet PCI Board as part of a control system.
This manual is intended for the following personnel, who must also have
knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.
2General Precautions
The user must operate the product according to the performance specifications described in the operation manuals.
Before using the product under conditions which are not described in the
manual or applying the product to nuclear control systems, railroad systems,
aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines, and equipment that may have a serious influence on lives and property if used
improperly, consult your OMRON representative.
Make sure that the ratings and performance characteristics of the product are
sufficient for the systems, machines, and equipment, and be sure to provide
the systems, machines, and equipment with double safety mechanisms.
This manual provides information for installing and operating the DeviceNet
PCI Board. Be sure to read this manual before operation and keep this manual close at hand for reference during operation.
!WARNING It is extremely important that all control products be used for the specified pur-
pose and under the specified conditions, especially in applications that can
directly or indirectly affect human life. You must consult with your OMRON
representative before applying an OMRON control system to the abovementioned applications.
3Safety Precautions
!WARNING Never attempt to disassemble the Board or touch the Board while power is
being supplied. Doing so may result in serious electrical shock or electrocution.
!WARNING Provide safety measures in external circuits, i.e., not in the Programmable
Controller (CPU Unit including associated Units; referred to as “PLC”), in
order to ensure safety in the system if an abnormality occurs due to malfunction of the PLC or another external factor affecting the PLC operation. Not
doing so may result in serious accidents.
1,2,3...1. Emergency stop circuits, interlock circuits, limit circuits, and similar safety
measures must be provided in external control circuits.
2. The PLC will turn OFF all outputs when its self-diagnosis function detects
any error or when a severe failure alarm (FALS) instruction is executed. As
a countermeasure for such errors, external safety measures must be provided to ensure safety in the system.
xiv
Operating Environment Precautions4
3. The PLC outputs may remain ON or OFF due to deposition or burning of
the output relays or destruction of the output transistors. As a countermeasure for such problems, external safety measures must be provided to ensure safety in the system.
4. When the 24-VDC output (service power supply to the PLC) is overloaded
or short-circuited, the voltage may drop and result in the outputs being
turned OFF. As a countermeasure for such problems, external safety measures must be provided to ensure safety in the system.
!WARNING The CPU Unit refreshes I/O even when the program is stopped (i.e., even in
PROGRAM mode). Confirm safety thoroughly in advance before changing the
status of any part of memory allocated to I/O Units, Special I/O Units, or CPU
Bus Units. Any changes to the data allocated to any Unit may result in unexpected operation of the loads connected to the Unit. Any of the following operation may result in changes to memory status.
• Transferring I/O memory data to the CPU Unit from a Programming
Device.
• Changing present values in memory from a Programming Device.
• Force-setting/-resetting bits from a Programming Device.
• Transferring I/O memory files from a Memory Card or EM file memory to
the CPU Unit.
• Transferring I/O memory from a host computer or from another PLC on a
network.
!Caution Confirm safety at the destination node before transferring a program to
another node or changing contents of the I/O memory area. Doing either of
these without confirming safety may result in injury.
4Operating Environment Precautions
Do not install the PCI Board in any of the following locations.
• Locations subject to direct sunlight.
• Locations subject to temperatures or humidities outside the range
specified in the specifications.
• Locations subject to condensation as the result of severe changes in
temperature.
• Locations subject to corrosive or flammable gases.
• Locations subject to dust (especially iron dust) or salt.
• Locations subject to exposure to water, oil, or chemicals.
• Locations subject to shock or vibration.
Provide proper shielding when installing in the following locations:
• Locations subject to static electricity or other sources of noise.
• Locations subject to strong electromagnetic fields.
• Locations subject to possible exposure to radiation.
• Locations near to power supply lines.
xv
Application Precautions5
5Application Precautions
Observe the following precautions when using the DeviceNet PCI Board.
• Install failsafe safety mechanisms to provide safety in the event of incorrect signals that may result from signal line disconnections or power interruptions.
• Always use the power supply voltage specified in this manual.
• Mount the Board only after checking the connectors and terminal blocks
completely.
• Take appropriate measures to ensure that the specified power with the
rated voltage and frequency is supplied in places where the power supply
is unstable. An incorrect power supply may result in malfunction.
• Always connect to a ground of 100
ing to a ground of 100
• Install external breakers and take other safety measures against short-circuiting in external wiring. Insufficient safety measures against short-circuiting may result in burning.
• Always turn OFF the power supply to the computer or slave before
attempting any of the following. Not turning OFF the power supply may
result in malfunction or electric shock.
• Mounting or dismounting DeviceNet PCI Board.
• Setting rotary switches.
• Assembling the Boards.
• Connecting cables or wiring the system.
• Connecting or disconnecting the connectors.
• Do not attempt to disassemble, repair, or modify any product.
• Be sure that all the board mounting screws, cable screws, and cable connector screws are tightened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunction.
• Use crimp terminals for wiring. Do not connect bare stranded wires
directly to terminals.
• Double-check all the wiring and switch settings before turning ON the
power supply.
• Wire all connections correctly.
• Observe the following precautions when wiring the cable.
• Separate the communications cables from the power lines or high-tension lines.
• Do not bend the communications cables.
• Do not pull on the communications cables.
• Do not place heavy objects on top of the communications cables.
• Be sure to wire communications cable inside ducts.
• Place communications cables in ducts.
• Use the specified communications cables.
• Always wire communications and signal lines within the specified connection distances.
• Before touching the Board, be sure to first touch a grounded metallic
object in order to discharge any static built-up. Not doing so may result in
malfunction or damage.
Ω or less may result in electric shock.
Ω or less when installing. Not connect-
xvi
Conformance to EC Directives6
• Test the operation of the ladder program and other user programs completely before starting actual system operation.
• Always transfer the contents of any required DM Area words, HR Area
words, parameters, or other data to CPU Units, CPU Bus Units, and Special I/O Units before restarting operating after replacing any of these
Units.
• Be sure that the communications cable connectors, and other items with
locking devices are properly locked into place. Improper locking may
result in malfunction.
• Do not touch circuit boards or the components mounted to them with your
bare hands. There are sharp leads and other parts on the boards that
may cause injury if handled improperly.
• When transporting or storing the product, cover the PCBs with electrically
conductive materials to prevent LSIs and ICs from being damaged by
static electricity, and also keep the product within the specified storage
temperature range.
• When transporting or storing circuit boards, cover them in antistatic material to protect them from static electricity and maintain the proper storage
temperature.
• Always enable the scan list before operating the control system.
• Check the baud rate of any new node added to an existing network to be
sure that it agrees with the rest of the network.
6Conformance to EC Directives
6-1Applicable Directives
•EMC Directives
6-2Concepts
EMC Directives
OMRON devices that comply with EC Directives also conform to the related
EMC standards so that they can be more easily built into other devices or
machines. The actual products have been checked for conformity to EMC
standards. (See the following note.) Whether the products conform to the
standards in the system used by the customer, however, must be checked by
the customer.
EMC-related performance of the OMRON devices that comply with EC Directives will vary depending on the configuration, wiring, and other conditions of
the equipment or control panel in which the OMRON devices are installed.
The customer must, therefore, perform final checks to confirm that devices
and the overall machine conform to EMC standards.
NoteApplicable EMC (Electromagnetic Compatibility) standards are as follows:
DeviceNet products that meet EC directives must be installed as follows:
1,2,3...1. Used reinforced insulation or double insulation for the DC power supplies
used for the communications power supply, internal circuit power supply,
and the I/O power supplies.
2. DeviceNet products that meet EC directives also meet the common emission standard (EN61000-6-4). When DeviceNet products are built into
equipment, however, the measure necessary to ensure that the standard
is met will vary with the overall configuration of the control panel, the other
devices connected to the control panel, and other conditions. You must
therefore confirm that EC directives are met for the overall machine or device, particularly for the radiated emission requirement (10 m).
The following examples show means of reducing noise.
1,2,3...1. Noise from the communications cable can be reduced by installing a ferrite
core on the communications cable within 10 cm of the DeviceNet PCI
Board.
Ferrite Core (Data Line Filter): 0443-164151 (manufactured by Nisshin Electric Co.)
The 3G8F7-DRM21-E DeviceNet PCI Board includes the PCI Board (hardware) and the Scanner SDK software on CD-ROM.
3G8F7-DRM21-E DeviceNet PCI Board Scanner
PCI BoardScanner SDK
1-2DeviceNet PCI Board
The PCI Board is used as an interface to other software, such as the
DeviceNet Configurator, NetXServer, and Analyzer.
DeviceNet PCI Board Scanner
WS02-CFDC1-E DeviceNet
Configurator
WS02-NXD@-1 NetXServer
for DeviceNet
WS02-ALDF-E DeviceNet
Analyzer
DeviceNet Scanner SDK
DeviceNet Configurator
NetXServer for DeviceNet
DeviceNet Analyzer
DeviceNet Scanner SDKThe DeviceNet Scanner SDK (this product) is a library for developing applica-
tions that operate as DeviceNet Masters or Slaves. It is supplied as a DLL file
for a Windows environment.
Use the Scanner SDK to develop Master/Slave applications with industryleading performance and functions.
2
Scanner SDK Functions and FeaturesSection 1-3
DeviceNet ConfiguratorThe DeviceNet Configurator is a Windows-based application that supports
construction of DeviceNet networks. The Configurator is used not only for setting parameters and monitoring OMRON Master and Slave devices, but also
for setting parameters for slaves from other manufacturers, simply by installing
the EDS files.
The Configurator provides extensive support for managing networks, from
design through to maintenance.
NetXServer for DeviceNetThe NetXServer is middleware that operates in a Windows environment. The
NetXServer collects I/O data from a DeviceNet network and provides it to
monitoring and other applications. It operates as a DDE server.
NetXServer enables I/O data monitoring without affecting Master or Slave
communications.
The following two types of NetXServer are available:
DDE Edition: For monitoring I/O data using a DDE client (e.g., Microsoft
Excel)
SDK Edition: Library for developing monitoring applications using NetXServer
functions
DeviceNet AnalyzerThe DeviceNet Analyzer is a Windows-based application for analyzing mes-
sage frames on a DeviceNet network.
The DeviceNet Analyzer can display the message frames being transmitted
on a network and indicate traffic status. It can be used to find the source of
errors and for developing DeviceNet-compatible devices.
1-3Scanner SDK Functions and Features
DeviceNet
Communications
Functions
NoteThe DeviceNet network is capable of exchanging I/O with distant Slaves
DeviceNet
Communications Features
The Scanner SDK is equipped with the following communications functions.
• I/O communications functions that exchange I/O data with other
DeviceNet nodes:
DeviceNet Master function
DeviceNet Slave function
• DeviceNet explicit messaging functions (client and server functions)
In addition to the communications functions above, the Scanner SDK has a
status function that reads the status of the node (Master/Slave) and the network and an error log function that records errors and their time of occurrence.
through a single cable. Moreover, Slaves and other Masters can be controlled
and monitored by sending and receiving explicit messages. Refer to the
DeviceNet Operation Manual (W267) for more details.
In this manual, the “client” is the node that sends a message requesting services and the “server” is the node that receives the message, performs the
requested processing, and returns a response.
The Scanner SDK has the following features:
Exchange I/O Data with DeviceNet Slaves
The status of I/O points on DeviceNet Slaves is mirrored in the DeviceNet PCI
Board. I/O can be performed with a specified Slave by calling the functions for
reading and writing I/O data.
3
Scanner SDK FunctionsSection 1-4
Use Other Vendor’s DeviceNet-compatible Devices
DeviceNet is a worldwide standard, so any manufacturer’s Slave can be connected as long as it is DeviceNet compatible.
I/O Capacity of 37,800 Bytes for Up To 63 Slaves
The Scanner SDK provides 37,800 bytes for I/O allocation to up to 63 Slaves
(input: 25,200 bytes; output: 12,600 bytes).
Use API Functions to Control Devices
All Scanner SDK functions are provided as API functions. User applications
are created using the API functions.
Check Events with Windows Messaging or Polling
Events can be checked in two ways: automatic notification by Windows messaging and monitoring (polling) of the Board’s event queue by user applications. Use the method most appropriate for each application.
Computer
Application program
API functions
One-cable, reduced
wiring
Max. network length
of 500 m
Output Slave
PCI Board
DeviceNet
communications
cable
T-branch Tap
Relay
Solenoid
Other company's Slaves
can be connected.
T-branching and multidrop wiring can be
combined freely.
Input Slave
Switch
Sensor
Connect up to 63 DeviceNet
Slaves.
1-4Scanner SDK Functions
1-4-1I/O Communications
Master FunctionThe Scanner SDK Master function provides two 200-byte input areas (100
words or 1,600 points) and one 200-byte output area (100 words or 1,600
points) for allocation to each slave.
I/O communications are executed according to the scan list registered by the
Scanner SDK. Scan lists record information such as the number of input and
output bytes for each slave.
4
Scanner SDK FunctionsSection 1-4
Maximum Numbers of I/O Points and Slaves
The following table shows the max. number of I/O points, max. number of
Slaves, and max. number of I/O connections allowed by the Scanner SDK’s
Master function.
ItemSpecification
Max. number of I/O
points
Max. number of I/O
points per Slave
Max. number of Slaves63 Slaves (Node addresses 0 to 63 can be used.)
Max. number of I/O connections per Slave
NoteTwo input areas have been provided for each slave, but normally only the first
area is used. If two connections are used at the same time, then the second
input area can be used.
Slave FunctionThe Scanner SDK Slave function provides two 200-byte input areas (100
words or 1,600 bits) and one 200-byte of output area (100 words or 1,600
bits). The following methods can be used to register the Master in the slave
scan list.
1,2,3...1. Use functions to register Masters individually or in a group.
2. Register Masters in a group by specifying a parameter file that was created
with the OMRON DeviceNet Configurator.
A slave scan list must be registered in the Scanner SDK for nodes to operate
as Slaves.
Input: 25,200 bytes (= 12,600 words or 201,600 points)
Output: 12,600 bytes (= 6,300 words or 100,800 points)
Input: 200 bytes × 2 (= 100 words × 2 or 1,600 points × 2)
Output: 200 bytes (= 100 words or 1,600 points)
2 max.
Maximum Numbers of I/O Points and Masters
The following table shows the max. number of I/O points and max. number of
Masters allowed by the Scanner SDK’s Slave function.
ItemSpecification
Max. number of I/O points Input: 200 bytes × 2 (= 100 words × 2 or 1,600 points × 2)
Output: 200 bytes (= 100 words or 1,600 points)
Max. number of Masters1 Master
NoteTwo input areas have been provided, but normally only the first area is used. If
two connections are used at the same time, then the second input area can
be used.
1-4-2Message Communications Function
Explicit Message
Communications
The DeviceNet PCI Board supports explicit message communications.
As a client, the DeviceNet PCI Board can send explicit messages to control or
monitor other nodes in the DeviceNet network when necessary.
As a server, the DeviceNet PCI Board can receive explicit messages from
other nodes. (The requested processing and responses must be handled in
user applications.)
Explicit message communications can be used to freely communicate with
DeviceNet-compatible devices produced by other companies.
5
Scanner SDK FunctionsSection 1-4
Maximum Number of
Connections
The following table shows maximum number of connections allowed.
ItemSpecification
Max. number of client connections
Max. number of server connections
63 connections (1 connection per server)
4 connections (1 connection per client)
1-4-3Maintenance Functions
Read Status FunctionsThe DeviceNet PCI Board can read the following information, including set-
tings and the operating status of the nodes (Master/Slaves) and network.
• Scanner SDK’s DLL version
• DeviceNet PCI Board’s driver version
• Whether or not the DeviceNet PCI Board is installed
• Network status
• Operational status in the network/status in remote I/O communications
• Communications status
• Whether or not each Slave is registered in the scan list
• Each Slave’s device status
Reset FunctionThe DeviceNet PCI Board can be reset (initialized) with a command from the
computer.
Communications Cycle
Time Management
This function can set the communications cycle time (interval between the
exchange of the Slave’s I/O) and read or clear the minimum and maximum
values.
Error LogThe DeviceNet PCI Board has an error log function that records information
on errors that occur during operation. The error log can be checked to pinpoint errors for faster error processing and recovery.
PC Watchdog Timer
Management
Remote I/O can be made to stop automatically if the application that controls
the DeviceNet PCI Board stops for some reason. The Board’s PC watchdog
timer is refreshed regularly from the computer (application) to notify the Board
that the application is operating normally.
6
System ConfigurationSection 1-5
1-5System Configuration
The following diagram shows the various device connections allowed.
Trunk line
(A cable with terminators
connected on both ends.)
DeviceNet Cable
Slave connected by
the multi-drop method
Slave connected by the T-branch
method using a T-branch Tap
T-branch Tap with
terminator installed
PCI
Board
Drop line
(A cable branching from the
trunk line, 6 m max.)
Input Slave
Output Slave
Output Slave
Input Slave
NoteRefer to the following manuals for information on Slaves.
• DRT2 Series DeviceNet Slave Operation Manual (W404)
• C200HW-DRT21, CQM1-DRT21, and DRT1 Series DeviceNet Slave
Operation Manual (W347)
• DRT1-COM and GT1 Series DeviceNet MULTIPLE I/O TERMINAL Operation Manual (W348)
Baud Rate and DistanceThe following table shows the relationship between the baud rate and commu-
nications distance in the DeviceNet network.
Slave Connection
Methods
Baud rateMaximum network lengthDrop line
Thick cableThin cable
500 kbps100 m max.100 m max.6 m max.39 m max.
250 kbps250 m max.78 m max.
125 kbps500 m max.156 m max.
length
Slave devices can be connected in two ways. These connection methods can
be combined in the same network.
MethodDescription
T-branch MethodSlaves are connected to a drop line from the trunk line or
branch line created with a T-branch Tap.
Multi-drop MethodSlaves are directly connected to the trunk line or the drop line.
Total drop line
length
NoteRefer to the DeviceNet Operation Manual (W267) for details on connection
methods and grounding.
7
SpecificationsSection 1-6
1-6Specifications
1-6-1DeviceNet PCI Board General Specifications
ItemSpecifications
Dimensions119.9 × 106.7 mm (W × H)
Operating voltage range5 VDC ± 5% (3.3 VDC is not used.)
Current consumptionInternal power supply: 290 mA max. at 5 VDC
Vibration resistance
Shock resistance
Ambient temperatureOperating: 0 to 55°C
Humidity10% to 90% (with no condensation)
AtmosphereMust be free from corrosive gas
Weight91 g max.
Max. number of Boards3 Boards/computer max.
Communications power supply: 30 mA max. at 24 VDC
2
10 to 57 Hz, 0.075-mm double amplitude, 57 to 150 Hz, acceleration: 9.8 m/s
directions for 80 minutes each (Time coefficient; 8 minutes × coefficient factor 10 = total time
80 minutes)
DIN Track installation: 2 to 55 Hz, 2.94 m/s2 in X, Y, and Z directions for 20 minutes each
147 m/s2 three times each in X, Y, and Z directions
Storage: –20 to 60°C
in X, Y, and Z
The DeviceNet PCI Board conforms to PCI Local Bus Specification Rev. 2.
1-6-2DeviceNet Communications Specifications
ItemSpecification
Communications protocolDeviceNet
Connection formsMulti-drop and T-branch connections can be used for trunk or drop lines.
Terminators must be connected at both ends of the trunk line.
Baud rate500 kbps, 250 kbps, or 125 kbps (Specified with the SCAN_Online function.)
Communications mediaSpecial 5-wire cables (2 signal lines, 2 power lines, 1 shield line)
Communications distances
Communications power supply11 to 24 VDC, 30 mA (supplied through the communications connector)
Max. number of Slaves63 Slaves
Communications cycle time (see
note 2)
Error control checksCRC error check, node address duplication check, scan list verification
Cable5 conductors (two signal wires, two power supply wires, and one shield wire)
500 kbpsNetwork length: 100 m max.
Drop line length: 6 m max.
Total drop line length: 39 m max.
250 kbpsNetwork length: 250 m max. (see note 1)
Drop line length: 6 m max.
Total drop line length: 78 m max.
125 kbpsNetwork length: 500 m max. (see note 1)
Drop line length: 6 m max.
Total drop line length: 156 m max.
Set between 1 and 500 ms with the SCAN_SetScanTimeValue() function.
NoteIndicates the max. length when thick cables are used. Reduce the network
length to 100 m max. when using thin cables. When using both thick and thin
cables together, refer to the DeviceNet Operation Manual (W267) for details
on the maximum network length.
8
SpecificationsSection 1-6
1-6-3Scanner SDK Communications Specifications
ItemSpecifications
Supported I/O connections• Bit Strobe
• Polling
•Cyclic
• Change of State (COS)
• Explicit Peer-to-peer Messaging
Communications cycle time (See note.)2 to 500 ms (Can be specified using API functions.)
Number of server nodes capable of simultaneous
communications as explicit clients
Number of client nodes capable of simultaneous
communications as explicit servers
Data length for explicit messagesClient:
Response monitoring time for explicit messages (for
clients)
Retries for explicit messages0 (Retries must be performed by the user application.)
2 s (default) (Can be specified using API functions.)
NoteThe communications cycle time is the maximum time from when remote I/O
communications are executed by the Master to a Slave until remote I/O communications are executed again for the same Slave.
Minimum System
Requirements
Hardware Requirements
IBM PC/AT or Compatible
• At least one PCI bus slot (PCI bus Rev. 2.0 or later)
• 5 MB min. free hard disk space
(plus additional space for the user program)
• One CD-ROM drive is required to install the software.
• VGA or better display functions.
The processor, memory capacity, and other specifications not listed above
should conform to the recommendations for the operating system used.
OS
Microsoft Windows 95, 98, Me, NT 4.0, 2000, or XP.
Windows 3.1 and Windows NT 3.5 are not supported.
1-6-4Development Environment
Recommended
Development Environment
Other Development
Environments
Microsoft Visual C++ (Ver. 6.0 or later.)
• Microsoft Visual Basic
Some functions are limited. Refer to Precautions when Using Other
Development Environments under 3-1 Application Development Environments for details.
• Borland C++ Builder
Refer to Refer to Precautions when Using Other Development Environ-ments under 3-1 Application Development Environments for details.
9
Board ComponentsSection 1-7
1-6-5Dimensions
The following diagram shows the dimensions of the DeviceNet PCI Board.
(The height of components on the Board is within specifications for a single
PCI slot.)
21.6 mm
14.7 mm
106.7 mm
126.4 mm
132.3 mm
119.9 mm
1-7Board Components
LED indicators (MS and NS)
These are the DeviceNet MS
(module status) and NS (network status) indicators.
Board ID switch
When two or more DeviceNet PCI
Boards are installed in a computer,
the computer uses the board ID
settings to distinguish the Boards
from each other. Set unique decimal board IDs between 0 and 7.
(The height of the component surface
will fit in one PCI bus slot.)
Communications connector
Connects the Board to the DeviceNet
communications cable.
PCI interface
Connects the Board to the
computer's PCI slot.
10
Preparation for OperationSection 1-8
LED IndicatorsThe following table explains the operation of the LED indicators.
Indicator statusMeaning
MSNS
OFFOFFBoot program initialization is in progress.
Flashing green OFFScanner firmware initialization is in progress.
Lit greenOFFWaiting for online request.
Lit greenFlashing green A connection was established and I/O communi-
cations are in progress.
Waiting for a connection from the Master.
Lit greenLit greenI/O communications or message communications
Board IDWhen two or more DeviceNet PCI Boards are installed in a computer, the
computer uses the board ID settings to distinguish the Boards from each
other. Specify the board ID in API functions to identify the desired board.
Set the board ID in decimal as shown in the following diagram. The allowed
setting range is 0 to 7. (The factory setting is 0.)
Up to 3 DeviceNet PCI Boards can be installed in one computer.
are in progress.
NoteAny board ID from 0 to 7 can be set, as long as the ID is not set on another
DeviceNet PCI Board in the computer. (It is physically possible to set board
IDs 8 and 9, but the Board cannot be used properly with these settings.)
1-8Preparation for Operation
Hardware SettingsIf more than one DeviceNet PCI Board is being installed in one computer, set
the board IDs on the Boards’ rotary switches so that the different Boards can
be distinguished from one another. Refer to 2-2 Installing the Board in theComputer for details.
Always set the rotary switches before turning ON the computer.
Installation on ComputerInstall the Board in the computer. Refer to 2-2 Installing the Board in the Com-
puter for details.
Software InstallationInstall the DeviceNet PCI Board driver and software required to use the Board
from the computer. Refer to 2-3 Installing the Drivers and 2-4 Installing theScanner SDK Software for details.
Writing the ProgramWrite the programs (user applications) that make software settings and con-
trol the Board. Refer to SECTION 3 Using API Functions through SECTION 7Error Processing for details.
Reference InformationRefer to 2-5 DeviceNet Connections for information on communications cable
connections.
Refer to the DeviceNet Operation Manual (W267) for information on wiring
DeviceNet networks.
Refer to the DeviceNet Slave Operation Manuals (W404 and W347) and theDeviceNet MULTIPLE I/O TERMINAL Operation Manual (W348) for information on Slaves.
11
Preparation for OperationSection 1-8
12
SECTION 2
Software Installation
This section explains how to install the DeviceNet PCI Board in a computer, how to install the software, and how to connect
the communications cables.