I've a model where i use the "freeze" function in order to manage my tracks and stop them when needed.
But, I've also a shiftcalendar to add to my plant. And, the shiftcalendar seems to use the same function during the off periods.
So, can I superpose the shift calendar without problems with my logic ?
Does it keep in memory the freeze or unfreezed status before the off shifts and keep it afer the off shifts ?
If not, what can be the solution ?
Thanks in advance !
Solved! Go to Solution.
The shiftcalendar uses pause and unplanned. So if a pause ends, your pause condition will be terminated by the shiftcalendar.
Try instead stopped. It is used e.g. by the LockOutZone to stop elements.
If I use stopped, does it works both on tracks and lines ?
If stopped is used on a single proc, when i do object.stopped := false does it continue at the same moment it was interrupted in the proctime ?
thanks in advance !
you can use it for tracks and lines, the proctime of the SingleProc is also stopped and starts again, if you set the SingleProc back to operational (for the remaining time).