Cancel
Showing results for 
Search instead for 
Did you mean: 

HBW Set up and Operation

Pioneer
Pioneer

Hello Community

I am currently having problems with a simulation I am trying to set up.

the simulation consist of an in feed, 4 warehouses and 2 out feeds on upper and one lower level.

I have the in feed working how I want it to work. My problem comes when i try and set up my HBW and also an exit stratagem for the storage depending on a delivery table that says what is too delivered to the drain.

 

When i run the simulation at the moment only one part is placed in the stores, and when there is no exit the store does not fill up with any more than one item.

 

i have attached the project so you can have a look and advise me on what i can do.

 I am using Version 12.

 

I have tried the online help and the built in help function on Plant Simulation but there did not seem to be any help for this situation i have.

 

Thank you in advance for the help

 

4 REPLIES

Re: HBW Set up and Operation

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

only some remarks:

 

- you need to set your "exit place" in the RSU track-objects (outDock), it is still on ExitStation; your ExitStation2 ist not connected

 

- after 20 minutes the HBW removes the part from the store (setting removeTime in RSU-Track), to avoid this, you need to delete one row in the exit control of the DockingStation:

 

-- schedule remove operation
 ref(track.appendOrder).methcall(track.removeTime, xPos, yPos, side, "get");

- instead you need to program your own remove-operation (finally the call of

track.appendOrder(x,y,side,"get") e.g. using a generator and a method (search your part --> if found --> call append order), it may be helpful to store the location into a inventory table (exit control of docking station --> after track.getFreeLocation)

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

Re: HBW Set up and Operation

Pioneer
Pioneer

Hello Steffen

Thank you for this I have implemented the changes that you suggested and it is work up to the actual removal from the HBW I come across this error message.

 

Just wondering if you have seen this before or if you can suggest any more changes I need to make to my method to complete the removal I am only look at one store at the moment to get that working then I can make the changes to bring next stores.

Re: HBW Set up and Operation

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

the error means, there was no part...

 

If you search inside a table then Plant Simulation moves a cursor to the "finding" position. The row you can read with table.cursorY. Before each search you need to reset this cursor...

After setting the order for the HBW you need to delete the row in the inventory.

 

Like this:

for local i:=1 to Exit.xdim loop;
  Exit.setcursor(1,1);
  if Exit.find(Exit_Delivery) then
   MU := Exit_Table[2,i];
   Amount_Need := Exit_Table[3,i];
   
   for local j:=1 to Amount_Need loop
    Store_1.setcursor(1,1);
    if Store_1.find(MU) then
     xPos := Store_1[2, Store_1.cursorY];
     yPos := Store_1[3, Store_1.cursorY];
     Side := Store_1[4, Store_1.cursorY];
     Phase1_storage.RSU_Track.appendOrder(xPos, yPos, Side, "get");
     Store_1.cutRow(Store_1.cursorY);   
  
    end; 
   next;      
  end;
 next;
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: HBW Set up and Operation

Pioneer
Pioneer

This worked great

 

Thank you Steffen