Ultra5000 Series
Intelligent Positioning
Drives with DeviceNet
(Catalog Numbers
2098-IPD-005-DN,
2098-IPD-010-DN, and
2098-IPD-020-DN,
Reference Manual
Important User Information
ATTENTION
!
IMPORTANT
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 progra
in this guide are intended solely for purposes of example. Since there
are many variables and requirements associated with any particular
®
installation, Allen-Bradley
(to include intellectual property liability) for actual use based upon
the examples shown in this publication.
Allen-Bradley publication SGI–1.1, Sa
Application, Installation and Maintenance of Solid-State Control
(available from your local Allen-Bradley office), describes some
important di
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 part, without written perm
prohibited.
Throughout this manual we use notes to make you aware of safety
considerations:
fferences between solid-state equipment and
Identifies information about practices or
circumstances that can lead to personal injury or
death, property damage or economic loss
does not assume responsibility or liability
ission of Rockwell Automation, is
ms and layout examples shown
fety Guidelines for the
Attention statements help you to:
• identif
• avoid a
• recognize the consequences
Allen-Bradley is a registered trademark of Rockwell Automation.
RSNetWorx, Ultra3000, Ultra5000 and Ultraware are trademarks of Rockwell Automation.
DeviceNet is a trademark of the Open DeviceNet Vendor Association.
y a hazard
hazard
Identifies information that is critical for successful
application and understanding of the product.
Read 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
urpose of this Manual
• P
• Contents of this Manual
• Related Documentation
• Conventions Used in this Manual
• Allen-Bradley Support
This manual is intended for qualified service personnel responsible for
setting up and servicing the Ultra5000™ drive with DeviceNet™. You
must have previous experience with and a basic understanding of
electrical terminology, programming procedures, networking,
required equipment and software, and safety precautions.
This manual is a reference guide for using DeviceNet to configure,
monitor, or control Ultra5000 drives with DeviceNet.
Publication 2098-RM002A-EN-P – October 2001
P-2Preface
Contents of this Manual
This manual contains the following sections:
ChapterTitleContents
PrefaceAn overview of this manual and
Allen-Bradley technical support.
1The DeviceNet InterfaceDescribes how to install, connect and
commission an Ultra5000 with
DeviceNet.
2DeviceNet Driver InstallationDescribes loading of the drivers and
setup files for the Ultra5000 Drive with
DeviceNet.
3DeviceNet OverviewIntroduces DeviceNet parameters and
messaging
4 Programming ReferenceConfiguration data and behaviors
implemented in the Ultra5000 Drive
with DeviceNet are defined using object
modeling.
5Troubleshooting DeviceNet
Drives
Describes troubleshooting actions for
DeviceNet interfaces to Ultra5000
drives.
Related Documentation
These publications provide additional information specific to the
Ultra5000 Drive with DeviceNet or DeviceNet in general. To obtain a
copy, contact your local Rockwell Automation office or distributor.
For information about:Read this document:Publication Number
A glossary of industrial
automation terms and
abbreviations
How to commission a
DeviceNet system.
An overview of
Allen-Bradley motion
controls and systems
How to use RSNetWorx™
A description of the
Ultra3000™ and Ultra5000
drives
Allen-Bradley Industrial
Automation Glossary
DeviceNet Cable System
Planning and Installation
Manual
Motion Control Selection
Guide
RSNetWorx for DeviceNet
Getting Results Manual
Ultra Family Brochure 2098-BR001x-EN-P
AG-7.1
DN-6.7.2
GMC-SG001x-EN-P
9399-DNETGR
Publication 2098-RM002A-EN-P – October 2001
Preface P-3
For information about:Read this document:Publication Number
How to install and
troubleshoot the Ultra5000
drive
How to install Ultraware™ Ultraware CD Installation
Configuring the Ultra3000
DSD and Ultra5000 IPD
using Ultraware
Ultraware User Manual 2098-UM001x-EN-P
A copy of the DeviceNet Specification, Volumes I and II, Release 2.0
may be ordered from the web site http://www.odva.org of the Open
Device Vendor Association.
The following conventions are used throughout this manual:
• Bulleted lists such as this one provide infor
mation, not procedural
steps
• Numbered lists provide sequential steps or hierarchical information
• Words you type or select appear in bold.
• When we refer you to another location, the section or chapter
name appears in italics
• Software commands and parameters are listed with initial capitals
and hardware signals are listed in all capitals (e.g., Jog Program
Velocity parameter, and ENABLE signal).
Publication 2098-RM002A-EN-P – October 2001
P-4Preface
Allen-Bradley Support
Allen-Bradley offers support services worldwide, with over 75
sales/support offices, 512 authorized distributors and 260 authorized
systems integrators locate
Allen-Bradley representatives in every major country in the world.
d throughout the United States alone, plus
Local Product Support
Contact your local Allen-Bradley representative for:
• Sales and order support
oduct technical training
• Pr
• Warranty support
• Support service agreements
Technical Product Assistance
If you need to contact Allen-Bradley for technical assistance, please
review the information in this manual or that listed in Related Documentation on page Prepresentative. For the quickest possible response, we recommend
that
you have the catalog numbers of your products available when
you call.
2 first. Then call your local Allen-Bradley
Publication 2098-RM002A-EN-P – October 2001
The DeviceNet Interface
Module Status
Network Status
LSD Node Address Selector Switch
Data Rate Selector Switch
MSD Node Address Selector Switch
DeviceNet Connector
Chapter
1
Installing, Connecting, &
Commissioning Your
Ultra5000 with DeviceNet
This manual serves as a reference for configuring, monitoring, and
controlling an Ultra5000 drive through a DeviceNet interface. The
following information is contained in this chapter.
iring the DeviceNet connector.
• W
• Setting
• Configuring the data (baud) rate.
• Understanding the DeviceNet LED indicators.
Refer to the Ultra5000 Intelligent Position
Manual (2098-IN001x-EN-P) for
installation and troubleshooting of the main drive unit.
A DeviceNet network is a planned arrangement of electrical power
and device distribution that is adjusted for optimal communications.
Before you add devices, record the following:
• Net
• Ne
work data rate
twork cable system map (topology) to which you are connecting
• Distances between cable system components
• Device current draw and voltage drop for each device on the
network
• Limitation of the trunk and drop cables
Refer to the table below for recommended trunk and drop lengths.
Data Rates125 Kbps250 Kbps500 Kbps
metersfeet metersfeet metersfeet
Thick Trunk Lines5001640250820100328
Thin Trunk Lines100 328100328100328
Maximum Drop Length 6 20 6 20 6 20
Cumulative Drop Budget1565120 78256 39128
Refer to the DeviceNet Cable System Planni
ng and
Installation
Manual (publication DN-6.7.2) for specific guidance in calculating
and attaching the Ultra500
0 to a network.
Publication 2098-RM002A-EN-P – October 2001
The DeviceNet Interface1-3
Outer Jacket
Braided Shield
6.4 mm
(0.25 in)
Outer Jacket
Shrink Wrap
38 mm
(1.5 in)
Outer Jacket
Shrink Wrap
8.1 mm
(0.32 in)
Connecting Your DeviceNet Cable
To attach a plugable, open style, screw-connector to the DeviceNet
cable:
1. Strip 65 mm (2.6 in.) to 75 mm (2.96 in.) of the outer jacket from
the end of the cable, leaving no more than 6.4mm (0.25 in.) of the
braided shield exposed.
Figure 1.2
Exposing the braided shield
2. Wrap the end of the cable with 38 mm (1.5 in.) of shrink wrap,
covering part of the exposed wires and part of the outer jacket.
Figure 1.3
Adding shrink wrap
3. Strip 8.1 mm (0.32 in.) of the insulation from the end of each of
the insulated wire.
Note: Be careful not to nick, cut, or otherwise damage the
individual strands of wire.
Trim the last 6.5 mm (0.26 in.) of the bare wires so that the outside
dimension does not exceed 0.17 mm (0.045 in.).
Figure 1.4
Exposing wire stands
Publication 2098-RM002A-EN-P – October 2001
1-4The DeviceNet Interface
5
4
3
2
1
23145
Red (V+)
White (Can_H)
Bare (Shield)
Blue (Can_L)
Black (V-)
Plug Connector
4. Insert each wire into the appropriate clamping cavity of the
plugable screw connector, according to the color of the cable
insulation.
5. Use an 1/8 inch flat blade screwdriver to attach wires in the
connector. Firmly tighten the clamping screws to secure each wire.
Figure 1.5
Wiring the DeviceNet connector
Terminal Cable ColorDesignation
1BlackV -
2BlueCan_L
3BareShield
4WhiteCan_H
5RedV +
6. Insert the connector on the Ultra5000 drive to attach the
DeviceNet network.
Publication 2098-RM002A-EN-P – October 2001
The DeviceNet Interface1-5
Use the MSD and LSD rotary switches on the
DeviceNet panel of the drive to set node
addresses.
MSD
LSD
0
8
6
4
2
0
8
6
4
2
Configuring Your Ultra5000
with DeviceNet
To configure your Ultra5000 drive with DeviceNet:
1. Verify that there is no power applied to the drive, and the
Dev
iceNet cable is connected (refer to figures 1.1 through 1.5 in
this chapter.
2. Set the node address for each drive in your system. Valid node
addresses are 00-63 and PGM. The MSD rotary switch, Figure 1.6,
sets the most significant digit and the LSD rotary switch sets the
least significant digit. For switch locations, refer to Figure 1.1 on
page 1-1 of this chapter. The following table provides examples.
For this Node
Address:
1010
1111
1212
Figure 1.6
MSD and LSD Rotary Switches
Set the MSD switch to:Set the LSD switch to:
Note: Selecting an invalid node address (> 63) sets the node
address according to a non-volatile parameter stored in the
drive.
Refer to the Ultra5000 Intelligent Positioning Drive Installation Manual (2
3. Set the data rate switch, Figure 1.
098-IN001x-EN-P) for a listing of reserved node addresses.
7, to the established DeviceNet
network data rate. Valid data rates are 125 kbps, 250 kbps, 500
kbps, AUTO, and PGM. Refer to Figure 1.1 on page 1-1 for the
switch location on the drive.
Note: Selecting AUTO automatically matches the device data rate
to the rate of the network. Selecting PGM sets the data rate
according to a non-volatile parameter stored in the drive.
Publication 2098-RM002A-EN-P – October 2001
1-6The DeviceNet Interface
Use the Data Rate rotary switch on the DeviceNet
panel of the drive to set the data rate.
Figure 1.7
Data Rate Rotary Switch
4. Apply power to the drive.
5. Observe the module status LED.
If the module status LED:Then:
Is not steady greenRefer to Troubleshooting DeviceNet Drives
on page 5-1.
Is steady greenThe drive is ready. Go to step 6.
6. Observe the network status LED.
If the network status LED:Then:
Is offEstablishing communication with
network (wait for flashing or
steady green).
Is not flashing or steady greenRefer to Troubleshooting
DeviceNet Drives on page 5-1.
Is flashing or steady greenCommunication is ready. Go to
Chapter 2.
Publication 2098-RM002A-EN-P – October 2001
Chapter
IMPORTANT
2
DeviceNet Driver Installation
Follow the procedure listed in the Ultraware User Manual (publication
2098-UM001x-EN-P) to load and create the requisite DeviceNet drivers
for the Ultra5000 drive.
1. Install the following files as Drivers to the Ultra5000 drive:
• DNetLoad.exe
• DNe
. Load the following files to the Files branch of the Ultra5000 drive:
2
• DNetBoot.hex
• DNetMain.hex
3.
Cycle power on the Ultra5000 and verify that within
approximate
DeviceNet interface is lit (on). This indicates successful installation
of the drivers. The Module Status LED will flash red-green while
the DeviceNet interface card is being initialized.
4. Select Rescan from the Tools menu. Verify the DNetServ.exe
automatically creates
Workspace of the Ultra5000 drive.
NameTypeNumber of Elements
DNetConfigDataLong Int8
DNetIntArrayLong Int32
DNetFltArrayFloat32
tServ.exe
l
y 15 seconds the green Module Status LED on the
the following Global Variables in the
If the Ultra5000 Drive Properties are Reset to Factory
Settings with Ultraware, the DeviceNet drivers are
erased and must be reinstalled.
Publication 2098-RM002A-EN-P – October 2001
2-2DeviceNet Driver Installation
ATTENTION
!
Configuring Ultra5000
DeviceNet Using the
DNetConfigData Array
The DNetConfigData array is the interface for configuring
DeviceNet on the Ultra5000. The array is a standard Ultra5000 long
integer array and is automatically created by the DeviceNet driver
program. For more information on arrays, see the Ultra5000
Programming Manual.
Array Index 0 – PGM MAC ID
The programmed non-volatile DeviceNet Node Address (MAC ID).
ValueDescription
0 to 63MAC ID range (default is 63)
Array Index 1 – PGM Baudrate
The programmed non-volatile DeviceNet Data Rate.
ValueDescription
0125 kps (default)
1250 kps
2500 kps
3Autobaud
Array Index 2 – DeviceNet Module Fault Action
Risk of severe bodily injury or equivalent damage
exists.
The Module Fault Action value allows you to change
the default configuration, and to potentially allow the
drive to continue to operate when communication
with the DeviceNet module is lost.
Determines the action the drive should take when it cannot
communicate with the DeviceNet module.
ValueDescription
0
DeviceNet fault E14 (default)
Publication 2098-RM002A-EN-P – October 2001
1Ignore
DeviceNet Driver Installation2-3
ATTENTION
!
ATTENTION
!
Array Index 3 – DeviceNet Idle Fault Action
Risk of severe bodily injury or equivalent damage
exists.
The Idle Fault Action value allows you to change the
default configuration, and to potentially allow the
drive to continue to operate when communication
with the DeviceNet module is lost.
Determines the action the drive should take if the master sends a zero
length I/O message to the drive, which may occur if a PLC (master) is
set to program mode. No action will be taken if I/O Receive Select is
set to 0 (No data consumed).
ValueDescription
0
1Ignore
DeviceNet fault E14 (default)
Array Index 4 – DeviceNet Comm Fault Action
Risk of severe bodily injury or equivalent damage
exists.
The Comm Fault Action value allows you to change
the default configuration, and to potentially allow the
drive to continue to operate when communication
with the DeviceNet module is lost.
Determines the action the drive should take if the drive detects a
network failure while an I/O messaging connection is active.
ValueDescription
0
1Ignore
DeviceNet fault E14 (default)
Publication 2098-RM002A-EN-P – October 2001
2-4DeviceNet Driver Installation
Array Index 5 – I/O Transmit Select
Selects the input (produced) assembly that is transmitted by the drive
over a Polled I/O Messaging Connection. If the value is modified, you
have to either close any existing I/O Messaging connection(s), power
cycle the drive, reset the drive, or remove and reapply DeviceNet
power for the drive to use the modified value.
Refer to Assembly Object, Instance ID = 1 - 16 on page 4-12 for
information on the data format.
Selects the output (consumed) assembly that is updated when a
Polled I/O Message is received by the drive. If the value is modified,
you have to either close any existing I/O Messaging connection(s),
power cycle the drive, reset the drive, or remove and reapply
DeviceNet power for the drive to use the modified value.
Refer to Assembly Object, Instance ID = 1 - 16 on page 4-12 for
information on the data format.
This is a read-only value that indicates the last modules fault status.
This value defaults to zero on power up and reset.
ValueDescription
0No Fault (default)
1
DeviceNet Idle Fault
2
DeviceNet Comm Fault
Publication 2098-RM002A-EN-P – October 2001
2-6DeviceNet Driver Installation
Array Index 8 – DeviceNet Loader Version
This is a read-only value that indicates the current version of
DNetLoad.exe. The version number is displayed without periods (e.g.
version 1.2.0 will display as 120).
Array Index 9 – DeviceNet Server Version
This is a read-only value that indicates the current version of
DNetServ.exe. The version number is displayed without periods (e.g.
version 1.2.0 will display as 120).
Publication 2098-RM002A-EN-P – October 2001
DeviceNet Overview
Chapter
3
Introduction
Features
DeviceNet is an open, global industry-standard communication
network. It is designed to provide an interface from a programmable
controller through a single cable directly to smart devices such as
sensors, push buttons, motor starters, simple operator interfaces and
drives.
The Ultra5000 Drive with DeviceNet Interface provides the following
features:
tra5000 Drive with DeviceNet implements the Unconnected
• Ul
Me
ssage Manager (UCMM) which is used to establish a Group 3
Explicit Message connection. Up to five Group 3 Explicit Messaging
connections can be established.
• Faulted-node Recovery, allows the node address of a device to be
changed even when it is faulted on the network. This feature
requires the support of proper PC software tools and the Node
Address (0-63, PGM) switches be set to the PGM (program)
position.
• Software configuration lets you configure the Ultra5000 Drive with
DeviceNet using RSNetWorx for DeviceNet (3.00.01 or later, version
3.00 with Service Pack 1).
Parameters and Electronic
Data Sheet
• Autobaud allows the drive to determine the network data rate.
Note: User programs and files cannot be loaded to the Ultra5000 drive
over DeviceNet.
The Ultra5000 with DeviceNet contains a set of parameters that are
used to configure and monitor the drive. You can perform
configuration by changing the values associated with individual
parameters. Parameter values may be written and read via DeviceNet.
Writing a value to a parameter may configure drive operations such as
the acceleration or deceleration rates. Writing a value to a parameter
may also configure DeviceNet operations such as which input and
output assemblies are to be used for I/O communications with a
master (scanner). The parameter set is documented in Programming Reference beginning on page 4-1.
Publication 2098-RM002A-EN-P – October 2001
3-2DeviceNet Overview
Electronic Data Sheet (EDS) files are specially formatted ASCII files
that provide all of the information necessary for a configuration tool
such as RSNetworx for DeviceNet to access and alter the parameters
of a device. Information about each parameter is contained in the file
such as parameter min, max, and default values, parameter data
format and scaling, and the parameter name and units. You can create
or access an EDS file stored in the Ultra5000 Drive with DeviceNet via
RSNetworx for DeviceNet (3.00.01 or later, version 3.00 with Service
Pack 1) or download an EDS file for the Ultra5000 Drive with
DeviceNet f
www.ab
rom Rockwell Automation/Allen-Bradley web-site
.com/networks/eds.
DeviceNet Messaging
The Ultra5000 with DeviceNet operates as a slave device on a
DeviceNet network. The drive supports Explicit Messages and Polled
I/O Messages of the predefined master/slave connection set. The
drive also supports the Unconnected Message Manager (UCMM) so
that up to five Group 3 Explicit Message connections may be
established with the drive.
Predefined Master/Slave Connection Set
A set of messaging connections that facilitate communications and is
typically seen in a master/slave relationship is known as the
Predefined Master/Slave Connection set. The master is the device that
gathers and distributes I/O data for the process controller. A
DeviceNet master scans its slave devices based on a scan list it
contains. Each slave device returns I/O data to its master device.
The I/O data exchanged over this connection is pre-defined.
Explicit Response/Request Messages
Publication 2098-RM002A-EN-P – October 2001
Explicit Request messages are used to perform operations such as
reading and writing parameter values. Explicit Response messages
indicate the results of the attempt to service an Explicit Request
message.
Polled I/O Command/Response Messages
The Poll Command is an I/O message transmitted by the master
device. A Poll Command is directed toward a specific slave device. A
separate Poll Command must be sent to each slave device that is to be
DeviceNet Overview3-3
polled. The Poll Response is the I/O message that the slave device
transmits back to the master device.
I/O Messaging and Explicit
Messaging with DeviceNet
Selecting Input and Output
Assemblies for I/O
Messages
You can configure and monitor the drive with either I/O Messaging or
Explicit Messaging. I/O messages are for time-critical, control-oriented
data. I/O messages typically are used for moving predefined data
repeatedly with minimum protocol overhead. Explicit Messages
provide multi-purpose, point-to-point communication paths between
two devices. Explicit Messaging typically would not be used to
exchange data periodically since I/O Messages have a higher priority
and lower protocol overhead than Explicit Messages. However,
Explicit Messages have more flexibility by specifying a service to be
performed and a specific address.
The Ultra5000 with DeviceNet provides sixteen generic Input and
Output Assemblies. The choice of which Input and/or Output
Assembly to use should be based on the type of information that is
appropriate in the particular system. The I/O Assemblies are mapped
to the first four 32-bit values of the Long Integer (DNetIntArray) and
Floating-point (DNetFltArray) arrays
The Ultra5000 has no pre-defined information stored in these
location
control, and it is the responsibility of the user program(s) to update
and utilize the values as necessary.
s. The contents of the locations are under user program
The choice of which Input and Output Assembly to use should be
ba
sed on what sort of information is appropriate in a particular
system. You should keep in mind that larger assemblies utilize more
network bandwidth. Information on the data format of all the
Assemblies is given in Assembly Object (Class ID 04H) on page 4-11.
Publication 2098-RM002A-EN-P – October 2001
3-4DeviceNet Overview
Publication 2098-RM002A-EN-P – October 2001
Chapter
4
Programming Reference
The Ultra5000 Drive with DeviceNet implements a vendor specific
device profile - Rockwell Automation Miscellaneous (Device Type:
73hex).
The configuration data and behaviors implemented in the Ultra5000
Drive with De
Ultra5000 Drive with DeviceNet is modeled as a collection of objects.
An Object is a collection of related attributes and services. An attribute
is an externally visible characteristic or feature of an object, while a
service is a procedure an object can perform.
The following general definitions also may be useful in understanding
DeviceNe
viceNet are defined using object modeling. The
t object modeling:
Object Model
ject - A representation of a particular type of data component
• Ob
withi
n the DeviceNet node.
• Instance - A specific occurrence of an Object.
• Attribute - A description of a characteristic or feature of an Object.
Attributes provide status information or govern the operation of an
Object.
• Service - A function performed by an Object.
The Object Model diagram on Page 4-2 depicts the objects supported
in the Ultra5000 Drive with DeviceNet. The following table indicates
object classes present in this device, and the number of instances
the
present in each class.
Object ClassNumber of Instances
Identity4
Message Router1
DeviceNet1
Assembly16
Connection1 - I/O
6 - Explicit
Parameter340
Publication 2098-RM002A-EN-P – October 2001
4-2Programming Reference
Class ID #2
0X02
02
H
Class ID #1
0X01
01
H
Class ID #3
0X03
03
H
Class ID #15
0X0F
0F
H
Class ID #4
0X04
04
H
05
H
Class ID #5
0X05
05
H
DeviceNet Network
DeviceNet
Node
Message
Router
Connection
Object
Ultra5000
(no public
DeviceNet
Object
Application
Object
Identity
Object
Parameter
Object
Assembly
Object
Interface)
Figure 4.1
Object Model
How Objects Affect Behavior
The objects in the Ultra5000 Drive with DeviceNet affect its behavior
as shown in the table below.
ObjectEffect on Behavior
Message RouterNo effect
DeviceNetConfigures port attributes (node address, data rate, and BOI)
AssemblyDefines I/O data format
ConnectionContains the number of logical ports into or out of the device
ParameterProvides a public interface to the device configuration data
Publication 2098-RM002A-EN-P – October 2001
Programming Reference4-3
The Defined Object Interface
The objects in the Ultra5000 Drive with DeviceNet have the interface
listed in the following table.
The Media Access Control Identifier (MAC ID) is the common basis for
logically addressing separate physical components across DeviceNet.
The M
distin
network. The MAC ID often is referred to as the node address. Each
component (object) is further identified with the following address
components:
AC ID is a unique integer assigned to each DeviceNet node that
guishes it specifically from among other nodes on the same
ComponentDescription
Class IDThe Class ID is a unique integer value assigned to each Object Class
accessible from the network. The Ultra5000 supports an 8-bit Class ID.
Instance IDThe Instance ID is a unique identification assigned to an Object Instance
that identifies it among all Instances of the same Class.
It is also possible to address the Class itself by utilizing the Instance ID
value zero (0). The Ultra5000 supports an 16-bit Instance ID.
Attribute IDThe Attribute ID is a unique identification assigned to a Class Attribute
and/or Instance Attribute.
Publication 2098-RM002A-EN-P – October 2001
4-4Programming Reference
MAC ID #1MAC ID #2
Instance
Object
MAC ID #4
MAC ID #3
DeviceNet Network
Class #5
#1
Instance
Object
Class #3
#1
Instance
#2
Object
Class #5
Instance
#1
Attribute #1
Attribute #2
MAC ID #4:
Object Class #5
Instance #2
Attribute #1
DeviceNet Node 1DeviceNet Node 2
DeviceNet Node 3DeviceNet Node 4
Figure 4.2
Node Objects
Data Type Definitions
The following mnemonics define the Ultra5000 with DeviceNet data
types.
MnemonicDescription
ARRAYSequence of Data
BOOLBoolean (1 byte)
BYTEBit String (1 byte)
DINTSigned Double Integer (4 bytes)
DWORDBit String (4 bytes)
EPATH
INTSigned Integer (2 bytes)
REALFloating Point (4 bytes)
SHORT_STRINGCharacter String
SINTSigned Short Integer (1 byte)
UDINTUnsigned Double Integer (4 bytes)
Publication 2098-RM002A-EN-P – October 2001
DeviceNet Path Segments
(1 byte length indicator, 1 byte per character)
Programming Reference4-5
MnemonicDescription
UINTUnsigned Integer (2 bytes)
USINTUnsigned Short Integer (1 byte)
WORDBit String (2 bytes)
Identity Object
(Class ID 01
)
H
This object provides identification and general information about the
device. The interface card implements four Identity Objects.
Identity Object,
Attribute for Instance ID = 0 (Class Attributes)
AttrIDAccess
Rule
2GetMax InstanceUINT Maximum instance
Identity Object,
Instance ID = 1 - 4
Instance IDDescription
1Adapter Main Firmware
2Ultra5000 Main Firmware
3Adapter Boot Firmware
4Ultra5000 Boot Firmware
Attribute
Name
Type DescriptionSemantics
of Values
The largest instance
number of an object
currently created in
this class level of the
device.
Revision of the
item the Identity
Object
represents.
represents the
current status of
the entire device.
Major Revision
Minor Revision
See table: Identity
Object, Status
Description of Attribute
ID 5
Its value changes
as the state of
the device
changes.
6Serial Number UDINTSerial number of
device
7Product Name SHORT_
STRING
Readable
identification
Unique identifier for each
device.
Unique identifier for each
product.
Identity Object,
Status Description of Attribute ID 5
Bit (s)DescriptionSemantics of Values
0OwnedTRUE = device has an owner
1Reserved, set to 0
2ConfiguredAlways = 0
Publication 2098-RM002A-EN-P – October 2001
Programming Reference4-7
Identity Object,
Status Description of Attribute ID 5 (Continued)
Bit (s)DescriptionSemantics of Values
3Reserved, set to 0
4, 5, 6, 7Vendor specific
8Minor recoverable
Always = 0
fault
9Minor unrecoverable
Always = 0
fault
10Major recoverable
TRUE if self diagnosis detects a major fault
fault
11Major unrecoverable
Always = 0
fault
12, 13Reserved, set to 0
14, 15
Identity Object,
Common Services
Service
Code
0E
H
05
H
11
H
Implemented forService
ClassInstance
Name
YesYesGet_Attribute_SingleReturns the contents of the
NoResetInvokes the Reset service for
Yesn/aFind_Next_Object_
Instance
Service
Description
specified attribute.
the device.
Causes the specified class to
search and return a list of
instance IDs of existing
instances of the Identity
Object.
Reset Service
When the Identity Object receives a Reset request, it:
• determines if it can perform the reset
• responds to the request
• attempts to perform the reset
Publication 2098-RM002A-EN-P – October 2001
4-8Programming Reference
The Reset common service has the following object-specific
parameter:
Identity Object,
Reset Service
NameData
Ty pe
TypeUSINTType of Reset0 = Emulate as closely as possible cycling power of
DescriptionSemantics
of Values
the drive. (default)
1 = Emulate cycling power as closely as possible.
The drive can not be returned to out-of-box
configuration without deletion of DeviceNet drivers
and files.
Message Router Object
(Class ID 02
)
H
The Message Router Object provides a messaging connection point
through which a Client may address a service to any object class or
instance residing in the physical device.
Message Router Object,
Attributes of Instance ID = 1
Attr.IDAccess
Rule
2GetNumber AvailableUINTMaximum number
3Number activeNumber of
4Active connections ARRAY
Attribute
Name
Data
Ty pe
of
UINT
DescriptionSemantics
of Values
Count of the max
of connections
supported
connections
currently used by
system
components
A list of the
connection IDs of
the currently active
connections
number of
connections
supported
Current count of
the number of
connections
allocated to
system
communication
Array of system
connection IDs
Publication 2098-RM002A-EN-P – October 2001
Message Router Object,
Common Services
Service
Code
0E
H
Service
Name
Get_Attribute_Single Returns the contents of the specified attribute
Service
Description
Programming Reference 4-9
DeviceNet Object
(Class ID 03
)
H
The DeviceNet Object provides configuration and status attributes of a
DeviceNet port.
DeviceNet Object,
Attribute of Instance ID = 0 (Class Attribute)
Attr. ID Access
Rule
1GetRevisionUINT Revision of the DeviceNet Object
DeviceNet Object,
Attributes of Instance ID = 1
Attr.IDAccess
Rule
1SetMAC IDUSINTNode AddressRange 0-63
Set is only supported if the MAC ID is programmable.
Refer to Ultra5000 Intelligent Positioning Drive Installation Manual listed on page P-3
for Rotary DIP switch data setting.
2SetBaud RateData Rate0 = 125K,
Set is only supported if the data rate is programmable.
Refer to Ultra5000 Intelligent Positioning Drive Installation Manual for Rotary DIP
switch data setting.
3SetBus OFF
4Bus OFF
Attribute
Name
Attribute
Name
Interrupt
(BOI)
Counter
Data
DescriptionSemantics
Ty pe
Class definition upon which the
implementation is based.
Data TypeDescriptionSemantics
BOOLBus-OFF Interrupt Default = 0
USINTNumber of times
Controller Area
Network (CAN)
went to the
bus-OFF state
of Values
= 2
of Values
1 = 250K,
2 = 500K
Range 0-255
Publication 2098-RM002A-EN-P – October 2001
4-10Programming Reference
DeviceNet Object,
Attributes of Instance ID = 1 (Continued)
Attr.IDAccess
Rule
5GetAllocation
Attribute
Name
information
Data TypeDescriptionSemantics
STRUCT of:
BYTE
USINT
6MAC ID
BOOLThe Node
Switch
Changed
7Baud Rate
Switch
Changed
Allocation choice
(1 byte)
+ Master MAC
ID (1 byte)
Address
switch(es) have
changed since
last power-up/
reset.
The Baud Rate
switch(es) have
changed since
last power-up/
reset.
of Values
Refer to the
DeviceNet Object
definition in the
DeviceNet
Specification.
Range 0-63, 255
Modified via
Allocate only.
0 = No change
1 = Change since
last reset or
power-up
0 = No change
1 = Change since
last reset or
power-up
8MAC ID
Switch
Value
9Baud Rate
Switch
Value
DeviceNet Object,
Common Services
Service
Code
0E
H
10
H
Service
Name
Get_Attribute_SingleReturns the contents of the
Set_Attribute_SingleModifies the specified attribute.
USINTActual value of
Node Address
switch(es).
Actual value of
Baud Rate
switch(es), or
operating value
after an autobaud
was completed.
Service
Description
specified attribute.
Range 0-63
Range 0-2
Publication 2098-RM002A-EN-P – October 2001
DeviceNet Object,
IMPORTANT
Class Specific Services
Service
Code
4B
H
Service
Name
Allocate_Master/Slave_
Connection_Set
Programming Reference4-11
Service
Description
Requests the use of the Predefined
Master/Slave Connection Set.
Assembly Object
(Class ID 04
)
H
4C
H
Release_Group_2_
Identifier_Set
Indicates that the specified
Connections within the Predefined
Master/Slave Connection Set are
no longer desired. These
connections are to be released
(deleted).
The Ultra5000 with DeviceNet uses Assembly Objects to send generic
data to and from a Master (scanner) device over an I/O connection.
The terms Input and Output are defined from the scanner's point of
view:
• Output Assemblies are defined as the information that is output by
e scanner and consumed by the Ultra5000.
th
• Input Assemblies are consumed by the scanner or are the scanner's
input.
The Ultra5000 with DeviceNet allows you to choose between various
Input and Output As
semblies, thereby choosing the data format of the
messages that are passed back and forth between the Ultra5000 with
DeviceNet and the scanner over the I/O connection. The following
parameters select the Assembly Object instances that are exchanged
over an I/O messaging connection.
Parameter
Instance
8I/O Receive SelectSelects the Assembly Object instance that is
9I/O Transmit (Xmit)
1
Refer to the section on the Parameter Object for more information about parameter instances.
Parameter NameDescription
1
updated when a Polled I/O message is received
by the drive. See page 4-19 for more information.
Selects the Assembly Object instance that is
Select
transmitted by the drive over a Polled I/O
connection. See page 4-19 for more information.
If the above parameters are modified, you must
perform one of the following before the modified
value(s) are active:
•Close any existing I/O messaging connection.
•Power cycle the drive.
•Remove and reapply DeviceNet power to the drive.
•Reset the drive.
Publication 2098-RM002A-EN-P – October 2001
4-12Programming Reference
The following Assembly Objects are implemented in the drive and
buffer I/O in the following fashion:
The arrays are automatically saved in non-volatile storage.
1
Publication 2098-RM002A-EN-P – October 2001
Programming Reference4-13
Assembly Object,
Attribute of Instances ID 1 - 16
Attr IDAccess
Rule
Attribute
Name
Data Type
3SetDataARRAY
Assembly Object,
Common Services
Service
Code
0E
H
10E
H
Implemented forService
ClassInstance
Name
Service
Description
YesYesGet_Attribute_SingleReturns the contents of the
specified attribute.
NoSet_Attribute_SingleModifies an attribute value.
Publication 2098-RM002A-EN-P – October 2001
4-14Programming Reference
ATTENTION
!
ATTENTION
!
DeviceNet Comm Fault Action
The Ultra5000 with DeviceNet will fault depending on the Comm
Fault Action setting if the Output (command) Assembly is not
periodically updated after the Output Assembly has been written to.
You can configure the Ultra5000 with DeviceNet to perform a Comm
Fault
Action if the Output Assembly is not periodically updated after
the I/O (or explicit) messaging connection has been established.
Possible reasons the Output Assembly may not be updated in this way
include the following:
e messaging connection is closed
• Th
• Th
e DeviceNet cable is unplugged
Risk of severe bodily injury or equivalent damage
exists.
The Comm Fault Action value allows you to change
the default configuration, and to potentially allow the
drive to continue to operate when communication
with the DeviceNet Module is lost.
By default, the Ultra5000 drive with DeviceNet will fault and disable
rive when a DeviceNet Comm Fault is triggered. However, you
the d
can configure the drive to ignore the DeviceNet Comm Fault by
setting the Ultra5000 DNetConfigData Array Index 4 – DeviceNet
Comm Fault Action to 1 (Ignore).
DeviceNet Idle Fault Action
The Ultra5000 with DeviceNet will fault depending on the Idle Fault
Action setting if the Master (scanner) sends I/O idle messages
(zero-length messages) and the drive expects non-zero length I/O
messages.
Risk of severe bodily injury or equivalent damage
exists.
The Idle Fault Action value allows you to change the
default configuration, and to potentially allow the
drive to continue to operate when communication
with the DeviceNet Module is lost.
Publication 2098-RM002A-EN-P – October 2001
By default, the Ultra5000 drive with DeviceNet will fault and disable
the
drive when an Idle Fault is triggered. However , no action will be
taken if the Ultra5000 DNetConfigData Array Index 6 – I/O Receive
Programming Reference4-15
Select, Parameter 8 is set to 0 (No data consumed), or if you configure
the drive to ignore Array Index 3 – DeviceNet Idle Fault Action by
setting the DNetConfigData array to 1 (Ignore).
Using Explicit Messaging to Control the Ultra5000
Explicit messages provide multi-purpose, point-to-point
communication paths between two devices. It is possible to control
the drive through explicit messaging on DeviceNet by following
particular guidelines and by writing to various Assembly Objects that
are buffering the I/O data. Although it is possible to control the drive
by writing to various parameter objects, you should consider using a
user program interfacing with the Assembly Objects for controlling the
drive. The guidelines are as follows:
rite to the various Assembly Objects that are buffering the I/O
• W
dat
a.
• Write access to any Assembly Object is not allowed if the message
is passed through a connection whose expected packet rate (EPR)
is zero or if I/O data is being sent over an I/O messaging
connection.
• The drive marks any explicit connection after allowing a write to
an Assembly Object through the connection.
• If a marked explicit connection times out based on the EPR, then
the fault action will be that for Communication Loss over the I/O
connection, using Array Index 4 – DeviceNet Comm Fault Action of
the DNetConfigData array.
• If a marked explicit connection is deleted, then the fault action will
be that configured for Idle over the I/O connection, using Array
Index 3 – DeviceNet Idle Fault Action of the DNetConfigData array.
• Multiple explicit connections can write/overwrite the control I/O if
they meet the guidelines specified. Each connection will be
marked individually within the drive.
• If the drive gets allocated/re-allocated by a controller such that
valid I/O data is being sent to the drive, or if an Idle condition
from the allocating controller is transitioned back to valid data,
then all marked explicit connections will be reset to unmarked and
future writes blocked.
• If a marked connection has its EPR value reset to zero (0) after
being marked, then the connection will become unmarked.
Publication 2098-RM002A-EN-P – October 2001
4-16Programming Reference
Connection Object
The Connection Object manages the internal resources associated
with both I/O and Explicit Messaging Connections. The specific
(Class ID 05
)
H
instance generated by the Connection Class is referred to as a
Connection Instance or a Connection Object. A Connection Object
within a particular module actually represents one of the end-points of
a connection.
DeviceNet Connection Object,
Instance ID = 1 - 10
Instance IDInstances
1Group 2 Explicit Message Connection
2Poll I/O Connection
6-10Group 3 Explicit Message Connections
DeviceNet Connection Object,
Attributes of Instances ID = 1 - 10 /
Attr IDAccess
Rule
1GetStateUSINTState of the Connection
2Instance TypeI/O or Message Connection
3Transport_class_triggerBYTEDefines the behavior of the Connection
4Produced_connection_idUINTCAN identifier to transmit on
Attribute
Name
Data TypeDescription
5Consumed_connection_idCAN identifier to receive on
6Initial_comm_characteristicsBYTEDefines the Message Group(s) associated with
this Connection
7Produced_connection_sizeUINTMaximum number of bytes transmitted across
this Connection
8Consumed_connection_sizeMaximum number of bytes received across this
Connection
9SetExpected_packet_rateDefines timing associated with this Connection
12Watchdog_timeout_actionUSINTDefines how to handle Inactivity/Watchdog
timeouts
13GetProduced_connection_path_
length
14Produced_connection_pathEPATHSpecifies the Application Object whose data is
15Consumed_connection_path_lengthUINTNumber of bytes in the
16Consumed_connection_pathEPATHSpecifies the Application Object(s) that are to
17SetProduction_inhibit_timeUINTDefines minimum time between new data
UINTNumber of bytes in the
produced_connection_path attribute
to be produced by this Connection object
Consumed_connection_path attribute
receive the data consumed by this Connection
production for COS connections.
Publication 2098-RM002A-EN-P – October 2001
IMPORTANT
DeviceNet Connection Object,
Common Services
Service CodeService NameService Description
0E
10
05
H
H
H
Get_Attribute_SingleReturns the contents of the specified attribute.
Set_Attribute_SingleModifies the specified attribute.
ResetUsed to reset the Inactivity/Watchdog Timer associated with a Connection Object
Programming Reference4-17
Parameter Object
The DeviceNet Parameter Object provides the interface to the
Ultra5000 Drive with DeviceNet configuration data. It supplies a full
(Class ID 0F
)
H
description of the parameter, including its minimum and maximum
values and a readable text string describing the parameter. The
instances start at one and increment with no gaps.
Parameter Object,
Attributes for Instance ID = 0 (Class Attributes)
Attr ID Access
Rule
1GetRevisionUINTRevision of this objectCurrent value = 01
2Max InstancesMaximum instance number of an
8Parameter Class
9Configuration
NameData
Ty pe
WORDBit field that describe parametersBit 0 = supports parameter instances
Descriptor
UINTInstance number of the configuration
Assembly
Instance
DescriptionSemantics of Values
The largest instance number of a created
object currently created in this class
level of the device
assembly
object at this class hierarchy level
Bit 1 = full attributes
Bit 2 = nonvolatile storage save command
Bit 3 = params are stored in nonvolatile
storage
0 = configuration assembly not supported
The table Parameter Instance on
page 4-18 lists the parameter
instances implemented in the Ultra5000 Drive with DeviceNet. The
table Parameter Object Instance Attributes on
page 4-49 lists the
instance attributes of the parameter object. A parameter value is
accesse
d via Attribute 1 of a parameter instance. Additional
information about the parameter object is located beginning on
Page 4-51.
Some parameters can not be modified while the
Ultra5000 Drive with DeviceNet is enabled. The drive
returns the error code, 10
- Device State Conflict, if
h
you attempt to modify one of these parameters while
the drive is enabled.
Publication 2098-RM002A-EN-P – October 2001
4-18Programming Reference
Parameter Object,
Instances ID 1- 340
Note: The Set_Attribute_Single service saves parameter values to RAM,
but not to non-volatile storage. To transfer parameter values
from RAM to non-volatile storage, perform one of the following:
• Perform the Save service on the Parameter Object.
• Write the value Execute Command (1) to Parameter 13 - Save
Parameter Values.
Parameter
Instance
1GetDNet Main
2GetDNet Boot
3GetDrive ModelSHORT_S
4GetDN-SW Node
5GetDN-SW Data
6SetDN-NV Node
Access
Rule
Parameter
Name
Firmware Version
Firmware Version
Address
Rate
Address
Data
Type
SHORT_S
TRING
SHORT_S
TRING
TRING
USINT1DeviceNet Node Address (Mac_ID) switch
USINT1DeviceNet Data Rate switch setting.
USINT1The programmed nonvolatile DeviceNet Node
Data
Size
(Bytes)
1 byte
length
indicator,
1 byte per
character
1 byte
length
indicator,
1 byte per
character
1 byte
length
indicator,
1 byte per
character
Units /
Scale
Description
The version of the main firmware in the
DeviceNet adapter. The format is XX.YY.ZZ,
where:
XX = major revision
YY = minor revision
ZZ = maintenance revision
The version of the boot firmware in the adapter.
The format is XX.YY.ZZ, where:
XX = major revision
YY = minor revision
ZZ = maintenance revision
USINT1Selects the output (consumed) assembly that is
updated when a polled I/O message is received
by the drive. If the value is modified, the user has
to either, close any existing I/O messaging
connection(s), power cycle the drive, reset the
drive, or remove and reapply DeviceNet power for
the drive to use the modified value. Refer to the
Assembly Object for information on the data
format.
0 = No Data Consumed
1 = Assembly Instance 1 (default)
2 = Assembly Instance 2
3 = Assembly Instance 3
4 = Assembly Instance 4
5 = Assembly Instance 5
6 = Assembly Instance 6
7 = Assembly Instance 7
8 = Assembly Instance 8
Automatically saved in non-volatile storage.
9SetI/O Transmit
(Xmit) Select
USINT1Selects the input (produced) assembly that is
transmitted by the drive over a polled I/O
messaging connection. If the value is modified,
the user has to either, close any existing I/O
messaging connection(s), power cycle the drive,
reset the drive, or remove and reapply DeviceNet
power for the drive to use the modified value.
Refer to the Assembly Object for information on
the data format.
0 = No Data Produced
1 = Assembly Instance 9 (default)
2 = Assembly Instance 10
3 = Assembly Instance 11
4 = Assembly Instance 12
5 = Assembly Instance 13
6 = Assembly Instance 14
7 = Assembly Instance 15
8 = Assembly Instance 16
Automatically saved in non-volatile storage.
10SetAxis Enable
Command
USINT1Enable the drive.
0 = No Action (default)
1 = Execute Command
11SetDisable Axis
Command
USINT1Disable the drive.
0 = No Action (default)
1 = Execute Command
12SetReset DriveUSINT1Reset the drive.
0 = No Action (default)
1 = Execute Command
13SetSave Parameter
Values
USINT1Save parameters in non-volatile storage.
0 = No Action (default)
1 = Execute Command
Publication 2098-RM002A-EN-P – October 2001
4-20Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Description
14SetControl Digital
USINT1Select a digital I/O type:
Typ e
0 = Sourcing: Digital Inputs should be connected
to a 24 volt power supply, so current flows into
the drive when the input is ON. Digital Outputs
should be connected to ground, so current flows
from the drive when the output is ON. (default)
1 = Sinking: Digital Inputs should be connected to
ground, so current flows from the drive when the
input is ON. Digital Outputs should be connected
to a 24 volt power supply, so current flows into
the drive when the output is ON.
15GetAxis StateUSINT1Indicates if the axis is enabled or disabled.
0 = Disabled
1 = Enabled
16GetController FaultUSINT1Provides the fault status of the drive.
0 = No Fault
4 = Motor Overtemperature
5 = IPM Fault
9 = Bus Undervoltage
10 = Bus Overvoltage
11 = Bad (Illegal) Hall State
14 = Network Communication
17 = User Current
18 = Overspeed
19 = Position (Following) Error
20 = Motor Encoder Error
21 = Auxiliary Encoder Error
22 = Motor Filter
23 = IPM Filter
24 = Velocity Error
26 = User Velocity
58 = Excess CPU Load
17GetController StateUSINT1Provides the state of the controller.
USINT1Enables the position limits. This causes the drive
to start monitoring the position limits. The
Position Limit State - Parameter 34 will transition
to “Running”.
0 = No Action (default)
1 = Execute Command
USINT1Disables the position limits. This causes the drive
to stop monitoring the position limits. The
Position Limit State - Parameter 34 will transition
to “Disabled”.
0 = No Action (default)
1 = Execute Command
USINT1After a position limit violation, the position limits
will go to the “Stopped” state. The drive will not
allow commanded motion in this state. Pressing
this button will allow the drive to respond to
commanded motion to back off of the limit
condition.
0 = No Action (default)
1 = Execute Command
REAL4
cnts/ sec
2
When a limit is detected, the drive will use this
deceleration rate to bring the axis to a stop,
unless doing so would violate the Position Limit
Distance - Parameter 26. If necessary to stay
within the Position Limit Distance, the drive will
calculate a greater deceleration rate.
Range: 0 to 3.4e10
Default: 0
26SetPosition Limit
Distance
27SetPosition Soft
Limits
DINT4cntsWhen a limit is detected, the drive will bring the
axis to a stop within this distance.
Range: 0 to 2147483647
Default: 0
USINT1Enables or disables detection of soft limit
violations. The Position Limits (see Enable
Position Limit - Parameter 22) must also be
enabled for soft limit violations to be detected.
Not saved in non-volatile memory.
0 = Disable (default)
1 = Enable
Publication 2098-RM002A-EN-P – October 2001
4-22Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Description
28SetPosition Hard
Limits
29SetPosition Motor
Limits
30SetPosition Positive
Soft Limit
USINT1Enables or disables detection of hard limit
violations. The Position Limits (see Enable
Position Limit - Parameter 22) must also be
enabled for hard limit violations to be detected.
The inputs to use for positive and negative hard
limits must be set (see Parameters 32 and 33
below) for the hard limits to be detected. Not
saved in non-volatile memory.
0 = Disable (default)
1 = Enable
Note: Hard limits are enabled on power-up if
either hard limit is assigned.
USINT1Enables or disables detection of motor integral
limit violations. The Position Limits (see Enable
Position Limit - Parameter 22) must also be
enabled for motor limit violations to be detected.
The motor limits will only work when using a
motor that supports integral limits (see Parameter
249). Not saved in non-volatile memory.
0 = Disable (default)
1 = Enable
Note: Motor limits are enabled on power-up if
Integral Limits - Parameter 249 are enabled on
the motor.
DINT4cntsThe position, in counts, when a positive soft limit
violation will be detected by the drive. This is the
point where the drive will begin decelerating the
axis.
Range: -2147483648 to 2147483647
Default: 0
31SetPosition Negative
Soft Limit
Publication 2098-RM002A-EN-P – October 2001
DINT4cntsThe position, in counts, when a negative soft limit
violation will be detected by the drive. This is the
point where the drive will begin decelerating the
axis.
Range: -2147483648 to 2147483647
Default: 0
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Programming Reference 4-23
Description
32SetPosition Positive
Hard Limit
33SetPosition Negative
Hard Limit
USINT1The selected digital input to use to indicate a
0 = Disabled – Position Limits are not being
monitored.
1 = Enabling – The drive is transitioning from the
Disabled state to Running.
2 = Running – The drive is monitoring position
limits.
3 = Stopping – The drive has detected a limit
violation and is decelerating the motor.
4 = Stopped – The motor has been stopped in
response to a limit violation. The drive will not
allow any commanded motion until the Position
Limits are reset.
5 = Resetting – The drive is transitioning from the
Stopped state to Running.
DWORD4Indicates which position limit violation(s) have
been detected.
Bit 0 = Positive Soft Limit
Bit 4 = Positive Hard Limit
Bit 8 = Positive Motor Limit
Bit 16 = Negative Soft Limit
Bit 20 = Negative Hard Limit
Bit 24 = Position Motor Limit
USINT1Spins the motor at the Jog Program Velocity -
Parameter 40 in the forward direction.
0 = No Action (default)
1 = Execute Command
USINT1Spins the motor at the Jog Program Velocity -
Parameter 40 in the reverse direction.
0 = No Action (default)
1 = Execute Command
USINT1Brings the motor to a stop, using the Jog Program
REAL4cnts/ secThe commanded motor velocity when the drive is
jogging. Not saved in non-volatile memory.
Range: -3.4e10 to 3.4e10
Default: 0
41SetJog Program
Accel
Publication 2098-RM002A-EN-P – October 2001
REAL4cnts/
sec
2
the Jog Program Velocity. Not saved in
non-volatile memory.
Range: 0 to 3.4e10
Default: 0
The acceleration rate used when ramping-up to
Programming Reference4-25
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
42SetJog Program
Decel
REAL4
cnts/ sec
2
The deceleration rate used when ramping-down
from Jog Program Velocity to zero. Not saved in
non-volatile memory.
Range: 0 to 3.4e10
Default: 0
43GetJog StateUSINT1Describes the relation between the Jog Program
Velocity and Jog Current Velocity, as follows:
0 = Locked, when Jog Current Velocity equals Jog
Program Velocity.
1 = Seeking, when the jog is accelerating or
decelerating.
44GetJog ModeUSINT1Describes the direction of the drive's jog, as
follows:
0 = Stopped, when not jogging
1 = Forward, when jogging forward
2 = Reverse, when jogging in reverse
45GetJog Current
Position
46GetJog Current
Velocity
47GetJog Current
Accel
48SetMove Start
Command
49SetMove Stop
Command
50SetMove Abort
Command
51SetMove Program
Distance
52SetMove Program
Velocity
DINT4cntsThe position generated by the current jog. This
value is automatically re-set to zero at drive
power up.
REAL4cnts/ secThe velocity command generated by the current
jog.
REAL4
cnts/ sec
2
The acceleration command generated by the
current jog.
USINT1Starts a trapezoidal move defined by the Move
Program Distance, Move Program Velocity, Move
Program Accel, and Move Program Decel (see
Parameters 51, 52, 53, and 54 below).
0 = No Action (default)
1 = Execute Command
USINT1Brings the motor to a stop, using the Move
Program Decel.
0 = No Action (default)
1 = Execute Command
USINT1Brings the motor to an immediate stop.
0 = No Action (default)
1 = Execute Command to an immediate stop.
DINT4cntsThe distance that the motor is to move when a
Move Start Command is executed. Not saved in
non-volatile memory.
Range: -2147483648 to 2147483647
Default: 0
REAL4cnts/ secThe commanded motor velocity during a move.
Range: -3.4e10 to 3.4e10 Not saved in
non-volatile memory.
Default: 0
Publication 2098-RM002A-EN-P – October 2001
4-26Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
53SetMove Program
Accel
REAL4
cnts/ sec
2
The acceleration rate used when ramping-up to
the move's velocity. Not saved in non-volatile
memory.
Range: 0 to 3.4e10
Default: 0
54SetMove Program
Decel
REAL4
cnts/ sec
2
The deceleration rate used when ramping-down
from the move's velocity to zero. Not saved in
non-volatile memory.
Range: 0 to 3.4e10
Default: 0
55GetMove StateUSINT1Describes the state of the Move function.
DINT4cntsIn the event that the Move Current Position value
is changed by the execution of a program (.exe)
file, the value of this field will change so that the
sum of Move Floating Zero and Move Current
Position remains unchanged.
57GetMove Current
Position
DINT4cntsThe position generated by the current move. This
value is automatically re-set to zero at drive
power up.
58GetMove Current
Velocity
59GetMove Current
Accel
60GetMove Current
Jerk
REAL4cnts/ secThe velocity command generated by the current
move
REAL4
cnts/ sec
2
The acceleration command generated by the
current move.
REAL4
cnts/ sec
3
The rate of change of acceleration generated by
the current move.
61SetCamtable LoadUSINT1Loads the cam file specified by Camtable
Filename into memory.
0 = No Action (default)
1 = Execute Command
62SetCamtable UnloadUSINT1Unloads the cam file from memory. This frees
USINT1Causes the cam to begin generating an output
position. A cam table file must be loaded to
enable cam, or an “Invalid State” error occurs.
0 = No Action (default)
1 = Execute Command
65SetCam Disable
Command
USINT1Causes the cam to stop generating output, but the
Cam Current Position output is held constant at
the current value.
0 = No Action (default)
1 = Execute Command
66GetCam StateUSINT1The current state of the cam:
0 = Disabled
1 = Enabled
67GetCam Input
Position
DINT4cntsThe current master position value. This value will
roll over to zero as it passes the Camtable Length
value.
68GetCam Input
REAL4cnts/ secThe current master velocity value.
Velocity
69GetCam Current
Position
DINT4cntsThe output position of the cam. This position
always corresponds to the output position
defined for the given “Input Position” in the cam
table.
If the cam ends at a non-zero output position, this
value will roll back to zero (where all cams start),
and the Cam Offset status will be incremented by
the difference between the starting and stopping
output positions for the cam table.
The actual position command generated by the
cam is the sum of the Cam Offset and Cam
Current Position.
70GetCam Current
Velocity
REAL4cnts/ secThe actual velocity command generated by the
cam. This value will be equal to the Cam Input
Velocity multiplied by the instantaneous cam
table velocity, which is the rate of change of the
cam position.
Publication 2098-RM002A-EN-P – October 2001
4-28Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
71GetCam Current
Accel
REAL4
cnts/ sec
2
The actual acceleration command generated by
the cam. This value will be equal to the
instantaneous cam table acceleration, which is
the rate of change of the cam times the Cam
Input Velocity.
72GetCam IndexDINT1The segment of the cam table used to calculate
the cam output. This is determined by the Cam
Input Position. The index is zero based.
73GetCam OffsetDINT4cntsThe value, in counts, necessary to adjust the cam
between its final output position and the output
position for the beginning of the next cam cycle.
A cam wraps around to start again at its
beginning, if there is a difference between the
final and beginning output position of the cam
table, the offset is adjusted by the difference, so
the Cam Current Position is always the actual
output position described by the cam table
74GetCamtable StateUSINT1The current cam memory load status:
0 = Unloaded - a cam file is not loaded into
memory.
1 = Loaded - a cam file has been loaded into
memory.
Note: The Camtable Filename attribute can be
changed by a user program (or DeviceNet) after a
cam file is loaded, so the filename displayed
doesn’t have to be the name of the file that is
loaded.
75GetCamtable ModeUSINT1The current mode of the cam:
0 = Unlocked - the cam table is inactive, and a
cam file may be loaded into memory.
1 = Locked - the cam is active, and a different cam
file cannot be loaded. The Cam Table is “Locked”
whenever the Cam is enabled.
76GetCamtable CountDINT4The number of segments in the loaded cam table.
A cam table is divided into segments that start at
each point defined in the cam file (except the
final point displayed in the Ultraware Cam table
interface, which is only used to define the end of
the previous segment, not the start of a segment.)
Publication 2098-RM002A-EN-P – October 2001
Programming Reference4-29
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
77GetCamtable OrderDINT4Each of the segments of an Ultra5000 cam table
is defined by a polynomial equation, such as:
Output position = A + B*(Input Position) + C*(Input
Position)^2 +…
The Camtable Order is the highest order term in
the right side of this equation. All of the
segments in a cam table must have the same
order. When Ultraware generates a cam file it
generates first order equations when the cam
table is a linear type, and 5th order equations
when the cam table is a polynomial type. A 5th
order polynomial provides sufficient
degrees-of-freedom to allow Ultraware to
constrain the positions, velocities, and
accelerations at the ends of each segment.
78GetCamtable LengthDINT4cntsThe maximum value of Cam Input Position in the
cam table.
79GetCamtable OffsetDINT4cntsThe ending output position defined in the cam
table.
80SetGear Enable
Command
USINT1Causes the gear to begin generating output - and
motion - in response to input received from the
Master Encoder (or ratchet).
0 = No Action (default)
1 = Execute Command
81SetGear Disable
Command
USINT1Causes the gear to stop generating output.
0 = No Action (default)
1 = Execute Command
82SetGear RatioREAL4The number of counts the motor should move for
each master encoder count received (in Motor
Counts per Master Count). Not saved in
non-volatile memory.
Range: -2147483520 to 2147483520
Default: 0
83SetGear SlewUSINT1If “Enabled”, the gear ratio will ramp up or down
using the acceleration and deceleration specified
below. If “Disabled” the acceleration and
deceleration are effectively infinite.
0 = Disable (default)
1 = Enable
84SetGear Slew AccelREAL4ratio/ secIf the gear is enabled while the gear input is in
motion, or the gear ratio is changed to a greater
value. The gear ratio will ramp up to the specified
value at this rate.
Range: 0 to 3.4e10
Default: 0
Publication 2098-RM002A-EN-P – October 2001
4-30Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
85SetGear Slew DecelREAL4ratio/ secIf the gear is disabled while it is in motion, or the
gear ratio is changed to a smaller value. The gear
ratio will ramp down to the specified value (or
zero if disabling) at this rate.
Range: 0 to 3.4e10
Default: 0
86GetGear StateUSINT1Indicates if the gear is enabled and generating
output.
0 = Disable
1 = Enable
87GetGear OffsetREAL4cntsThe floating point value of the Gear Current
Position.
88GetGear Current
Position
89GetGear Current
DINT4cntsThe position generated by gearing. This value is
automatically re-set to zero at drive power up.
REAL4cnts/ secThe velocity command generated by gearing.
Velocity
90GetGear Current
REAL4
cnts/ sec
2
The acceleration command generated by gearing.
Accel
91GetGear Slew StateUSINT1Indicates if the gear ratio is changing.
0 = Locked - The gear ratio has reached the target
value.
1 = Seeking - The gear ratio is ramping up or
down.
92GetCurrent Gear
Ratio
REAL4The current gear ratio may not equal the user
entered Gear Ratio when the Gear Slew State =
Seeking. The current gear ratio is equal to the
user entered Gear Ratio when the Gear Slew
State = Locked, or if Gear Slew is Disabled.
93SetVreg KPREAL41/secProportional gain for the velocity loop. Increasing
the P gain improves response time and increases
the “stiffness” of the system. Too high a P gain
value causes instability; too low a P gain value
results in “loose” or “sloppy” system dynamics.
Range: 0 to 3.4e10
Default: 200
94SetVreg KIREAL41/secIntegral gain for the velocity loop. I gain improves
the steady-state velocity performance of the
system. Increasing the integral gain generally
increases the ultimate positioning accuracy of the
system. However excessive integral gain results
in system instability
Range: 0 to 3.4e10
Default: 0
95SetVreg KFFREAL4Acceleration feedforward gain. FF gain reduces
velocity following error. However, high values can
cause velocity overshoot
Range: 0 to 3.4e10
Default: 1
97SetVreg Upper LimitREAL4AmpsThe maximum positive current the drive may
output to the motor.
Range: 0 to 3.4e10
Default: 30
98SetVreg Lower LimitREAL4AmpsThe maximum negative current the drive may
output to the motor.
Range: -3.4e10 to 0
Default: -30
99GetVreg Command
REAL4cnts/ secThe command velocity input to the velocity loop.
Velocity
100GetVreg Command
Accel
REAL4
cnts/ sec
2
The command acceleration input to the velocity
loop.
101GetVreg Feedback
Velocity
REAL4cnts/ secThe feedback velocity returned from the motor to
the velocity loop.
102GetVreg ErrorREAL4cnts/ secThe difference between Command Velocity and
Feedback Velocity.
103GetVreg Error SumREAL4cnts/ secThe velocity error summation used by integral
gain.
104GetVreg OutputREAL4AmpsThe generated output from the velocity loop.
105GetVreg Tune StateUSINT1Indicates the state of the velocity tuning function.
0 = Idle
1 = Running
2 = Stopping
106SetStart Vreg TuneUSINT1Drives the motor with a square (or step) wave, the
shape of which is determined by the commanded
Vreg Tune Step, Vreg Tune Period, and Vreg Tune
Direction.
0 = No Action (default)
1 = Execute Command
107SetStop Vreg TuneUSINT1Stops velocity tuning.
0 = No Action (default)
1 = Execute Command
Publication 2098-RM002A-EN-P – October 2001
4-32Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Description
108SetVreg Tune
Direction
USINT1Selects a tuning direction. Not saved in
non-volatile memory.
0 = Bi-Directional (default) - to tune the drive
using an alternating step-input to create
alternately forward and reverse directional
motion.
1 = Forward Only - to tune the drive using a
step-input to create forward motion only.
2 = Reverse Only - Only to tune the drive using a
step-input to create reverse motion only.
109SetVreg Tune PeriodREAL4secThe time the drive will turn at a given velocity.
Not saved in non-volatile memory.
Range: 0 to 3.4e10
Default: 0
110SetVreg Tune StepREAL4cnts/ secThe amplitude of the velocity input sent to the
drive for the given Vreg Tune Period. In
Bi-Directional tuning, the amplitude will alternate
polarity (+ or - sign). Not saved in non-volatile
memory.
Range: 0 to 3.4e10
Default: 0
111GetVreg Tune
Command
REAL4cnts/ secThe velocity command driving the velocity
regulator while the velocity tuning algorithm is
running. This signal is only included to be
consistent with the Position Regulator Tune
Command signal. It is actually the same as the
Vreg Command Velocity.
112GetVreg Tune
Feedback
REAL4cnts/ secThe velocity feedback to the velocity regulator
while the velocity tuning algorithm is running.
This signal is only included to be consistent with
the Position Regulator Tune Feedback signal. It is
actually the same as the Vreg Feedback Velocity.
113SetPreg KpREAL41/secProportional gain for the position loop. Increasing
the Kp gain improves response time and
increases the “stiffness” of the system. Too high
a Kp gain value causes instability; too low a Kp
gain value results in “loose” or “ sloppy” system
dynamics.
Range: 0 to 3.4e10
Default: 20
114SetPreg KpzREAL41/secProportional gain for the position loop, when the
position error falls within the Preg Kpz Zone.
Range: 0 to 3.4e10
Default: 0
115SetPreg Kpz ZoneDINT4cntsEnter the region, in counts, around Command
Position where Preg Kpz will be used in place of
Preg Kp as the position loop proportional gain
value.
Range: 0 to 2147483647
Default: 0
Publication 2098-RM002A-EN-P – October 2001
Programming Reference4-33
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
116SetPreg KiREAL41/secIntegral gain for the position loop. Ki gain
improves the steady-state positioning
performance of the system and virtually
eliminates steady-state positioning errors.
Increasing the integral gain generally increases
the ultimate positioning accuracy of the system.
However excessive integral gain results in system
instability.
Range: 0 to 3.4e10
Default: 0
117SetPreg Ki ZoneDINT4cntsEnter the region, in counts, around Preg
Command Position where integral gain is active.
Range: 0 to 2147483647
Default: 0
118SetPreg KffREAL4Velocity feedforward gain for the position loop.
Range: 0 to 3.4e10
Default: 1
119GetPreg Command
DINT4cntsThe command position input to the position loop.
Position
120GetPreg Command
REAL4cnts/ secThe command velocity input to the position loop.
Velocity
121GetPreg Command
Accel
122GetPreg Feedback
Position
REAL4
cnts/ sec
DINT4cntsThe feedback position returned from the motor to
2
The command acceleration input to the position
loop.
the position loop.
123GetPreg ErrorDINT4cntsThe difference between Preg Command Position
and Preg Feedback Position.
124GetPreg Error SumDINT4cntsThe position error summation used by integral
gain.
125GetPreg OutputREAL4cnts/ secThe generated output from the position loop.
126GetPreg Tune StateUSINT1Indicates the state of the position tuning function.
0 = Idle
1 = Running
2 = Stopping
127GetPreg Command
Offset
DINT4cntsOffsets the Command Position value displayed on
Ultraware's Oscilloscope to prevent the command
trace from incrementing ('walking') off the
display.
128GetPreg Feedback
Offset
DINT4cntsOffsets the Feedback Position value displayed on
the Ultraware's Oscilloscope to prevent the
feedback trace from incrementing ('walking') off
the display.
Publication 2098-RM002A-EN-P – October 2001
4-34Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
129SetStart Preg TuneUSINT1Drives the motor with a square (or step) wave, the
shape of which is determined by the commanded
Preg Tune Step, Preg Tune Period, and the
selected Preg Tune Direction.
0 = No Action (default)
1 = Execute Command
130SetStop Preg TuneUSINT1Stops position tuning.
0 = No Action (default)
1 = Execute Command
131SetPreg Tune
Direction
USINT1Selects a tuning direction. Not saved in
non-volatile memory.
0 = Bi-Directional (default) - to tune the drive
using an alternating step-input to create
alternately forward and reverse directional
motion.
1 = Forward Only - to tune the drive using a
step-input to create forward motion only.
2 = Reverse Only - Only to tune the drive using a
step-input to create reverse motion only.
132SetPreg Tune PeriodREAL4secThe time the drive will hold its present step
position. Not saved in non-volatile memory.
Range: 0 to 3.4e10
Default: 0
133SetPreg Tune StepDINT4cntsThe number of counts the drive will move in a
single direction. In Bi-Directional tuning, the
direction will alternate. Not saved in non-volatile
memory.
Range: 0 to 2147483647
Default: 0
134GetPreg Tune
Command
DINT4cntsThe position command driving the position
regulator while the position tuning algorithm is
running. If the Preg Tune Direction is set to c or
Reverse Only, this signal is adjusted after each
period of the tuning signal to remove the offset
that is accumulating in the position of the motor.
This allows the uni-directional signal to be
displayed in Ultraware's oscilloscope without
having to constantly adjust the offset.
135GetPreg Tune
Feedback
DINT4cntsThe position feedback to the position regulator
while the position tuning algorithm is running. If
the Preg Tune Direction is set to Forward Only or
Reverse Only, this signal is adjusted after each
period of the tuning signal to remove the offset
that is accumulating in the position of the motor.
This allows the uni-directional signal to be
displayed in Ultraware's oscilloscope without
having to constantly adjust the offset.
Publication 2098-RM002A-EN-P – October 2001
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Programming Reference 4-35
Description
136SetMotor Encoder
Interpolation
137SetMotor Encoder
Polarity
138SetMotor Encoder
Filter
UINT2The amount of interpolation to be used with sine/
cosine encoders. For example, if the interpolation
is set to x256, the drive will interpolate 256
counts for every 1/4 line of the input sinusoid.
Valid values are:
4 = x4 (default)
8 = x8
16 = x16
32 = x32
64 = x64
128 = x128
256 = x256
512 = x512
1024 = x1024
USINT1Select the motor encoder's polarity.
0 = Positive (default) - Turning the motor in a
clockwise direction (as viewed from the shaft
end) increases the feedback position (in counts).
1 = Negative - turning the motor in a clockwise
direction (as viewed from the shaft end)
decreases the feedback position (in counts).
USINT1Select the state of the motor encoder filer. The
filter reduces the upper limit of the rate at which
feedback pulses will be recognized. You may
need to enable feedback in a noisy environment,
or when a long encoder cable is used.
0 = Disable (default)
1 = Enable
139SetMaster Encoder
Polarity
140SetMaster Encoder
Filter
USINT1Select the master encoder's polarity.
0 = Positive (default) - Turning the motor in a
clockwise direction (as viewed from the shaft
end) increases the feedback position (in counts).
1 = Negative
USINT1Select the state of the master encoder filter. The
filter reduces the upper limit of the rate at which
feedback pulses will be recognized. You may
need to enable feedback in a noisy environment,
or when a long encoder cable is used.
0 = Disable (default)
1 = Enable
Publication 2098-RM002A-EN-P – October 2001
4-36Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Description
141SetRatchet Negative
Mode
BYTE1Bit 0 = Ignore Negative Input - Negative direction
master encoder input will generate NO motor
movement
Bit 1 = Negate Negative Input - Master encoder
input in a negative direction will generate motor
movement in a positive direction.
Note: Selecting "Ignore Negative Input", above,
overrides this selection
Bit 2 = Buffer Negative Input - Negative direction
master encoder input is accumulated in a buffer
without generating motor movement.
Note: This selection will often be used together
with "Unbuffer Positive Input", below
Bit 3 = Unbuffer Negative Input - Negative
direction master encoder input will be used first
to reduce the accumulated positive directional
buffer then, only after this buffer is reduced to
zero, will generate motor movement in the
negative direction.
Note: This assumes "Buffer Negative Input",
above, is not selected.
Default = 0
Publication 2098-RM002A-EN-P – October 2001
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Programming Reference 4-37
Description
142SetRatchet Positive
Mode
BYTE1Bit 0 = Ignore Positive Input - Positive direction
master encoder input will generate NO motor
movement.
Bit 1 = Negate Positive Input - Master encoder
input in a positive direction will generate motor
movement in a negative direction.
Note: Selecting "Ignore Positive Input", above,
overrides this selection.
Bit 2 = Buffer Positive Input - Positive direction
master encoder input is accumulated in a buffer
without generating motor movement.
Note: This selection will often be used together
with "Unbuffer Negative Input", above.
Bit 3 = Unbuffer Positive Input - Positive direction
master encoder input will be used first to reduce
the accumulated negative directional buffer then,
only after this buffer is reduced to zero, will
generate motor movement in the positive
direction.
Note: This assumes "Buffer Positive Input",
above, is not selected
Default = 0.
143GetMotor Encoder
DINT4cntsThe motor encoder's output.
Output
144GetMaster Encoder
DINT4cntsThe master encoder's output.
Output
145GetRatchet StateUSINT1Provides the state of the ratchet.
0 = Disable
1 = Enable
146GetRatchet BufferDINT4cntsThe accumulated value stored in the buffer when
negative or positive input is set to buffer and/or
unbuffer. This value is automatically re-set to zero
at drive power up.
147GetRatchet OutputDINT4cntsThe position generated by the ratchet. This value
is automatically re-set to zero at drive power up.
148GetRatchet PositionDINT4cntsThe position generated by the ratchet. This value
is automatically reset to zero at power up.
149GetRatchet VelocityREAL4cnts/ secThe velocity command generated by the ratchet.
150GetInput 1 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
Publication 2098-RM002A-EN-P – October 2001
4-38Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
151GetInput 2 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
152GetInput 3 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
153GetInput 4 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
154GetInput 5 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
155GetInput 6 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
156GetInput 7 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
157GetInput 8 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
158GetInput 9 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
159GetInput 10 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
160GetInput 11 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
161GetInput 12 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
Publication 2098-RM002A-EN-P – October 2001
Programming Reference4-39
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
162GetInput 13 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
163GetInput 14 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
164GetInput 15 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
165GetInput 16 StateUSINT1The current state, or condition, of the digital
input.
0 = Off
1 = On
166SetOutput 1 StateUSINT1The current state, or condition, of the digital
output. Not saved in non-volatile memory.
0 = Off (default)
1 = On
167SetOutput 2 StateUSINT1The current state, or condition, of the digital
output. Not saved in non-volatile memory.
0 = Off (default)
1 = On
168SetOutput 3 StateUSINT1The current state, or condition, of the digital
output. Not saved in non-volatile memory.
0 = Off (default)
1 = On
169SetOutput 4 StateUSINT1The current state, or condition, of the digital
output. Not saved in non-volatile memory.
0 = Off (default)
1 = On
170SetOutput 5 StateUSINT1The current state, or condition, of the digital
output. Not saved in non-volatile memory.
0 = Off (default)
1 = On
171SetOutput 6 StateUSINT1The current state, or condition, of the digital
output. Not saved in non-volatile memory.
0 = Off (default)
1 = On
172SetOutput 7 StateUSINT1The current state, or condition, of the digital
output. Not saved in non-volatile memory.
0 = Off (default)
1 = On
Publication 2098-RM002A-EN-P – October 2001
4-40Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
173SetOutput 8 StateUSINT1The current state, or condition, of the digital
output. Not saved in non-volatile memory.
0 = Off (default)
1 = On
174SetADC 1 ScaleREAL4A multiplier applied to the voltage read at analog
input 1.
Range: -3.4e10 to 3.4e10
Default: 1
175SetADC 1 OffsetREAL4VoltsA value added to the multiplied ADC 1 input.
Range: -3.4e10 to 3.4e10
Default: 0
176GetADC 1 InputREAL4VoltsThe scaled value of analog input 1. This value
equals the voltage read at the analog input
multiplied by the gain value, summed with the
offset.
177GetADC 1 OutputREAL4VoltsThe unscaled value of analog input 1. This value
equals the voltage read at the analog input.
178SetADC 2 ScaleREAL4A multiplier applied to the voltage read at analog
input 2.
Range: -3.4e10 to 3.4e10
Default: 1
179SetADC 2 OffsetREAL4VoltsA value added to the multiplied ADC 2 input.
Range: -3.4e10 to 3.4e10
Default: 0
180GetADC 2 InputREAL4VoltsThe scaled value of analog input 2. This value
equals the voltage read at the analog input
multiplied by the gain value, summed with the
offset.
181GetADC 2 OutputREAL4VoltsThe unscaled value of analog input 2. This value
equals the voltage read at the analog input.
182SetDAC 1 ModeUSINT1Selects on the following:
0 = Manual (default) - The voltage at the output is
determined by the Manual DAC 1 Value setting of
the output, along with its scale and offset.
1 = Auto - The voltage at the output is determined
by the DAC 1 Source setting along with its scale
and offset.
Publication 2098-RM002A-EN-P – October 2001
Programming Reference4-41
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
183SetDAC 1 SourceUSINT1Selects the signal used for the DAC 1 output
voltage when DAC 1 Mode is set to Auto mode.
0 = Unassigned (default)
1 = Preg Command Pos
2 = Preg Command Vel
3 = Preg Feedbck Pos
4 = Preg Error
5 = Preg Output
6 = Preg Tune Cmd
7 = Preg Tune Fdbck
8 = Vreg Command Vel
9 = Vreg Command Acc
10 = Vreg Fdbk Vel
11 = Vreg Error
12 = Vreg Output
13 = Vreg Tune Cmd
14 = Vreg Tune Fdbk
15 = Shaft Position
16 = Shaft Angle
17 = Sine (Ireg)
18 = Cosine (Ireg)
19 = Ireg Loop Gain
20 = Average Current
21 = U Phase Current
22 = W Phase Current
23 = U Phase Voltage
24 = V Phase Voltage
25 = W Phase Voltage
26 = Torque Command
27 = Torque Feedback
28 = Torque Error
29 = Torque Output
30 = Field Feedback
31 = Field Error
32 = Field Output
184SetDAC 1 ScaleREAL4A multiplier applied to signal selected by the DAC
1 Source to obtain a scaled voltage value that is
added to the DAC 1 Offset to obtain the DAC 1
output voltage.
Range: -3.4e10 to 3.4e10
Default: 1
185SetDAC 1 OffsetREAL4VoltsA value added to the scaled voltage value.
Range: -3.4e10 to 3.4e10
Default: 0
186SetManual DAC 1
Value
REAL4VoltsThe voltage value input to the Analog Output 1
when in Manual mode before the Scaled and
Offset values are applied. Not saved in
non-volatile memory.
Range: -3.4e10 to 3.4e10
Default: 0
Publication 2098-RM002A-EN-P – October 2001
4-42Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
187GetDAC 1 OutputREAL4VoltsThe Analog Output 1 output voltage value after
the DAC 1 Scale and DAC 1 Offset values are
applied.
188SetDAC 2 ModeUSINT1Selects on the following:
0 = Manual (default) - The voltage at the output is
determined by the Manual DAC 2 Value setting of
the output, along with its scale and offset.
1 = Auto - The voltage at the output is determined
by the DAC 2 Source along with its scale and
offset.
189SetDAC 2 SourceUSINT1Selects the signal used for the DAC 2 output
voltage when DAC 2 Mode is set to Auto mode.
0 = Unassigned (default)
1 = Preg Command Pos
2 = Preg Command Vel
3 = Preg Feedbck Pos
4 = Preg Error
5 = Preg Output
6 = Preg Tune Cmd
7 = Preg Tune Fdbck
8 = Vreg Command Vel
9 = Vreg Command Acc
10 = Vreg Fdbk Vel
11 = Vreg Error
12 = Vreg Output
13 = Vreg Tune Cmd
14 = Vreg Tune Fdbk
15 = Shaft Position
16 = Shaft Angle
17 = Sine (Ireg)
18 = Cosine (Ireg)
19 = Ireg Loop Gain
20 = Average Current
21 = U Phase Current
22 = W Phase Current
23 = U Phase Voltage
24 = V Phase Voltage
25 = W Phase Voltage
26 = Torque Command
27 = Torque Feedback
28 = Torque Error
29 = Torque Output
30 = Field Feedback
31 = Field Error
32 = Field Output
190SetDAC 2 ScaleREAL4A multiplier applied to signal selected by the DAC
2 Source to obtain a scaled voltage value that is
added to the DAC 2 Offset to obtain the DAC 2
output voltage.
Range: -3.4e10 to 3.4e10
Default: 1
Publication 2098-RM002A-EN-P – October 2001
Programming Reference4-43
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
Units /
Scale
Description
(Bytes)
191SetDAC 2 OffsetREAL4VoltsA value added to the scaled voltage value.
Range: -3.4e10 to 3.4e10
Default: 0
192SetManual DAC 2
Value
REAL4VoltsThe voltage value input to the Analog Output 2
when in Manual mode before the Scaled and
Offset values are applied. Not saved in
non-volatile memory.
Range: -3.4e10 to 3.4e10
Default: 0
193GetDAC 2 OutputREAL4VoltsThe Analog Output 2 output voltage value after
the DAC 2 Scale and DAC 2 Offset values are
applied.
194SetClear FaultsUSINT1Clears all drive faults.
0 = No Action (default)
1 = Execute Command
195SetUser Current
Fault Limit
REAL4AmpsThe current level that will generate a fault when
exceeded by the average current level. The drive
always protects itself and the motor from average
currents that exceed their ratings. This value is
only needed if a lower average current fault is
desired (For example, if another part of a machine
would overheat).
Range: 0 to 3.4e10
Default: 0
196SetUser Current
Fault
USINT1Determines if the User Current fault detection is
enabled (turned on) or disabled.
0 = Disable (default)
1 = Enable
197SetUser Velocity
Fault Limit
198SetUser Velocity
Fault
199SetVelocity Error
Limit
200SetVelocity Error
Delay
REAL4cnts/ secThe minimum velocity which causes the User
Velocity fault. The drive always protects the
motor from exceeding its ratings. This value is
only needed if a lower velocity fault is desired.
(For example, if another part of a machine could
be damaged.)
Range: 0 to 3.4e10
Default: 0
USINT4Determines if the User Velocity fault detection is
enabled (turned on) or disabled.
0 = Disable (default)
1 = Enable
REAL4cnts/ secThe minimum velocity error that triggers the
Velocity Error fault.
Range: 0 to 3.4e10
Default: 80000
REAL4msecThe minimum time which the velocity error must
be greater than the Velocity Error Limit to cause a
Velocity Error fault.
Range: 0 to 3.4e10
Default: 1000
Publication 2098-RM002A-EN-P – October 2001
4-44Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Description
201SetPosition
(Following) Error
Limit
DINT4cntsThe minimum position error that triggers the
Position (Following) Error fault
Range: 0 to 2147483647
Default: 8000
202SetPosition
(Following) Error
Delay
REAL4msecThe minimum time during which the position error
must be greater than the Position (Following)
Error Limit to cause a Position (Following) Error
fault.
Range: 0 to 3.4e10
Default: 100
203GetFault StatusDWORD4The Controller Fault Status provides the present
state of the possible fault conditions.
Bit 3 = Motor Overtemperature
Bit 4 = IPM Fault
Bit 8 = Bus Undervoltage
Bit 9 = Bus Overvoltage
Bit 10 = Bad (Illegal) Hall State
Bit 13 = Network Communication
Bit 16 = User Current
Bit 17 = Overspeed
Bit 18 = Position (Following) Error
Bit 19 = Motor Encoder Error
Bit 20 = Auxiliary Encoder Error
Bit 21 = Motor Filter
Bit 22 = IPM Filter
Bit 23 = Velocity Error
Bit 25 = User Velocity
204GetFault CountDINT4Displays the number of faults recorded since
USINT1Returns the most recent faults detected in the
drive. Fault History 1 is the most recent, Fault
History 20 is the oldest.
0 = No Fault
4 = Motor Overtemperature
5 = IPM Fault
9 = Bus Undervoltage
10 = Bus Overvoltage
11 = Bad (Illegal) Hall State
14 = Network Communication
17 = User Current
18 = Overspeed
19 = Position (Following) Error
20 = Motor Encoder Error
21 = Auxiliary Encoder Error
22 = Motor Filter
23 = IPM Filter
24 = Velocity Error
26 = User Velocity
58 = Excess CPU Load
Publication 2098-RM002A-EN-P – October 2001
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Programming Reference 4-45
Description
225GetController Drive
USINT1The type of Ultra5000 drive.
Typ e
226GetPICS NumberSHORT_S
TRING
227GetController
Firmware Version
228GetController Boot
Version
SHORT_S
TRING
SHORT_S
TRING
1 byte
length
indicator,
1 byte per
character
1 byte
length
indicator,
1 byte per
character
1 byte
length
indicator,
1 byte per
character
0 = Invalid
1 = 2098-IPD-005-DN
2 = 2098-IPD-010-DN
3 = 2098-IPD-020-DN
4 = 2098-IPD-030-DN
5 = 2098-IPD-075-DN
6 = 2098-IPD-150-DN
7 = 2098-IPD-HV030-DN
8 = 2098-IPD-HV050-DN
9 = 2098-IPD-HV100-DN
10 = 2098-IPD-HV150-DN
11 = 2098-IPD-HV220-DN
A unique identifier assigned to each drive.
The version of the drive's main firmware in the
format XX.YY.ZZ, where:
XX = major revision
YY = minor revision
ZZ = maintenance revision
The version of the drive's boot firmware in the
format XX.YY.ZZ, where:
XX = major revision
YY = minor revision
ZZ = maintenance revision
229GetController FPGA
Version
SHORT_S
TRING
1 byte
length
indicator,
1 byte per
character
The version of the firmware containing the FPGA
image and the burn in self test code. The format
is XX.YY.ZZ, where:
XX = major revision
YY = minor revision
ZZ = maintenance revision
230GetController Rated
Current
231GetController Peak
Current
REAL4AmpsThe maximum current the drive can continuously
produce without faulting.
REAL4AmpsThe maximum current the drive can produce on an
intermittent basis.
232GetService ClockDINT4secsThe seconds the drive has been powered up.
233GetController Info
Version
DINT4The info version is the revision of the structure
that was used to store the manufacturing data. If
this value is greater then zero, the manufacturing
data is valid. Otherwise, the data is invalid and
has not been loaded.
234GetDate CodeDINT4The date code indicates when the control was
manufactured. If the info version is zero, this
value will also be zero
Publication 2098-RM002A-EN-P – October 2001
4-46Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Description
235GetController Create
Version
DINT4The create version indicates the version of
firmware that was installed when the control was
manufactured. If the info version is zero, this
value will also be zero.
236GetController
Assembly
Revision
SHORT_S
TRING
1 byte
length
indicator,
1 byte per
The assembly rev is a string indicating the
revision of the hardware that was installed when
the control was manufactured. If the info rev is
zero, this value will be a blank string.
character
237SetAuto Motor
Identification
USINT1Specifies if the drive should read the motor
parameters from an intelligent encoder or from
non-volatile RAM.
0 = Disable - read motor parameters from
non-volatile RAM.
1 = Enable (default) - read motor parameters from
an intelligent encoder.
238GetMotor ModelSHORT_S
TRING
1 byte
length
The model name for the motor being used by the
drive.
indicator,
1 byte per
character
239GetReservedUSINT1Default: 0
240SetTotal Linear Mass REAL4kg(Only for linear motors.) The moving mass of
linear motor and load combined.
241GetMotor FlagUSINT1Indicates if the drive is configured for a standard
or custom motor.
0 = Invalid (default)
1 = Standard Motor - indicates a motor that is
pre-configured in Ultraware.
2 = Custom - indicates a user-configured motor
which was added to Ultraware Motor database
using a utility that ships with Ultraware.
242GetMotor TypeUSINT1The type of motor selected.
0 = Rotary (default)
1 = Linear
243GetMotor Rotary
REAL4N-m/AThe sinusoidal torque constant for a rotary motor.
Torque Constant
244GetMotor Rotary
REAL4
kg-cm
2
Rotor inertia for a rotary motor.
Inertia
245GetMotor Rotary
Pole Count
246GetMotor Linear
Force Constant
247GetMotor Linear
Mass
Publication 2098-RM002A-EN-P – October 2001
DINT4The number of motor poles per revolution (only for
a rotary motor).
REAL4N/AThe sinusoidal force constant for a linear motor.
REAL4kgThe mass of the moving part (rotor) of a linear
motor.
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Programming Reference 4-47
Description
248GetMotor Linear
Cycle Length
REAL4meterThe distance between motor poles for a linear
motor.
249GetIntegral LimitsUSINT1Indicates whether the motor provides built in
feedback for travel limits.
0 = No (default)
1 = Yes
250GetMotor Rated
REAL4VoltsVoltage rating of the motor.
Voltage
251GetMotor Resistance REAL4OhmsThe phase-to-phase resistance of the motor
stator.
252GetMotor Inductance REAL4mHThe phase-to-phase inductance of the motor
stator.
253GetFlux Saturation 0REAL4The motor flux saturation value at 12.5% of motor
peak current. A value of one (1) indicates no
saturation.
254GetFlux Saturation 1REAL4The motor flux saturation value at 25% of motor
peak current. A value of one (1) indicates no
saturation.
255GetFlux Saturation 2REAL4The motor flux saturation value at 37.5% of motor
peak current. A value of one (1) indicates no
saturation.
256GetFlux Saturation 3REAL4The motor flux saturation value at 50% of motor
peak current. A value of one (1) indicates no
saturation.
257GetFlux Saturation 4REAL4The motor flux saturation value at 62.5% of motor
peak current. A value of one (1) indicates no
saturation.
258GetFlux Saturation 5REAL4The motor flux saturation value at 75% of motor
peak current. A value of one (1) indicates no
saturation.
259GetFlux Saturation 6REAL4The motor flux saturation value at 87.5% of motor
peak current. A value of one (1) indicates no
saturation.
260GetFlux Saturation 7REAL4The motor flux saturation value at 100% of motor
peak current. A value of one (1) indicates no
saturation.
261GetMotor Rotary
REAL4RPMMaximum speed of a rotary motor.
Maximum Speed
262GetMotor Linear
REAL4m/secMaximum speed of a linear motor.
Maximum Speed
263GetMotor Peak
REAL4AmpsMaximum intermittent current of the motor.
Current
264GetMotor Rated
REAL4AmpsContinuous current rating of the motor.
Current
Publication 2098-RM002A-EN-P – October 2001
4-48Programming Reference
Parameter Object,
Instances ID 1- 340
Parameter
Instance
Access
Rule
Parameter
Name
Data
Type
Data
Size
(Bytes)
Units /
Scale
Description
265GetMotor Encoder
Typ e
USINT1Type of motor encoder.
0 = None
1 = Incremental
2 = Sine/Cosine
3 = Intelligent
266GetMotor
Commutation
Typ e
USINT1The type of motor commutation.
0 = Brush
1 = Trapezoidal
2 = Sinusoidal
267GetMotor Startup
Typ e
USINT1The type of motor startup for sinusoidal
commutation.
0 = Self-Sensing
1 = Hall Inputs
268GetMotor Hall Offset REAL4degsHall Input offset in units of electrical degrees.
269GetMotor Rotary
Line Count
270GetMotor Linear Line
Count
271GetMotor
Thermostat
DINT4lines/ revThe number of encoder lines per revolution on a
rotary motor encoder.
DINT4lines/mThe number of encoder lines per meter of travel
on a linear motor encoder.
USINT1Indicates whether the motor has a built-in
thermostat.
0 = Not Present
1 = Present
272GetMotor Soft
Protection
USINT1Determines whether the motor thermal protection
software is activated.
0 = Disabled
1 = Enabled
273GetMotor Rth(w-e)REAL4C/WThermal resistance from the winding to the
encoder.
274GetMotor Cth(w-e)REAL4W-s/CThermal capacitance from the winding to the
encoder.
275GetMotor Rth(w-a)REAL4C/WThermal resistance from the winding to ambient.
276GetMotor Cth(w-a)REAL4W-s/CThermal capacitance from the winding to
ambient.
277 308
SetInteger Data
0 - 31
DINT4Range: -2147483648 to 2147483647
Default: 0
Automatically saved in non-volatile storage.
309 340
SetFloat Data 0 - 31REAL4Range: -3.4e10 to 3.4e10
Default: 0
Automatically saved in non-volatile storage.
Publication 2098-RM002A-EN-P – October 2001
Programming Reference4-49
Parameter Object
Instance Attributes
Attr IDAccess
Rule
1
1
2GetLink Path SizeUSINTSize of Link Path attribute. If this attribute
3Link Path ARRAY of DeviceNet pathPath to the object from where this
4Descriptor WORDDescriptor of parameter. Bit Definitions for
Stub/
NameData TypeDescription
Full
StubParameter
Value
Segment
Type/Port
Segment
Address
Data type specified in Descriptor, Data
Type and Data Size
Actual value of parameter. It can be read
from or written to. This attribute is
read-only if bit 4 of Attribute 4 is TRUE.
is 0, then no link is specified. Number of
BYTEs in attribute 3.
parameter value is retrieved.
The link path is limited to 255 BYTEs.
BYTERefer to the DeviceNet Specification listed
in Related Documentation on page P-3 for
a description of the data type: Segment
Type/Port.
EPATH Path (format depends on data contained in
segment type/port)
Instance Attribute 4 on page 4-51
5Data TypeUSINTData type code. Data Types for Instance
Attribute 5 on page 4-51
6Data SizeUSINTNumber of BYTEs in Attribute 1, Parameter
Value
Publication 2098-RM002A-EN-P – October 2001
4-50Programming Reference
Parameter Object
Instance Attributes (Continued)
Attr IDAccess
Rule
7GetFullParameter
Stub/
Full
NameData TypeDescription
Name
SHORT_ STRING
2
A human readable string representing the
parameter name. For example, “Vel Loop
P-Gain” The maximum number of
characters is 16. (The first byte is a length
code.)
8Units StringEngineering unit string. The maximum
number of characters is 4. (The first byte is
a length code.)
9Help StringThe maximum number of characters is 64.
(The first byte is a length code.)
10Minimum
Value
11Maximum
Value
Data type specified in Descriptor, Data type
and Data Size
1
The minimum valid actual value to which
attribute 1, Parameter Value can be set.
The maximum valid actual value to which
attribute 1, Parameter Value can be set
12Default ValueThe actual value attribute 1, Parameter
Value should be set to when you want the
default for the parameter.
13Scaling
UINT
2
Multiplier for scaling formula
Multiplier
14Scaling
Divisor for scaling formula
Divisor
15Scaling BaseBase for scaling formula
16Scaling OffsetOffset for scaling formula
17Multiplier
Link
Parameter object instance number of
multiplier source.
18Divisor LinkParameter object instance number of
divisor source.
19Base Link Parameter object instance number of base
source.
20Offset Link Parameter object instance number of offset
source.
21Decimal
Precision
USINT
2
Specifies number of decimal places to use
when displaying the scaled engineering
value. Also used to determine actual
increment value so that incrementing a
value causes a change in scaled
engineering value to this precision.
1 The access rule is defined in Bit Definitions for Instance Attribute 4 on page 4-31:
If bit 4 is 0 the access rule is Set and the Parameter Value can be read and written.
If bit 4 is 1, the access rule is Get and the Parameter Value can only be read.
2
Data type specified in Data Type Definitions on page 4-4.
Publication 2098-RM002A-EN-P – October 2001
Parameter Object
Bit Definitions for Instance Attribute 4
Bit DefinitionValue
Programming Reference4-51
0Supports settable
path
1Supports
enumerated strings
2 Supports scaling 0 = Scaling not supported.
3Supports scaling
links
4Read only parameter 0 = Parameter value attribute can be written (set) and read
5Monitor parameter0 = Parameter value attribute is not updated in real time by
6 Supports extended
precision scaling
0 = Link path can not be set.
1 = Link path can be set.
0 = Enumerated strings are not supported.
1 = Enumerated strings are supported and may be read with
the Get_Enum_String service.
1 = Scaling is supported. The scaling attributes are
implemented and the value presented is in engineering
units.
0 = Scaling links not supported.
1 = The values for the scaling attributes may be retrieved
from other parameter object instances.
(get). Access rule is set.
1 = Parameter value attribute can only be read. Access rule is
get.
the device.
1 = Parameter value attribute is updated in real time by the
device.
0 = Extended precision scaling is not supported.
1 = Extended precision scaling should be implemented and
the value is presented in engineering units.
Parameter Object
Data Types for Instance Attribute 5
Data Type NameData Type Code
(in Hex)
SINTC2Signed 8-bit integer value
INT C3Signed 16-bit integer value
DINT C4Signed 32-bit integer value
USINT C6Unsigned 8-bit integer value
UINTC7Unsigned 16-bit integer value
UDINTC8Unsigned 32-bit integer value
REALCA32-bit floating point value
BYTED1bit string, 8-bit
WORDD2bit string, 16-bit
DWORDD3bit string, 32-bit
SHORT_STRINGDACharacter string
Data Type
Description
(1 byte per character, 1 byte length indicator)
Publication 2098-RM002A-EN-P – October 2001
4-52Programming Reference
Parameter Object
Common Services
Service CodeImplemented for:Service Name
ClassInstance
0x01NoYesGet_Attribute_All
0x0E YesYesGet_Attribute_Single
0x10 NoYesSet_Attribute_Single
0x16 YesNoSave
Get_Attribute_All Response
At the instance level, the order of attributes returned in the
Get_Attribute_All Response is as follows:
Class Attribute IDAttribute Name and Default Value
1Parameter Value
2Link Path Size
3Link Path
4Descriptor
5Data Type
6Data Size
7Parameter Name String, default character count = 0
8Units String, default character count = 0
9Help String, default character count = 0
10Minimum Value default = 0
11Maximum Value default = 0
12Default Value default = 0
13Scaling Multiplier Default = 1
14Scaling Divisor Default = 1
15Scaling Base Default = 1
16Scaling Offset Default = 0
17Multiplier Link Default = 0
18Divisor Link Default = 0
19Base Link Default = 0
Publication 2098-RM002A-EN-P – October 2001
20Offset Link Default = 0
21Decimal Precision Default = 0
Programming Reference4-53
Parameter Object Specific Services
Service
Code
4B
H
Service
Name
Get_Enum_StringUse this service to read enumerated strings from
Service
Description
the Parameter Instance. See DeviceNet
Specification Vol 2: Object Library, Parameter
Object referenced on page P-3.
Enumerated strings are human-readable strings that describe either a
bit or a value depending on the data type of instance attribute 1, the
Parameter Value. If the data type is a BYTE, WORD, or DWORD the
enumerated string is a bit enumerated string. If the data type is INT,
USINT,
or UINT the enumerated string is a value enumerated string.
Any other data type does not have enumerated strings.
The table below describes the Get_Enum_String request service
attribute.
NameData Type Description of Attribute
Enumerated String NumberUSINTNumber of enumerated string to retrieve
(MAX value is 255).
• If the string to be returned is a bit enumerated string, then the
en
umerated string number represents a bit position and the
Get_Enum_String service returns a string describing that bit.
• If the string to be returned is a value enumerated string, then the
enumerated string number represents a value and the
Get_Enum_String service returns a string for that value.
The enumerated string is returned in the form of a SHORT_STRING
with a
maximum number of characters of 16.
Publication 2098-RM002A-EN-P – October 2001
4-54Programming Reference
Publication 2098-RM002A-EN-P – October 2001
Troubleshooting DeviceNet Drives
Chapter
5
Chapter Objectives
This chapter provides a description of maintenance and
troubleshooting activities for the DeviceNet interface to the Ultra5000.
This chapter includes the following sections.
• Module Status
• Network S
• Node Problems
• Device Failure - LED Status Check
• Scanner Problems
• Power Supply Problems
• Cable Installation and Design Problems
• Adjusting the Physical Network Configuration
For maintenance and troubleshooting information specific to the
tra5
000 drive, refer to the Ultra5000 Intelligent Positioning Drive
Ul
Installation Manual (2098-IN001x-EN-P).
LED
tatus LED
Publication 2098-RM002A-EN-P – October 2001
5-2Troubleshooting DeviceNet Drives
Module Status LED
If the Module
Status LED is:
OffNot poweredNo power Provide power to the device.
Flashing-redRecoverable
Steady-redUnrecoverable
Flashing-red/
green
Flashing-greenDevice is in
Steady-greenOperationalNormal operationNormal operation - no action needed.
Network Status LED
Use the table below for troubleshooting the Module Status LED on the
DeviceNet interface to the Ultra5000.
Status is:Potential Cause is:Possible Resolution is:
Not operationalPower cycle or reset the drive.
fault
Drive problemCheck drive for power-up error.
fault
Self testingSelf-test or
initialization in
progress
Processing or waiting
stand-by
for input
Replace drive.
The DeviceNet interface is being initialized or in self-test
— wait.
Normal operation - no action needed.
Use the table below for troubleshooting the Network Status LED on
the DeviceNet interface to the Ultra5000.
If the Network
Status LED is:
OffNot powered
Flashing-redOn-line
Steady-redNetwork failureFailed Duplicate MAC ID
Flashing-greenOn-line
Status is:Potential Cause is:Possible Resolution is:
No power going to the
Not on-line
Time-out
Not connected
device.
Failed Duplicate MAC ID
check.
No network (24V) power
Network miswired.
I/O connection timed out. 1. Re-initiate I/O messaging by the master controller.
check.
Bus off.
Passed Duplicate MAC ID
check.
No connection established.
1. Check the Module Status LED to verify that the drive is powered.
2. Check that one or more nodes are communicating on the
network.
3. Check that at least one other node on the network is operational
and the data rate is the same as the drive.
4. Provide network (24V) power.
5. Check that the DeviceNet connector is correctly wired.
2. Reduce traffic or errors on the network so that messages can get
through within the necessary time frame.
1. Ensure that all nodes have unique addresses.
2. If all node addresses are unique, examine network for correct
media installation.
3. Ensure that all nodes have the same Data Rate.
No action is needed. The LED is flashing to signify that there are no
open communication connections between the drive and any other
device. Any connection (I/O or explicit message) made to the drive
over DeviceNet will cause the LED to stop flashing and remain
Steady-ON for the duration of any open connection.
Steady-greenOn-line
Connected
Publication 2098-RM002A-EN-P – October 2001
One or more connections
established.
No action needed. This condition is normal.
Troubleshooting DeviceNet Drives5-3
Node Problems
Device Failure - LED Status
Check
Give particular attention to the task of setting initial addresses and
data rates. Survey the network to ensure all assignments are known.
Some nodes can be logically assigned to a group of devices, but
physically located away from those devices. One incorrect node can
cause other nodes to appear to be bus-off (steady-red Network Status
LED). If a node goes bus-off and the device is reset but bus-off faults
again, the problem is likely not with the device. The problem is likely
to be the setting of the address, data rate, or a network-wide problem
related to topology, grounding, intermittent power/data connections,
or electrical noise. In the event that a scanner goes bus-off, nodes will
not reallocate (flashing-green or red) even if they are functioning
correctly.
A steady-red Module Status LED can mean an error. If the Network
Status LED goes steady-red at power-up, it could mean there is a
Duplicate MAC ID. The user response is to test all devices for unique
addresses. If a steady-red LED remains on after the Duplicate MAC ID
test shows all devices to have a unique node address, it means a
Bus-off error. Do the following:
a
• Check data r
te settings.
• If symptom persists, replace node address (with another address
and correct data rate).
• If symptom persists, replace tee tap.
• If symptom persists, check topology.
• If symptom persists, check power for noise with oscilloscope or
power disturbance analyzer.
Publication 2098-RM002A-EN-P – October 2001
5-4Troubleshooting DeviceNet Drives
Scanner Problems
Power Supply Problems
If using a scanner, check the scan list, data rate, and addresses of
devices. Verify series and revision of the scanner is the latest. If the
scanner is Bus-off, recycle the 24V supply and then reset the scanner.
If the scanner goes Bus-off again, the problem is some combination
of:
efective node device
• D
• Incorr
• Bad network topology
• Faulty wiring
• Faulty scanner
• Faulty power supply
• Bad grounding
• Electrical noise
If a single power supply is used, add up the current requirements of
all devices drawing power from the network. This total should be
considered the minimum current rating in selecting the power supply
used. In addition check the:
ect node data rate
• Len
• Siz
• Voltage measured at the middle and ends of the network
• Noise in network power measured with an oscilloscope
gth and current level in trunk and drop cables
e and length of the cable supplying power to the trunk
Publication 2098-RM002A-EN-P – October 2001
Troubleshooting DeviceNet Drives5-5
Cable Installation and
Design Problems
Cable installation and design refers to the physical layout and
connections on the network. Walk the network if possible to
determine the actual layout and connections. Network management
software displays only a logical record of the network. Ensure that
you have a diagram of the physical layout and a record of the
information from the tables below.
Cable ChecksPower Checks
Number of nodesBreak the earth ground of the V- and Shield and verify
>1.0 Mohm to frame ground with power supply off
Individual drop lengthsUse a multi-meter to check for short circuit between
CAN_H and CAN_L, or CAN (H or L) to Shield, V- or V+
Branched drop lengthTotal power load and at its distribution points
Cumulative drop lengthSpot check power for noise
Total trunk length
Power supply cable
length and gauge
Terminator locations
and size
Adjusting the Physical
Network Configuration
Ways to improve the efficiency of your physical network configuration
include:
ortening the overall length of the cable system
• Sh
• Movi
• Moving devices from an overloaded cable section to a less loaded
• Moving higher current loads closer to the power supply
• Adding another power supply to an overloaded network
• Moving the power supply from the end to the middle of the
ng the power supply in the direction of an overloaded cable
section
section
network
Publication 2098-RM002A-EN-P – October 2001
5-6Troubleshooting DeviceNet Drives
Publication 2098-RM002A-EN-P – October 2001
Index
A
address
logically assigned 5-3
physically assigned 5-3
addressing
attributes
instances
media access control (MAC) 4-3
nodes (drives) 1-5
object classes
ARRAY 4-4
assembly object 4-1, 4-11
attribute
addressing
definition 4-1
attributes
assembly object
connection object
DeviceNet object
identity object
message router
parameter object
4-3
4-3
4-3
4-3
attribute of instances 1-18
instance ID = 1-18
instance ID = 1 - 10 4-16
class specific services
instance ID = 0 4-9
instance ID = 1
instance ID = 0 4-5
instance ID = 1
instance ID = 5 4-6
instance IDs 1-4 4-5
status description
instance ID = 1 4-8
instance attribute 4
instance attribute 5 4-51
instance attributes
instance ID = 0
instance ID = 1 - 996 4-18
general information
switch location
troubleshooting 5-3
node address
general information
switch location
troubleshooting
SHORT_STRING
4-4
SINT
5-4
4-1
4-13
4-10
4-7
4-8
4-52
5-3
1-5
1-1
1-5
1-1
5-3
4-4
4-17
Publication 2098-RM002A-EN-P – October 2001
IndexI-3
T
technical assistance P-4,back cover-2
tee tap 5-3
tee tap, see also
connector
terminology
4-1
attribute
instance 4-1
object 4-1
4-1
service
troubleshooting
cable installation and design 5-5
device failure
drop length 5-5
electrical noise 5-5
grounding
module status LED 5-2
network efficiency 5-5
network status LED
node address problems 5-3
number of nodes 5-5
5-3
5-3
5-2
physical network configuration 5-5
power supply 5-4
scanner 5-4
trunk length
trunk length 5-5
trunk wiring 5-4
5-5
U
UDINT 4-4
UINT 4-5
4-5
USINT
W
WORD 4-5
Z
Publication 2098-RM002A-EN-P – October 2001
I-4Index
Publication 2098-RM002A-EN-P – October 2001
Notes
Publication 2098-RM002A-EN-P – October 2001
Publication 2098-RM002A-EN-P – October 2001
Rockwell Automation Support
Rockwell Automation provides technical information on the Web to assist you in using its products.
At http://www.rockwellautomation.com/support
code and links to software service packs, and a MySupport feature that you can customize to make the best use of these
tools. You can also visit our Knowledgebase at http://www.rockwellautomation.com/knowledgebase
information, support chat and forums, software updates, and to sign up for product notification updates.
, you can find technical manuals, technical and application notes, sample
for FAQs, technical
For an additional level of technical phone support for installation, configuration, and troubleshooting, we offer
SM
Te c h C o n n e c t
representative, or visit http://www.rockwellautomation.com/support/
support programs. For more information, contact your local distributor or Rockwell Automation
.
Installation Assistance
If you experience a problem within the first 24 hours of installation, review the information that is contained in this
manual. You can contact Customer Support for initial help in getting your product up and running.
United States or Canada1.440.646.3434
Outside United States or Canada
Use the Wor ldwi de Lo cator at http://www.rockwellautomation.com/rockwellautomation/support/overview.page, or contact your local
Rockwell Automation representative.
New Product Satisfaction Return
Rockwell Automation tests all of its products to help ensure that they are fully operational when shipped from the
manufacturing facility. However, if your product is not functioning and needs to be returned, follow these procedures.
United States
Outside United StatesPlease contact your local Rockwell Automation representative for the return procedure.
Contact your distributor. You must provide a Customer Support case number (call the phone number above to obtain one) to your
distributor to complete the return process.
Documentation Feedback
Your comments will help us serve your documentation needs better. If you have any suggestions on how to improve this
document, complete this form, publication RA-DU002
Publication 2098-RM002A-EN-P - October 20010013-1090-001-01
, available at http://www.rockwellautomation.com/literature/.