question

Victor Alejandro HT avatar image
0 Likes"
Victor Alejandro HT asked Victor Alejandro HT commented

Set up state for processor and operator using time tables

Hi everyone,

In my model I need that the set up state is shown in a dashboard for both an operator and a processor, I used separate time tables for both, the utilization/processing is shown the way I wanted to but the set up it only appears for the processor.

I tried to made a PF logic to solve this, with no success.

Any suggestion is welcomed. It is important to mention that I need the 4 states to be shown (On break, Utilize, Set up and Proceesing).

time-tables-multiple-states.fsm

Thanks in advance.

Alejandro

FlexSim 18.2.2
dashboard displaytime tables
1.png (79.2 KiB)
2.png (12.6 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.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Victor Alejandro HT commented

The operator is called to assist for set up and processing. The operator gets utilize tasksequences for this assisting duty. As long as the processor option Pick operator(s) both for setup and process isn't set the FlexSim engine creates two utilize tasksequence.

This is important, because you can set the state in the utilize task to any kind. The standard is for the variable 0 and is evaluated to the utilize state. But you can set it to STATE_SETUP or STATE_PROCESSING. Those strings are macros that define the values passed into the utilize task.

You have to put the values in the utilize tasksequence before the task gets executed by the operator.

  1. You can write your own utilize tasksequences and dispatch them in the Pick Operator function of the operator. The Template "Task Sequence Example" is a good start:


    individual-operator-states-utilize.fsm
    my added code comments start with JV

  2. You can alter the dispatched tasksequence of the processor when the tasksequence is received by the operator or dispatcher.

The state of the utilize task is passed in the command as the first variable.


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

Victor Alejandro HT avatar image Victor Alejandro HT commented ·

Thanks @Jörg Vogel, this is a valid option for my request. I will need to change my model approach in order to apply it (delete set up time tables) to my bigger model, but I think it will work.

0 Likes 0 ·
Joshua S avatar image
1 Like"
Joshua S answered Victor Alejandro HT commented

You won't get a processing or setup state for the operator, he is only used by the machine so it will always show utilized for for those tasks. One possible solution is using event triggered sources so that every time the state of the processor changes to setup or processing, it sets the state of the operator to the state you want him to be in. You will have to play around with this since if you put him in the setup state, unless another state tells him to change, he will stay in the setup state for longer than is necessary.

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

Victor Alejandro HT avatar image Victor Alejandro HT commented ·

Hi @Joshua S I will try your approach and let you know what happen.

Thanks

0 Likes 0 ·

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.