question

anon-user avatar image
0 Likes"
anon-user asked Ben Wilson commented

stop the processor when the product type is switched

The processor processes two types, Type 1 and Type 2.


I want to stop the processor for 10 seconds when the product type is switched from Type 1 to Type 2.

I want to stop the processor for 20 seconds when the product type is switched from Type 2 to Type 1.

Regardless of the variety, I want to stop for 30 seconds every 50 pieces processed.


How should I set it?


FlexSim 20.1.3
flexsim 20.1.3processoritem type
· 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.

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel commented

These are features of the Setup Time function. You can choose only one property at a time. But you have three. Then you will select a matching property of the pick list, copy the source code to an editor and choose another matching property. You combine the source code of several properties into one.

  • Setup by label change
  • different setup time for n-th item

It is good job to learn writing source code. I recommend to erase the template tags before you combine the source code. The icon doing this looks like a hand holding a paper with text and a red mark. You find it in the bottom window menu on the left next to the green question mark.

EDIT: here is an example

combine_setup_source_code_properties.fsm


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