Cancel
Showing results for 
Search instead for 
Did you mean: 

Turntable

Master
Master

turntable.JPG

 

I have a query related to turntable:

1. The source produces a part which goes to SingleProc. The SingleProc is connected to the turntable. As the turntable takes the part and rotates towards SingleProc1(suppose singleproc1 is  a drilling machine), the turntable should wait in that position with the part on it until the drilling operation on the part is done. Then the turntable should rotate towards SingleProc2, drop the part there and then rotate back to SingleProc and continue the same. Is it possible to do it this way?

6 REPLIES 6

Re: Turntable

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

Where is the example file?

 

You can set an sensor at the turntable. There you can wait for your condition and trigger the movement with setDestination(object).

 

see also here

 

http://www.bangsow.eu/detail_en.php?id=638

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Turntable

Master
Master

@Steffen_B Attached is the file.

I dont understand how to do it. 

Re: Turntable

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

what should happen in your model?

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Turntable

Master
Master

@Steffen_B 

When the part moves from SingleProc to Turntable, the part should stay at the entrance of the Turntable. Then the Turntable  with the part should rotate to Drilling.Here the drill goes up and down on the part(the part is still on the Turntable). Once the up and down operation on the part is done, the Turntable again rotates with the part and moves the part to Line. And the process repeats.

Re: Turntable

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

if you insert a variable cycle (integer, start value=1) into your frame, this works as exit control of the turntable:

 

if @.name="Red" and cycle=1

 var RotateDrill : any := Drilling._3D.getObject("Drill").SelfAnimations
 var upDownDrill : any := Drilling._3D.getObject("Drill").SelfAnimations

 --waituntil RotateDrill 
 RotateDrill.rotation.schedule
 RotateDrill.playAnimation

-- waituntil upDownDrill
 
 upDownDrill.resetAnimation
 upDownDrill.up_down.schedule
 upDownDrill.playAnimation
  wait 10
  self.~.setDestination(Line)
  cycle:=2
else
	
	@.move(line)
	cycle:=1

end

you need to make alot of settings in the turntable:

- exit strategy: start at sucessor1 (blocking)

- connect the turntable also with the line --> change exit angle to 0

- rotate when: centered

- go to default position; default angle: 180°

 

I could only do the example in version 14.2 (you are working with a non comercial license)

 

 

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Turntable

Master
Master

@Steffen_B Thank you so much Smiley Happy