Jump to content

Step motor with closed loop

Recommended Posts

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.

Link to comment
Share on other sites

  • 9 months later...


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

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...