question

Thao B avatar image
0 Likes"
Thao B asked Joseph Gillespie commented

Crane does not pick up materials in some Queues

Hi,

I have a model here that shows item being process in 2 lanes. Lane 1 processes materials by batch while Lane 2 processes materials individually for a given time. The materials from both lanes are transferred to their respective queues via a gantry crane.

The gantry crane transfers material in Lane 2 without any problem. However, in Lane 1 the crane stop transporting materials to the processor midway. How do I solve this?

panel-line.fsm

FlexSim 18.1.2
material flow
panel-line.fsm (29.5 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.

Braydn T avatar image Braydn T commented ·

Delete this On Exit trigger in Processor1:

Then navigate to Processor2's triggers, and add another On Entry trigger:

After you finish, it should look like this:

Let me know if you have other questions!

0 Likes 0 ·
add-trigger.png (36.5 KiB)
add-trigger.png (36.5 KiB)
final.png (23.0 KiB)
Thao B avatar image Thao B Braydn T commented ·

Hi @Braydn T

Sorry but I tried the following and it doesn't work. Is there something I missed out?panel-line-11.fsm

0 Likes 0 ·
panel-line-11.fsm (30.0 KiB)
Braydn T avatar image Braydn T Thao B commented ·

@Thao B

Your On Entry Trigger on Processor2 is closing the Input of Queue4, not opening it.

0 Likes 0 ·

1 Answer

Braydn T avatar image
0 Likes"
Braydn T answered Thao B commented

@Thao B

Your model is stopping because you have a trigger in Queue4 to close its input port, and the trigger in Processor1 to open it is not working. When you select Queue4 it says "current.inObjects[1]", and it should say "Model.find("Queue4")". lI will continue to look into why this trigger is not working, but I just added that trigger to OnEntry for Processor2, so when the work enters Processor2, Queue4's input port will re open.

There are other things I noticed in your model that I am not sure if that is the way you would like them. For example, when the crane has work assigned, for example to load Type5 into Queue3, but Queue3 is at max capacity and the input port for Queue4 is close it will sit there until it can complete that task. You will have to program some logic to make it time out and look for more work if it waits too long to complete that task. You may have to use process flow for that.

I hope these things help, and please feel free to tag me @Braydn T if you have any more questions.

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

Thao B avatar image Thao B commented ·

Hi @Braydn T,

Yes, the behaviour of the crane waiting for the materials to finish processing before adding more items to the Queue is as I intended. The idea is to pull the items required for each "batch" into Queue3 first while Queue 4 pushes the items of each batch into the processor whenever it is empty.

0 Likes 0 ·
Thao B avatar image Thao B commented ·

Hi @Braydn T

If it is possible, could you show how the mentioned above can fix the trigger issue? Would greatly appreciate it. Thank you.

0 Likes 0 ·