jumping into a procedure call before a MoveL is completed

Good day all, sorry for a possible stupid question. Since today I have had this problem and do not now what has changed? I have tried many things and cannot figure out what I messed up so a little guidance would be appreciated a lot!
so when running this program it is supposed to complete the second MoveL to get to a position and the nun the LaserStart procedure. this was WORKING perfect for months now.
but today my operator called me to come look at a problem and what I have noticed is that it jumps into procedures before moves are completed. so LaserStart and Stop will execute even before the MoveL's are completed like they used to.
I tried to make a new program as a test and did the same. so obviously some setting got messed up but I cannot find it,
If I may ask for a little help with what I am doing wrong I would really appreciate it very much.
I thank you all
Derrick
n
so when running this program it is supposed to complete the second MoveL to get to a position and the nun the LaserStart procedure. this was WORKING perfect for months now.
but today my operator called me to come look at a problem and what I have noticed is that it jumps into procedures before moves are completed. so LaserStart and Stop will execute even before the MoveL's are completed like they used to.
I tried to make a new program as a test and did the same. so obviously some setting got messed up but I cannot find it,
If I may ask for a little help with what I am doing wrong I would really appreciate it very much.
I thank you all
Derrick

Best Answer
-
lemster68 United States ✭✭✭
You have a z50 zone in that MoveL, the robot will read ahead and start executing the following routine. Make it a fine point.Lee Justice
Answers
I don't know what have happened here, but insert this line:
WaitRob \InPos;
Insert it between your MovLe instruction and your LaserStart call
That will let the robot wait until it reached the end of MoveL before it continues.
thanks will try that shortly. I appreciate the help a lot.
will give feedback once tried when I get to work.
thanks again
Derrick