Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How do I synchronize 2 NI-Motion Control Boards?

Hardware: Motion Control>>Controllers

Problem:
Is it possible to synchronize 2 or more NI-Motion control boards? If so, how do I do it?

Solution:
There are two methods of synchronizing motion control boards:

If you are using 8 or fewer Axis
Purchase an NI-Motion Control board that can control all of your Axis from 1 motion control board. This will remove your need to have multiple NI-Motion control boards and allow you to synchronize the Axes with both hardware and software.

If you have more than 8 axis or are not willing to purchase a new NI-Motion board
You can use software synchronization to synchronize the motion of two different NI-Motion boards. The following example demonstrates a simple way to implement the software synchronization. The example uses the rendezvous function to synchronize two separate NI-Motion board threads so that they run Start Motion.flx at almost exactly the same time.

Example Program: Using Two Motion Boards in Parallel

Synchronizing the motion boards using software timing does not guarantee that the boards will move at exactly the same time. Although in most cases the difference between the start times will be so negligible that it will not be noticeable. If you need the motion boards to start at exactly the same time, you will need to implement a hardware synchronization solution. Hardware synchronization between two separate motion boards is not supported by the NI-Motion driver. If this is a necessary feature, you can implement hardware synchronization using SoftMotion with a CompactRIO or purchase an NI-Motion board with more Axes.

Note: National Instruments sells motion control boards which allow you to control up to 8 motors at the same time, with hardware and software synchronization.

Related Links:
Example Program: Using Two Motion Boards in Parallel

Attachments:





Report Date: 02/07/2007
Last Updated: 01/07/2008
Document ID: 466702AJ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit