question

Raashid Mohammed avatar image
0 Likes"
Raashid Mohammed asked Adrian Haws commented

how to chart downtime for two different shift operators

See attached model

I have 4 operators set for Timetable1 and 4 for Timetable2

On dashboard I have state bar of operators

I want to chart when they are down due to shift end, right now when the shift ends the operators are in idle state instead of break or down state

please help

operatorworkingwithshifts.fsm

Choose One
chart
5 |100000

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

Adrian Haws avatar image
1 Like"
Adrian Haws answered Adrian Haws commented

Changing the state manually is an intuitive way to look at this, but it doesn't work quite the same way. This is because if an operator is in the middle of a task sequence when he goes down, the manual state change will immediately be overwritten by the task it's performing. What you can do is add a delay task sequence for the duration of the breakdown time. We did this by changing the down and resume functions from "Stop Input" and "Resume Input", respectively, to "Travel to Location, Delay Until Down Time Complete" and "Do Nothing". Then in the code for the down function, you can remove the travel task sequence, and for both of them make sure to still set the label values for "opAvail". Then in the State Bar chart properties->Utilization Analysis make sure to include "scheduled down" in the chart. See updated model.


· 2
5 |100000

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

Raashid Mohammed avatar image Raashid Mohammed commented ·

THANK YOU

Want if I add

stopobject(downobject, STATE_Down) on Stop Function

And resumeobject(downobject, STATE_IDLE) on resume Function

Will that work the same way ?

0 Likes 0 ·
Adrian Haws avatar image Adrian Haws Raashid Mohammed commented ·

@Raashid Mohammed The problem with stopping the object is that it will force the operator to stop in the middle of a task sequence.

0 Likes 0 ·
Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered

@Raashid Mohammed

Attached is your model with the changes that I've made. Is this more what you had in mind?

operatorworkingwithshifts.fsm


5 |100000

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