Manuals
/
Brands
/
Computer Equipment
/
Network Card
/
National Instruments
/
Computer Equipment
/
Network Card
National Instruments
NI-DNET user manual
1
1
86
86
Download
86 pages, 625.72 Kb
DeviceNet
T
NI-DNET
TM
User Manual
NI-DNET User Manual
May 2004 Edition
Part Number 370375B-01
Contents
Main
Page
Important Information
Warranty
Copyright
Trademarks
Patents
Contents
Chapter 4 NI-DNET Programming Techniques
Appendix A DeviceNet Overview
Page
About This Manual
How to Use the Manual Set
Conventions
Related Documentation
Page
NI-DNET Software Overview
Installation and Configuration
Measurement & Automation Explorer (MAX)
Verify Installation of Your DeviceNet Hardware
Page
Configure DeviceNet Port
Change Protocol
LabVIEW Real-Time (RT) Configuration
Tool s
NI-Spy
NI-DNET Objects
Interface Object
Explicit Messaging Object
I/O Object
Example
Using NI-CAN with NI-DNET
Page
NI-DNET Hardware Overview
Types of Hardware
Differences Between CAN Kits and DeviceNet Kits
Developing Your Application
Accessing NI-DNET from your Programming Environment
LabVIEW
LabWindows/CVI
Microsoft Visual Basic
Microsoft C/C++
Borland C/C++
Other Programming Languages
Page
Programming Model for NI-DNET Applications
Figure 3-1. General Programming Steps for an NI-DNET Application
Step 1. Open Objects
Step 2. Start Communication
Step 3. Run Your DeviceNet Application
Addition of Slave Connections after Communication Start
Step 4. Stop Communication
Step 5. Close Objects
Multiple Applications on the Same Interface
Checking Status in LabVIEW
Checking Status in C, C++, and Visual Basic
Page
NI-DNET Programming Techniques
Configuring I/O Connections
Expected Packet Rate
Strobed I/O
Polled I/O
Scanned Polling
Background Polling
Individual Polling
Cyclic I/O
Change-of-State (COS) I/O
Automatic EPR Feature
Using I/O Data in Your Application
Page
Accessing I/O Members in LabVIEW
Accessing I/O Members in C
Using Explicit Messaging Services
Get and Set Attributes in a Remote DeviceNet Device
Other Explicit Messaging Services
Handling Multiple Devices
Configuration
Object Handles
Main Loop
A
DeviceNet Overview
History of DeviceNet
Physical Characteristics of DeviceNet
General Object Modeling Concepts
Object Modeling in the DeviceNet Specification
Page
Explicit Messaging Connections
Page
I/O Connections
Polled I/O
Bit Strobed I/O
Change-of-State and Cyclic I/O
Page
Assembly Objects
Page
Device Profiles
Open DeviceNet Vendors Association (ODVA)
B
Cabling Requirements
Connector Pinouts
Page
Power Supply Information for the DeviceNet Ports
Page
Page
Cable Specifications
Cable Lengths
Maximum Number of Devices
Cable Termination
Cabling Example
FigureB -8 shows an example of a cable to connect two DeviceNet devices.
Figure B-8. Cabling Example
C
Troubleshooting and Common Questions
Troubleshooting with the Measurement & Automation Explorer (MAX)
Missing CAN Card
Troubleshooting Self Test Failures
Application In Use
Memory Resource Conflict
Interrupt Resource Conflict
NI-CAN Software Problem Encountered
Common Questions
Page
D
Hardware Specifications
PCI-CAN Series
PCMCIA-CAN Series
PXI-CAN Series
Port Characteristics
Safety
Electromagnetic Compatibility
CE Compliance
E
Technical Support and Professional Services
Glossary
A
B
C
D
E
F
Page
N
O
P
R
S
V
Index
C
D
E
H
L
M
N
P
R