Jerin Posted January 29, 2013 Report Share Posted January 29, 2013 Dear all, I have an application of cutting machine. I am using M91-2-T1 to control the rollers synced with micro stepping motor for feeding the probe. The Stepping is controlled by PWM output as well as the feedback is given to the HSI to stop HSO after reaching the exact preset value. The probe should be cut at 20mm,40mm & 100mm lengths with +/- 1mm. But sometimes the tolerance value comes -2 to + 4. How could I attain the expected tolerance value(+/-1mm)? Is there any programming trick to reduce the scan time? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
MVP 2014 Simon Posted January 30, 2013 MVP 2014 Report Share Posted January 30, 2013 Have a look at the examples in the "Motion Control" examples in the U90 ladder examples section. One aspect is to use the 2.5ms interrupt. Also, are you ramping the speed down as you approach the setpoint? There is also an example of this in the sample programs. Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted January 30, 2013 MVP 2022 Report Share Posted January 30, 2013 Post your code. We can't give you programming suggestions if we don't know what you've done. Joe T. Quote Link to comment Share on other sites More sharing options...
Jerin Posted January 30, 2013 Author Report Share Posted January 30, 2013 Thanks for your reply Mr.Simon & Mr.Joe. Dear Mr.Joe, Here by i attached the full coding. http://forum.unitronics.com/index.php?/files/file/29-tube-cutting-machine/ Dear Mr.Simon, I already gone through the sample program and created as per the program only. But It didn't run with the 2.5ms interrupt inside (I don't know why.). So I deleted that part. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.