Jump to content
OMRON Forums

PMACPlotPro2


vignesh90
 Share

Recommended Posts

Hello,

 

I'm trying to use PMACPlotPro2 to log the response of motors to a motion program. Attached the program, data points and the position and velocity plots.

 

I tried a simple jog motion of X axis as well. Attached the plots.

 

The plots I get out of PMACPlotPro2 doesn't make any sense! The connection to the PMAC works well and I have checked this multiple times.

 

It would be great if I can get any help on how to fix this.

 

Thank you!

UY.pdf

UYmotion.pdf

PlotTest.zip

Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

I took your motion program and ran it on a PowerPmac. It’s not clear to me what exactly you are trying to achieve, but I noticed a few things.

I had to clean up the file on a line or two…(see attached motion program)

The sinusoidal portion of the data is distorted (not a clean sinusoid). You can see this from a plot of commanded velocity (see plot attached). This is usually caused by incorrectly calculating the velocity portion of the PVT segments, which should ideally match their slopes (accel) on segment boundaries.

 

Is that what you are referring to as “jittery motion“ ? Not sure what your plots are showing…I didn’t see any sinusoidal portions in them. ??

Link to comment
Share on other sites

Hi Dave,

 

Thanks for the help with this.

 

Noted the changes to motion program, I'll implement those.

 

I'm not sure why the commanded velocity is distorted. If you see the plots vU and vY in the attached PDF, the velocity looks clean. That's one cycle of the run.

 

I guess this is what causes the "jittery" motion.

 

I took your motion program and ran it on a PowerPmac. It’s not clear to me what exactly you are trying to achieve, but I noticed a few things.

I had to clean up the file on a line or two…(see attached motion program)

The sinusoidal portion of the data is distorted (not a clean sinusoid). You can see this from a plot of commanded velocity (see plot attached). This is usually caused by incorrectly calculating the velocity portion of the PVT segments, which should ideally match their slopes (accel) on segment boundaries.

 

Is that what you are referring to as “jittery motion“ ? Not sure what your plots are showing…I didn’t see any sinusoidal portions in them. ??

UYmotion.pdf

Link to comment
Share on other sites

Hi Dave,

 

I had made an error in the time step calculation. I have corrected it in the attached code. Could you please check the commanded velocity plots for this program?

 

On the other hand, I'm still not sure how to fix PMACPlotPro2.

 

Hi Dave,

 

Thanks for the help with this.

 

Noted the changes to motion program, I'll implement those.

 

I'm not sure why the commanded velocity is distorted. If you see the plots vU and vY in the attached PDF, the velocity looks clean. That's one cycle of the run.

 

I guess this is what causes the "jittery" motion.

 

I took your motion program and ran it on a PowerPmac. It’s not clear to me what exactly you are trying to achieve, but I noticed a few things.

I had to clean up the file on a line or two…(see attached motion program)

The sinusoidal portion of the data is distorted (not a clean sinusoid). You can see this from a plot of commanded velocity (see plot attached). This is usually caused by incorrectly calculating the velocity portion of the PVT segments, which should ideally match their slopes (accel) on segment boundaries.

 

Is that what you are referring to as “jittery motion“ ? Not sure what your plots are showing…I didn’t see any sinusoidal portions in them. ??

UYmotion_correct.txt

Link to comment
Share on other sites

Hi Dave,

 

Yes those were excel plots. Is there any documentation on how PMAC calculates the velocity so I can understand this better?

 

Thanks!

 

Your most recent plot is an Excel plot of the velocity points in your program...correct ?

This is not the same as the velocity of the 3rd order curve that Pmac calculates from your data.

(and that I plotted)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...