question

hoooo avatar image
0 Likes"
hoooo asked hoooo commented

Conveyor sorting

Hello

I want to sort conveyors using a button.

Normally I continue with conveyor 1, but only when a button on the dashboard is pressed I want to move to conveyor 2.

I have attached the model.

Please help me.


conveyor_sorting.fsm

FlexSim 24.0.4
conveyor
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered hoooo commented

Add a trigger function that redirects the item to the second conveyor to the Decision Point. Make it depend on the value of a label on the DP ("Condition" field in "Send Item" option).

capture1.png

Then link the button to the DP labelwith the sampling tool and make it toggle the value in the "On Press" code.

capture2.png


capture1.png (15.1 KiB)
capture2.png (10.7 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.