Cancel
Showing results for 
Search instead for 
Did you mean: 

Help in movement to the line

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello everyone,

 

I am working on a model, where i am required to move a part from one singleproc to line using  @.move. I have to move it at a certain distance on a line(lets say at 6m). 

 

If there is a part at 6m distance, than 'bump' is happening and sometime it is not moving forward. I want to know how can i make sure that that particular space is empty before sending the part so as to avoid bumping.

 

Thanks in advance

3 REPLIES

Re: Help in movement to the line

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello learner,

 

please have a look at the TransferStation.

 

See the attached model.

 

Regards,

Ralf

Regards,

Ralf
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Re: Help in movement to the line

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

you can also try as long, as the movement is done, like this: (and see the sample)

is
 moved:boolean;
do
 while (moved=false) loop
  moved:=@.insert(line2,12.9);
  if not moved then
   wait(1);
  end;
  
 end;
 
end;
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Help in movement to the line

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello Steffen,

 

Thanks for help. I am now able to move parts without bumping. I was using the same code as you suggested but i was using @.move instead of @.insert. Which was causing the problm.

 

Thanks again.