Cancel
Showing results for 
Search instead for 
Did you mean: 

HBW issue

Creator
Creator

Hi, Guys,

 

when I run my HBW model, the RemoveOderNo don't change and when a row in the HBW is filled, the entire model will get stuck instead of loading the pallet to another row. How can I modify my code?

 

Br.

Jill Li

6 REPLIES 6

Re: HBW issue

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

this is, because you assigned fixed products to racks... (WMS strategies)

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

Re: HBW issue

Creator
Creator

Oh, I see. so how to make some pallets remove and counting?  I made a method for remove but its seems doesn't work.

Re: HBW issue

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

there is already a method in the WMS (press the ALT key and double click on WMS).

There you find a method removeProducts. This is a good base for developing your own method or just use it.

The stock of the parts you can find in the table content.

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

Re: HBW issue

Creator
Creator

Thank you. I know what you mean, but as a beginner, I don't know how to use fixed method in WMS.

Re: HBW issue

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

this is easy:

 

look, these are the parameters of the method

 

param OrderNo : string, product : string, quantity : integer

 

the call would look like this

 

orderNumber+=1--global variable type integer

--remove D from store

WMS.removeProducts(to_str(orderNo),"D",1)

 

that's it

 

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

Re: HBW issue

Creator
Creator
That's really helpful. Thank you!