KaiRune Posted April 3, 2014 Report Share Posted April 3, 2014 Hi. I have a V130-J-TR20 that i want to use to position a step motor with closed loop configuration. does anyone have any eksperiance with this? is it possible to use the pto utillity and make some changes? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted April 6, 2014 MVP 2022 Report Share Posted April 6, 2014 Feed the output to the stepper motor back into one of the high speed inputs to track the position of the motor. There is an example under Help->Examples->Version 900->Project Examples->HSC_HSO Joe T. Quote Link to comment Share on other sites More sharing options...
Kikis Posted April 9, 2014 Report Share Posted April 9, 2014 Eventhough PTO function is open loop, i find it to be very accurate for a stepper motor application. I think that PTO is much easier and faster way to program. Of course Joe's suggestion is the answer to your question but this way you have to write everything from scratch. If your application is complex, it might be a headache to program. Quote Link to comment Share on other sites More sharing options...
ondrej Posted January 20, 2015 Report Share Posted January 20, 2015 Hi I have tried HSC_HSO V120_stepper_motor example and it works little bit tricky. When i set the Target (number of pulses that i want to generate) PLC always generate Target + 1 pulses. So i have tried to set 1 pulse (Target < 100 pulses) and i have modified the example in place where is set frequency (when Target < 100 pulses). I think there should be defined minimum frequency because when the number of pulses is set < 100 (Target < 100) the plc cannot stop PWM with appropriate accuracy. This modified example generates same strangeness - when i set one pulse so PLC generates two pulses (Target + 1). I have tried use osciloscope, whether there are some reflections on wiring, but it didn't help. Signal is OK. Please somebody to try this example. I don't know where is problem. Thank you very much for Your HELP! Edit: It would help if somebody could try to run this example on V120UN2. And check whether TARGET = Position. It should be clear if problem is entirely with my PLC / software.Thx Quote Link to comment Share on other sites More sharing options...
AlexUT Posted January 21, 2015 Report Share Posted January 21, 2015 Hi, There is no problem with this example. VisiLogic Help state, that minimal frequency you can generate by PWM is 8 Hz. There is hardware limitation by design. PWM is not intended to generate 1 pulse. You have to use other way to manage stepper motor step-by-step. BR. 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.