How Do I Use the Digital Input/Output Lines on my 7330, 7340, or 7350 Motion Controller Card?Primary Software: Driver Software>>NI-Motion/FlexMotionPrimary Software Version: 4.5 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Development Systems>>LabVIEW Full Development System Hardware: Compact FieldPoint>>Controllers
Problem: How do I program the Digital Input/Output (DIO) lines on my NI 7330, 7340, or 7350 Motion Controller card? Solution: The NI 7330 and NI 7340 series boards have 32 DIO lines and the NI 7350 series boards have 64 lines available for use. These lines are static and bi-directional, meaning that they are set on an update basis, and can be configured as both input and output. The NI Motion Controllers use a Must On Must Off (MOMO) protocol for controlling the digital output. MOMO is effectively a tri-state protocol. When using MOMO, a digital line will remain in the last commanded state until updated. The third state is derived from this behavior. Thus, a line is either On, Off, or Unchanged. For more information about MOMO, please refer to KnowledgeBase 3BR8O4KD: Using Motion I/O Lines of the 73xx Motion Boards as General Purpose Digital I/O. In LabVIEW, you can use Set I/O Port MOMO VI or Write Digital I/O Data VI to change the state of a digital output line. You can use Read I/O Port VI or Read Digital I/O Data VI to read the state of a digital input line. Refer to the NI-Motion VI Help (also accessible from context help in LabVIEW) for more information on how to use each VI.
The NI Example Finder includes at least two examples that demonstrate how to program DIO lines on an NI Motion Controller card, Auxilliary Digital Output VI and Write 1 Point to Digital Line VI. To access these examples, select Help»Find Examples. When the NI Example Finder opens, select Hardware Input and Output»Motion Control»Analog and Digital IO. You can also find these examples at labview\examples\Motion\FlexMotion\Miscellaneous.llb.
Refer to the manual for your motion controller card for more information on the DIO signal connections. For the 7330, this information can be found on page 5-14. For the 7340 and 7350, this information can be found on page 5-15. Related Links: Product Manuals: National Instruments 7330 User Manual and Specifcations (October 2003) Product Manuals: National Instruments 7340 User Manual and Specifcations (November 2003) Product Manuals: National Instruments 7350 User Manual and Specifcations (July 2006) Product Manuals: NI-Motion User Manual NI-Motion Function Help KnowledgeBase 3BR8O4KD: Using Motion I/O Lines of the 73xx Motion Boards as General Purpose Digital I/O Attachments:
Report Date: 12/03/2007 Last Updated: 04/24/2009 Document ID: 4G2GLUQ7 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
