07-14-2020 09:46 PM
Hello,
This loop is a part of code.
A motion control should be acquired inside the loop.
This controller moves a stage by limited distances (X).
I can control the movement step through the terminal (step).
if the step is something large the loop transfer to the next rotation number (i) before the controller finishes the current movement. For example, if I set the number of rotation to be 6. the loop rotation number (i) reaches 6 whereas the controller still in the second or third movement.
my question: How can I let the loop don't transfer to the second rotation step until all the code inside the loop finish. I used timing statements like the attachment, but it not helpful in all the cases.
Solved! Go to Solution.
07-15-2020 02:08 AM