question

Alex H4 avatar image
0 Likes"
Alex H4 asked Joshua S edited

Stop item on conveyor with decision point? process flow example?

fsqgeneralflow.jpgfsq.fsm

I am trying to figure out how to stop an item on a conveyor using a decision point that checks if a queue has an item in it or an AGV is transporting an item to that queue using an entry and exit label. How would I accomplish this?

Secondly can anyone show me what a process flow would look like for the first conveyor item through the process? I will upload a flow chart that may also help with this.

FlexSim 18.2.0
process flowdecision point
fsqgeneralflow.jpg (44.8 KiB)
fsq.fsm (66.3 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

Joshua S avatar image
0 Likes"
Joshua S answered Joshua S edited

1. One way of stopping an item on a conveyor using decision point is in process flow using an event triggered source. The trigger would be on arrival, then you could have a decide activity that checks if the queue has an item in it or the AGV is transporting an item to it.You can do this by using the code

model.find("TheQueue").subnodes.length>0

for checking the AGV's destionation you can use the code

Model.find("AGV_108570").as(TaskExecuter).activeTask.involved2

once it checks you can use a custom code activity that has a built in "stop/resume item on conveyor". Then you would need another wait for event activity that is fired when the queue clears, or after the AGV clears, I'm not what sure the conditions you want to check for after.

Not sure what you mean by process flow, like how you would build it in process flow?

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

Alex H4 avatar image Alex H4 commented ·

Yes, how would I build the model using process flow following the flow chart/manual connections that I have made.

From what I can tell the whole model would be much easier with a process flow approach but since I am unfamiliar with it I was hoping to see an example of how to do a portion and I can figure out the rest.

0 Likes 0 ·
Joshua S avatar image Joshua S Alex H4 commented ·

I would recommend doing the Process Flow Tutorials. I will give you an example of process flow built with your flowchart, but the flowchart doesn't have important information as to how items are routed to different queues, how those queues are handled, and the timing for everything. Also Conveyors are great in the 3D world and have logic that can't be replicated in process flow. Sometimes it is best to use a combination of process flow and the 3D objects. Here's a super basic example of how you can route things to different places, but more specific information of the process would be needed. 14163-fsq.fsm

0 Likes 0 ·
14163-fsq.fsm (71.4 KiB)