question

Steven N avatar image
0 Likes"
Steven N asked Steven N commented

Rework Process - Identifying Devices to a Work Order

Brand new to Flex Sim here so question could potentially seem a bit confusing.

I am working on a model for reworks and running into some issues. The source generates 1 "Cut Schedule" every 40 hours (work week), these cut schedules go to a separator and are distributed into a quantity Work Orders using pearsont6. These Work Orders are sent to one more separator to be distributed into a device quantity. What I'm trying to represent is that every week there is a schedule generated, and on that schedule we have a distribution of work orders, where each work order has a x amount of devices.

Afterwards these devices will go through a Tray Sealer and Final Inspection processor. After the final inspection these devices there is a percentage break down for 2 queues; "Good Device Rack" or "Reworks". The


At this point there would be individual devices going through the production system. As they are processed through the system a percentage will advance to the "Good Device Rack" queue, while the other will be moved to Reworks. Devices that are good will be placed in one of the Queues 1- 4.

My question for this model is;

1) After the first separator when the Schedule is turned into Work Orders. Is there a way to uniquely identify these Work Orders? Then after the Work Orders are separated a second time into individual devices is there a way to identified that these devices came from that unique Work order

NO CARD (2).fsm

FlexSim 19.2.4
flexsim 19.2.4reworkidentify flowitemwork order
no-card-2.fsm (76.2 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Steven N, was Eric M's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

1 Like 1 ·

1 Answer

Eric M avatar image
0 Likes"
Eric M answered Steven N commented

Hi @Steven N, I did this by creating a label on the separator that increments with each additional box (similar to what you had tried). The value of that label is then copied onto the items that exit. I first set a label on the WorkOrderDist separator called WONum. I set it to zero and check the "Automatically reset" box meaning it will always go back to 0 on reset.

I then use an 'on entry' trigger that increments that value by 1 (if you do this 'on exit' it will increment for each exiting box). I also set an 'on exit' trigger that assigns the WONum value of the separator to the items that are exiting. That label will stay on the items as they go throughout the model even after they're split the second time.

Also, it looks like you're getting errors when the items enter Q1 from the on entry trigger. I assume you want that to be "CutID" instead of "DeviceID" but I'll leave that for you to change.

Let me know if you have any questions about this! no-card-2 (1).fsm


1623270978011.png (5.7 KiB)
no-card-2-1.fsm (67.8 KiB)
· 5
5 |100000

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

Steven N avatar image Steven N commented ·

@Eric M Thank you for looking into this it does help a lot. I was wondering after the items leave the Work Order Separator is it possible for each flow item to have it's own unique label? Currently the flow items coming out of that separator all have the same "WONum" value.

0 Likes 0 ·
Eric M avatar image Eric M Steven N commented ·

Ya definitely, sorry I misunderstood your original question. In that case instead of using the "On Entry" trigger to increment the WONum value, use an "On Exit" trigger. The on entry trigger only increments one time because only one box enters the separator while the on exit trigger will increment for each box that exits. That makes it so each split box can have its own index.

0 Likes 0 ·
Steven N avatar image Steven N Eric M commented ·

No Card Revised.fsm

So I changed it so that the on exit trigger for the separator would increment the value but the WONum for each box is still the same? Maybe I am doing it wrong but I attached the model as well



0 Likes 0 ·
no-card-revised.fsm (67.7 KiB)
Show more comments