question

mary avatar image
0 Likes"
mary asked mary commented

Load and unload in same Queue

Hello,

I have a model attached where I want to pick the first combined part from Queue1 to Queue2 after that no combined part should be brought to Queue2. Until when the first combined part should be processed in combiner1 and the empty pallet should then be passed to Queue2. then the transporter should drop it to Queue4. once Queue2 is empty the second combined from Queue1 should be picked and drop to Queue2 and so on. Note: both load of full pallet and empty pallet in one Queue2.

Please help with process flow.

model combiner.fsm

FlexSim 20.0.10
combinerseparator
model-combiner.fsm (39.9 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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered mary commented

After the pallet is unloaded into Queue2, I have the token wait until the pallet enters the queue again (from separator). It then runs through a copy of the previous activity block, adjusted to take the pallet from Queue2 to Queue4. After the pallet a loaded, a new token is created at the start of the flow to pull the next pallet from Queue1.

To prevent Queue2 from releasing the pallet to the combiner again after it returns from the separator I use the 'On Exit' trigger. If the item exits through port 1 (to combiner) the output is closed. If it exits through port 0 (picked up by forklift) the output is opened again, so the next pallet will be send to the combiner.

I also added the 'distance' field to the forklift resource. I edited them default code to so the pallet object becomes the 'puller', so that the distance between forklfit and pallet is calculated. This can then be used to acquire the closest forklift.

model-combiner-fm.fsm


model-combiner-fm.fsm (198.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.

mary avatar image mary commented ·

@Felix Möhlmann Thank you so much it really helped how about more than one station how can i do it

model combinerr.fsm


0 Likes 0 ·
model-combinerr.fsm (48.3 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.