Search found 362 matches
- Friday 24 April, 2015 - 09:41
- Forum: Enterprise Dynamics 4DScript
- Topic: Send to script
- Replies: 19
- Views: 28069
Re: Send to script
Ha, I can try to help you, but I think we first have to get clear what it is exactly that you want to achieve. How do you want to distribute the products from the queue? But first of all, I would like to try to reduce the number of IF's, by using a case statement. Secondly you can use a combination ...
- Wednesday 22 April, 2015 - 18:14
- Forum: Enterprise Dynamics 4DScript
- Topic: Problem with Portal Crane and Queue
- Replies: 2
- Views: 4027
Re: Problem with Portal Crane and Queue
Ha, This will need just a bit more then only a queue discipline. I've created a small example model, but tried to make the code scalable, so it should work with 20 servers (or more) as well. First (since I have only 2 servers) I don't want more then 2 of products that can be processed by the severs ...
- Tuesday 21 April, 2015 - 17:26
- Forum: Enterprise Dynamics 4DScript
- Topic: Problem with Availibility Control
- Replies: 2
- Views: 3490
Re: Problem with Availibility Control
Ha Andreas, Your "conditional control" is indeed interfering with your "availability control". So in your condition, you've got to check if the "Availability control" is active or not. What I did is adding an incoming channel (4th) to the "Conditional control"...
- Tuesday 21 April, 2015 - 13:32
- Forum: Modeling in Enterprise Dynamics
- Topic: Global speed setting
- Replies: 5
- Views: 4785
Re: Global speed setting
Ok, sorry. My fault. I adjusted the wrong field... That is an "error" in the GUI. It checks the code that is entered, but at that point the reference to "in(2,c)" is not valid. As a result it sees a value of 0, and complains about that. But when you use an alias, it will be circu...
- Tuesday 21 April, 2015 - 13:20
- Forum: Modeling in Enterprise Dynamics
- Topic: Global speed setting
- Replies: 5
- Views: 4785
Re: Global speed setting
Hello,
No, I use ED 8.2.5, so that shouldn't be a difference I think. But with me it is working in the example model you send along, but for you still not?
Regards,
Harry
No, I use ED 8.2.5, so that shouldn't be a difference I think. But with me it is working in the example model you send along, but for you still not?
Regards,
Harry
- Tuesday 21 April, 2015 - 12:37
- Forum: Modeling in Enterprise Dynamics
- Topic: Global speed setting
- Replies: 5
- Views: 4785
Re: Global speed setting
Hello, I'm a bit surprised to hear that the reference to a table was not working for you, since I do that quite often, also with advanced conveyors. Are you sure that the value in the table was filled at the moment your tried to set it? Because it also works well when I try the cell reference in the...
- Friday 17 April, 2015 - 10:13
- Forum: Enterprise Dynamics 4DScript
- Topic: Reading content in multiple atoms per label
- Replies: 4
- Views: 4322
Re: Reading content in multiple atoms per label
Ha Mikkel,
Yes, that can be done, but is a bit more complicated.
I would use:
This code counts all the atoms within the current atom(c), where the label([..], rank(count, c)) has a value of 222.
Regards,
Harry
Yes, that can be done, but is a bit more complicated.
I would use:
Code: Select all
Sum(content(c), If(Label([...],rank(count,c)) = 222, 1, 0))
Regards,
Harry
- Monday 13 April, 2015 - 14:53
- Forum: Enterprise Dynamics 4DScript
- Topic: AdvancedTransporter_PicAtom-Command
- Replies: 4
- Views: 4440
Re: AdvancedTransporter_PicAtom-Command
Ha Andreas, I've made some adjustments to your model and hope I understood your questioning correctly. Test atom-control v2.mod First I've added an initialize atom, that sets some global variables, so I know what I'm referring to. Then I've adjusted the code on the "Condition control "a bi...
- Friday 10 April, 2015 - 16:59
- Forum: Enterprise Dynamics 4DScript
- Topic: AdvancedTransporter_PicAtom-Command
- Replies: 4
- Views: 4440
Re: AdvancedTransporter_PicAtom-Command
Hello Andreas, I see a few things. First of all, you can't use EventCode like that. EventCode is a number that can be used within the Atom code on the OnEvent to indicate which (out of a list of events especially written for that Atom) needs to be executed. So here it's not really adding anything, s...
- Friday 03 April, 2015 - 12:26
- Forum: Enterprise Dynamics 4DScript
- Topic: Reading content in multiple atoms per label
- Replies: 4
- Views: 4322
Re: Reading content in multiple atoms per label
And additionally, if you want to know the content of an atom, you're right in using:
or
I'm not sure what you want with the:
Cheers,
Harry
Code: Select all
Content(c)
Code: Select all
content(rank(1,c))
Code: Select all
Label([ProductName], content(c))
Harry