question

Peter W8 avatar image
0 Likes"
Peter W8 asked Jeanette F commented

Wait for AGV before processing

Hi,

I want to prevent a processor (VF100) from processing an item if there is no AGV at a specific control point (StartPoint_AGV). I've experimented with process flow and the wait for event task, but I can't get it to work. I've also tried to use triggers without any success. Any suggestions? I've uploaded the model (Wait_for_AGV_before_proc) to the file sharing site.wait-for-agv-before-proc.jpg

FlexSim 22.2.1
agvprocessorcontrolpointwaitwaitforevent
· 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 @Peter W8, was Jason Lightfoot's answer helpful? If so, please click the "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.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot commented

You just need to change the Queue_Release process to detect the sendtoport of the upstream queue and override it to not release when there is no AGV to pull and release the item when it pulls one. Then add a wait for event to coordinate the loading task with the item being ready in Queue_Others.

There seem now to be errors with this model - what other changes have been made?

· 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.

Peter W8 avatar image Peter W8 commented ·

Which tasks would you use in process flow in order to

  • detect sendtoport of upstream queue
  • override it not to release when there is no AGV

I've done a couple of changes,

  • Connected PIGG_Final1 & PIGG_Final2
  • Added more AGVs, from 6 to 31.
  • Added a new processor called QG_PIGG_EPT to handle EPT & PIGG items
  • There was an issues with processor "DUAL" being blocked in the model you sent me so I added a new recieving processor called QG11.
  • All three processors named QG_XXX are, in reality, the same operation, So I added a ControlArea to limit the number of AGVs to 1 in order to prevent all three from processing at the same time.
  • Added creation restrictions at "Source_Main". The items are now created according to a predefined percentage but also have limitations per variant dictating how often a specific variant may be created. For example, the variant AMT_EXT_ULC should be 7% of all items created but may not be created more often the every seventh item.
  • Added a Dashboard that displays the creation of items in order to monitor the percentage and restrictions at the source

I've noticed that there are errors and expetions in the system console but the model seems to be working anyway.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Peter W8 commented ·

I would probably get a reference to the upstream queue directly unless there's a change you will duplicate VF100. So in the existing Queue_release event driven source, sample the upstream queue and change the event to "Send To Port".


I would probably override the release using the queue's own trigger using the option for "Do not release item" and then always release the item in the process flow. When doing this it's important to release through port 1 (or any non-zero port) to prevent the object's trigger from firing and holding the item again.

Attached the model with that change - I'll look into the errors.

Wait_for_AGV_before_proc_jl.fsm.pdf

0 Likes 0 ·
Peter W8 avatar image Peter W8 Jason Lightfoot ♦ commented ·
There's something wrong with the file you sent me. Can't open it.


0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Peter W8 commented ·
I see you've reintroduced connections for some reason and I worry that you've added processors where there should only be one resource. The data driven approach to defining the process should have prevented the need to do this.
0 Likes 0 ·

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.