question

Joe_yee W avatar image
0 Likes"
Joe_yee W asked Ben Wilson commented

setup processor for one time only

Hi guys, may i ask it is possible that i only setup my processor only once for first beginning item so that when starting second item, i would not required to setup the machine again and just process the second item and the rest of the item directly?

FlexSim 21.2.0
setuptime
· 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Joe_yee W, was David Chan's answer helpful? If so, please click the "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

David Chan avatar image
0 Likes"
David Chan answered Joe_yee W commented

@Joe_yee W There are many ways to do. But the key function is to check input quantity value of the processor is 1, a setup time is used. If not, setup time is zero.

The FlexScript to read the input quantity is object.stats.input.value. Object is the processor.

I have enclosed a sample model

Setup Time.fsm


David


setup-time.fsm (32.8 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.

Joe_yee W avatar image Joe_yee W commented ·

hi david thanks for answering my question, may i know how can i check input quantity value of the processor is 1?


0 Likes 0 ·
Joe_yee W avatar image Joe_yee W commented ·

thanks david for answering my questions, may i ask is this command current.stats.input.value == 1? 10:0; state that only one item enter the processor once per time?



0 Likes 0 ·
David Chan avatar image David Chan Joe_yee W commented ·
All processors is set to have maximum content of 1, so only 1 at a time.


David

0 Likes 0 ·