question

Kevin avatar image
0 Likes"
Kevin asked Jason Lightfoot edited

Timeout at Decision Point

I am trying to figure out a repeatable way to create a decision point with a timeout.

My model has a conveyor with a decision point to decide to go to a processor spur or continue on the main line.

  • If it decides to the go the main line the box will be released
  • If it decides to go to the processing spur but the conveyor leading to the processing spur is full (2 spots), I would like the box to wait up to 10 seconds for the spur to have a space open up.
  • If the space opens up I would like the box to immediately travel to the spur. If the 10 second period completes, I would like the box to change it's destination and continue on the main line.

I've been able to create this logic using ProcessFlow but cannot figure out how to do it via FlexScript or via a subflow that would allow me to copy this type of decision the >60 times I am going to need to for the model. Do you have any suggestions on making this easy to use multiple times?


Automation Cell With Process Flow.fsm


FlexSim 17.1.6
modeling approachmodelling logic
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·
@Kevin , this version has been long out of any support. Actual versions uses feature to achieve such a request by parameter table or object templates. You could try to handle a process flow to be instanced by members of a group of decision point objects. You put equal acting decision point objects into a group and let execute your process flow be instances for those members. Please update your references to be relative to your decision point for example by center port connections instead of absolute finding references by name string.
0 Likes 0 ·

1 Answer

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

Use Object Process Flows and have the attached instance objects contain label pointers to the related objects. The each related is referred to by

current.myrelatedobject
· 2
5 |100000

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

Kevin avatar image Kevin commented ·

@Jason Lightfoot

Sorry if I'm missing something or it might be my version but I didn't see anything on Decision Point or Photoeye that lets me use an Object Process Flow. Do you have any guidance on this? Thanks for your help!


1672758752007.png

0 Likes 0 ·
1672758752007.png (38.2 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦ Kevin commented ·

In your version it might be called a Fixed Resource process flow(blank) and you find that in the top toolbar not on an object's properties. In later versions you can right click an object to create or select an object process flow.

In the manual lookup "Process Flow Instances".

1 Like 1 ·

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.