Showing results for 
Search instead for 
Do you mean 
Reply

Load Container on Line with Pick and Place

Below is the current method I have controlling the Pick and Place object:

 

if ?.cont = void
	return
else
	if ?.cont.name = "A_LH"
	?.setDestination(LHTrayConveyor)
elseif ?.cont.name = "A_RH"
		?.setDestination(RHTrayConveyor)
end
end

 

I have a single source that produces LH and RH parts, and the Pick and Place is to put them into the container on the corresponding LH/RH line. The code above puts the part on the line itself and not the container; is it possible to have the part depositied into a container on the line?

 

Thanks!

4 REPLIES

Re: Load Container on Line with Pick and Place

this looks like the target control, the unloading into the container you need to program in the exit control

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


Re: Load Container on Line with Pick and Place

Ah I see, yes that was the method I set up for the target control. To put everything together, I reviewed the Load & Unload Carrier model in the examples collection which I found very helpful for this question. Thanks for the tip!

Re: Load Container on Line with Pick and Place

you need to program an exit control where you load the part to the container:

?.cont.move(line.cont)

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


Re: Load Container on Line with Pick and Place

Below is the method I put together for the exit control:

 

if Destination = "LH"
	@.move(LHTrayConveyor.cont)
elseif Destination = "RH"
	@.move(RHTrayConveyor.cont)
end

Works!