Stop conveyor based on multiple conditions?

Stop conveyor based on multiple conditions?

alex_h4
Not applicable
73 Views
4 Replies
Message 1 of 5

Stop conveyor based on multiple conditions?

alex_h4
Not applicable

[ FlexSim 18.2.0 ]

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?

0 Likes
Accepted solutions (1)
74 Views
4 Replies
Replies (4)
Message 2 of 5

joshua_s
Not applicable
Accepted solution

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

14198-pic1.png

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

Object.subnodes.length==0

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

Message 3 of 5

alex_h4
Not applicable

How do I link a stop item conveyor control to a specific conveyor?

Unrelated, how would I change the robot idle joint positions? When idle the robot moves its arm to a position that is abnormal. (IE in the ground)

0 Likes
Message 4 of 5

joshua_s
Not applicable

Do you want to stop the items, or stop the entire conveyor? You can set the speed of the entire conveyor to 0.

14225-pic1.png

If you want to stop the conveyor from allowing items to exit you can also close the port.

14226-pic2.png

0 Likes
Message 5 of 5

tanner_p
Not applicable

When working with robots, it can be helpful to define their motion paths and then use those to determine the robot's visuals. This image shows where you can define those:

14227-robot-reset-path.png

After creating a path that I wanted the robot to reset to, I then call that action by using a "Travel to Location" activity in Process Flow. Here's a model to help show how this works:

robot-reset.fsm

0 Likes