question

Edwin Purwanto avatar image
0 Likes"
Edwin Purwanto asked Adrian Haws commented

How to pull from rack with requirement

Hello,

So to pull with requirement is usually quite straightforwards, but in this case I tried

if (content(item)==1){
return 1;
}

to pull item that has item on it, it does not pull as intended.

My first thought is that in this model, the pointer stuck with the first item on the rack that is not having item on it. If that is the case, how to move the pointer towards another items?

Thanks and best regards,

edwin

test11.fsm

FlexSim 16.1.1
pull with requirement from rackrack pointer
test11.fsm (25.5 KiB)
· 1
5 |100000

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

Edwin Purwanto avatar image Edwin Purwanto commented ·

Hello,

I am still having trouble with pull requirement. This model was intended to recycle the container. And so the code on pull requirement:

if (content(node("Queue16", model()))==0&&content(item)==0)
{
	setlabel(item,"dest",1);
return 1;
}

Two problem with this:

1. Eventhough content of Queue16 is already above 1, it is still churning out empty tote. It isnt supposed to be like this

2. How to break pull requirement? I mean if there is already one tote going to fulfill the criterion of content (node("Queue16", model()))==0, the system will send another one as long as it is still in journey. Can we introduce break; to prevent this?

Thanks and best regards,

Edwin

test11.fsm

0 Likes 0 ·
test11.fsm (27.4 KiB)

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel commented

I have tested the model. I can't get the model to work just with entrytransfer81, too. If I place a queue as the pulling object between the rack and the conveyor system, the queue pulls the items. It is just a workaround.

· 2
5 |100000

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

Edwin Purwanto avatar image Edwin Purwanto commented ·

Yes, this is a good work around, but, are there command to address item in rack? like before, we can use first() to address item in queue or conveyor, but i guess this is not applicable for rack....

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Edwin Purwanto commented ·

Sure it is. You have other rack typically link methods like

rackgetitembybaylevel(obj rack, num bay, num level, num itemrank)

if you'd like to test or reference an item in a rack cell. A classic adress method is the rank(container obj, order Number of item or object in the container).

0 Likes 0 ·