question

Robert B2 avatar image
0 Likes"
Robert B2 asked tannerp commented

Using an event triggered source to move objects from a queue

I have an AGV dropping off an empty cart at a station. When the orange block moves to the Full cart pickup queue, I would like the teal block in the empty cart car queue to disappear. How would i use an event triggered source to control this in the process flow. I can get the event to trigger off the entry of the orange queue but I can't seem to figure out how to get the teal box to disappear from the empty cart queue.

Choose One
event triggered source
· 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.

Robert B2 avatar image Robert B2 commented ·

engine-agv-3-lines-rev2.fsm This is the model for the above question.

0 Likes 0 ·

1 Answer

tannerp avatar image
0 Likes"
tannerp answered

Here's an example of how this is done. You were really close, but the reference to the object you wanted to destroy wasn't quite right. Here's what you can do to reference the first item on a queue:

And the updated model can be found below. I used partitions on the push and pull from list, as well, so that each Full and Empty queue can operate through one partition.

destroy-block-with-process-flow.fsm


5 |100000

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