question

Alex H4 avatar image
0 Likes"
Alex H4 asked tannerp commented

Stop conveyor based on multiple conditions?

fsq.fsmI need to stop a conveyor if there is a item in a specific queue (IE Conveyor 1 and conveyor 2 -> Queue 1), the AGV, or the OP10 Load queue. I then need to resume sending the item to the exit transfer based on if all the locations are empty. How would I accomplish this?

FlexSim 18.2.0
conveyorflowconditional stop
fsq.fsm (80.4 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
2 Likes"
Joshua S answered tannerp commented

To stop the conveyor you can use a event triggered source in process flow then have a custom code where you use the built in conveyor controls

To resume the conveyor, you can use another even triggered source that fires if any of the locations empty, then you can have a custom code snippet that goes through each of the other locations check if they are empty with the following code

  1. Object.subnodes.length==0

then have a decide activity that leads to another custom code activity that resumes the conveyor.


pic1.png (30.2 KiB)
· 3
5 |100000

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