Search found 362 matches

by HarryBunnik
Monday 23 December, 2019 - 15:24
Forum: Enterprise Dynamics 4DScript
Topic: Simulating a factory
Replies: 10
Views: 27637

Re: Simulating a factory

Hi Sam, I'm not entirely sure how you want to operate it. However, the tips that Gerben has provided sounds like good ideas to me. To me it also sounds as if you want to do something with the "Product to send" option in the Ground storage. Here you have to write some code which loops over ...
by HarryBunnik
Friday 01 November, 2019 - 09:40
Forum: Enterprise Dynamics 4DScript
Topic: Simulating a factory
Replies: 10
Views: 27637

Re: Simulating a factory

Ha Sam, I’ve looked into your questions as well and perhaps I have a few ideas for you. 1) So if I understand correctly you want this to happen at the Extrusie1 process, where at any time the FolieNummer is changing, you want to use the Setup located in cell(2,6). However, top on, you also want to u...
by HarryBunnik
Monday 12 August, 2019 - 16:59
Forum: Modeling in Enterprise Dynamics
Topic: Switch Ouput Channel by material availability
Replies: 12
Views: 32310

Re: Switch Ouput Channel by material availability

Ha jjjermain, I've added some code to the model: To the event I've added some code to place a label on the container (IsCutOff) to indicate which container is waiting to long. On the "SendTo" of QueueM1 is code standing to send the M1 that was waiting too long to either 1 or 2 (50% chance)...
by HarryBunnik
Monday 12 August, 2019 - 10:29
Forum: Modeling in Enterprise Dynamics
Topic: Switch Ouput Channel by material availability
Replies: 12
Views: 32310

Re: Switch Ouput Channel by material availability

Ha jjjermain, I think you can achieve that by adjusting the "User Event" code and setting the label OutgoingChannel to 1 and add another label on the product in which you indicate that this a product that needs to be processed differently: Label([IsCutOff], First(refQueueMaterial1)) := 1 ....
by HarryBunnik
Thursday 08 August, 2019 - 16:17
Forum: Modeling in Enterprise Dynamics
Topic: Switch Ouput Channel by material availability
Replies: 12
Views: 32310

Re: Switch Ouput Channel by material availability

Ha jjjermain, This is actually quite tricky, since you want to already sort it out before the actual machines based on time. As a result there is some description involved to explain what I did: 1) When a Material 1 (M1) arrives in the queue there are a few things happening: - I now always create an...
by HarryBunnik
Wednesday 07 August, 2019 - 16:27
Forum: Modeling in Enterprise Dynamics
Topic: Switch Ouput Channel by material availability
Replies: 12
Views: 32310

Re: Switch Ouput Channel by material availability

Ha jjjermain, OK, then I understand the problem. In which version of ED are you making your model? Then I can create an example in the same version. I'm thinking of using an Event-atom. When a material 1 is entering the queue, I close the exit of that queue (CloseOutput(c) on the Entry trigger of th...
by HarryBunnik
Wednesday 07 August, 2019 - 10:01
Forum: Modeling in Enterprise Dynamics
Topic: Switch Ouput Channel by material availability
Replies: 12
Views: 32310

Re: Switch Ouput Channel by material availability

Ha jjjermain, At the moment it is not entirely clear to me. Do you really need to send the material 1 to machine 2, when material 2 is too late, or can this also be done from machine 1 by only sending an empty material further? So you would like to block material 1 before entering machine 1. If mate...
by HarryBunnik
Tuesday 06 August, 2019 - 08:52
Forum: Modeling in Enterprise Dynamics
Topic: Switch Ouput Channel by material availability
Replies: 12
Views: 32310

Re: Switch Ouput Channel by material availability

Hello jjjermain,

Could you use the cut-off time at the assembler and the content of the 1st product on the "Send To" statement? So then the Assembler is doing the sorting, instead of the queue in front of the assembler.

Success,

Harry
by HarryBunnik
Tuesday 09 July, 2019 - 11:04
Forum: Modeling in Enterprise Dynamics
Topic: Workers having different cycle times on the same machine
Replies: 3
Views: 11573

Re: Workers having different cycle times on the same machine

I now realize that the Human Resource first came with ED 9.0 However, similar code can also be placed on the Operator I think.

Success!

Harry
by HarryBunnik
Tuesday 09 July, 2019 - 09:25
Forum: Modeling in Enterprise Dynamics
Topic: Workers having different cycle times on the same machine
Replies: 3
Views: 11573

Re: Workers having different cycle times on the same machine

Ha up912201, What you want to do is change the CycleTime of the server that is representing the machine, when a worker (HumanResource, HR) is assigned the task. So this is the moment an HR is called. Especially for such moments, the HR has a trigger "When called". Here you can update the v...