12/3/2012 11:33 AM | |
Joined: 4/22/2010 Last visit: 3/31/2025 Posts: 5697 Rating:
|
Hello, there is a special module to control stepper drives. 6ES7253-1AA22-0XA0
You can also program a pulstrain output(only if you have transistor output) see S7200 programming tips Tip 22. Regards, Marcjan |
Problem solved? |
|
12/6/2012 6:13 AM | |
Posts: 21 Rating:
|
I am attaching the technical details of driver I am using. The stepper motor used is bipolar (DC 4.5 Ampere,0.48 Ohm). AttachmentMotor driver.pdf (783 Downloads) |
12/13/2012 1:51 PM | |
Posts: 21 Rating:
|
Thanks William for pointing out that only half stepping is possible with this driver. Since I need a more shorter step, i have changed the motor which has 0.72 degree step size.By half stepping I can get an step change of 0.36 degree (enough to meet my requirement).Now the problem is with programming. I want the motor to move forward and reverse at some set speed.To bring the motor back to home position, I also want jogging in both direction. I have writtentwo programs attached herewith. There is no problem with forward and reverse movement. But I am not able to make it jog forward and reverse. I want separate switch for rotation and jogging. Please help. AttachmentStepper motor-bidirectional.zip (755 Downloads) |
12/13/2012 2:33 PM | |
Posts: 5225 Rating:
|
ouch.. there is much easier ways. Under the software help try the following topic: "Position Control Wizard:PTO /PWM Configuration" w |
12/18/2012 10:36 AM | |
Posts: 21 Rating:
|
Hi William, I was able to run the motor both way as well as jog it using position control wizard. Its really easy. I am attaching the program so that newbees like me can work on similar applications. Thanks. AttachmentPosn wizard-CW+CCW.zip (798 Downloads) |
This contribution was helpful to
5 thankful Users |
3/18/2013 5:37 PM | |
Posts: 5225 Rating:
|
Guys N Girls... I offer you this alternative example to give you a push into what the coding might look like when using Q0.0 to pulse a servo/stepper drive. Questions on this is more than welcome, but please do it here as I might not be available to answer. PS: ask for "PTO / PWM Wizard Subroutines" under the help files or "Open Loop Motion Control with the S7-200" in the "S7-200 Programmable Controller System Manual" AttachmentPTOx_MAN example_0v01.zip (528 Downloads) |
This contribution was helpful to
1 thankful Users |
4/29/2018 4:11 PM | |
Joined: 6/19/2017 Last visit: 9/6/2024 Posts: 8171 Rating:
|
New question published by Abdul Malik is split to a separate thread with the subject Developing a shutter opening and closing system by using plc s7 200. Best regards |
This contribution was helpful to
1 thankful Users |
Follow us on