Jump to content
OMRON Forums

vignesh90

Members
  • Posts

    19
  • Joined

  • Last visited

vignesh90's Achievements

Explorer

Explorer (4/14)

  • First Post
  • Collaborator Rare
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. I'm trying to use the PMACTerminalGather for one of my applications. I have uploaded some files in the following link: https://www.dropbox.com/sh/dy7837bgrj6sqlu/AAD0IjPahdUffNQAnTHP5Pc4a?dl=0 I used PMACTerminalEdit to create SubVIs (VI wrapper) for the LVX1 and LVUA1 programs. I have uploaded the VIs and related PMC files. I'm facing a couple of issues: 1. The block diagram shows grey question marks for PMACGatherStep.VI. There's a "VI is not loadable" error when I open the VI. Uploaded screenshots of the error messages int he above link. 2. I removed the PMACGatherStep part from PMACTerminalGather and tried to replace the SubVI with the custom SubVI created for either of the programs. The modified VI is named PMACEncoderTurtle. When I run the VI, the Program Run and Gather indicators turn on but my program does not execute. Based on the PMACPanelPro2 User Manual that I'm referring to (uploaded as well), the program should work when replaced with a custom created SubVI. I'm not sure if I am doing something wrong or missing something. Any help to resolve this issue will be great. Thank you!
  2. I'm trying to use the PMACPanel Pro2 VIs to synchronize motion with NI data acquisition board. I have attached my current code. I want to add logging of position, velocity data of 4 motors along with the DAQ data acquisition. I have looked at the PMAC Tutor 10, PMAC Terminal Motors and PMAC Terminal motors XY mentioned in the PMACPanel Pro2 User manual. I can't seem to find a way to set sampling rate for logging data from encoder. I currently log data on NI board at 1000Hz and would like to log the position, velocity data at the same rate as well. Any help on how to go about this, would be great! Thanks! Gamma_Delay_Program.zip
  3. I have a motion profile that I run in PVT mode. I have attached the code. The motion loops for a certain number of cycles. The Y axis motion has a sharp edge at the end of a cycle and beginning of next cycle due to direction reversal. I've marked this in the attached Y axis position plot. How do I use the blend function to make this a smooth transition? UYA1.txt
  4. Got it. I corrected the velocity and it works well. Thanks for the help!
  5. Hi Dave, Yes those were excel plots. Is there any documentation on how PMAC calculates the velocity so I can understand this better? Thanks!
  6. Got it, thanks! Set I68 > 0 and it worked.
  7. 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. UYmotion_correct.txt
  8. 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. UYmotion.pdf
  9. Attached the text file. UY.txt
  10. 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
  11. Attached data points and plots for easier reference.UYmotion.pdf
  12. Thank you curtwilson! This is helpful.
  13. Hello, I'm quite new to PMAC so pardon my ignorance. I need to run two axes of my gantry system in a loop. I'm trying to use PVT mode in the motion program. My code is attached. I have blending enabled (Isx92 = 0) and segmentation time 5ms (Isx13). When I run the program the axes motion is jittery, as if the motor stops after every commanded point. Am I missing something? Any help on how to fix this will be greatly appreciated. Thank you! UY.pdf
  14. Hi mbalentine, I understand the difference between 'online' commands and 'motion program' commands. I'm trying to assign different axes to different co-ordinate systems in a motion program. WHat would be the command to activate co-ordinate system in a motion program (if it is even possible)? I have no idea about PLC so don't want to spend time on that at this point. It would be great if I can use 'motion programs' to achieve what I want. Thanks for the tip about specifying the CS to run program in. Say I activate CS 1 and 2 in prog2 and define different axes. Will I be able to run the same program in two co-ordinate systems with the commands &1B2R and &2B2R ?
  15. I checked the manuals and found &1, &2 etc. are mentioned as commands to activate co-ordinate systems. I understand this works as online commands but I found some motion program examples where this is used as well. How do I go about assigning different axes to multiple co-ordinate systems in a motion program? The X axis needs to run the entire length at a constant velocity while the other axes perform complex looping motions. I thought it would be easier to program X in linear mode instead of splitting the motion piece-wise. It would be great if this can be done easily on PVT, please let me know how. For example, X needs to run 7500mm at 100mm/s while Y, U and A perform sinusoidal motions.
×
×
  • Create New...