I have a situation where a machine recieves various parts from different sources in a very random and mixed way. I am trying to use sorter to rearranges the sequence and send the parts further as a batch so that the setup time is minimum. I get that assigning a priority is one way butassigning priority number to all the parts is a cumbersome approach.
Is there any way to model sorter so that it rearranges the parts so that the next machine has least setup time?
Thanks in Advance!!
Solved! Go to Solution.
this you can do with the sorter criterion "method"; the sorter will call this method for each part in the sorter and you need to calculate a sort-value for each part and return it, this value is condidered for sorting the parts (see help)
Thanks Mr. Bangsow, but somehow I am not able to realise it. As in understand, the sorter runs the method when each part enters the sorter, but how the sorter will check here if the next which parts on sorter is same as the parts located on the machine. Do i need to use "setupfor"? What eaxctly you mean by sort value above?
there are two options for Time of sort: if you select "On Access" then the sorter will sort also before exiting a part. You need the following setting in the sorter (press F4 in the Field Method):
In the method you compare the name of the part (@.name) with the attribute isSetUpFor and assign different values e.g.
->real -- @ if @.name = station.isSetupFor then return 1 else return 1000 end
it is like a penalty value to control the order of the sorting process, if you sort ascending, the value of 1000 should be safe to bing the MU in the "back" of the queue