question

Caraiman C avatar image
0 Likes"
Caraiman C asked Caraiman C commented

Hi! how can i set the start time of a processor?

Hi! how can i set the start time of a processor? That is, I would like PP_3 and PP_10 to be available so that I can process the parts after a certain time set in a table. I attach my model and some pictures with what I thought. Thank you in advance!

a1.jpg

incercare finish.fsma2.jpg

I don't know how to write the code

FlexSim 19.0.0
flexsim 19.0.0procesorstart time
a1.jpg (40.4 KiB)
a2.jpg (45.8 KiB)
a3.jpg (11.6 KiB)
· 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.

Caraiman C avatar image Caraiman C commented ·
Doesn't anyone want to help me? It's the last thing to do in my model and I can't do it. Please, help me!
0 Likes 0 ·

1 Answer

Patryk avatar image
0 Likes"
Patryk answered Caraiman C commented

Can you use "Stop" And "Resume" object

At the start of simulation machines, PP_3 and PP_10 are blocked. After time from Table, both machines are Resumed

1624265281370.png

1624265333135.pngIn attached I send you the modelincercare-finish_3.fsm



1624265281370.png (27.6 KiB)
1624265297407.png (34.6 KiB)
1624265333135.png (34.6 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.

Caraiman C avatar image Caraiman C commented ·

Thank you very much for your help, but the model you provided does not work as required. My mistake is that I set the time in the table in hours and it had to be in seconds. We set the time in the table in seconds and after a complete run of the simulation, it turned out that PP_3 and PP_10 process before the time set in the table. I don't know what the problem is.

a12.pngincercare finala.fsm

0 Likes 0 ·
a12.png (94.2 KiB)
Patryk avatar image Patryk Caraiman C commented ·

The start time in the table was written when the operator unloads the product on buffer instead of the product start processing on the machine. So you should add one more" wait for event"

1624267603165.png

1624267675179.png

1624267646153.png

In attached I send you the model incercare-finish_4.fsm

0 Likes 0 ·
1624267355444.png (25.5 KiB)
1624267603165.png (25.5 KiB)
1624267631876.png (96.3 KiB)
1624267646153.png (96.3 KiB)
1624267675179.png (23.6 KiB)
Caraiman C avatar image Caraiman C Patryk commented ·

Thank you very much for your help! The model is in accordance with the requirements. Thank you from the bottom of my heart for your help!

0 Likes 0 ·