Jump to content
OMRON Forums

hendraprimasyahputra

Members
  • Posts

    38
  • Joined

  • Last visited

Everything posted by hendraprimasyahputra

  1. I generate G-code from a CAM software post-processor, in the code there is a G73 which is a peck-drilling secuence for 3-axis milling but it didn't recognized by UMAC. In this case, is there any recommended G-code post-processor which is good for UMAC ?
  2. Hi all, Which G-code can be use in UMAC for array drill sequence ? I tried G73 but UMAC didn't recognize it. Thanks
  3. Thanks all for the comments. Finally i can run it. ^_^
  4. Hi, I tried to run the HMI but i got 2 errors : The type or namespace name 'PCOMMSERVERLib' could not be found (are you missing a using directive or an assembly reference?) How can i fix this ? Thanks
  5. Hi, Is it the same if i separate the motion program into several parts and upload it in different PROG ? I got about 225000 line of G-code right now, my plan is to separate them into 20000/PROG. is it possible ? Thanks
  6. Hi Unit101, do you have Pcomm2 project on VS 6.0 version ? if so, can you upload it. Thanks
  7. For programs that large you will need to use the rotary buffer and spool the program in. PcomServer has drivers for doing this from a windows application. any other solution ? because i don't have PcommServer
  8. Hi DeltaTau, I use UMAC for my machine now. Is there a limitation of G-code program size on UMAC ?. I got about 300000 line of G-Code, i tested by put them all on prog 1 and run it. UMAC stop around line 20000. Any suggestion ? Thanks
  9. [/code]Hi, I got a question about PMAC motion program. This is mw program for moving X-axis back and forth with 1 second delay between them. OPEN PROG 1 CLEAR INC LINEAR F 10000 X 5000 DWELL 1000 X -5000 CLOSE the position of the motor measured by linear encoder stored in the M262 variable. now, suppose i want to have the same motion but the motor must stop by a measurement from another sensor in different motor. In this case a motor #4. how can i do that ? right now my idea to have this kind of program OPEN PROG 1 CLEAR INC LINEAR F 10000 while(P20 < 5000) ; P20 equal to m462/(I408*32) X 1 EndWhile DWELL 1000 while(P20 > 0) X -1 EndWhile CLOSE but i using this program, i found that the speed wasn't correct because the motion was build by the increment of X1. any idea ? Thanks
  10. Hi, By using a PMAC Plot, i can gather all motor command and save it in form of .m file to be opened in Matlab. Until now i'm able to plot it in 2D ( Ex : X and Y axis trajectory ). Anyone ever try to plot 3D tool path on Matlab using data gathered by PMAC Plot ? Thanks
  11. Hi, the kinematics wasn't active. but i now solved the problem. i was because of Ixx34 ( integration mode ). I set it to 0 and now it's working very well. Now, i need to test the system by sinusoidal sweep, i found there are a maximum frequency limit which is 225 Hz. Is there any way to increase this maximum testing frequency ? in some cases the PMAC Tuning Pro didn't plot all the result and for high frequency testing ( >100 hz ) sometimes it fails to plot bode diagram, This makes me have to reduce the sweep time. is it because of the gathering buffer ? Is it possible to increase the gathering data ? Hope i can get some response soon, Thanks
  12. Hi, I have some question about PMAC Tuning Pro. Right now i'm trying to tune the controller for piezo actuator. It works for step response. I got problem when i tried the sinusoidal command. It seems that the command it's correct but the output is not giving the same value ( so the actuator didnt response to that command ). I uploaded the video on this link : http://youtu.be/OsNA7YP6i_E as you can see in the video, i shift the position of the actuator first because it's characteristics which can't contract. i reset the position and after that i went to Tuning Pro. I give 500 cts command. But as we can see it fails to follow eventhough i saw so small trends on the motion. This only happens on sin wave command, but didn't happen to step response command. Any suggestion ?
  13. I'm sorry, i mean sampling frequency. Thanks
  14. Hi, Is it possible to increase sampling time of PMAC Plot32 Pro ? If yes, How to do it ? Thanks
  15. Hi, Any other variables i should check ? because i checked the I7mn0 = 7. Thanks.
  16. Hi, I just reset my UMAC using : $$$*** I0..8191 = 0 P0..8191 = 0 Q0..8191 = 0 M0..8191->*M0..8191 = 0 UNDEFINE ALL SAVE after that i setup my motor using PMAC setup pro. but i found problem with encoder decode. i wanted to use 4x quadrature decode but i seems that its only detect 1x decode. any suggestion to solve this problems ? thanks
  17. Hi all, How to gather circular trajectory data as a combination of motor #1 and motor #2 motion ?. Thanks for the help. ^_^
  18. yes, but after the filtering process, can i get the data cut by the low pass filter ?.
  19. Hi all, Is it possible to implement high-pass filter or low-pass filter to separate reference trajectory generated by UMAC ?. Thank you for the help ^_^
  20. i dont get the idea of "feed the calculated values directly to piezo servo loop and not through a motion program". do you mean to feed it by accessing M-var through PLC loop ?
  21. Hi, Finally i managed to have the independent coordinate systems. Here is my code : close ; close all opened buffer delete gather ; delete unwanted gathered values undefine all ; undefine all coordinates system &1 ; coordinate system 1 X/Y/Z : 0.16 micrometer #1->1X #2->1Y #3->1Z &2 ; coordinate system 2 A/B : 0.003 micrometer #5->1A #6->1B I5 = 2 ; allow background PLC program to work OPEN PROG 1 CLEAR ; open program 1 INC ; incremental mode INC(R) ; incremental for radius CIRCLE1 ; clockwise circular interpolation F 500 ; feedrate 1.6 micrometer/second I 625 J 0 ; 100 micron radius circular movement CLOSE ; close program OPEN PROG 2 CLEAR ; open program 2 While (1 > 0) ; do forever INC ; incremental mode LINEAR ; linear mode F 32000 ; piezo speed 96 micrometer/second P0 = M5003 ; get error val from PLC P1 = M5007 ; get error val from PLC A(P0) B(P1) ; execute command DWELL 5 ; wait for 5 ms for settling EndWhile ; end loop CLOSE ; end program OPEN PLC 2 CLEAR ; open PLC prog M5000 = M161*0.16/(I108*32) ; get X-Axis command position M5001 = M762*0.15625/(I108*32) ; get X-Axis actual position M5002 = M5000-M5001 ; get X error val M5003 = M5002*-328 ; set X piezo command M5004 = M261*0.16/(I108*32) ; get Y-Axis command position M5005 = M862*0.15625/(I108*32) ; get Y-Axis actual position M5006 = M5004-M5005 ; get Y error val M5007 = M5006*328 ; set Y piezo command CLOSE ; close PLC in this case, i need to run the program by using &1b1r&2b2r. But after testing this code, i found that i need to control the servo cycle. As you can see prog 2 and PLC program are looping. How can i know the loop cycle time ? How fast the PLC refresh the value ? Which variables i need to change to control the cycle ? please guide me on this. Thank you ^_^
  22. Hi, When PMAC doing a circular interpolation, the segmentation time is controlled by Isx13. In my case, i want to know the target position for each segmentation time ? is it possible to do this ?
  23. If i use the CMD"#5J=*#6J=*" approach , the PLC can't loop. I can't regain new value. But if i use M561=P6*(I108*32), it works but i can't control the speed.
  24. It didn't work with #5J=* command, but it worked with M561=P6 setup. I don't know why it can't work #5J=* command. Another question now, because the PLC program always looping and always updating my values ( it is done in very fast ), it makes my actuator vibrates a lot. How can i control the loop time ? For example to make it slow or faster. Thank you
  25. in addition, i also got negative sign value, when P6 and P7 indication negative value. The jog command from the PLC can't work. I need solution on this, thx. I made a mistake, actually the PLC program was'nt looping, how to make the PLC program to loop ?
×
×
  • Create New...