Search found 332 matches

by HarryBunnik
Friday 12 June, 2020 - 12:31
Forum: Modeling in Enterprise Dynamics
Topic: 'Select rule resource' of the humanresourceteam atom
Replies: 11
Views: 136

Re: 'Select rule resource' of the humanresourceteam atom

Hi Borja, That is a complicated one. We've implemented this at the Advanced Transporter, and we want to add that functionality to the Human Resource as well, but that hasn't happened yet and wouldn't help you at this moment any way. I thought to use a server with a low priority ("parking"), which ta...
by HarryBunnik
Monday 08 June, 2020 - 18:12
Forum: Modeling in Enterprise Dynamics
Topic: 'Select rule resource' of the humanresourceteam atom
Replies: 11
Views: 136

Re: 'Select rule resource' of the humanresourceteam atom

Hi Borja, Good that it works. One more thing. You'll have to write some code, for instance on the Initialize atom looping over the exit channels of the team, to set the label we've created on all the HR's back to zero on reset. Otherwise, they will have already a label on the start. And that might r...
by HarryBunnik
Monday 08 June, 2020 - 17:06
Forum: Modeling in Enterprise Dynamics
Topic: 'Select rule resource' of the humanresourceteam atom
Replies: 11
Views: 136

Re: 'Select rule resource' of the humanresourceteam atom

Ha Borja, I see that I missed a check, namely when valCurOC is still 0, it makes no sense to check if another member of the team is already waiting longer, since we hadn't found a fitting member yet anyway. I've made a small change in the code (adding an OR-statement checking if valCurOC = 0 or, if ...
by HarryBunnik
Monday 08 June, 2020 - 14:29
Forum: Modeling in Enterprise Dynamics
Topic: 'Select rule resource' of the humanresourceteam atom
Replies: 11
Views: 136

Re: 'Select rule resource' of the humanresourceteam atom

Hi Borja,

Would it be possible to share your model or to sent it to me using a PM? Then I can have a look at it.

Cheers,

Harry
by HarryBunnik
Monday 08 June, 2020 - 11:04
Forum: Modeling in Enterprise Dynamics
Topic: 'Select rule resource' of the humanresourceteam atom
Replies: 11
Views: 136

Re: 'Select rule resource' of the humanresourceteam atom

Ha Borja, That is an interesting one. At least you'll need somehow to keep track at which moment a Human Resource finished its last task. I would do that by placing code on each HR when it is freed and set there a label, "Label([TimeBeingFreed], c) := Time" Then, when a task becomes available, you'l...
by HarryBunnik
Friday 03 April, 2020 - 10:35
Forum: Enterprise Dynamics 4DScript
Topic: Create a cycle time of Assembler atom that depends on product
Replies: 14
Views: 455

Re: Create a cycle time of Assembler atom that depends on product

Ha ASV,

Yes, that is the help I'm referring to. Here you have to option to search for the terms that I mentioned earlier and then I'm sure you'll find a way to do it :-)

Success,

Harry
by HarryBunnik
Thursday 02 April, 2020 - 12:28
Forum: Enterprise Dynamics 4DScript
Topic: Create a cycle time of Assembler atom that depends on product
Replies: 14
Views: 455

Re: Create a cycle time of Assembler atom that depends on product

Ha ASV, I don't want to spoil all the fun of your project and spell it all out, but I can try to point you in the right direction. :) And the last sentence, that you want the CycleTime of both products simultaneously makes quite a big difference. In your last model the calculating of the CycleTime w...
by HarryBunnik
Wednesday 01 April, 2020 - 15:27
Forum: Enterprise Dynamics 4DScript
Topic: Create a cycle time of Assembler atom that depends on product
Replies: 14
Views: 455

Re: Create a cycle time of Assembler atom that depends on product

Ha ASV, Add the cycletime that you calculated for each product that enters the assembler, to the label that is defined on the assembler for the cycle time on the Entry trigger for the products (Label([], c) := Label([], c) + NewLabel([], i)). And don't forget to set that label back to zero on the en...
by HarryBunnik
Wednesday 01 April, 2020 - 14:25
Forum: Enterprise Dynamics 4DScript
Topic: Create a cycle time of Assembler atom that depends on product
Replies: 14
Views: 455

Re: Create a cycle time of Assembler atom that depends on product

Ha ASV, What I see is that you swapped the code for the Entry trigger and the cycle time. When the product is entering the assembler, we already want to calculate the cycle time and place it on the product and the assembler using labels. First then the assembler its cycletime is set. This way the re...
by HarryBunnik
Wednesday 01 April, 2020 - 13:56
Forum: Enterprise Dynamics 4DScript
Topic: Create a cycle time of Assembler atom that depends on product
Replies: 14
Views: 455

Re: Create a cycle time of Assembler atom that depends on product

Can you add your model, so I can have a look?

It can be that the B.O.M is not correct and not accepting other products, or that the checkbox for the display contents is not set, or...