Cancel
Showing results for 
Search instead for 
Did you mean: 

Make an action at a specific time based on a ShiftCalendar

Valued Contributor
Valued Contributor

Hello,

 

In my model after the production all my entities are loaded in a store. 

All the entities in that store are loaded in a truck at 4 PM each open day (based on a ShiftCalendar), I don't need to take care at the loading time.

 

I tried to do that with a Generator and a Method who moves all entities from this store to the truck (Drain), it works but without taking care of a ShiftCalendar (should only move the entities to the drain on open days).

 

Is there a better way/object to achieve that use case with a ShiftCalendar ?

 

Thank's for your help, regards

3 REPLIES 3

Re: Make an action at a specific time based on a ShiftCalendar

Phenom
Phenom

maybe pulling the parts through a Source (with set ShiftCalendar)

 

and AssemblyStation is more like it.

 

Unbenannt.PNG

Re: Make an action at a specific time based on a ShiftCalendar

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
you need just to check, if the shiftCalendar is unplanned or not before you move the parts

if shiftCalendar.unplanned=false then
--load your parts
end
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Make an action at a specific time based on a ShiftCalendar

Valued Contributor
Valued Contributor

Thanks, I have taken the method from Steffen with a Generator.

 

I have attached the shipment frame I've made.