question

harika avatar image
0 Likes"
harika asked harika commented

Conditioning the machine product route

1742900949860.png

In real life production, the card enters 1 machine (called seho) and goes through 3 processes. The operations in seho are flux preheating and soldering, respectively. However, there is a feature in the machine: there are 2 heads in the soldering stage, meaning that soldering can be done to 2 cards at the same time. But there is a condition for this. After the card goes through the flux preheating soldering stages, it goes to the 1st head of the solder and solders are made. If the card coming from behind has not finished the preheating step (flux may be empty, preheating may be empty or preheating may be in progress etc.), the previous card continues the soldering process in the soldering1 head. However, if the card coming from behind has left the preheating, meaning it is waiting in line for soldering, the card in front goes to soldering2 and continues the soldering process from where it left off. The card coming from behind also goes to soldering1 and starts the soldering process. In other words, soldering can be done in both heads at the same time. But there are cases where this does not happen. In other words, while the soldering process of the card in front is about to finish in soldering1, the card coming from behind may still be in the flux step. Therefore, the card in front may come out without any soldering process in soldering2.

What I want from you is to create this environment in flexsim. I added a queue after preheating. In this way, when there is a card in the queue (maximum can be 1 card), the card in solder1 should immediately switch to solder2. But I could not fulfill this condition.

FlexSim 24.0.8
koşullu ürün rotası
1742900949860.png (71.4 KiB)
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 harika commented

Functionally, I don't see how this is different from using a single processor with a maximum capacity of 2. If you need the utilization of the two soldering heads separately, I would use a dummy processor whose state is set to processing whenever there are two items on the main processor. That is overall much easier than managing a premature release of items.

soldering-example.fsm


· 8
5 |100000

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

harika avatar image harika commented ·

First of all, thank you for your answer. I need to update the product route according to the queue at the preheating exit. Both soldering heads on the machine are not filled with product at the same time. If the total soldering time of 1 pcb is 30 seconds (for example), if there is no card in the queue at the preheating exit, it spends the entire 30 seconds in solder1. Therefore, that card does not stay in solder2. In other words, the 2 heads are not used at the same time. But let's say that when the card is at the 15th second in solder1, if there is a card in the queue at the preheating exit, the card in solder1 will move to solder2 and complete the remaining 15 seconds here. However, I do not know numerically how much processing time the card spends in solder1 and solder2. Because the time changes depending on the situation at the preheating exit.

1742908298067.png

While the product coming from behind is in bacaklı dizgi 4, the product in front is processed in solder 1. But what I want is for the product in front to be sent to solder2 machine as soon as it arrives in bacaklı dizgi 4.

0 Likes 0 ·
1742908298067.png (110.3 KiB)
Felix Möhlmann avatar image Felix Möhlmann harika commented ·

As I said, functionally, as far as throughput and utilization are concerned, my model does exactly that. The second processor is only 'used' while there are two items.

You can also actually move the item. But I just find the necessary coding more complex and thus wanted to present the easier solution first.

soldering-example_1.fsm

0 Likes 0 ·
harika avatar image harika Felix Möhlmann commented ·

I think I ran your code properly this time. But I regret to inform you that this is not what the company wants. Soldering2 should work as a machine depending on the condition, not as a symbolic machine. If the total soldering time is 520, and the card remains in Soldering1 for 500 seconds, Soldering2 should remain for 20 seconds. (I don't know the times because they change). We managed to get the product directly to Soldering1 without waiting for any product in the Bacaklı Dizgi4. What I want now is to reduce the max content in Soldering1 to 1 and activate Soldering2.

1743063670800.png.

0 Likes 0 ·
1743063670800.png (110.4 KiB)
Show more comments