Cancel
Showing results for 
Search instead for 
Did you mean: 

removing specific entity from a container

Pioneer
Pioneer

I currently have a pallet(container) carrying an engine block(container) which requires 6 things to be assembled to it.  I would like to load the engine block with one of the items assembled to it then remove the entity for a period before re-introducing.

 

Currently I am assembling this component prior to loading the engine block to the pallet.  It travels to a dismantle station where I am trying to remove this entity and place onto a pallet to carry to the re-intro station.  The issue is the pallet and engine block dismantle leaving the dismantle station which is not the outcome I am trying to model.

12 REPLIES

Re: removing specific entity from a container

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

you could search the item in the pallet and then (re)move it:

 

for var i:=1 to @.numMU loop

  if @.MU(i).name="Entity" then

      @.MU(i).move(YourDestination)

      exitLoop

  end

 

next

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

Re: removing specific entity from a container

Pioneer
Pioneer

Would this code be an Exit Control?

Re: removing specific entity from a container

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

this could be also an entrance control;

as exitcontrol you will need at the end:

@.move

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

Re: removing specific entity from a container

Pioneer
Pioneer

I have attached an example.  Perhaps the solution is easier with a visual of the model.

Re: removing specific entity from a container

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
and where is the location of this operation?
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: removing specific entity from a container

Pioneer
Pioneer

OpA30_1

Re: removing specific entity from a container

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
it is ony tigershark on the pallet?
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Highlighted

Re: removing specific entity from a container

Pioneer
Pioneer

right now only 1 type on the block pallet but the Block container needs to hold 6 parts.  

Re: removing specific entity from a container

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
and what kind of MU you want to remove ?
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net