Curve Tool: Converting a Plot to a Curve

Many applications that require the Curve Tool also require training the Curve Tool as to what the curves should look like. For example, some applications use a joystick to move some axes through a sequence, and then want to have the RMC play back that sequence. Other applications may have an existing control system that needs to be retrofitted with an RMC-equipped system, so the RMC should copy the existing movements.

The RMC excels in these applications. You will first need to capture a plot of the move you want to convert to a curve, then convert the plot to a curve, and finally clean up the curve. Each phase is described below:

 

To capture a plot for converting to a curve:

  1. Set the Plot Time for the axis to indicate the number of seconds that the move you want to capture will take. Round up to the next largest whole number (or even number if you have RMC CPU firmware with a 2 ms control loop).

  2. Initiate the plot capture at the same time you start the motion on the axis.

The most common way to start the plot capture in this situation is to issue a Start Graph (y) command on the axis that you want to capture.

You may want to use the Event Step table to issue this command to tightly couple the start of the graph with the start of the motion.

 

To convert a plot to a curve starting with the Plot window open:

  1. Open a Plot window for the axis of the curve you want created, as described in Opening a Plot Window.

  2. Either upload a plot from the RMC, or open a saved plot, as described in Reading Plot Data from the Motion Controller and Saving and Restoring Plots.

  3. On the Data menu, click Convert Plot to Curve.

The Curve Tool will be opened or brought to the foreground. You will be prompted for the conversion interval.

  1. In the Convert Plot to Curve dialog box, type the number of milliseconds that you want between each point in the curve.

The shorter this interval, the more difficult it will be to edit the curve later and the higher the accelerations will be, but the more accurately you will follow the curve. The longer this interval, the easier it will be to edit the curve, but it may not following the original plot as well. It is worth trying several conversion intervals to find the optimal interval.

  1. Click OK.

 

To convert a plot to a curve starting with the Curve Tool open:

  1. Open the Curve Tool.

  2. Select the axis that has a plot you want to convert to a curve, as described in Selecting the Active Axis.

  3. On the Online menu, click Convert Plot to Curve, or use the corresponding toolbar button (image\but_ptc.gif).

The current plot will be read from the active axis. This will take a few seconds.

  1. In the Convert Plot to Curve dialog box, type the number of milliseconds that you want between each point in the curve.

The shorter this interval, the more difficult it will be to edit the curve later and the higher the accelerations will be, but the more accurately you will follow the curve. The longer this interval, the easier it will be to edit the curve, but it may not follow the original plot as well. It is worth trying several conversion intervals to find the optimal interval.

  1. Click OK.

Tips for Cleaning up a Curve

 

See Also: Curve Tool Topics

kadov_tag{ {
}} Metadata type="DesignerControl" startspan Metadata type="DesignerControl" endspan

 


Copyright (c) 1997-2015 by Delta Computer Systems, Inc.