question

zeynepz avatar image
0 Likes"
zeynepz asked Joerg Vogel answered

Floor Storage Filling Problem

How can I stack different models based on item type ?

For example; If model 1 is taken from 1910, it is checked whether there is a place where model 1 has been placed before or not. If not, the pallet should have placed in a new location. However, in that simulation the pallets are placed in floor storage without any condition.

What can I do to solve this problem?

Version 7.3.6

lokasyon-bazlı.fsm

Other (please specify)
Other
floor storage filling problem
lokasyon-bazlı.fsm (987.4 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

You have always a condition where the items are put into a rack. These conditions are the FlexScript source codes in the Place in Bay and Place in Level. The return values are the location where the item is going. If you know or want to set the rack cell you must change the return value before the return code line. You can put the cell location in labels at the item. If the item contains at those labels values differing form 0 then you return these values otherwise the standards of the functions.

You can evaluate and set tables to manage the available or suitable rack cells. Unfortunately a table value is set by row, column. A rack describe a cell location as bay, level. That corresponds with column, row in comparison to a table.

Please check yourself if the OnEntry trigger will run before the Functions Place in Bay and Place in Level. You can put the print to output console commands into the function codes and open an Output console under the main menu Debug to show the command values when they are executed.

pt(" hello world"); // prints a string wether directly or from variable
pd(2); // prints a discrete number;
pf(2.071); // prints floating number value
pr(); // a carriage return in the output console to begin a new output line
clearconsole(); // erases all content in the output console

If you know the order of execution of the different triggers or functions you know the place where you compute the values of the labels of the item to define the cell in the rack.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.