3/3/2016 5:00 PM | |
Posts: 5225 Rating: (1185)
|
Using as reference.. Information given in heading.. For your case - ----------------------------------------------------- There is nothing stopping you from using MC_MoveJog to control your axis for movement other than manual control. If you have a variable on the Velocity pin of the function - like on mine it is #CONTROL.MANUAL.SPEED - you could have complete control of your system. Making the movement works is now easy - but stopping accurately is a problem. ----------------------------------------------------- Using MC_Home the system can automatically hunt for the reference switch/sensor. If the reference switch is know, the system can work effectively with an absolute co-ordinate system. Automatically the movement will be forward if the target position is higher than the actual position and reverse if the target position is smaller than the actual position. Thereafter MC_MoveAbsolute can be used with confidence. ----------------------------------------------------- MC_MoveVelocity is a speed control without control of position... but you can read the position as mentioned above. Here the direction can be set by "Direction" pin of the function. To stop the motion you need to use MC_Halt. MC_Halt can also be used to abort MC_MoveAbsolute that is busy.. for example reaching a sensor position. For further review.... |
Last edited by: William_B at: 3/3/2016 5:22:36 PM |
|
3/3/2016 8:37 PM | |
Joined: 2/2/2016 Last visit: 2/8/2023 Posts: 221 Rating: (2) |
Thank you , I really appreciate your help. I will try it and tell you the results |
3/3/2016 9:06 PM | |
Posts: 5225 Rating: (1185)
|
. |
3/3/2016 9:59 PM | |
Joined: 3/16/2015 Last visit: 10/10/2021 Posts: 1250 Rating: (173) |
Thanks William. I'm following the thread as well. Great reference. |
3/5/2016 12:40 PM | |
Posts: 5225 Rating: (1185)
|
@engo... The most helpful resource for this subject? Resources offered by Siemens? Most helpful of above? |
This contribution was helpful to1 thankful Users |
3/7/2016 8:41 PM | |
Joined: 2/2/2016 Last visit: 2/8/2023 Posts: 221 Rating: (2) |
Dear William I followed your steps, i created the attached program and I succeeded to reverse direction at limit switches I started the program and it gives output at the specified position but there is a problem. when i tried to reverse the direction by pressing either I0.2 or I0.3 it reversed but it didn't stop at the specified position. the output is always on and it doesn't stop till i pressed halt. I believe that the problem in programing the ladder , I tried all the day but I couldn't solve it i think that there is also another method to reverse and return home in axis object configuration but it didn't work. AttachmentNew Microsoft Word Document.pdf (306 Downloads) |
Last edited by: engco at: 3/7/2016 8:42:29 PMLast edited by: engco at: 3/7/2016 8:46:58 PMLast edited by: engco at: 3/7/2016 9:36:06 PM |
|
3/8/2016 3:45 PM | |
Posts: 5225 Rating: (1185)
|
I do not like the inputs that are marked in yellowish orange. I suggest: Just for the heck of it... a video: Experiments for you.. (images from offline)
2.
3. 4. 5.
|
Follow us on