question

Beatriz DT avatar image
0 Likes"
Beatriz DT asked Ben Wilson commented

Send orders in the model

PruebaModel.fsmI want to get two things in this attaached model. Two types of item are created (1 and 2), they go to the separator where they are cut and 8 smaller parts are obtained. Then, queue 3 and queue 4 are filled according to the color, bur the separator continues to work and while the products go to AlmFIFO, queues 3 and 4 continue to be filled. I would like that queues 3 and 4 were filled in batches of 8 and once they were empty produce again, that is, perform he cutting operation. In short, queues 3 and 4 are not filled in until they are empty.

On the other hand, I would like to model the following:

Queues 5 and 6 with a capacity of 3 units (FIFO). I would like customers to come and request a certain item of type 1 or 2, take it from queues 5 and 6 and immediately send an order to queues 3 and 4 to fill the AlmFIFO according to the product that has been consumed.

Choose One
orders
pruebamodel.fsm (39.3 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

So I am a little confused. Your ALMFIFO Queue has two driving processes to fill it. Do you want the first time its filled with 8 of each type and then for each item that is picked by a customer an identical type is moved into the ALMFIFO?

Also what is going on with Queue 7? Are the items supposed to stay in Queue 5 and 6 till a customer comes or move onto Queue 7 then a customer comes?

0 Likes 0 ·
Beatriz DT avatar image Beatriz DT Jeanette F ♦♦ commented ·

Por un lado, quiero configurar que las colas 3 y 4 se llenen cada una de 8 en 8 unidades y que hasta que no esté vacía no se llene nuevamente con 8 unidades.

Y por otro lado, quiero hacer un sistema Kanban, cuando un cliente consume un producto de tipo 1 o 2 de las colas 5 y 6, envía una orden de producción para que las colas 3 y 4 envíen el tipo de producto que han consumido. AlmFIFO.

La cola 7 en realidad no simula nada especial, supuestamente es para almacenar las unidades consumidas.


0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Beatriz DT, was Jeanette F's answer helpful? If so, please click the red "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jeanette F avatar image
0 Likes"
Jeanette F answered

Hello @Beatriz DT,

You can use triggers on the Queues to open and close ports when something exits and to check the current content of the Queues.

5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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