1/22/2015 3:34 AM | |
Posts: 2 Rating:
|
Hey William, I'm currently trying to program a stepper motor that will control the movement of a plastic sheet. The idea is to insert the length of the plastic desired and have this motor supply this demand. Do you know how I could program this, I'm having some trouble programming the way to insert a length for example 15mm and have the motor do its job. Which movement would you recommend and how to make de S7 200 interpret the information? I'm working with PTO for this. I would be very greatful if you could help me with any information or manual.
----------- New subject after splitting from Stepper motor control. |
Last edited by: Min_Moderator at: 1/22/2015 1:26 PMSplitted |
|
1/22/2015 4:13 PM | |
Posts: 5225 Rating:
|
Hi there. I am a bit confused - Do you need to use the S7-200 or the S7-1200? If I may assume the S7-1200.. then you sould have a look first at the configuration of your servo axis. These parameters are responsible for ensuring that the amount you ask for is in engineering units.. in your case it will be [mm]. Do you know how many PLC to stepper motor pulses it takes to move 1mm? The example mentioned in the original thread gives some idea on how to determine this. Remember that this is very specific to your application, needing numbers from gear ratios, pully diameters and multiplier used on the stepper motor's amplifier. The command you can use for the movement is the relative move function. Again you can have a look at the Siemens CE-X7 example [LINK]. Does this give you some direction? w |
Follow us on