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?
Solved! Go to Solution.
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
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.
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)