Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 16.0.0 ]
Solved! Go to Solution.
[ FlexSim 16.0.0 ]
Solved! Go to Solution.
Hey Raja,
I asked a similar question and got an answer here. If you're using process flow, one method is to create a custom task sequence to set the operator state, then insert a custom code to free operators. Let me know if you have trouble with that other post I linked.
Thank you for your reply. In my model, I have not used the Process flow. Is there any other solution to set operator state as allocated idle in my model?
Hey Raja,
You can do it with stopobject() and resumeobject(). "Allocated idle" is state 29.
I've attached a small sample model. I entered the following code in the OnEntry trigger of a processor:
stopobject(centerobject(current, 1), 29);
And this is the code I put in the OnExit trigger:
resumeobject(centerobject(current, 1));
Thank you for your reply
you can simply use the setstate() command but be careful, if the operator is currently doing another task it might overwrite your state.
Thank you for your reply