Page 4
The reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for any damages arising out of or related to this document or the information contained in it.
Page 5
These classes are known as Class A (for use in industrial-commercial locations only) or Class B (for use in residential or commercial locations). All National Instruments (NI) products are FCC Class A products. Depending on where it is operated, this Class A product could be subject to restrictions in the FCC rules. (In Canada, the Department of Communications (DOC), of Industry Canada, regulates wireless interference in much the same way.) Digital...
Contents About This Manual Conventions ........................vii Related Documentation....................viii Chapter 1 Introduction About the 7340 Controller .....................1-1 Features......................1-1 Hardware ......................1-1 RTSI ........................1-2 What You Need to Get Started ..................1-2 Software Programming Choices ..................1-3 National Instruments Application Software ..............1-3 Optional Equipment .......................1-3 Motion I/O Connections ....................1-4...
Page 7
Other Motion I/O Connection ................. 5-14 Digital I/O Connector ....................5-15 PWM Features....................5-16 RTSI Connector......................5-16 RTSI Signal Considerations................5-17 Appendix A Specifications Appendix B Cable Connector Descriptions Appendix C Technical Support and Professional Services Glossary Index NI 7340 User Manual ni.com...
This manual describes the electrical and mechanical aspects of the PXI/PCI-7340 and contains information about how to operate and program the device. The 7340 is designed for PXI, Compact PCI, and PCI bus computers Conventions The following conventions appear in this manual: <>...
About This Manual Related Documentation The following documents contain information you might find helpful as you read this manual: • NI-Motion User Manual • NI-Motion C Reference Help • NI-Motion VI Reference Help NI 7340 User Manual viii ni.com...
VI libraries for use with LabVIEW. Features The 7340 is a combination servo and stepper motor controller for PXI, Compact PCI, and PCI bus computers. The 7340 provides fully programmable motion control for up to four independent or coordinated axes of motion, with dedicated motion I/O for limit and home switches and additional I/O for general-purpose functions.
IMAQ, or DAQ devices. What You Need to Get Started To set up and use the 7340 controller, you must have the following items: ❑ NI PXI-7340 or PCI-7340 motion controller ❑...
Software Programming Choices NI-Motion is a simple but powerful high-level application programming interface (API) that makes programming the 7340 easy. All setup and motion control functions are easily executed by calling into a dynamically-linked library (DLL). You can call these libraries from C, Microsoft Visual Basic, and other high-level languages.
National Instruments catalog, the National Instruments Web site at , or call your National Instruments sales representative. ni.com Motion I/O Connections The external motion and digital I/O connectors on the 7340 are high-density, 68-pin female VHDCI connectors. For custom cables, use the AMP mating connector (part number 787801-1).
Note If you do not install the NI-Motion driver software before attempting to use the 7340, the system does not recognize the 7340 and you are unable to configure or use the device. Controller Configuration...
Page 15
Pollution Degree 3—Conductive pollution or dry, nonconductive pollution occurs. Nonconductive pollution becomes conductive because of condensation. The 7340 is intended for indoor use only. Note Clean the device and accessories by brushing off light dust with a soft, nonmetallic brush. Remove other contaminants with a stiff, nonmetallic brush.
Page 16
Remove power from signal lines before connection to or disconnection from the device. Caution National Instruments measurement products may be classified as either Installation Category I or II. Operate products at or below the Installation Category level specified in the hardware specifications.
Hardware Installation Install the 7340 in any open compatible expansion slot in the PXI or PCI system. Appendix A, Specifications, lists the typical power required for each controller.
Page 20
Hardware Overview 1 Identification Number Used in Australia 3 Symbol to Alert User to Read the Manual 2 Symbol Indicating FFC Compliance Figure 3-2. Symbols on the Back of the PXI-7340 ASSY186307D-01 1 RTSI Connector 6 Assembly Number Label 2 Serial Number Label...
Signal Connections, for details about the signals in the digital I/O connector. The PCI-7340 RTSI connector provides up to eight triggers to facilitate synchronization between multiple National Instruments products. The PXI-7340 RTSI-enabled connection provides up to eight triggers and one PXI star trigger to facilitate synchronization between multiple National Instruments PXI-enabled products.
This chapter provides an overview of motion control algorithms and the PXI/PCI-7340 controller. Dual Processor Architecture With the 7340, you can perform up to four axes of simultaneous, coordinated motion control in a preemptive, multitasking, real-time environment. An advanced dual-processor architecture that uses a 32-bit CPU combined with a digital signal processor (DSP) and custom FPGAs give the 7340 high-performance capabilities.
The DSP chip is a separate processor that operates independently from the CPU but is closely synchronized. The 7340 is a true multiprocessing and multitasking embedded controller. The advanced architecture of the 7340 enables advanced motion features, such as enhanced PID functions.
Axes and Motion Resources The 7340 can control up to four axes of motion. The axes can be completely independent, simultaneously coordinated, or mapped in multidimensional groups called coordinate spaces. You also can synchronize coordinate spaces for multi-vector space coordinated motion control.
Index Figure 4-2. Stepper Axis Resources The 7340 supports axes with secondary output resources, such as DACs for servo axes or stepper outputs. Defining two output resources is useful when controlling axes with multiple motors, such as gantry systems in which two DAC outputs can be configured with different torque limits and/or offsets.
You can store and run onboard programs and buffers from RAM or save them to flash ROM. The 7340 controller has 64 KB of RAM and 128 KB of ROM that is divided into two 64 KB sectors for program and buffer storage.
Page 27
The communications status register (CSR) provides bits for communications handshaking as well as real-time error reporting and general status feedback to the host PC. The move complete status (MCS) register provides instantaneous motion status of all axes. NI 7340 User Manual ni.com...
The 7340 does not provide isolation between circuits. Caution Turn off power to all devices when connecting or disconnecting the 7340 controller motion I/O and auxiliary digital I/O cables. Failure to do so may damage the controller. Motion I/O Connector...
Page 29
Signal Connections Figure 5-1 shows the pin assignments for the 68-pin motion I/O connector on the 7340. Table 5-1 includes descriptions for each of the signals. A line above a signal name indicates that the signal is active-low. Axis 1 Dir (CCW)
• Axis <1..4> Step (CW) and Dir (CCW)—These open-collector signals are the stepper command outputs for each axis. The 7340 supports both major industry standards for stepper command signals: step and direction, or independent CW and CCW pulse outputs.
You can read the status of these inputs at any time and set and change their polarity as required. Limit and home inputs are a per axis enhancement on the 7340 and are not required for basic motion control. These inputs are part of a system solution for complete motion control.
Verify that the input voltage is within the specification range. Encoder Signals The 7340 offers four channels of single-ended quadrature encoder inputs. All National Instruments power drives and UMI accessories provide built-in circuitry that converts differential encoder signals to single-ended encoder signals.
Page 35
You can set the index reference criteria in MAX to change the pattern of phases A and B for the index search. You also can set the encoder polarity for phases A, B, and I in MAX. NI 7340 User Manual ni.com...
3.05 m (10 ft). Shielded, 24 AWG wire is the minimum recommended size for the encoder cable. Cables with twisted pairs and an overall shield are recommended for optimized noise immunity. All National Instruments power drives and UMI accessories provide built-in circuitry that converts differential encoder signals to single-ended encoder signals.
An available 7340 position mode is to move an axis Relative to Captured Position. The polarity of the trigger input is programmable in software as active-low (inverting) or active-high (non-inverting), rising or falling edge.
Figure 5-7. Breakpoint Output Circuit Analog Inputs The 7340 has the following ADC input signals: • Analog Input <1..4>—The 7340 includes an eight-channel multiplexed, 12-bit ADC capable of measuring ±10 V, ±5 V, 0–10 V, and 0–5 V inputs. ADC channels 1 through 4 are brought out externally on the 68-pin motion I/O connector.
Signal Connections Other Motion I/O Connection The 7340 provides Host +5 V, which is the internal +5 V supply of the host computer. It is typically used to detect when the host computer is powered and to shut down external motion system components when the host computer is turned off or disconnected from the motion accessory.
Chapter 5 Signal Connections Digital I/O Connector All the general-purpose digital I/O lines on the 7340 are available on a separate 68-pin digital I/O connector. Figure 5-8 shows the pin assignments for this connector. +5 V Digital Ground PCLK Digital Ground...
Note PID servo control loop. Refer to the NI-Motion User Manual for more information. RTSI Connector The physical RTSI bus interface varies depending on the type of 7340 controller. The PXI-7340 uses the PXI chassis backplane to connect to other RTSI-capable devices.
Signal Connections RTSI Signal Considerations The 7340 motion controller allows you to use up to eight RTSI trigger lines as sources for trigger inputs, or as destinations for breakpoint outputs and encoder signals. The RTSI trigger lines also can serve as a generic digital I/O port.
Specifications This appendix lists the hardware and software performance specifications for the PXI/PCI-7340. Hardware specifications are typical at 25 °C, unless otherwise stated. Servo Performance PID update rate range......62.5 µs to 5 ms/sample Maximum PID update rate....62.5 µs/axis 4-axis PID update rate.....
Page 46
Maximum pulse rate ......4 MHz (full, half, and microstep) Minimum pulse width......120 ns at 4 MHz Step output mode......Step and direction or CW/CCW Assumes a PID update rate of 250 µs and a 2,000-count encoder. NI 7340 User Manual ni.com...
Page 48
Voltage range........0 to 5 V Output low voltage ....<0.6 V at 64 mA sink Output high voltage....Open collector with built-in 3.3 kΩ pull-up to +5 V Polarity ..........Programmable, active-high or active-low Control..........MustOn/MustOff or automatic when axis off NI 7340 User Manual ni.com...
Page 52
Refer to the Declaration of Conformity (DoC) for this product for any additional Note regulatory compliance information. To obtain the DoC for this product, visit , search by model number or product line, and click the ni.com/hardref.nsf appropriate link in the Certification column. NI 7340 User Manual ni.com...
Page 54
Axis 4 Encoder Index 45 46 Trigger/Breakpoint 4 Axis 4 Forward Limit Switch 47 48 Axis 4 Inhibit Axis 4 Reverse Limit Switch 49 50 Digital Ground Host +5 V Figure B-2. 50-Pin Servo Connector Pin Assignment NI 7340 User Manual ni.com...
Page 55
Technical Support and Professional Services Visit the following sections of the National Instruments Web site at for technical support and professional services: ni.com • Support—Online technical support resources include the following: – Self-Help Resources—For immediate answers and solutions, visit our extensive library of technical support resources available in English, Japanese, and Spanish at .
Page 56
You also can visit the Worldwide Offices section of to access the branch ni.com/niglobal office Web sites, which provide up-to-date contact information, support phone numbers, email addresses, and current events. NI 7340 User Manual ni.com...
Page 58
2 buffer temporary storage for acquired or generated data (software) group of conductors that interconnect individual circuitry in a computer. Typically, a bus is the expansion vehicle to which I/O or other devices are connected. NI 7340 User Manual ni.com...
Page 62
Noise corrupts signals you are trying to send or receive. noninverting polarity of a switch (limit switch, home switch, and so on) in active state. If these switches are active-high, they are said to have non-inverting polarity. NI 7340 User Manual ni.com...
Page 67
I/O connector pin assignments, 5-2 signal descriptions, 5-3 ground connections encoder signals, 5-9 wiring breakpoint outputs, 5-11 National Instruments support and shutdown input, 5-11 services, C-1 trigger inputs, 5-11 NI support and services, C-1 NI 7340 User Manual ni.com...
Need help?
Do you have a question about the 7340 and is the answer not in the manual?
Questions and answers