question

joey avatar image
0 Likes"
joey asked tannerp edited

Capacity of the transporter

I want to set the transport11 to load items from Queue4 to Sink2.

Conditions for loading of transporters11.

Item 1 Capacity = 15

Item 2 Capacity = 10

Item 3 Capacity = 5

If my logic is possible, I want you to help follow my logic.

Thank you in advance for help.

jeff-jet0.fsm

FlexSim 19.0.1
transportercapacitymax content
jeff-jet0.fsm (60.5 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

·
Jeff CHN avatar image
0 Likes"
Jeff CHN answered joey commented

Object forklift=current.centerObjects[1];

treenode maxcon=getvarnode(forklift,"maxcontent");

maxcon.value=3;

· 3
5 |100000

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

joey avatar image joey commented ·

Hi @Jeff CHN

I do not understand where you suggest that you have to set up anywhere?

Can you attach pictures or models?

Thank.

0 Likes 0 ·
tannerp avatar image tannerp joey commented ·

If your items are entering the queue in order (in batches), you can simply add the aforementioned block of code to a trigger in Queue1. You will additionally need to set the parameters for each item type. I built a small example model based on your parameters that should help you for your larger model.

There are other ways of doing this, but this should at least get you started. Let us know if you need additional help. Thanks!

Model: queue-set-capacity.fsm

1 Like 1 ·
joey avatar image joey tannerp commented ·

Hi @Tanner Poulton

Is that possible? If I don't want to send the item to queue 2, queue 3, queue 4 but instead send the item to queue 1 instead.

Thank you.

0 Likes 0 ·
111.png (92.4 KiB)

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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