question

Amit Kulkarni avatar image
0 Likes"
Amit Kulkarni asked Amit Kulkarni commented

Insert support board under pallet

@joshua.s

In the attached model, the intent is to insert a support board under a fraction of generated transport units. Transport units are created in the queue "TU" and a upport board is created in queue "Board". When a TU arrives at Station1, I check the label if a support board is required and that should trigger the board creation in "Board".

My idea for the board placement: the TU has to be lifted using the elevator while the support board enters the combiner and then the elevator sends the TU to combiner. The combiner should pack the support board and TU and then the whole unit is transported downstream.


If a TU does not require a support board, it simply travels downstream without the operation stated above.

I am stuck at the part where the TU is lifted and and support board is correctly sent to the combiner. How should I go around doing this?

PalletBoard_Forum.fsm

Many thanks,

Amit


FlexSim 20.1.3
combinerflexsim 20.1.3pallet support board
5 |100000

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

Matt Long avatar image
1 Like"
Matt Long answered Amit Kulkarni commented

I just had to do this on a model this week. I chose to do the whole operation on the conveyor. Here's a small video of it in action. You'll notice there's a station and decision point on top of each other (it could be two stations but it was easier to see this way). That's because there are two conveyors. One going left to right and one going right to left.

A board comes in from the right and stops at a decision point. The pallet comes in from the left and stops at the station. Once the pallet arrives, it is raised up 3" and then the board is released and stops under the pallet. The pallet then lowers 2.25" and then resumes.

Here's what the process flow looks like. I'm not able to share any of the model, but here's a step by step of what I'm doing.

The only logic in hte 3D that I have is the Station has an OnMessage trigger with two Translate Item pick options. One to lift and one to lower. I did have to copy these from the On Arrival trigger since they aren't available in On Message. And I inserted this line below the code header.

  1. Conveyor.Item conveyorItem = conveyor.itemData[tonode(msgparam1)];

I passed the pallet flowitem into msgparam1 using tonum(token.Pallet).

The process flow is broken down into two sides and two resources (or zones could have been used as well, personal preference). On the left side is the logic for the pallet. We wait for the pallet to arrive at the first decision point, then kick off a token with a reference to the item. The token then waits for the pallet to arrive at the load station (if an item is already there the conveyor will stop the item). Once it arrives, it stops the pallet and lifts it up. This is where I send the message.

On the right side, a similar thing happens. The token is kicked off when the pallet arrives at a decision point off screen. It then stops the board at the decision point at the right side of the image.

I use a synchronize to cause the tokens to wait for which ever token hasn't arrived yet. That way if the board arrives first, it will sit and wait until there is a pallet to load. And vice versa, if the pallet arrives first it will wait for a board.

Next, the board will resume and move underneath the pallet. I stop the board once it arrives at the middle decision point.

Again, another synchronize to keep the tokens from progressing without each other.

Next I lower the pallet, and then another synchronize.

Finally, I change the shape frame of the pallet flowitem to be one that has a board at the bottom. This made things easier than trying to load another flowitem into the other, although you could definitely do this. I resume the pallet and release the area for the next pallet to enter.

At the same time, I destroy the board and release the area for the next board to enter.


palletandboard.gif (6.4 MiB)
processflow.png (53.5 KiB)
· 4
5 |100000

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

Joshua S avatar image
1 Like"
Joshua S answered Amit Kulkarni commented

I see 3 support board being generated, are all 3 of them supposed to be combined with the TU?

I made changes in your model to the exit transfer point, you can only have 1 exit transfer at the end of a conveyor, so I changed the ports it goes to. I added the label "port" in both your assign label activities. The exit transfer now sends the items based on the label "port" on them. Once you have it figured out how many support boards should be released, it should work just fine. If you are using all 3 support boards per TU, then in the combiner change the expected amount coming from that port to 3.

palletboard-forum.fsm


· 7
5 |100000

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