Jerin Posted January 29, 2013 Report 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.
MVP 2014 Simon Posted January 30, 2013 MVP 2014 Report 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.
MVP 2023 Joe Tauser Posted January 30, 2013 MVP 2023 Report 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.
Jerin Posted January 30, 2013 Author Report 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now