Cancel
Showing results for 
Search instead for 
Did you mean: 

Pause function and shiftcalendar

Builder
Builder

Hi all,

 

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 !

 

regards.

6 REPLIES

Re: Freeze and shiftcalendar

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

what do you mean with "freeze" function ?

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Freeze and shiftcalendar

Builder
Builder

Ho this is a language mistake. By "freeze" I would say "pause"...

The object.pause function.

Re: Freeze and shiftcalendar

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

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.

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Freeze and shiftcalendar

Builder
Builder

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 !

Re: Freeze and shiftcalendar

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

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

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Freeze and shiftcalendar

Builder
Builder

Thanks a lot ! Smiley Wink